How do I change the display orientation now? before it seemed pretty straightforward but now using dtoverlay in the config.txt doesn't seem to do anything.
or use xrandr https://www.raspberrypi.org/documentati ... otation.mdFKMS Mode
FKMS mode is used by default on the Raspberry Pi 4B. FKMS uses the DRM/MESA libraries to provide graphics and 3D acceleration.
To set screen orientation when running the graphical desktop, select the Screen Configuration option from the Preferences menu. Right click on the DSI display rectangle in the layout editor, select Orientation then the required option.
or change the touch transformation matrix - which is more common in the Linux world - on the fly by viewtopic.php?f=108&t=219333&p=1348198& ... n#p1348198Additionally, you have the option to change the rotation of the touchscreen independently of the display itself by adding a dtoverlay instruction in config.txt, for example:
The options for the touchscreen are:
DT parameter Action
touchscreen-size-x Sets X resolution (default 800)
touchscreen-size-y Sets Y resolution (default 600)
touchscreen-inverted-x Invert X coordinates
touchscreen-inverted-y Invert Y coordinates
touchscreen-swapped-x-y Swap X and Y cordinates