Retropie's Ui 240p? what am I doing wrong?
-
So I found out that when I set "hdtv_mode=16" my resolution goes to 720x240 which is why half my screen is gone. I read somewhere that if i disable "dtoverlay=vc4-fkms-v3d" my screen goes back to 720x480 with no flicker to RetroPie or the desktop, but when playing games causes screen tearing. So it looks like something with "dtoverlay=vc4-fkms-v3d" isn't letting me set "hdtv_mode=16" when its enabled.
-
@Dongzo said in Retropie's Ui 240p? what am I doing wrong?:
So it looks like something with "dtoverlay=vc4-fkms-v3d" isn't letting me set "hdtv_mode=16" when its enabled.
That's too bad, because the Pi4 needs this enabled in order for the GPU to provide 3d hardware acceleration. I don't have a composite cable around, but I'll get one and test this to see if there are options that can be set.
-
@mitu said in Retropie's Ui 240p? what am I doing wrong?:
I don't have a composite cable around, but I'll get one and test this to see if there are options that can be set.
I would really appreciate that a lot. Is that a setting issue that I have or just something that is because of the new pi4 hardware not compatible fully with RetroPie?
-
The only settings are the ones in the
config.txt
file, RetroPie just picks up the resolution and runs with it. I've noticed that in the screenshot you posted on the RPI forums the A/V ports in the front are not connected - do you have another set of ports in the back where you plugged in the composite cable or do you use an adapter/converter ? -
I use a av switch that connects to the back of the tv. I have tired without the switch and i have also tried the front ports all with the same effect of the screen splitting in half
-
I have reproduced your problem - it seems to happen only for the 'progressive' video modes. If you set
sdtv_mode
to0
(i.e. Normal NTSC), you'll get a fullscreen image.
Seems to happen for KMS/DRM applications, the DRM connectors cuts the vres in half when a progressive mode is requested.
I'll commend on your topic on the RPI forums, before looking into opening an issue.EDIT: it looks like you've already have a reply on your topic. I've tested the workaround and it works, though I think there might be some problems running the emulators.
-
@mitu Thank you for all the help, and I will try your suggestion and report back with the results. Thanks again for all the help, and its great to see that it has been acknowledged but a raspberry pi engineer.
-
@Dongzo said in Retropie's Ui 240p? what am I doing wrong?:
,
So I was able to get it to get full screen with setting it so "0" with "fkms" enabled. But I'm just back to my original issue with the screen flickering in retropies UI, the desktop UI and in mame games because its running in 480i. Setting it to "16" is supposed to enable 240p if I'm correct which takes me back to the split screen. So from what I understand from the reply over at the raspberrypi forum is that progressive is an issue with the firmware on CRT screens? So the only option as of right now is to stick with the flickering UI and set the games in mame to run in a progressive lower resolution so I don't have a stroke from the flickering screen ? Is that possible to do? Will telling mame to run a game in 240p override the desktop always pushing 480i ? Sorry for all the newbie questions but still learning.
-
The suggestion in the forum to get 240p was to either
- use
xrandr
to add a 740x480 video mode and switch to it, in the desktop environment. - add the following fragment at the end of
cmdline.txt
file
video=Composite-1:720x480@60
Note that
cmdline.txt
is on the same folder asconfig.txt
, but make sure that you add that at the end of the existing line. This worked for me and got the video mode to 240p.EDIT: here's the contents of
cmdline.txt
- remember it's all on one linedwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=93bcc6bb-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet plymouth.enable=0 vt.global_cursor_default=0 video=Composite-1:720x480@60
- use
-
@mitu said in Retropie's Ui 240p? what am I doing wrong?:
use xrandr to add a 740x480 video mode and switch to it, in the desktop environment.
add the following fragment at the end of cmdline.txtfileI have never used xrandr before so that's something I will have to learn. So I did go into my cmdline.txt to add that code and made sure its all on one line. I also left sdtv_mode to 0. With those 2 settings retropies UI goes to 240p. But when I start an emulator like mame or retroarchs config it goes back to my screen splitting in half. Is that because I still need to the 740x480 video to the desktop mode?
-
@Dongzo said in Retropie's Ui 240p? what am I doing wrong?:
Is that because I still need to the 740xx480 video to the desktop mode?
Probably, there's also a bug in RetroArch that picks the wrong resolution.
You can edit theretroarch.cfg
configuration file from/opt/retropie/configs/all
and set the resolution manuallyvideo_fullscreen_x = 740 video_fullscreen_y = 480
-
@mitu said in Retropie's Ui 240p? what am I doing wrong?:
RetroArch that picks the wrong resolution.
video_fullscreen x and y was set to 0. So I changed it so 740x480 and I'm still getting a split screen when I launch mame or retroarch. Ill learn how to use xrandr to set the desktop to 740x480 this weekend and ill report back on the results. Thanks for all the help.
-
-
@mitu said in Retropie's Ui 240p? what am I doing wrong?:
It's probably because you're using X.org. Try ditching the desktop env and run Emulationstation directly from the console.
I set my pi to run retropie from boot so its not even going into the desktop and I'm still getting the same issue.
-
I'm not sure what else can we try - so Emulationstation works fullscreen, but the emulators don't ?
-
@mitu said in Retropie's Ui 240p? what am I doing wrong?:
I'm not sure what else can we try - so Emulationstation works fullscreen, but the emulators don't ?
When I'm in emulationstation its at 240p seen here.
When I run mame it looks like this
-
OK, so the resolution it's detected in Emulationstation, but not in the emulator. Can you try
advmame
to boot an arcade game ? It should work fullscreen. -
Thank you again for all the help. Unfortunately I can not try advmame because my sd card got corrupted and I had to erase it. I tired to follow the tutorial I mentioned above to manually install retropie as I did before and its not working. I can't git fetch fkms_rpi4 because its telling me permission denied. Guessing something changed? So now I can't manually install it. Guess ill have to wait for the official retropie for the rpi4. I might look into buying a rpi3 instead, all I want to use it for is mame and no other emulators so I don't think I need the rpi4 for that and I can avoid this headache with the rpi3 and official retropie release.
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.