Fedora 18 and Nvidia Driver Problem

After installing Fedora 18 and configuring the nvidia display driver using akmod-nvidia from RPM Fusion repo, at first login to GNOME, I was greeted with this:
gnome failed to load notification

A bit of investigation, brought me to the following error message in /var/log/Xorg.0.log:

[  3623.249] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[  3623.249] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
[  3623.249] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
[  3623.249] (EE) NVIDIA(0):     you continue to encounter problems, Please try
[  3623.249] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.

looking a little up in the same log file:

[  3623.245] (II) LoadModule: "glx"
[  3623.246] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  3623.246] (II) Module glx: vendor="X.Org Foundation"

It seems libglx.so is loading from the default xorg modules path, which is a bit strange, nvidia driver has its’ own libglx.so in /usr/lib64/nvidia/xorg. Lets’ tell the Xorg to first search for the modules in that directory. To do this simply edit the /etc/X11/xorg.conf and add this two lines in the Files section:

Section "Files"
    ModulePath "/usr/lib64/nvidia/xorg"
    ModulePath "/usr/lib64/xorg/modules"
    ...
EndSection

Log out and back in again, Your full GNOME 3 experience is resumed!

One thought on “Fedora 18 and Nvidia Driver Problem

  1. Aaron says:

    Just wanted to say thank you! I’ve been trying to fix Gnome for the last 2.5 hours and this is what finally solved my problem. (Fedora 22)

Leave a comment