You are not logged in.
Pages: 1
Topic closed
Hum....couldn't find anything on this and it really speeds things up (FPS wise).
Decided to share:
if [ `qdbus org.kde.KWin /Compositor org.kde.kwin.Compositing.active` = true ]; then qdbus org.kde.KWin /Compositor org.kde.kwin.Compositing.suspend; else qdbus org.kde.KWin /Compositor org.kde.kwin.Compositing.resume; fi
Offline
...or you could just press shift+alt+F12
[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]
Offline
I know, this post is quite old. But I had the very same idea today and came up with an automatic solution:
alex@galaxy:~$ cat /usr/local/bin/suspend_compositing
#!/bin/bash
qdbus org.kde.KWin /Compositor suspend
$*
qdbus org.kde.KWin /Compositor resumeThis will disable compositing, run any command from the trailing command line and resume compositing afterwards with the current KWin
In Steam i set the Launch Options for every game to:
suspend_compositing optirun %command%and whenever I start a game compositing will be paused and my dedicated gpu will be activated automatically.
Offline
Thanks for sharing. I'm going to go ahead and close this now.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed