Try setting the game to exclusive Fullscreen instead of windowed or borderless maybe, or vice versa. This is a window manager issue, so start digging there. If it doesn't happen with every single game, it could be a combo of game engine and WM.
Linux Gaming
Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME
away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.
This page can be subscribed to via RSS.
Original /r/linux_gaming pengwing by uoou.
Resources
WWW:
Discord:
IRC:
Matrix:
Telegram:
It does happen with every game I've tried so far. Games are fullscreen by default, but it doesn't seem to matter what the default is - it always happens.
I'm using KDE but I haven't managed to find anything that is relevant for my problem :(
Did you try switching from Wayland back to X11? Are these only Proton games?
I'm on X11, I have an nvidia card and Wayland is way too buggy right now, even with the recent 545 driver.
As always, the Arch Wiki had the answer, I just didn't see because it seems to describe a different issue. SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
environment variable seems to do the trick.
👍
I know you solved it, but another workaround for this type of issue is to run the game with gamescope
. Assuming you have an AMD or Intel card (Nvidia historically didn't have great support for it).
I do have an Nvidia card.