Source i (link to git-repo or to original if based on someone elses unmodified work):

https://gitlab.com/es20490446e/autocomposer

Original
8
Become a Fan
8.1

Description:
Blocks compositing on fullscreen, to improve graphical performance.

Compatible with any x11 window manager that allows applications to block compositing.

Ratings & Comments

28 Comments

gomoger

Hi is there a download for the Plasma 6 release?

es20490446e

Since there was no way to make it compatible with Plasma 6 through the Kwin API, I rewrote it completely into C using the X11 API. Which will make it compatible with any desktop environment under X11. On Wayland it doesn't make sense, because Wayland requires composition to work. Autocomposer can be installed by clicking on the link above, then the button "code" for downloading the zip, then running the script "install-uninstall.sh". Or ask someone to package it.

mokurai82

This was great on Plasma 5! I can't wait for this to be on Plasma 6.

es20490446e

Thanks! It's being a bit tricky, as Kwin removed the capability of disabling composition through its API (https://gitlab.com/es20490446e/kwin-script-autocomposer/-/issues/5). I'm currently investigating possible solutions

es20490446e

I have been trying to fix this, but for the moment what I have found is misery. As the Kwin API is terribly broken! It doesn't even know when an app is full-screen anymore (https://bugs.kde.org/show_bug.cgi?id=493669)

es20490446e

Since Kwin no longer supports disabling composition through its API, what I have done is re-implementing Autocomposer in pure C and x11. This way it is not only compatible with Kwin, but also with any x11 Window Manager that allows applications to disable compositing. Wayland Window Managers don't allow to disable composition under any circumstance.

Omega9

8 The screen blinks when I open photos and videos in Telegram in full screen. Is there a way to specify exceptions for a script?

es20490446e

Let me have a look...

es20490446e

Try application rules: https://youtu.be/KMcnY-42G2I

Omega9

Now it works. Thank you!

es20490446e

Great and nice! 👍

denji

10 10 the best

thenightrider

10 10 the best

mon0theist

10 Does what it says it should do. Fixed my low fps issue with CS:GO. Just make sure you logout/login or just restart after installing the script.

oppnafickur

10 10/10

gomoger

Doesn't seem to be working with Plasma 5.23.5 and frameworks 5.90.0

es20490446e

Those are the ones that I'm using right now, and it is working for me. Mind that the script will only apply after restarting Kwin, for example when you log out and log in again.

gomoger

Hmm doesn't doesn't seem to be working after a restart. With older native games and wine/proton games the compositor is still on while it's disabled only with newer native games that force disable the compositor already. Any way to debug this?

es20490446e

In (System Settings -> Kwin Scripts) Autocomposer shall be enabled: (https://i.imgur.com/Qauseqh.png) In (System Settings -> Compositor) the option "allow applications to block compositing" shall be enabled: (https://i.imgur.com/rhGg9wE.png)

gomoger

realized what was wrong, I had a kwin window rule that had a regex filter for steam_app_* with force disable compositing. unfortunately it doesn't seem to work with wine games in fullscreen or some older linux native games that don't disable compositing

es20490446e

Those should work with Kwin Autocomposer then.

gomoger

reset my settings, got it working for proton games but not wine or older native unity. another issue I found was pressing meta key, or clicking on the taskbar/system tray will re-enable compositor and won't disable it when you go back to the game. are a lot of my issues because I have dual monitors with different refresh-rates and resolutions (1080p@144hz and 1200p@60hz)?

es20490446e

The reason it is working for Proton isn't because Autocomposer, but due to Proton itself. Also if you can see desktop effects when pressing Super it means composition was never disabled. Finally I can see it working for Wine using a dual monitor setup, with different refresh rates and resolutions. It should be something else. Keep it mind that Autocomposer is a very simple software. It just asks the Kwin API if some application entered full-screen, and if it does request the Kwin API to disable effects. There's very little room for Autocomposer to have a bug. Either there's a configuration somewhere else that is preventing Autocomposer to work, or it is a bug on Kwin itself (less likely because some applications are already able to disable composition). Please open a report in the following link, and we will investigate it further: https://gitlab.com/es20490446e/kwin-script-autocomposer/-/issues

Vistausss

10 10 the best

Pling
0 Affiliates
Details
license AGPLv3
version 5
updated
added
downloads 24h 1
mediaviews 24h 0
pageviews 24h 23

Other Various Stuff:

meteo-qt
dglent
last update date: 3 years ago

Score 7.2

msfonts
aviram
last update date: 23 years ago

Score 5.0

new keramik? drop shadows? now?
sheean
last update date: 23 years ago

Score 5.0

KDE 3.0.4 Up on German KDE FTP
DecayingOmega
last update date: 22 years ago

Score 5.0

kbfx for debian sid
rufuseddy
last update date: 20 years ago

Score 5.0

Linuxfans Website
connermo
last update date: 22 years ago

Score 5.0