libGL 错误:dlopen /usr/lib64/dri/nouveau_dri.so 在 CentOS 6.6 上失败

libGL 错误:dlopen /usr/lib64/dri/nouveau_dri.so 在 CentOS 6.6 上失败

我在使用 Nvidia GeForce 9100 的 nouveau 驱动程序时遇到了问题。Xorg 启动并运行正常,我可以使用一切,尽管/var/log/Xorg.0.log我有:

$ 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

当我从 shell 运行 glxinfo 或 glxgears 时,我得到

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

但 dmesg 显示驱动程序已加载

$ 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

我的系统规格:CentOS 版本 6.6(最终版),2.6.32-504.23.4.el6.x86_64

$ lspci | grep VGA
02:00.0 VGA compatible controller: NVIDIA Corporation C78 [GeForce 9100] (rev a2)

我多次安装和删除了 Nvidia 专有驱动程序,因此库和其他东西可能存在问题。在我看来,系统似乎/usr/lib64/dri/nouveau_dri.so在寻找它不应该寻找的东西。据我所知,没有 CentOS 6 软件包提供该文件。

如能得到任何帮助我将非常感激,提前谢谢您。

相关内容