found easy procedure to crash dhewm3 on linux with wayland ( didn´t test with x11)
wayland/gnome
desktop resolution 2560x1440@144z (nvidia driver 555.58.02 )
SDL_VIDEODRIVER=x11 // no problem with SDL_VIDEODRIVER=wayland
with X11 the resolution used by SDL changes to desktop resolution
r_fullscreenDesktop = "0"
r_fullscreen = "0"
r_mode = "-1"
r_customHeight = "1080"
r_customWidth = "1920"
works with dhewm 1.5.3
several ways to reproduce
-
in main screen
alt/enter to fullscreen
alt/enter to window -> crash
-
in main screen
alt/enter to fullscreen
open imgui
select video tab -> crash
-
in main screen
open imgui/video
change from Windowed to Fullscreen
apply -> crash
bt is not very useful, need to get libbacktrace and recompile
----- Initializing Session -----
in_grabKeyboard: Will *not* grab the keyboard if mouse is grabbed, so global keyboard-shortcuts (like Alt-Tab) will still work
----- Game Map Shutdown -----
'vid_restart partial' succeeded in changing resolution and/or fullscreen mode
dhewm3: /home/markus/src/github/doom3/dhewm3-imgui/neo/sys/glimp.cpp:749: glimpParms_t GLimp_GetCurState(): Assertion `ret.width == glConfig.winWidth && ret.height == glConfig.winHeight' failed.
Looks like dhewm3 1.5.4pre crashed with signal SIGABRT (6) - sorry!
dhewm 1.5.3 switches seamlessly to full screen 2560x1440 and back to the configured resolution in windowed mode.
]r_fullscreen 1
]vid_restart
Shutting down sound hardware
Shutting down OpenGL subsystem
----- Initializing OpenGL -----
Initializing OpenGL subsystem
Will create a fullscreen-window with resolution 1920x1080 (r_mode = -1)
SDL detected 1 displays:
0: 2560x1440 at (0, 0) to (2560, 1440)
Will use display 0 because mouse cursor is at (1946, 639).
Requested 8 color bits per chan, 8 alpha 24 depth, 8 stencil
Got 8 stencil bits, 24 depth bits, color bits: r8 g8 b8 a8
OpenGL vendor: NVIDIA Corporation
OpenGL renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
OpenGL version: 4.6.0 NVIDIA 555.58.02
r_fullscreen 0
]vid_restart
Shutting down sound hardware
Shutting down OpenGL subsystem
----- Initializing OpenGL -----
Initializing OpenGL subsystem
Will create a window with resolution 1920x1080 (r_mode = -1)
SDL detected 1 displays:
0: 2560x1440 at (0, 0) to (2560, 1440)
Will use display 0 because mouse cursor is at (1462, 1048).
Requested 8 color bits per chan, 8 alpha 24 depth, 8 stencil
Got 8 stencil bits, 24 depth bits, color bits: r8 g8 b8 a8
found easy procedure to crash dhewm3 on linux with wayland ( didn´t test with x11)
wayland/gnome
desktop resolution 2560x1440@144z (nvidia driver 555.58.02 )
SDL_VIDEODRIVER=x11 // no problem with SDL_VIDEODRIVER=wayland
with X11 the resolution used by SDL changes to desktop resolution
works with dhewm 1.5.3
several ways to reproduce
in main screen
alt/enter to fullscreen
alt/enter to window -> crash
in main screen
alt/enter to fullscreen
open imgui
select video tab -> crash
in main screen
open imgui/video
change from Windowed to Fullscreen
apply -> crash
bt is not very useful, need to get libbacktrace and recompile
dhewm 1.5.3 switches seamlessly to full screen 2560x1440 and back to the configured resolution in windowed mode.