Screen rotation for Retropie GUI
jdrassa last edited by
Beware, IIRC, rotating screen 90° (or 270°) through display_rotate have a quite important performance impact.
That said, I don't know if it's still the case.
See here for example : https://github.com/raspberrypi/firmware/issues/403#issuecomment-86962019
EmulationStation now has support for screen rotation to get around this. Details can be found here.
@jdrassa One of the things I got from reading that, is that a new theme will indeed need to be made. Can someone point me to the correct folders and files I would need to modify, and what is the theme using? .CSS, .XML? C, etc,etc. Kinda like to research it a bit. Sorry if I'm not well versed in Pi frontends. But I can modify most formats without too much assist. I see many others have authored themes, so I am assuming changing aspects on a custom design wouldn't be too difficult.
Yes, thank you, exactly what I was looking for. Exactly what I figured needed done as well. This is one of the reasons why I inquired in another topic about Retropie in a virtual machine and transferring files. Hey I love coding, great past time, but I prefer doing it on my Windows 10 PC where I have tools at my disposal that I'm more familiar with. I mean, I can squeak by just fine with Linux and all, guess I'm just spoiled by Redmond. But yeah, thanks for the help. I think I can press forward now.
@mitu Thank you, downloading v1.1 right now. Will take a quick look at it tonight. I am only using 1 emulator (MAME), so at least my file structure won't be complex and tedious. I'll probably just do a simple mod of the carbon theme for what I need it for. Then maybe later on down the line when I get bored I'll look at completing other systems.
eclark5483 last edited by eclark5483
Hey, can I add code to the ES screen that you get when you are configuring your joystick, to ask the user if they would like to rotate/switch resolution and have their selection sent to the correct theme (without needing source code)? Like I said, I'm just gonna mod the carbon code a bit, make it easier for a "per monitor", maybe add a couple other resolution variables that I wouldn't otherwise need but may prove helpful to others.
Sano last edited by
Thanks for the information guys.
By reading the provided link, I understand that rotating screen via display_rotate (kernel/framebuffer) still has a performance impact, but now ES (as the various emulators do) supports vertical screen (through VG/GL) without this impact.
Good to know.
JSM last edited by
I know this is a necrobump, but I just wanted to say thanks for this. I was trying to run my Retropie in my Arcade1up Galaga cab vertically using that config.txt rotate optino, but the screen tearing was driving me nuts. Downloaded a fresh Retropie 4.5 image, installed the Dev version of Emulation station, and not everything is perfect (except the retropie configs/run command stuff that are rotated 90 degrees!) Seriously - thanks for bumping this thread and adding more info. It was very helpful.
treki last edited by
I know, it's a old topic. But still an info:
I also have to uncomment: