missing x11 module, how do i get it?

Hi
I need to enable double buffering support for x11, this is supposed to be as simple as loading the "dbe" module but it doesn't exist on my system.
The source for this module appears to be in the package libxext6, but that is already installed and only creates \usr\lib\libXext.so.6.4.0
Does anyone know how to create the required dbe module in /usr/lib/xorg/modules/ ?
I searched online for hours and can't find anything. Any help is appreciated.

It is not provided by default on some platforms. If it is not available as a software download from whatever distribution you are on, you will have to build libdbe.so from source and put it in the distribution's X extensions directory. Make sure you build a version that is compatible with your X server.

For example, /usr/lib64/xorg/modules/extensions is the extensions directory on 64-bit Fedora.
BTW, Fedora ships with a libdbe.so in this directory.

Thanks for the reply.
I got some help on another forum too, I was able to figure out I need to recompile the "xorg-server" package without the --disable-dbe in the debian/rules file. Unfortunately when I put the resulting dbe.so or whatever it was called into the extensions folder, it triggers some platform security watchdog to brick my device until I reflash it. Gotta love trusted computing. I filed a bug to get the vendor to fix it in the next firmware update. It's for a Nokia N9 phone if you're wondering :slight_smile:

That you were on a phone, not a computer, would have been good to know in the first place... Does your video hardware even support double buffering?

Well, I was just going to try it and find out. Double buffering works fine in openGL mode and an SDL port someone made, and the phone ui itself is all double buffered. It's possible it might not work in X for some other reason, like if the OS or driver doesn't want to give any video ram to create the buffer. The previous version of the operating system and phone (maemo5 / n900) could do it though, so it's just bad design if this one can't. I can probably find some way to do it if this doesn't work out, but this is by far the easiest way.