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 驅動程式時遇到問題/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 軟體包提供該文件。

任何幫助將不勝感激,提前謝謝您。

相關內容