Enabling XFWM’s Compositor

Now that I have NVIDIA drivers, I can enable the XFWM compositor. It still works even without the NVIDIA drivers, but I wanted the drivers for other things too; OpenGL screensavers, games, etc.

Enabling the compositor is very easy, just a quick edit of the XOrg configuration file. To start a backup is always the way to go, before editing.

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
sudo mousepad /etc/X11/xorg.conf

Then get right to the bottom and add these 3 lines.

Section “Extensions”
Option “Composite” “Enable”
EndSection

Save the file and then you’re done.

Transparent Window DecorationsTransparent Window on Move

Now I have nice transparent window decorations, transparent windows when they are moved …

Transparent Window on ResizeTransparent Menu

Transparent windows when they are re-sized, and transparent pop-ups, which includes menus.

Now for a nice desktop to show off!




12 Responses to “Enabling XFWM’s Compositor”


  1. 1 Jeremy Thursday October 26, 2006 at 7:55 pm

    Does the compositing seriously have a software fallback? That’s awesome! I’ll have to have a look.

  2. 2 Sutekh Tuesday October 31, 2006 at 12:07 pm

    I think I may have been a little confusing by saying ‘without the NVIDIA drivers’

    I should have said without the ‘restricted NVIDIA binaries’ or something similar.

    Xubuntu automatically installs the open-source nv drivers, which I assume provide the capability to handle the compositing.

    To my understanding the compositor does not have a software fallback.

  3. 3 Jeremy Tuesday October 31, 2006 at 3:58 pm

    I was under the impression that the nv drivers didn’t support anything like that. Hmm…

  4. 4 Jeremy Tuesday October 31, 2006 at 5:32 pm

    Nope, you’re actually right! :)

    I’m writing this on a system only using the nv driver with libxcomposite1 installed and running xcompmgr as the compositor (I’m not running Xfce). It’s running beautifully!

    Thanks very much! I imagine that it’s basically running in a “software fallback” mode, or at least only using a bit of hardware acceleration. It is much more stable than using the full NVIDIA driver, I wonder why they haven’t enabled it by default!

  5. 5 Sutekh Tuesday October 31, 2006 at 7:38 pm

    Ah you beat me.

    I reinstalled Xubuntu Dapper to be 100% sure. Yes, the compositing does work with the nv drivers only, but it gets quite laggy when doing anything!

    It’s quite stable on my machine. But then I’m not using xcompmgr. I heard that xcompmgr was not being developed anymore? Giving way to others like Compiz/Beryl.

    One other wierd thing I discovered is that I couldn’t get XFWM’s compositor to enable on Xubuntu Edgy at all. I don’t know if it was enabled when the package was built, or if something else is wrong.

    I have just been using Beryl instead.

  6. 6 Jeremy Wednesday November 1, 2006 at 8:46 am

    Yeah, xcompmgr hasn’t been touched for about two years. However, it is handy for just doing some quick lightweight eye candy. Not something I’d use every day.

    The particular computer I’m running it on has problems with running the NVIDIA drivers. There’s about a 1-in-5 chance of glxgears giving a “Segmentation Fault” error. Eventually, after about 10 minutes, the computer will crash. The problem’s been going on for over a year, so being able to do this compositing is quite cool because I can do it with the nv driver, which is perfectly stable.

  7. 7 Sutekh Thursday November 2, 2006 at 7:48 pm

    I never really used xcompmgr all that much, before compiz came about, but it does have some good simple effects.

    Good to hear it’s stable for you. Interesting that the nv performs better for you, than the NVIDIA binaries.

    Score one for open-source development.

  8. 8 unit3 Tuesday December 12, 2006 at 5:34 am

    There’s a problem with the initial prefs file that disables the composite manager in Edgy. It can be fixed, see the following bug report:

    https://bugs.launchpad.net/distros/ubuntu/+source/xfwm4/+bug/69602

  9. 9 Sutekh Tuesday December 12, 2006 at 7:59 am

    I didn’t even notice that it had been disabled in Edgy.

    Thanks for pointing that out, and linking the bug report!

  10. 10 francisco Monday October 22, 2007 at 10:46 am

    how can i install this in winxp?
    any ideas?
    thankx

  11. 11 costin Monday January 14, 2008 at 5:07 am

    xfwm compositor uses EXA acceleration method. For me it was really slow until i used it, although compiz was fast in Gnome.

    If you are experiencing the same problem add this to your Device section in xorg.conf:

    Option “AccelMethod” “EXA”


  1. 1 Software compositing? at Jeremy Visser Trackback on Tuesday October 31, 2006 at 7:07 pm

Leave a Reply




a

My Photos

James getting dragged up the hill

Another insane run

img_0104

Insane run

More Photos

How many times has this site been visited?

  • 181,323 apparently

Site Stats