Homepage › Forums › RetroPie Project › Video Output on RetroPie › Overscan, AR, shaders and overlays
- This topic has 4 replies, 2 voices, and was last updated 9 years, 5 months ago by patrickm.
-
AuthorPosts
-
06/22/2015 at 13:23 #100421footwoParticipant
Hello there!
I’m having some difficulty understanding the myriad of different ways you can effect the video signal in retroarch and emulationstation. I’m mainly concerned here with 8bit and 16bit emulators (so gameboy, NES, SNES, Master System, Megadrive etc) and I would like to get them looking retro with a decent scanline shader that doesn’t cause a performance hit, as well as border overlays for each console.
I’m using the following:
RPi2 overvlocked to ‘pi2’ setting
RetroPie 3.0 (beta 4)
Samsung 720p televison-
Overscan
First issue I have is with overscan. Now, I don’t really know what it means, but I understand that if I start messing with the values in
/boot/config.txt
such asoverscan_left=16 overscan_right=20
it alters the size of the black borders around the display. I’ve managed to get this to a point where the black borders are no longer an issue (i.e. the terminal and emulationstation’s gui fit nicely within the whole area of my tv), but I’m worried that doing this is going to effect how retroarch uses the display. Is this something I need to worry about or is tweaking those values good practice regardless?
Should I instead force retropie to always use 720p as that is the native resolution of my display and is never going to change? I believe this is possible by going into the aforementioned config file and declaring the following:
hdmi_group=1 hdmi_mode=4
but I’m not sure if that’s correct. If I force a 720p resolution in that manner, do I need to disable overscan explicitly or just ignore it?
If I’ve explicitly configured an emulator (e.g. snes9xnext) to run at 720p, using the x button as it boots the rom to apply a custom configuration, does it even matter what I force my resolution to?
-
Aspect ratio, Shaders & Overlays
I’ve been playing with the shaders + border style overlays you can use in retroarch. Whilst I understand the basic principle, I’m having some difficulty knowing what’s best to use, especially when it comes to aspect ratio. For simplicity’s sake I just want to get decent looking scanlines for the 8-bit/16bit consoles without having a performance hit, and also use some nice borders to fill in the black bars at the side on a per console basis, bearing in mind I’m locked to a 720p display.
Consoles will be 4:3, and handhelds like the gameboy use their own weird AR’s that I’m not familiar with. This is where things start getting murky, because retroarch has so many video settings and shader options that I really don’t know where to begin. I have no idea what ‘integer scaling’ is for example, and various different forums I’ve viewed all say different things “turn it ON always/turn it OFF always” etc. I’ve no idea if I should force an aspect ratio (e.g. 4:3 for the SNES) or use a custom one (which I can’t seem to customise in RGUI).
I’m using borders from here and the default shaders that come with retropie. I’ve managed to load shader presets on the snes9xnext emulator and it looks alright from what I can tell, however I have no idea if I’m doing it right, because I’m not sure what to set the other settings to.
Can anyone offer some advice? I did look through some of the other posts in this very forum but I found it a bit overwhelming and most people seem to deal with 1080p displays.
06/22/2015 at 21:16 #100451patrickmParticipant[quote=100421]Hello there!
I’m having some difficulty understanding the myriad of different ways you can effect the video signal in retroarch and emulationstation. I’m mainly concerned here with 8bit and 16bit emulators (so gameboy, NES, SNES, Master System, Megadrive etc) and I would like to get them looking retro with a decent scanline shader that doesn’t cause a performance hit, as well as border overlays for each console.
I’m using the following:
RPi2 overvlocked to ‘pi2′ setting
RetroPie 3.0 (beta 4)
Samsung 720p televison-
Overscan
First issue I have is with overscan. Now, I don’t really know what it means, but I understand that if I start messing with the values in
/boot/config.txt
such asoverscan_left=16 overscan_right=20
it alters the size of the black borders around the display. I’ve managed to get this to a point where the black borders are no longer an issue (i.e. the terminal and emulationstation’s gui fit nicely within the whole area of my tv), but I’m worried that doing this is going to effect how retroarch uses the display. Is this something I need to worry about or is tweaking those values good practice regardless?
Should I instead force retropie to always use 720p as that is the native resolution of my display and is never going to change? I believe this is possible by going into the aforementioned config file and declaring the following:
hdmi_group=1 hdmi_mode=4
but I’m not sure if that’s correct. If I force a 720p resolution in that manner, do I need to disable overscan explicitly or just ignore it?
If I’ve explicitly configured an emulator (e.g. snes9xnext) to run at 720p, using the x button as it boots the rom to apply a custom configuration, does it even matter what I force my resolution to?
-
Aspect ratio, Shaders & Overlays
I’ve been playing with the shaders + border style overlays you can use in retroarch. Whilst I understand the basic principle, I’m having some difficulty knowing what’s best to use, especially when it comes to aspect ratio. For simplicity’s sake I just want to get decent looking scanlines for the 8-bit/16bit consoles without having a performance hit, and also use some nice borders to fill in the black bars at the side on a per console basis, bearing in mind I’m locked to a 720p display.
Consoles will be 4:3, and handhelds like the gameboy use their own weird AR’s that I’m not familiar with. This is where things start getting murky, because retroarch has so many video settings and shader options that I really don’t know where to begin. I have no idea what ‘integer scaling’ is for example, and various different forums I’ve viewed all say different things “turn it ON always/turn it OFF always” etc. I’ve no idea if I should force an aspect ratio (e.g. 4:3 for the SNES) or use a custom one (which I can’t seem to customise in RGUI).
I’m using borders from here and the default shaders that come with retropie. I’ve managed to load shader presets on the snes9xnext emulator and it looks alright from what I can tell, however I have no idea if I’m doing it right, because I’m not sure what to set the other settings to.
Can anyone offer some advice? I did look through some of the other posts in this very forum but I found it a bit overwhelming and most people seem to deal with 1080p displays.
[/quote]
I don’t understand why you don’t just use shaders. CRT-Hyllian or CRT-Caligari look quite nice and run smooth at 720p on the pi 2. Set RA to use your native display res, always.
If you really want to use overlays, what you are interested in can be found in “how to get perfect video scaling” and “how to get scanlines.”
Yes, you should tell RA to always use your native display resolution. Doing otherwise results in scaling artifacts and input lag.
You can’t get a perfect 4:3 aspect ratio for consoles on a fixed-pixel display without it resulting in scaling artifacts. You can hide these with shaders, though.
On a more powerful machine, you can use the sharp-bilinear or pixellate shaders to force a 4:3 ratio and hide the scaling artifacts, but it will cause a performance drop on the pi 2.
I believe I provided a link to a 3x scanline overlay for use with 720p displays in one of those two threads, but here it is again:
https://www.dropbox.com/s/0aae6uwxfl7di48/scanlines1280x720.png?dl=0Here is also an aperture grill overlay I made for the same resolution, although its really a grid at this resolution:
https://www.dropbox.com/s/bopljr1git0x9dt/aperturegrill1280x720-3x.png?dl=006/22/2015 at 21:18 #100452patrickmParticipantIf you’re interested in using borders, I can’t help you – my suggestions are for taking maximum advantage of the display area and minimizing/eliminating letterboxing and overscan, so that borders aren’t necessary. Pillarboxing oth is a non-issue, as you get pillarboxing on a modern display anytime you view 4:3 content.
It wouldn’t be that hard to combine any of the scanline overlays with one of the console borders that comes with RA using a graphics editor.
You could just select the Hyllian shader and then add a border overlay. That sounds like what you are after.
06/23/2015 at 00:07 #100479footwoParticipantHi Patrick
Thanks for taking the time to answer, I appreciate it!
I think my use of the terminology was wrong, by overlays i do in fact mean borders, and just at the sides of the 4:3 image. I’m building this for my niece and I want it to have some bells and whistles just so she knows what system shes playing on at any one time. I figured having some pictures of the consoles at the side would do the trick
I am using the shaders that come loaded with retropie, I’m just not sure what to set the other various video settings within RA if I’m using a shader. I’m not planning on overlaying scanlines as I’ve been reading that shaders are perfectly fine to use on a native 720p display.
You could just select the Hyllian shader and then add a border overlay. That sounds like what you are after.
yeah pretty much. So the Hyllian shader in /opt/retropie/emualtors/retroarch/shaders should be good for my purposes I guess. For things like integer scaling, crop overscan, and the other video settings, from what ive been reading I should be using:
Integer scaling – ON
Fullscreen mode – ON
Crop overscan – OFF
Aspect Ratio – 4:3 or core providedThat sound right?
06/23/2015 at 01:04 #100484patrickmParticipant[quote=100479]Hi Patrick
Thanks for taking the time to answer, I appreciate it!
I think my use of the terminology was wrong, by overlays i do in fact mean borders, and just at the sides of the 4:3 image. I’m building this for my niece and I want it to have some bells and whistles just so she knows what system shes playing on at any one time. I figured having some pictures of the consoles at the side would do the trick
I am using the shaders that come loaded with retropie, I’m just not sure what to set the other various video settings within RA if I’m using a shader. I’m not planning on overlaying scanlines as I’ve been reading that shaders are perfectly fine to use on a native 720p display.
You could just select the Hyllian shader and then add a border overlay. That sounds like what you are after.
yeah pretty much. So the Hyllian shader in /opt/retropie/emualtors/retroarch/shaders should be good for my purposes I guess. For things like integer scaling, crop overscan, and the other video settings, from what ive been reading I should be using:
Integer scaling – ON
Fullscreen mode – ON
Crop overscan – OFF
Aspect Ratio – 4:3 or core providedThat sound right?
[/quote]
You want to use the CRT-Hyllian located in …/shader/CRT/glow/
The one in the main directory will cause a performance drop
You could also try CRT-Hyllian-sharpness-hackCRT Caligari is another good option
If you’re not that concerned about scaling artifacts, I would leave integer scale off. The shader should make them mostly unnoticeable.
For the overlays, I think there are a bunch included with RA but I haven’t really checked them out. You can make one pretty easily in a graphics editor like photoshop or GIMP. Just make an image the same size as the display resolution and draw the border where you want it to be, then turn the white to transparency using an alpha channel.
-
AuthorPosts
- The forum ‘Video Output on RetroPie’ is closed to new topics and replies.