Retropie + 480p = Love
-
This gives me the opportunity to ask you about a theory of mine:
My setup with RPi4:
TV resolution: 4K (2160p)
Retropie resolution: 720p
Emulators render resolutions: 240p for every 240p console/arcade (the only different is Dreamcast at 480p)I think this is the best setup for eliminating scaling artifacts on 4K.
Stay with me:
2016/720=3 which gives integer scale on Retropie menus.
720/240=3 again integer scale on emulators.This would mean that I'm keeping probably the lowest best Retropie resolution for upscaling on a 4K (setting Retropie at 480p things start to get blurry) so that I can have better performance and at the same time if I like to keep the integer scaling option on I'm getting perfect fullscreen 240p scaling.
This wouldn't apply with a 1080p Retropie resolution or a 480p emulators render resolution (1080/240=4,5).Is it correct or I am missing something? I'm quite happy with this setup image quality.
-
@segaages i think the problem with that approach is many console (especially 32-bit and after), and especially arcade, are not 240p. 1080p gives full speed and a good enough pixel density that you basically can't see scaling artefacts IMO.
i have been meaning to investigate some shaders that give a combo of nearest-neighbour and bilinear to keep it sharp, but bilinear filter any uneven lines.
-
Thank you @dankcushions!
But if I switch to 1080p wouldn't performance take a (little?) hit on Dreamcast for example or on N64 or some heavier MAME games? -
@segaages in theory a simple upscale to 1080p is a 'free' GPU operation, but there definitely situations where lowering resolution can help. for me, i'm keeping everything at 1080p and trying to identify and resolve the bottlenecks.
-
Are you implying the GPU is little used by emulators in Retropie or not at all?
-
@segaages not at all. i don't know of any significant performance gains on available emulators for pi3 or 4 that you can get from lowering the resolution if the emulator is set up correctly.
-
That's good news for me, helps me understand how things work.
So speaking about resolution emulators performace are basically tied to their rendering resolution and not retropie resoution.
Gotta try 1080p. -
@segaages I must add, time spent on configuration tweaks aren’t of my interest right now.
So I’m happy with saving a lot of time when doing things a little different this time on the PI4:
- Setting 480p globally.
- Use USB 3 for roms.
These two actions take 4 minutes. I can’t even imagine how many hours I’ve spent on configuring 1080p trying to get emulators working well and fill the screen with output resolution and rendering resolution.
-
I spent ages trying to force my setup out of 4K because the emulators ran too slow - and whatever I did the TV and the Pi kept negotiating 4K. Turned out in some of the boot config settings, the order of the values in the config file is quite important though I hadn't found anything that would tell me that, or which was the right order...
It has been a shame to drop out of 4K because the Retroarch UI looked very crisp and nice, including all the SVG collateral, and on 1080p it's merely "nice". But Fuse and the BBCB under MAME-Advmess ran too slowly at 4K...
-
@dankcushions It seems that if you lower to 720p then you can use an overlay and the zfast CRT shader simultaneously without any stuttering. In 1080p it's really noticeable
-
@sad_muso yeah i've heard that overlays tank performance for whatever reason. this feels like a retroarch bug to me, as a static overlay surely shouldn't be that much of a performance drain.
do you have an example overlay and file so I can see the issue and log it with them, please? -
scratch that, it's been logged! https://github.com/libretro/RetroArch/issues/10688
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.