mvdevs / jk2mv

JK2MV - improved, modernized JK2 client and server
https://jk2mv.org
GNU General Public License v2.0
108 stars 33 forks source link

Rendering freeze after alt-tabbing from fullscreen on Linux with NVIDIA #132

Closed Gert-dev closed 4 years ago

Gert-dev commented 4 years ago

First of all, thanks for this project!

When running in fullscreen mode, if I alt-tab out of the game, and then back in, rendering "freezes". The game does appear to keep running properly - you still hear sound and music from menu's and input, it just visually isn't updated anymore.

This doesn't happen if I run in windowed mode, only with fullscreen mode.

I'm running Arch Linux 64-bit with GNOME shell 3.34 and NVIDIA driver 440.59.

aufau commented 4 years ago

Hi, thanks for this report.

What version of jk2mv are you using exactly? You can check it for example in the bottom right of the in-game console. Or by checking JK2MV cvar value.

aufau commented 4 years ago

Regardless, please try the latest build. Similar bug was reported some time ago and it was fixed in the master branch. Unfortunately the fix isn't present in 1.4.1 and we were unable to release another version since then, even though there are substantial changes in the repository.

Gert-dev commented 4 years ago

The console says jk2mv vUNKNOWN, but I installed from the AUR package from Arch and updated it to use the 1.4.1 download from the releases page (since it's stuck at 1.2.1).

I tried a build from CI for version b44a99b, which appears to be the latest commit on master at the time of writing.

This indeed seems to fix the issue. Good to know that it's already been fixed. I'll close this issue and wait for the next stable release, in that case.

Thanks for your efforts!