Open joerg-knitter opened 4 years ago
Can this be closed @alphanu1 ?
Yep this can be closed off. @LibretroAdmin
Why closed? I just came here after finding you have RetroArch tech debt:
My discovery: https://forums.libretro.com/t/force-custom-native-resolution-in-retroarch/39030/11
Other people issues (confirmed) and it mentions this Github Issue as well: https://forum.batocera.org/d/5865-scaling-all-games-properly-with-retroarch-on-a-crt-tv-screen/2
On top of that, Sony PVM is the gold standard and almost everyone, who does emulation with CRT gaming has one. It is the most common monitor for 15kHz. It should be finally supported and tested.
Description
When exiting RetroArch in an Linux environment (e.g. Batocera distribution on X64) with CRTSwitchRes enabled, the resolution is set to 700x480px @59.94Hz. Especially when using another frontend like EmulationStation with a different resolution, maybe even with non-RetroArch emulators, this is annoying.
Expected behavior
When exiting RetroArch with CRTSwitchRes enabled, the resolution should be set to the resolution/refresh rate that was set before starting RetroArch.
Actual behavior
When exiting RetroArch with CRTSwitchRes enabled, the resolution is set to 700x480px @59.94Hz.
Steps to reproduce the bug
Bisect Results
The appropriate lines in the source code might be in gfx\display_servers\dispserv_x11.c, starting with line 104:
#ifdef HAVE_XRANDR if (crt_en) { snprintf(xrandr, sizeof(xrandr), "xrandr --newmode 700x480_59.94 13.849698 700 742 801 867 480 490 496 533 interlace -hsync -vsync"); system(xrandr); ...
Version/Commit
Environment information