Opened 5 years ago
Closed 4 months ago
#10587 closed defect (outdated)
BACKENDS: WIN32 - Launching (Myst) via .cmd file with OpenGL and Fullscreen fails on HiDPI displays
|Reported by:||lotharsm||Owned by:||lotharsm|
I used the latest build bgK sent to Cyan running on Windows 10, 17134.112.
On my Lenovo laptop with a Hi-DPI FullHD Display, using the runme.cmd file will fail. You can see Windows' automatic DPI scaling kicking in. Then, the ScummVM window will close without starting the game. There are no entries in the log file that indicate any issue with the video output.
I could replicate this with SDL 2.0.5 and 2.0.8. ScummVM launches without any issues if you disable the OpenGL renderer in the myst25.ini config file and rely on the default SDL2 rendering driver.
Change History (11)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Thanks for your reply!
I still have to test this since I don't have my build environment ready atm. Will report back asap.
comment:3 by , 5 years ago
Yep, the issue can be replicated using scummvm-master with the same settings. Short screen flash when Windows does it's DPI adjustments and then fallback to the Desktop without any related note in the logfile.
comment:4 by , 5 years ago
If you start in windowed and switch to fullscreen (alt+enter) does the crash still happen?
comment:5 by , 5 years ago
It doesn't crash then, but has lots and lots of mouse cursor issues, like https://bugs.scummvm.org/ticket/10586 all over the place.
I have the feeling that we have a (severe?) incompatibility with Windows 10 and the OpenGL renderer.
comment:6 by , 5 years ago
To be clear, if you opened windowed and then switch to fullscreen you experience Trac#10586 exactly? Can you open more tickets for the other different cursor behaviors? That one is very particular to the win 10 game bar.
From my experience my win10 does have Trac#10586 if I use sdl2.0.8, but no other weird behavior (with opengl) so I don't see the severe issues.
comment:7 by , 5 years ago
comment:8 by , 5 years ago
|Component:||Ports → Port: Win32|
comment:9 by , 3 years ago
|Summary:||WIN32: Launching via .cmd file with openGL and fullscreen fails on HiDPI displays → BACKENDS: WIN32 - Launching (Myst) via .cmd file with OpenGL and Fullscreen fails on HiDPI displays|
comment:10 by , 3 years ago
|Priority:||blocker → normal|
comment:11 by , 4 months ago
|Status:||new → closed|
Thanks for your report.
Do you experience the same issues when running scummvm-master with the same settings (skipping the gui and opening a scummvm game to fullscreen with opengl)?