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
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.
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
I was under the impression this was done automatically when in full-screen, are you sure this isn’t the case?
Doesn’t work on Plasma 6 yet, but there’s probably a way to auto convert qt5 to 6 with minimal problems.
Lutris can execute scripts before launching game and after closing game. I use this to disable “win” key in games.