Ask Your Question

Cannot get glx to work after changing from Nvidia to Nouveau drivers

asked 2017-01-21 17:38:33 -0500

tobim gravatar image

I run FC 24 (just upgraded from FC 23).

After the upgrade there were some issues with the X server, and so I decided to change from Nvidia proprietary drivers to Nouveau. Everything seems OK, except that I can't get GLX to work. For


I get:

name of display: :0.0
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".

A bunch of times, and then

Error: couldn't find RGB GLX visual or fbconfig

For errors in Xorg.0.log, specifically for

less /var/log/Xorg.0.log |grep EE

I get:

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    86.925] (EE) Failed to load module "nv" (module does not exist, 0)
[    93.381] (EE) AIGLX error: dlopen of /usr/lib64/dri/ failed (/usr/lib64/dri/ undefined symbol: _glapi_check_multithread)
[    93.381] (EE) AIGLX: reverting to software rendering
[    93.389] (EE) AIGLX error: dlopen of /usr/lib64/dri/ failed (/usr/lib64/dri/ undefined symbol: _glapi_check_multithread)
[    93.389] (EE) GLX: could not load software renderer

In Xorg.1.log, there is:

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   246.220] (EE) module ABI major version (6) doesn't match the server's version (9)
[   246.220] (EE) Failed to load module "glx" (module requirement mismatch, 0)
[   246.221] (EE) Failed to load module "nv" (module does not exist, 0)

Any ideas?

P.S.: As a sideshow, there also is something somewhere that still calls the 'nv' module instead of nouveau. But given that there is no xorg.conf anymore, but it's all de-centralized in xorg.conf.d, I can't figure out where that is.

edit retag flag offensive close merge delete


How did you install the Nvidia driver?

jdieter gravatar imagejdieter ( 2017-01-22 10:31:34 -0500 )edit

Most recently, with the akmod packages from RPM Fusion. However, it's an older laptop, so there is a good chance that once upon a time I used the installer from NVIDIA.

[Sorry, I know this makes things much harder, but I believe that's the situation I'm facing.]

tobim gravatar imagetobim ( 2017-01-22 14:31:34 -0500 )edit

5 Answers

Sort by ยป oldest newest most voted

answered 2017-01-23 15:55:54 -0500

sergiomb gravatar image

If you had installed kernel before the xorg-x11-drv-nvidia we need run:

dracut -f /boot/initramfs-$(uname -r).img $(uname -r)


edit flag offensive delete link more


Thank you for this. I had actually updated the kernel in between. However, this prompted me to do more poking around on rpmfusion, to actually find the answer. See below.

tobim gravatar imagetobim ( 2017-01-23 16:30:50 -0500 )edit

answered 2017-01-23 16:34:42 -0500

tobim gravatar image

Poked around on Rpmfusion and found a few more steps to take, to remove garbage left behind by the NVIDIA installer.


rm -f /usr/lib{,64}/* /usr/lib{,64}/*
rm -f /usr/lib{,64}/xorg/modules/extensions/
dnf re-install xorg-x11-server-Xorg mesa-libGL mesa-libEGL
mv /etc/X11/xorg.conf /etc/X11/xorg.conf.saved

The last line was probably not necessary in my case, but the others likely were.

edit flag offensive delete link more


If the xorg.conf existed, then it was most likely necessary to get rid of it. Does glx work now?

ssieb gravatar imagessieb ( 2017-01-23 18:38:08 -0500 )edit

answered 2017-01-23 13:40:13 -0500

ssieb gravatar image

updated 2017-01-23 13:42:32 -0500

It sounds like you still have remnants of the Nvidia driver hanging around. Run updatedb, then locate There should only be one at /usr/lib64/xorg/modules/extensions/ Also what is the output from ldd /usr/lib64/dri/ If you have an xorg.conf, rename it or move it somewhere else. What files are in /etc/X11/xorg.conf.d?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2017-01-21 17:38:33 -0500

Seen: 1,379 times

Last updated: Jan 23 '17