this post was submitted on 04 Nov 2023
20 points (100.0% liked)

Linux Gaming

15017 readers
8 users here now

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:

founded 1 year ago
MODERATORS
 

Hey friends. I have been using Linux exclusively for about 3 weeks. I've been amazed at how well gaming works out of the box with Steam and proton.

I only have this minor issue, I'm sure someone can point me to the right direction. I use 2 monitors, I game on the primary monitor and do whatever else on the second. Whenever I go back to the gaming monitor, the game shows the window decorations for just a second and then goes back to full screen. It flickers. Obviously not a major problem, but it's annoying.

If I go to the game settings, set it as windowed and then back to full-screen it occasionally fixes the problem but only until I start the game again.

I currently use EndeavourOS w/ KDE but the problem also happened on Manjaro!

EDIT: 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.

top 7 comments
sorted by: hot top controversial new old
[–] just_another_person@lemmy.world 2 points 11 months ago (1 children)

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.

[–] pathief@lemmy.world 1 points 11 months ago (1 children)

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

[–] just_another_person@lemmy.world 2 points 11 months ago (1 children)

Did you try switching from Wayland back to X11? Are these only Proton games?

[–] pathief@lemmy.world 2 points 11 months ago (1 children)

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.

[–] vividspecter@lemm.ee 1 points 11 months ago (1 children)

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

[–] pathief@lemmy.world 1 points 11 months ago

I do have an Nvidia card.