Title. Turning off the fancy effects (which can be done with Alt+Shift+F12) improves performance slightly, but having to toggle them on and off every time I start a game is… Y’know. A thing.

I was wondering if there was a way to automate it, like game opens -> they turn off, game process ends -> they turn back on

15 points
*

There’s a ‘gamemode’ package (arch wiki) but it’s more for niceness and gpu governor.

My proposal: figure out how you can disable effects via cli on KDE and create a little script.

permalink
report
reply
6 points

Yeah I have gamemode and use it.

But I see.

permalink
report
parent
reply
1 point
*
Deleted by creator
permalink
report
parent
reply
13 points
*

you can create a application or window rule via the game’s window operation menu’s “more” submenu (can use the equivilant shortcut if full screen or no border) once you open the dialog, the thing you’d be looking to add is “block compositing” set to “force”. it will automatically turn compositing back on once the process is closed

permalink
report
reply
4 points

Ooooo fancy. Noted, will attempt.

permalink
report
parent
reply
1 point

I’ve also used this and it solved some performance issues with a game.

permalink
report
parent
reply
8 points

I was under the impression this was done automatically when in full-screen, are you sure this isn’t the case?

permalink
report
reply
6 points
*

It might? I don’t use exclusive fullscreen ever. :P I’m too ADHD for that. I always have chat windows on my second screen and am constantly tabbing out on load screen and shit.

permalink
report
parent
reply
1 point

Yes, this happens automatically for me when I launch games. I don’t remember doing anything special to set it up (Kubuntu with nVidia drivers on X11). I do mostly game in true full screen though, not “full screened window”

permalink
report
parent
reply
1 point

Proton used to disable compositing back in version 5 or 6, then one (minor) update messed it up. iirc it was reported to the issue tracker but still hasn’t been fixed. proton-ge still keeps the compositor disabled.

permalink
report
parent
reply
3 points
*

Autocomposer Kwin script

Doesn’t work on Plasma 6 yet, but there’s probably a way to auto convert qt5 to 6 with minimal problems.

permalink
report
reply
2 points

Lutris can execute scripts before launching game and after closing game. I use this to disable “win” key in games.

permalink
report
reply
2 points
*

You don’t want to win?

/s

permalink
report
parent
reply
1 point

Pretty sure “turn off desktop effects” is an actual option in lutris.

permalink
report
parent
reply

Linux Gaming

!linux_gaming@lemmy.world

Create post

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:

Community stats

  • 1.8K

    Monthly active users

  • 889

    Posts

  • 11K

    Comments

Community moderators