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.

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    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.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

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

  • vividspecter@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

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