gbsc-pro icon indicating copy to clipboard operation
gbsc-pro copied to clipboard

Feature request: 4:3 letterboxed modes for non-1080p output resolutions

Open segasonic44 opened this issue 6 months ago • 12 comments

Would it be possible to add (optional) black side borders to the lower resolutions, as is the case for 1080p? I know that 1080p does this because the TrueView5725 doesn't have the power to render a full 1920x1080.

As a happy accident it's advantageous to those of us using 16:9 displays for 4:3 content as minimal tweaking is required, but if we want to use the recommended 960/1024 modes the image fills the screen and sometimes it can't be narrowed enough without corrupting the display. Not all 16:9 displays have a 4:3 mode, and on some it's a PITA to activate it by trawling through the OSD.

Thank you 👍

segasonic44 avatar May 17 '26 14:05 segasonic44

Might be useful to decouple the resolution from aspect ratio? In future maybe more resolutions like 1280x800 could be supported without having a whole screen filled with a list of resolutions.

RedAnon avatar May 18 '26 08:05 RedAnon

Agreed! If feasible it could be 'letterbox on/off' toggle in the settings that applies them to anything sub-1080p.

I expect most folk are using wide panels, 4:3 HDMI screens are relatively rare in my experience.

segasonic44 avatar May 18 '26 09:05 segasonic44

Well I use 16:10.

But just to curb your expectations this is A LOT of work.

RedAnon avatar May 21 '26 09:05 RedAnon

No expectations here, I understand that it's not trivial to implement. It would be nice to have but the firmware is still great without it.

segasonic44 avatar May 21 '26 12:05 segasonic44

the resolution matrix is a mess to fit into one web screen with buttons and toggles. something like: input in line resolution, output resolution in lines, vertical scaling factor, input in pixels across, output in pixels across, horizontal scaling unit. hsync pulse location and duration Vsync pulse Location and duration artificial black bars (curtains)

to represent it graphically, it would be 5 rectangles.

  1. raw input image,
  2. image for scaling (picture inside raw image) ,
  3. scaled image (picture)(you could also call this rectangle the transformations layer as we are doing color corrections/blending/etc),
  4. (borders/curtains),
  5. new output image.

now add in the AV module on the pro version and that is another 5 rectangles. it is a lot. I might build this if i get some free time and mental energy.

20-Percent-Cooler avatar May 22 '26 07:05 20-Percent-Cooler

it can't be narrowed enough

Did you mean you are playing with the Scale function to shrink the image horizontally? We can simply do a quick hack by adding button that says "letterbox" and it will simply assume all resolution is stretched to 16:9 screen and shrink it back to 4:3

warheat1990 avatar Sep 04 '26 00:09 warheat1990

Did you mean you are playing with the Scale function to shrink the image horizontally? We can simply do a quick hack by adding button that says "letterbox" and it will simply assume all resolution is stretched to 16:9 screen and shrink it back to 4:3

Yeah, I can't remember off the top of my head but for some platforms I couldn't use 960p because when I scaled the horizontal down to 4:3 size (I've got blu-tac on the bezel of my monitor to mark it) the picture started becoming unstable.

I'm mostly tinkering with Saturn at the moment, that looks great scaled down at 960p over RGB with sync on Luma.

segasonic44 avatar Sep 04 '26 07:09 segasonic44

@segasonic44 Try this latest build https://github.com/warheat1990/gbsc-pro/releases/tag/GBSC_PRO_v2.4.1-W.2RC3 https://github.com/warheat1990/gbsc-pro/issues/11

warheat1990 avatar Sep 04 '26 12:09 warheat1990

In 3.0.0-beta1 this is partly done: 720p and the new 1200p now come out as 4:3 with side borders, like 1080p. On a 16:9 screen you can therefore use 720p or 1080p.

960p and 1024p are 4:3 signals themselves: it is the TV that stretches them. Borders there need a 4:3 / 16:9 choice on the output, which is not in this beta. I am leaving this open for that.

3.0.0-beta1 is a beta. Both firmwares (GBS-Control and ADV Controller) have to be updated together, and the 2.4.x settings and slots are not carried over: please read the upgrade notes in the release first. If something goes wrong, the web app has Status > Diagnostics > "Copy for an issue".

brisma avatar Nov 12 '26 17:11 brisma

@brisma Is it possible to implement this as a feature instead of hardcoded? I have a Pillarbox options in my fork but it doesn't really work with certain resolution for example 1280x1024 will show garbage on the screen at certain Scale.

Also does 1920x1080 pillarbox limit still exist after this rewrite, possible to get a full stretched 1080p?

warheat1990 avatar Nov 12 '26 17:11 warheat1990

Hi, @brisma Does the firmware have option to pillarbox 960p in 1080p? I am currently using 960p with my monitor but not experienced with enough TVs to say that everyone of them will support 960p. But it seems people say 1080p with GBSC causes some blurring when compared to 960p. So pillarboxing 960p in 1080p output would preserve the clarity of 2x scaling from 480p and also make it compatible with every TV out there.

Adamanimus avatar Nov 15 '26 06:11 Adamanimus

3.0.0-beta3 is out, and it brings what was asked for here: the shape of the picture is now a choice, in Output, right under Resolution.

  • @segasonic44 Aspect = Force 4:3 puts side bars on 480p, 576p, 960p and 1024p, for a 16:9 screen that stretches every signal. So 960p and 1024p can be used without narrowing the picture by hand.
  • @warheat1990 it's an option, not a fixed behaviour: Auto keeps the shape as before, Full fills the whole width at 720p, 1080p and 1200p, so yes, a full-width 1080p too.
  • @Adamanimus what you describe is Integer scale at 1080p. With a 60 Hz source every console line becomes 4 lines, so 960 lines inside the 1080p output, with bars above and below and the width in proportion. With a 50 Hz source it becomes x3, so the whole PAL frame stays in view.

They also work with a VGA source scaled at 50/60 Hz. The widths at the resolutions I couldn't measure on a TV are computed: if something looks off, a photo of a test grid helps me a lot.

I'm closing the issue; if something is still not right, please open a new one.

brisma avatar Nov 18 '26 13:11 brisma