this post was submitted on 20 May 2024
40 points (95.5% liked)

Linux Gaming

15304 readers
8 users here now

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:

founded 1 year ago
MODERATORS
 

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

all 23 comments
sorted by: hot top controversial new old
[–] MonkderDritte@feddit.de 15 points 6 months ago* (last edited 6 months ago) (1 children)

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.

[–] VinesNFluff@pawb.social 6 points 6 months ago (1 children)

Yeah I have gamemode and use it.

But I see.

[–] soupermkc@lemmy.blahaj.zone 13 points 6 months ago* (last edited 6 months ago) (2 children)

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

[–] VinesNFluff@pawb.social 4 points 6 months ago

Ooooo fancy. Noted, will attempt.

[–] qaz@lemmy.world 1 points 6 months ago

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

[–] strongarm@lemmy.dbzer0.com 8 points 6 months ago (3 children)

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

[–] VinesNFluff@pawb.social 6 points 6 months ago* (last edited 6 months ago)

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.

[–] kjetil@lemmy.world 1 points 6 months ago

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"

[–] kugmo@sh.itjust.works 1 points 6 months ago

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.

[–] kugmo@sh.itjust.works 3 points 6 months ago* (last edited 6 months ago)

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.

[–] michael_palmer@lemmy.sdf.org 2 points 6 months ago (2 children)

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

[–] meekah@lemmy.world 2 points 6 months ago* (last edited 6 months ago)

You don't want to win?

/s

[–] fl_sp@lemmy.sdf.org 1 points 6 months ago

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

[–] CarlosCheddar@lemmy.world 1 points 6 months ago

Lutris has a toggle for this so you could check what that calls and add it to your launch script.

[–] Zamundaaa@discuss.tchncs.de -2 points 6 months ago (3 children)

Just use Wayland, then you don't have to care about this

[–] cevn@lemmy.world 3 points 6 months ago (1 children)

Nice non answer. Wayland draws giant black boxes on my rocket league half the time so that won’t work.

[–] VinesNFluff@pawb.social -3 points 6 months ago

Unfortunately Wayland breaks Inkscape and GIMP and even caused Firefox to be unstable for me.

So like

Thanks but no thanks?

Maybe in 5 years. Let it stay in the oven for a bit longer.