Unable to rotate screen Raspberry Pi 4
-
Hello there! I have a problem with rotating the screen.
Pi Model or other hardware: (4B)
Power Supply used: (Powerbank)
RetroPie Version Used (4.7.1):
Built From: (retropie-buster-4.7.1-rpi4_400)
USB Devices connected: Controller
Controller used: IPEGAThe config.txt display_rotate does not work, and I am to understand this is because of how Raspberry Pi 4 uses a different driver or something, so I tried doing it at autostart.sh with --screenrotate 1, but for some reason, I cannot save it, only exit it with ESC or CTRL+C, but I cannot save it. I cannot go to the 'OK' and 'Cancel' parts of the autostart.sh file in the retropie config.
I have also tried using xrandr in the terminal, but I get the feeling that is something related to a different OS...
I also tried #dtoverlay=vc4-fkms-V3D, but then it won't boot, even though the screen rotates then. Something about GPU I believe?
I have been trying things for hours, but I just can't figure it out because I don't know what I'm doing. I can play the games, but I want landscape orientation rather than portrait. (So horizontal instead of vertical.)
What should I do? Thank you in advance!
KaaaaasKop.
-
@kaaaaaskop said in Unable to rotate screen Raspberry Pi 4:
The config.txt display_rotate does not work, and I am to understand this is because of how Raspberry Pi 4 uses a different driver or something, so I tried doing it at autostart.sh with --screenrotate 1, but for some reason, I cannot save it, only exit it with ESC or CTRL+C, but I cannot save it. I cannot go to the 'OK' and 'Cancel' parts of the autostart.sh file in the retropie config.
You need to use the
Tab
key to exit the editor and be able to press Ok/Cancel.Don't modify the
config.txt
and remove thevc4-fkms-v3d
overlay, that's not a supported configuration and RetroPie will not work (you've already experienced it). -
@mitu Thank you! That worked, now to figure out how to make the resolution work and how to make the games rotate properly, and after that I can FINALLY enjoy my first attempt at my own retro handheld :)
-
Here's a similar post with some hints. For the resolution, EmulationStation supports setting it via the parameters, so you can modify the
autostart.sh
withemulationstation --screenrotate 1 --resolution <width> <height>
to have it start with the
rotated
resolution. -
@mitu Thank you! Resolution gave weird results, but screensize seems to work :) For emulationstation that is.
I also managed to rotate the screen properly for the games, but they only have a very small box in the middle, the rest is black. I shall figure this out, and once I do I can finally play, haha.
-
@kaaaaaskop Did you ever sort this out? I’m at the same position you were when you posted this.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.