Whenever I play GZDoom and Zandronum on the Raspberry Pi in fullscreen at a lower resolution (720p, 800x600, etc.) than the native desktop resolution (1080p in my case), the resolution never returns to 1080P after I exit the game. I think it may have something to do w/ it crashing after the game quits, so it doesn't have a chance to return to the native desktop resolution (just guessing here):
This gets pretty annoying having to change the resolution back after playing a game or 2.
Code: Select all
zandronum: ../src/util/ralloc.c:91: get_header: Assertion `info->canary == CANARY' failed. Aborted
Rather than trying to figure out why GZDoom and Zandronum crash on exit (I'm honestly amazed these games run at all ), is there a commandline that will switch back to the resolution I want?
My thinking is that I can make a shell script to run zandronum or gzdoom and upon exit, force the 1080p resolution back.
Anyone know if this is possible?