MiSTer-devel / Main_MiSTer

Main MiSTer binary and Wiki
GNU General Public License v3.0
3.03k stars 328 forks source link

The VGA scaler does not do integer scale on the VGA output. #338

Open mathieulh opened 3 years ago

mathieulh commented 3 years ago

The VGA scaler does not seem to do integer scale on the VGA output, that's even while using built in video modes, the lower the resolution, the more visible, especially on some titles with gimmick on the first level when looking at the title floor tiles when using scanlines (I am using a CRT at 240p 120hz or 480p 60hz)

If I use the scandoubler then the scaling issues are gone entirely so I deduced the scaler itself over VGA using the analog io board is the issue.

Perhaps this is caused by a horizontal scaling issue, if so I am unsure as to how it can be fixed, given there is no hscale_mod option in the ini.

UPDATE: setting a 16:15 aspect ratio fixes the scaling issue on the NES core.

Here is an example where it's particularly visible at 240p, look at the bottom tiles. https://i.imgur.com/1r4qCQP.jpg

sorgelig commented 3 years ago

make sure you don't use border option in INI. It reduces actual output resolution.