Everyone tells me that beryl and compiz users with nvidia cards do not need xgl, but i beg to differ, when xgl is being used there is a massive performance boost to beryl and compiz, the window transitions are smoother and faster, even my 8500GT struggles with just plain X, i don’t know if this is due to the way ubuntu compiles X or the version of X in use but its just too slow, XGL is a lot faster so i use it. XGL+beryl on my old FX5200+ (Athlon XP 2000+) is smoother and faster than plain X on the 8500GT (Athlon X2 5600+). Just try it, you might like it.

First make sure you have the propriatary nvidia driver installed, then install xgl:

sudo apt-get install xserver-xgl

Then configure kdm to use xgl as its xserver, run this in konsole:

sudo nano /etc/kde3/kdm/kdmrc

Press ctrl+w to search, type in servercmd and press enter, then you’ll see this line:

ServerCmd=/usr/bin/X -br

Comment out that line and add a new line for XGL so it now looks like this:

#ServerCmd=/usr/bin/X -br
ServerCmd=/usr/bin/Xgl -br -ac -accel glx:pbuffer -accel xv

Ctrl+x, then say y to save the changes and you’ll be back to the command prompt, close console and restart the computer (DO NOT CTRL+BACKSPACE out of your kde session). restart your computer and kdm should now start. If kdm does not start you will be back at the start screen, Ctrl+Alt+F2 and login, then press up, and you will see the last commands you ran and you will not have to remember the location of kdmrc. If you cannot press up jus run locate kdmrc, you’ll instantly see where it is:

ace@Linux:~$ locate kdmrc
/etc/kde3/kdm/kdmrc
/etc/kde3/kdm/kdmrc~
/usr/share/doc/kde/HTML/en/kdm/kdmrc-ref.docbook
ace@Linux:~$

Then you can sudo nano to it and edit the file, this time uncomment the X servercmd and comment out XGL.


Post A Comment

Latest News

Monthly archives