! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Feature request: Allow auto-disabling compositing on fullscreen apps/games


Description Ben 2013-04-30 23:45:54 CEST
With an increased number of games running on linux I think it would be really good if there was an option under 'Window Manager Tweaks' to automatically disable compositing for full-screen apps to improve performance and compatibility with games.

Currently Team Fortress 2, Counter-Strike: Source and other games running on the Source engine will not start in XFCE unless compositing is manually disabled.
Comment 1 Fab 2013-05-02 09:27:26 CEST
Compositing is enabled here, and Source games runs fine.
Comment 2 Ben 2013-05-02 10:41:58 CEST
Hmm that's interesting, maybe it's dependent on graphics card and driver version?

I've got Mobility Radeon HD 5650 with fglrx-updates 2:9.012-0ubuntu1 from the Ubuntu repositories on 13.04.

What setup do you have? Can you think of anything else?
Comment 3 Fab 2013-05-02 11:59:06 CEST
Created attachment 5019 
compositing setup

Attached file is a screenshot of my compositing setup.
I'm using Xfce 4.10 (xfwm4 4.10.0-r1) on Gentoo amd64 multilib, with a GeForce GTX 560 and nvidia drivers 313.30.
Comment 4 Olivier Fourdan editbugs 2013-05-03 14:07:45 CEST
Override redirect windows are automatically un-redirected when fullscreen.

This cannot be done for regular windows, but most game use override redirect windows when full screen anyway.
Comment 5 Olivier Fourdan editbugs 2013-05-03 14:10:10 CEST
And "display fullscreen overlay windows directly" is enabled in your setup.
Comment 6 Paulo Narciso 2013-05-04 04:52:00 CEST
Fullscreen unredirection is not working properly in SDL 2.0, so composite effects are not suspended even in fullscreen.
This is visible because there's tearing even with vsync. I have tested this behavior on Team Fortress, Serious Sam 3, Portal, Left4Dead 2 an other SDL 2.0 games.
This is something you should look into.
Comment 7 Kyle Smith 2013-08-27 18:24:18 CEST
I'd like to throw my vote in for this feature.  I just installed xubuntu 13.04, Steam and Don't Starve on my new desktop but there was serious screen tearing.  I disabled compisitor with the below command as per a forum, but to make XFCE "do the right thing", it should disable compositing whenever a fullscreen application is launched using OpenGL.

xfconf-query --channel=xfwm4 --property=/general/use_compositing --type=bool --toggle
Comment 8 Olivier Fourdan editbugs 2015-05-21 09:00:59 CEST
SDL 2.0 no longer use override redirect windows for fullscreen but now uses regular windows instead and xfwm4 cannot "un-redirect" regular windows because that would break all apps in fullscreen, sorry can't fix.

*** This bug has been marked as a duplicate of bug 9314 ***

Bug #10051

Reported by:
Reported on: 2013-04-30
Last modified on: 2015-05-21


Olivier Fourdan
CC List:
3 users




compositing setup (53.88 KB, image/png)
2013-05-02 11:59 CEST , Fab
no flags

Additional information