[Scummvm-tracker] [ScummVM :: Bugs] #14105: GRAPHICS: ScummVM crash when I activate Opengl for GUI

ScummVM :: Bugs trac at scummvm.org
Sun Feb 5 19:51:07 UTC 2023


#14105: GRAPHICS: ScummVM crash when I activate Opengl for GUI
-------------------------+----------------------------
Reporter:  legluondunet  |       Owner:  lephilousophe
    Type:  defect        |      Status:  pending
Priority:  normal        |   Component:  Graphics
 Version:                |  Resolution:  fixed
Keywords:                |        Game:
-------------------------+----------------------------
Comment (by antoniou79):

 I got a similar crash today while debugging on Windows 10 x64 with WSL2
 (Ubuntu 20.04.5 LTS, kernel 5.10.16.3-microsoft-standard-WSL2).

 My setup uses a "Windows X server" app (VcXsrv, version 1.20.14.0) to
 display the graphic windows launched from the WSL environment, and
 apparently it gets hit by the same bug.

 It didn't crash as soon as I enabled OpenGL mode, but if I then clicked on
 "Global Options" button, it would crash.

 **From my side, I can confirm the issue fixed with lephilousophe's commit
 above.**

 Also, this is just for the record and anyone that might run into the same
 issue as me: since DPI was not reported correctly on my setup, I kept
 getting super small fonts in the ScummVM GUI and at first I had to
 manually set "gui_scale" from scummvm.ini (under
 ~/.config/scummvm/scummvm.ini) to something extreme like "600"). This
 would work, but as soon as I'd Ok anything under Global Options, it would
 again reset to one of the preset ScummVM values (which only go up to
 "150", as far as I can tell).
 It turns out this was an issue with Windows high DPI scaling (or some
 such) and I resolved this by overriding Windows' High DPI Scaling, setting
 the scaling to be performed by "Application" for the "vcxsrv.exe" app
 (under Properties->Compatibility (Tab)->Change High DPI Settings").
 For reference, this post helped me solved the scaling issue:
 https://sourceforge.net/p/vcxsrv/discussion/986201/thread/86c22a03/
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14105#comment:11>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list