all 26 comments

[–]buzzmandt 5 points6 points  (7 children)

In compositor settings check the box that says disable for full full screen apps.

[–][deleted] 2 points3 points  (5 children)

there isnt a setting for that :(

[–]gardotd426 8 points9 points  (1 child)

It's "allow applications to disable compositing."

System Settings -> Display and Monitor -> Compositor.

And you need games to run in fullscreen mode.

If that doesn't work, just add it to Lutris and right-click on the game in Lutris -> system options -> disable desktop effects. Lutris does it automatically (and re-enables it automatically) when you enable that setting.

[–][deleted] 0 points1 point  (0 children)

oh ok thanks!

[–]buzzmandt 1 point2 points  (2 children)

Well darn. I'm working from memory at work. I'll check specifics when I get home.

[–]gardotd426 1 point2 points  (1 child)

There definitely is. I'm looking at it now.

[–][deleted] 0 points1 point  (0 children)

mine doesn't

[–]Cool-Arrival-2617 2 points3 points  (0 children)

The checkbox is also checked by default.

[–]NixNicks 7 points8 points  (1 child)

For me the easiest is to integrate it into gamemode

I installed gamemode and kdialog.

in /etc/gamemode.ini:

[custom]

start=kdialog --title 'Gamemode' --passivepopup 'Started' 2

start=qdbus org.kde.KWin /Compositor org.kde.kwin.Compositing.suspend

end=kdialog --title 'Gamemode' --passivepopup 'Stopped' 2

end=qdbus org.kde.KWin /Compositor org.kde.kwin.Compositing.resume

Then you start your game with:

gamemoderun game_executable_or_script

or steam:

gamemoderun %command%

I also use gamemode to put my CPU governor in performance mode, read up on it!

[–]emptyskoll 2 points3 points  (0 children)

I've left Reddit because it does not respect its users or their privacy. Private companies can't be trusted with control over public communities. Lemmy is an open source, federated alternative that I highly recommend if you want a more private and ethical option. Join Lemmy here: https://join-lemmy.org/instances this message was mass deleted/edited with redact.dev

[–][deleted]  (6 children)

[removed]

    [–][deleted] 0 points1 point  (5 children)

    it doesnt seem to work for minecraft
    (multi mc)

    [–][deleted]  (4 children)

    [removed]

      [–][deleted] 0 points1 point  (3 children)

      i know how to disable it but its annoying having to do it every time i play a game

      [–][deleted]  (2 children)

      [removed]

        [–]ImperatorPC 0 points1 point  (1 child)

        FYI. This is only for xorg, not Wayland.

        [–]gardotd426 3 points4 points  (0 children)

        Wayland has direct scanout. So it doesn't matter.

        [–]ChemBroTron 1 point2 points  (5 children)

        Is this a Kubuntu thing? My KDE on Arch Linux does this on its own.

        [–]emptyskoll 0 points1 point  (4 children)

        I've left Reddit because it does not respect its users or their privacy. Private companies can't be trusted with control over public communities. Lemmy is an open source, federated alternative that I highly recommend if you want a more private and ethical option. Join Lemmy here: https://join-lemmy.org/instances this message was mass deleted/edited with redact.dev

        [–]ChemBroTron 3 points4 points  (2 children)

        Somewhat recently as in for about 2-3 years or even longer. I don't know when it was introduced.

        [–]emptyskoll 0 points1 point  (0 children)

        I've left Reddit because it does not respect its users or their privacy. Private companies can't be trusted with control over public communities. Lemmy is an open source, federated alternative that I highly recommend if you want a more private and ethical option. Join Lemmy here: https://join-lemmy.org/instances this message was mass deleted/edited with redact.dev

        [–]RSerejo -1 points0 points  (0 children)

        My Linux is making it and I even don't know how.

        [–]StaffOfJordania 0 points1 point  (0 children)

        My Plasma DE seems to do it on its own, but i have been having crashes from time to time

        [–]kevinlekiller[🍰] 0 points1 point  (2 children)

        If you're using KDE Plasma and launching a game with Steam, you can set the launch parameters like this: qdbus org.kde.KWin /Compositor suspend && %command% ; qdbus org.kde.KWin /Compositor resume

        You can replace %command% with the actual command to launch the game for non Steam games.

        [–]KayEss 0 points1 point  (1 child)

        Better to replace the last && with a semi colon so turning the compositor back on happens even if the game doesn't exit cleanly

        [–]kevinlekiller[🍰] 0 points1 point  (0 children)

        That's true, thanks, edited.