Game freezes on screen resolution change.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
d2x-rebirth (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I am using a fresh install of Ubuntu 20.04 and a fresh install of d2x-rebirth via apt-get (although I have the same error when using snap via the software center).
d2x isn't running at 1600x900 by default like d1x is and is instead running at 640x480. When I try to change it the game freezes and half takes my desktop environment with it.
The file "gamelog.txt" is empty, and there are no reported errors when I kill the process.
While the game is frozen I can still press my meta key to zoom out of all windows, but switching to any other app just shows me the frozen game screen and I can't see what I'm doing in the application that now has focus. For example, I can zoom out, open a text editor, switch to it, then blindly type into the editor while seeing only the switch game resolution screen. In fact, almost everything I do leaves me with a black/frozen game screen, including switching to other terminals via Ctrl+Shift+
The only way I've found out of the game screen is to press Ctrl+Shift+F1 to go back to my lock screen, then, and only from there, will pressing Ctrl+Shift+F3 work to get me to a terminal. If I press Ctrl+Shift+F2 I go right back to my desktop and the game screen. Once at a terminal I can sign in and kill the process, then switch back to my lock screen and safely sign into my desktop. However, I then have to open my system settings because my screen is still at 640k480 even though Ubuntu thinks I'm still at my default of 1600x900. I have to switch to some other resolution, then right back in order to restore my desktop to normal.
Also, (don't know if it's related) but the robot previews in the mission briefing screens aren't showing up. I noticed that while trying to get into a new game to make it freeze. I can put in a new bug report for that though.
I have the same problem with Ubuntu 20.04.
My workaround is to set the screen resolution by editing ~/.d2x- rebirth/ descent. cfg manually.
The problem that my Gnome desktop resolution is screwed up after exiting the game, remains, though. I have to log out and in again in order to restore the screen resolution.