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
    link
    English
    211 months 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.

    • @pathiefOP
      link
      English
      111 months 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 :(

      • @just_another_person
        link
        English
        211 months ago

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

        • @pathiefOP
          link
          English
          211 months ago

          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.

  • @[email protected]
    link
    fedilink
    English
    111 months 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).

    • @pathiefOP
      link
      English
      111 months ago

      I do have an Nvidia card.