How exactly does the "Scale" option under "Audio & Video" work?

Discussion about displays and related hardware including MiSTer filters and video settings.
setiawan
Posts: 4
Joined: Sun Mar 13, 2022 4:38 am
Been thanked: 1 time

How exactly does the "Scale" option under "Audio & Video" work?

Unread post by setiawan »

Basically the subject. I've seen people talk about using it, and from what I've observed, it seems to affect the horizontal scaling. It doesn't seem to work consistently on all cores though.

I've not been able to find any documentation on this, so rather than guess, I was hoping someone could tell me what the different options are meant to do, what options (if any) are required for it to take effect, whether it introduces a framebuffer when using the VGA analog output, etc.

Any clarification around this is much appreciated, thanks!

FoxbatStargazer
Top Contributor
Posts: 1018
Joined: Thu Dec 10, 2020 5:44 pm
Has thanked: 315 times
Been thanked: 238 times

Re: How exactly does the "Scale" option under "Audio & Video" work?

Unread post by FoxbatStargazer »

"Normal" scale will make the scaler abide by your vscale_mode setting in mister.ini. If its 0 it will fill the screen, 1 will be vertical integer scaling, 2 will do half-integer steps, etc. Many (but not all) cores that have a 5x cut/216p option require vscale_mode=0 for it to work.

V-integer will mostly ovveride your vscale_mode setting and force a whole vertical integer scale, with the horizontal following the core's aspect ratio.

HV-Integer introduces whole horizontal integer scaling. By default it will tend to go to the closest whether that's wider or narrower. + will force it to go wider than default (round up) while - will make it go narrower (round down.)

Things get complicated if your output is actually wider than your display resolution (i.e. some handheld cores for 4:3 output. Also vscale_mode 5 and 6 change the output resolution by logic I don't fully understand.

Most of these settings have no effect on the analog output (unless you use vga_scaler, in which case all of them do.) The only one that tends to have an effect is the settings some cores have for visible area (i.e. border or 5x cut.) Even in that case its not going to add a framebuffer, that would only be for a handful of handheld cores that have explicit buffering options.

User avatar
neogeo81
Top Contributor
Posts: 445
Joined: Fri Apr 16, 2021 1:52 pm
Has thanked: 34 times
Been thanked: 47 times

Re: How exactly does the "Scale" option under "Audio & Video" work?

Unread post by neogeo81 »

setiawan wrote: Tue Oct 08, 2024 10:28 am

Basically the subject. I've seen people talk about using it, and from what I've observed, it seems to affect the horizontal scaling. It doesn't seem to work consistently on all cores though.

I've not been able to find any documentation on this, so rather than guess, I was hoping someone could tell me what the different options are meant to do, what options (if any) are required for it to take effect, whether it introduces a framebuffer when using the VGA analog output, etc.

Any clarification around this is much appreciated, thanks!

https://mister-devel.github.io/MkDocs_MiSTer/

FPGA64
Top Contributor
Posts: 937
Joined: Mon Mar 01, 2021 3:10 pm
Has thanked: 49 times
Been thanked: 374 times

Re: How exactly does the "Scale" option under "Audio & Video" work?

Unread post by FPGA64 »

Post Reply