Posts: 60
Joined: Sun Jun 16, 2019 2:13 pm

Raspbian Buster on RPi4 - Remains in Lower Game Resolution when Exiting to Desktop

Sat Apr 18, 2020 3:59 pm

Hey, guys.

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

Code: Select all

zandronum: ../src/util/ralloc.c:91: get_header: Assertion `info->canary == CANARY' failed.
This gets pretty annoying having to change the resolution back after playing a game or 2.

My question:

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?

Return to “Gaming”