Skip to content

Xgl on Fedora – finally!

Xgl on Fedora

Finally cracked this age-old problem I’ve been having. I now have the Nvidia 3D drivers installed (working at a fairly decent resolution and refresh rate)! Doesn’t sound like much, well this problem has been bugging me for ever now (almost since I started using Linux). With the 3D driver installed, I can finally enjoy the wonder that is Xgl.

So here’s how I managed it…

So the problem (as ever) started with my unusual monitor (how I fixed it in Windows). With the NVIDIA 3D driver installed, it would never run at a high resolution (above 1024×768) and never do anything above 60Hz. After some frantic searching on the nvNews Linux Forum, I found out some commands that might allow me to override resolution. I can’t quite remember what made it work, but I will post my xorg.conf configuration file if it anyone wants it.

Now to install Xgl. The friendly people at Linux-noob.com directed me to this site with instructions and a yum repository to easily install Xgl and compiz. This was easily done, but I did have to tweak the /etc/yum.repos.d/fedora-xgl.repo file to gpgcheck = 0 to prevent a strange error.

After following the instructions, Xgl worked perfectly in Gnome. Good, but I personally prefer KDE. It was fairly easy to set up, I just added a KDE autostart file which started compiz –replace gconf & and gnome-window-decorator &.

Now it works! There are a few teething troubles, however (Xgl is fairly Alpha-ish), namely strange random crashes of the desktop, forcing me to login again. However, I’m sure I can work out how to fix it…

UPDATE: Sorry, Xgl people, it wasn’t crashes, it was me pressing Shift+Backspace, which seems to be a new keyboard shortcut to kill X…

ANOTHER UPDATE: KDE users, here’s a pre-prepared script for you. Open a text editor and paste in this:

#!/bin/sh
compiz --replace gconf &
sleep 1s
gnome-window-decorator &
xmodmap -e "keycode 22 = BackSpace"

Save that in ~/.kde/Autostart. Now you need to go into ~/.kde/Autostart, right-click your newly saved script, choose Properties. Go to the Permissions tab and tick is executable. OK that, log out then in again and you should have Compiz running! This script also should prevent Xgl Shift-Backspace syndrome. You can download the script direct here.

UPDATE #3: KDE users – screensaver broken? There’s a sort of fix here.

Like this post?

If you would like to support the time and effort I have put into my tutorials and writing, please consider making a donation.

4 Comments

  1. Dean wrote:

    Nice going 😉

    Gonna try it now with my new build, with a radeon x800 GTO. I’ll let you know how I get on.

    Thanks for this blog, really helped 🙂

    Monday, August 21, 2006 at 20:09 | Permalink |
  2. Peter wrote:

    Thanks for the feedback, Dean.

    It’d be great if you followed up with your experiences – I only own an Nvidia card, so it’ll be interesting to see how your Xgl+Fedora experience is on the ATi side of the fence.

    I also updated this post (it’s still very popular with visitors from Google) with a script for KDE users to autostart Compiz (and prevent Shift-Backspace syndrome) at login. Enjoy 🙂

    Tuesday, August 22, 2006 at 22:02 | Permalink |
  3. wimanx wrote:

    Works like a charm, but…
    I get only one desktop in pager, the desktops are there, they are just not visible n pager

    anyone got the same fault?

    Saturday, September 9, 2006 at 16:14 | Permalink |
  4. Peter wrote:

    Yeah, Compiz will break KDE’s handling of virtual desktops. Instead, try pressing Ctrl-Alt-Left and Ctrl-Alt-Right to switch desktops the beautiful way!

    And don’t forget you can hold down Ctrl-Alt and drag around for a fluid cube experience.

    Hopefully they will fix KDE and Compiz not playing nice sometime soon.

    Saturday, September 9, 2006 at 21:57 | Permalink |

4 Trackbacks/Pingbacks

  1. […] Big news for all Linux users with Intel graphics chips who want to do 3D accelarated stuff like Xgl and 3D Linux games using open source drivers, because Intel have released the source code to their 3D drivers for their Intel 965 Express range. […]

  2. […] Now I love my Xgl, Compiz and KDE combination, but a few (minor) things have been broken in KDE since Xgl and Compiz took over my machine. […]

Post a Comment

On some sites, you must be logged in to post a comment. This is not the case on this site.
Your email address is not made public or shared. Required fields are marked with *.
*
*
*

Posting a comment signifies you accept the privacy policy.
Please note — your comment will not appear straight away, as all comments are held for approval.