What is the easyest way to rotate the screen 90°. On Raspberry pi i can do it in the config.txt.
BR a.kratzer
What is the easyest way to rotate the screen 90°. On Raspberry pi i can do it in the config.txt.
BR a.kratzer
Open an xterm and type xandr -q to see the possible resolutions, the current resolution and what your HDMI output is called on your system, then you can rotate the screen with the following commands. The RockPi 4 should be called HDMI-1, but it can be different!
linaro@rpi4b:~$ xrandr -q
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 575mm x 323mm
1920x1080 60.00*+ 60.00 50.00 59.94 24.00 23.98
1920x1080i 60.00 50.00 59.94
1280x720 60.00 50.00 59.94
1024x768 75.03 70.07 60.00
800x600 75.00 60.32
720x576 50.00
720x576i 50.00
720x480 60.00 59.94
720x480i 60.00 59.94
640x480 75.00 60.00 59.94
720x400 70.08
DSI-1 connected 800x480+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
800x480 61.88*
xrandr --output HDMI-1 --rotate left
xrandr --output HDMI-1 --rotate right
xrandr --output HDMI-1 --rotate normal
it work but the windows doesn’t use the new size. If i switch to fullscreen the windows resize not to the new screen size.
Do you know this problem?
BR ALexander