Opened 6 years ago

Closed 22 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
Priority: normal Component: Port: Win32
Version: Keywords:
Cc: Game: Myst

Description

-Myst25 related-

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 dafioram, 6 years ago

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)?

comment:2 by lotharsm, 6 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 lotharsm, 6 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 dafioram, 6 years ago

If you start in windowed and switch to fullscreen (alt+enter) does the crash still happen?

comment:5 by lotharsm, 6 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 dafioram, 6 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 lotharsm, 6 years ago

Yep, exactly, as soon as I switch to fullscreen mode, the mouse cursor randomly looses focus as soon as I move the mouse. Both #10585 and #10586 are present for me on SDL 2.0.8 as well as SDL 2.0.5.

comment:8 by digitall, 6 years ago

Component: PortsPort: Win32

comment:9 by raziel-, 4 years ago

Summary: WIN32: Launching via .cmd file with openGL and fullscreen fails on HiDPI displaysBACKENDS: WIN32 - Launching (Myst) via .cmd file with OpenGL and Fullscreen fails on HiDPI displays

comment:10 by sev-, 4 years ago

Priority: blockernormal

comment:11 by lotharsm, 22 months ago

Owner: set to lotharsm
Resolution: outdated
Status: newclosed
Note: See TracTickets for help on using tickets.