libGL error: unable to load driver: nouveau_dri.so

Issues related to applications and software problems
Post Reply
freem
Posts: 1
Joined: 2015/06/16 20:39:07

libGL error: unable to load driver: nouveau_dri.so

Post by freem » 2015/06/16 21:15:54

Dear All,

I'm having problems using the nouveau driver for my Nvidia GeForce 9100.
Xorg starts up and works fine, I am able to use everything, although in /var/log/Xorg.0.log I have:

Code: Select all

$ cat /var/log/Xorg.0.log | grep EE
[    36.166] (EE) AIGLX error: dlopen of /usr/lib64/dri/nouveau_dri.so failed (/usr/lib64/dri/nouveau_dri.so: cannot open shared object file: No such file or directory)
[    36.166] (EE) AIGLX: reverting to software rendering
and when I run glxinfo or glxgears from shell I get

Code: Select all

libGL error: dlopen /usr/lib64/dri/nouveau_dri.so failed (/usr/lib64/dri/nouveau_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: nouveau_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: nouveau
but the dmesg reveal that the driver is loaded and working

Code: Select all

$ dmesg | grep nouveau

nouveau 0000:02:00.0: setting latency timer to 64
nouveau 0000:02:00.0: PCI INT A -> Link[SGRU] -> GSI 20 (level, low) -> IRQ 20
nouveau  [  DEVICE][0000:02:00.0] BOOT0  : 0x0aa380a2
nouveau  [  DEVICE][0000:02:00.0] Chipset: MCP77/MCP78 (NVAA)
nouveau  [  DEVICE][0000:02:00.0] Family : NV50
nouveau  [   VBIOS][0000:02:00.0] checking PRAMIN for image...
nouveau  [   VBIOS][0000:02:00.0] ... appears to be valid
nouveau  [   VBIOS][0000:02:00.0] using image from PRAMIN
nouveau  [   VBIOS][0000:02:00.0] BIT signature found
nouveau  [   VBIOS][0000:02:00.0] version 62.77.2f.00.06
nouveau  [     PFB][0000:02:00.0] RAM type: stolen system memory
nouveau  [     PFB][0000:02:00.0] RAM size: 256 MiB
nouveau  [     PFB][0000:02:00.0]    ZCOMP: 0 tags
nouveau  [    VOLT][0000:02:00.0] GPU voltage: 1100000uv
nouveau  [  PTHERM][0000:02:00.0] FAN control: none / external
nouveau  [  PTHERM][0000:02:00.0] fan management: automatic
nouveau  [  PTHERM][0000:02:00.0] internal sensor: yes
nouveau  [     CLK][0000:02:00.0] 0f: core 500 MHz shader 1200 MHz vdec 500 MHz
nouveau  [  PTHERM][0000:02:00.0] temperature (103 C) hit the 'critical' threshold
nouveau  [     CLK][0000:02:00.0] --: core 350 MHz shader 1600 MHz vdec 350 MHz
nouveau  [     DRM] VRAM: 256 MiB
nouveau  [     DRM] GART: 1048576 MiB
nouveau  [     DRM] TMDS table version 2.0
nouveau  [     DRM] DCB version 4.0
nouveau  [     DRM] DCB outp 00: 01000300 0000001e
nouveau  [     DRM] DCB outp 01: 01011332 00020010
nouveau  [     DRM] DCB conn 00: 00000100
nouveau  [     DRM] DCB conn 01: 00001231
nouveau  [     DRM] MM: using M2MF for buffer copies
nouveau 0000:02:00.0: No connectors reported connected with modes
nouveau  [     DRM] allocated 1024x768 fb: 0x50000, bo ffff880217493000
fbcon: nouveaufb (fb0) is primary device
nouveau 0000:02:00.0: fb0: nouveaufb frame buffer device
nouveau 0000:02:00.0: registered panic notifier
[drm] Initialized nouveau 1.1.1 20120801 for 0000:02:00.0 on minor 0
My system specs:

CentOS release 6.6 (Final)
Linux bluestar 2.6.32-504.23.4.el6.x86_64 #1 SMP Tue Jun 9 20:57:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

lspci gives

Code: Select all

00:00.0 RAM memory: NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller (rev a2)
00:01.0 ISA bridge: NVIDIA Corporation MCP78S [GeForce 8200] LPC Bridge (rev a2)
00:01.1 SMBus: NVIDIA Corporation MCP78S [GeForce 8200] SMBus (rev a1)
00:01.2 RAM memory: NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller (rev a1)
00:01.3 Co-processor: NVIDIA Corporation MCP78S [GeForce 8200] Co-Processor (rev a2)
00:01.4 RAM memory: NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller (rev a1)
00:02.0 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller (rev a1)
00:02.1 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller (rev a1)
00:04.0 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller (rev a1)
00:04.1 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller (rev a1)
00:07.0 Audio device: NVIDIA Corporation MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio (rev a1)
00:08.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
00:09.0 SATA controller: NVIDIA Corporation MCP78S [GeForce 8200] AHCI Controller (rev a2)
00:0a.0 Ethernet controller: NVIDIA Corporation MCP77 Ethernet (rev a2)
00:0b.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
00:10.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
00:12.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
00:13.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
00:14.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control
01:05.0 FireWire (IEEE 1394): LSI Corporation FW322/323 [TrueFire] 1394a Controller (rev 70)
02:00.0 VGA compatible controller: NVIDIA Corporation C78 [GeForce 9100] (rev a2)

I installed and removed the Nvidia proprietary drivers several times so there might be something wrong with libraries and whatnots.
It looks to me like the system is looking for /usr/lib64/dri/nouveau_dri.so while it shouldn't. To my knowledge, there is no CentOS 6 package that provides that file.

Any help will be very appreciated, thank you in advance.

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: libGL error: unable to load driver: nouveau_dri.so

Post by toracat » 2015/06/16 22:22:13

I highly recommend using the nvidia package offered by ELRepo. First install nvidia-detect and run it. It will let you know which version of the nvidia-kmod package works for your Nvidia card, and then install that package. Please first be sure to uninstall the Nvidia driver you have manually installed.
CentOS Forum FAQ

Post Reply