Horizontal retropie display. HELP
-
I have a raspberry pi 4, I bought a 4-inch screen for precision that of the waveshare https://www.waveshare.com/wiki/4inch_HDMI_LCD, but initially I realized that it gave a black screen by inserting the monitor drivers, but if in the config I inserted fkms it worked but with graphic bugs, if instead I put it vertically there were no bugs and therefore I could not use it. Rotating it with display_rotate did not work because the graphic bugs were returning. After many tests I discovered that the desktop existed, then I started in the desktop and I managed to turn it, but not in retropie, when I start the desktop it starts horizontally, but retropie does not start horizontally, and if I use an xrandr command in desktop it works , if I use it in retropie it does not work and gives the error display can't open display.
How can I have retropie that can also start horizontally?
Sorry for my english i'm italian -
RetroPie does not use the desktop to run, you should keep it running as it is - from the terminal session, outside of the desktop env.
Your problem is that the Pi4 does not support the same rotation parameters as previous models - rotating it 90 or 270 deg does not work with the settings inconfig.txt
.
You can rotate the EmulationStation screen by using the--screenrotate
parameter. You should edit the autostart script (see here) and add the rotation parameters there:emulationstation --screenrotate 1
Use 1, 2, 3 as possible values to rotate in steps of 90 deg.
You should also set RetroArch configuration to rotate the display by editing the\\retroarch\configs\all\retroarch.cfg
and adding, at the end of the file:video_allow_rotate = true video_rotation = 1
Replace
1
(90 deg. rotation) with2
or3
to rotate again in 90 deg increments.
This should cover most emulators, but any non-RetroArch emulators will not display correctly. -
I ran what you told me, but as soon as I started the raspberry I found myself with the screen with all the emulators in small under left, how should I do?
-
You may need to adjust the resolution for EmulationStation, by adding the
--screensize W H
parameter. What's your screen resolution ? -
@mitu the resolution of my monitor should be 800x480, but since it was vertical I don't know if I have to enter 480x800 or 800x480, and then where should I insert it, near screenrotate in autostart?
-
@xTekFede Yes, it should be inserted after the
--screenrotate
parameter--screensize 480 800
-
-
@mitu I had to enter --screensize 800 480 and it works, but now I have to do something in retroarch? last thing, if I also wanted to rotate from cmdline.txt as I should do, to start horizontally
-
@xTekFede I have the games that are rotated but they are seen vertically, so I should set the screensize, how should I do it? Then I also have a psp emulator, is it based on retroarch, or do I also have to screensize them in some way?
-
@xTekFede said in Horizontal retropie display. HELP:
@mitu I had to enter --screensize 800 480 and it works, but now I have to do something in retroarch? last thing, if I also wanted to rotate from cmdline.txt as I should do, to start horizontally
For the terminal to be rotated, you need add a
video
parameter to rest of the kernel boot parameters incmdline.txt
. Here's an example, you'll have to replace the video mode parameters with the ones for your display.video=HDMI-A-1:1920x1080M@60rotate=90
I have the games that are rotated but they are seen vertically, so I should set the screensize, how should I do it
Are you referring to libretro emulators (
lr-xyz
) or other - standalone - emulators ? If you're using a standalone emulator, then it's up to that particular emulator if it supports rotatatio or not, similar to how EmulationStation works.Then I also have a psp emulator, is it based on retroarch, or do I also have to screensize them in some way?
For PSP games, you can use
ppsspp
(standalone) andlr-ppsspp
(libretro based) emulators. If you already configured RetroArch for rotate/resolution, you can uselr-ppsspp
. -
@mitu I started SNES and it started vertically in the center with the horizontal screen and it was also very crushed, then I started ppsspp and it started vertically with vertical screen, do I have to use lr-ppsspp to make it go?
-
I started SNES and it started vertically in the center with the horizontal screen and it was also very crushed,
I don't understand what 'vertically' means in this context - does it obey or not the rotation configuration you've set ?
then I started ppsspp and it started vertically with vertical screen, do I have to use lr-ppsspp to make it go?
That's exactly what I said previously.
-
@mitu If I start any game it looks like this, I attach a photo, this is an example of gta vice city:
-
Either RetroArch doesn't detect the resolution correctly or there's a scaling issue. Try adding
video_fullscreen_x
andvideo_fullscreen_y
to yourretroarch.cfg
and populate it with the correct values for your screen, see if that makes a difference. -
@mitu if I put it this way the game does not change from the previous photo:
video_windowed_position_height = "480" video_windowed_position_width = "800" video_windowed_position_x = "800" video_windowed_position_y = "480"
and:
video_windowed_position_height = "800" video_windowed_position_width = "480" video_windowed_position_x = "800" video_windowed_position_y = "480"
if i put it like this when i open the raspberry, i only see retropie and no emulator:
video_windowed_position_height = "480" video_windowed_position_width = "800" video_windowed_position_x = "480" video_windowed_position_y = "800"
and:
video_windowed_position_height = "800" video_windowed_position_width = "480" video_windowed_position_x = "480" video_windowed_position_y = "800"
-
@xTekFede sorry I hadn't seen you meant fullscreen
-
@mitu if the monitor is 800x480, what should i put in x and what in y?
-
@mitu sorry for all the time I'm stealing you
-
@xTekFede said in Horizontal retropie display. HELP:
@mitu if the monitor is 800x480, what should i put in x and what in y?
Well, you only have 2 choices here - have you tried them both ?
-
@mitu I tried 800 in y, and 480 in x, and on the contrary, one makes me lose the emulators and the other does not change the resolution
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.