Display: how to get 180° rotation

My display works perfectly under Vangelis and is set as Generic HDMI/DSI display.
How can I get a 180° rotation either for screen either for touch.

I tried on Webconf setting rotation to inverted but it changes only the touch

I had the same problem with a Waveshare DSI… When editing from WebConf, the initial text rotated but not the image… In the end I physically rotated the display…

is there a wiki to learn the commands to rotate screen?

Try adding rotate=180 to the config parameters (you’ll have to check “advanced view”)

I personally use those settings: dtoverlay=piscreen2r,speed=8000000,rotate=270

But … it probably depends of the overlay you’re using (an overlay = the driver for a physical layer added to the Pi).

All overlays and options are described in /boot/overlays/README (and not all of the screen overlays are supporting rotate option apparently)

Other option: using Xorg to rotate the display. I don’t know how to do this but I’m pretty sure it’s possible.

it does not work

These are my settings. but as I told you the rotation is visible ONLY in the terminal writings (start and stop). I had to physically rotate the DSI display.