kondrak / vkQuake2

id Software's Quake 2 v3.21 with mission packs and Vulkan support (Windows, Linux, macOS, FreeBSD, Raspberry Pi 4)
GNU General Public License v2.0
896 stars 91 forks source link

Fullscreen won't work properly. #120

Closed amiga1985 closed 3 years ago

amiga1985 commented 3 years ago

I am using Arch Linux with KDE plasma, and for some reason, whenever I try to go fullscreen on my 1080p monitor, it doesn't seem to work correctly. The game has the right resolution, but isn't fullscreen, so the bottom is slightly cut off. Any reason why this might be? More info: I have two monitors: a 1366*768 screen on the laptop, and an external 1080p monitor. Fullscreen works well on the small laptop screen.

kondrak commented 3 years ago

Can you post a screenshot?

amiga1985 commented 3 years ago

Here is a video of my issue.

https://user-images.githubusercontent.com/73260114/104815719-33506980-57e4-11eb-8985-de531cec80f4.mp4

amiga1985 commented 3 years ago

Wait... In the config file there is an option called set r_fakeFullscreen. Set this to 1, and it works correctly. Maybe this should be on by default?

kondrak commented 3 years ago

My guess is that at the time iD had some issues with some Linux WMs and they introduced this command to make fullscreen work on some specific setups - I couldn't reproduce this but clearly the issue is there on your system. The Linux code has not aged well, basically it would need a full rewrite to make it work properly and that's a bit out of the scope of this project, so if r_fakeFullscreen works for you then I guess we can close this.