每当我尝试使用optirun
NVIDIA 卡运行程序时,都会收到此错误消息:
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
libGL: Can't open configuration file /home/<user>/.drirc: No such file or directory.
libGL: Can't open configuration file /home/<user>/.drirc: No such file or directory.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
程序会glxgears
返回空白屏幕,并且某些游戏根本无法运行。我的 Bumblebee 配置中的所有内容都已正确设置,但由于某种原因,系统拒绝加载正确版本的 LibGL。我该如何修复此问题?
输出ldconfig -p | grep libGL
:
libGLU.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLU.so.1
libGLU.so.1 (libc6) => /usr/lib/i386-linux-gnu/libGLU.so.1
libGLEWmx.so.1.10 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLEWmx.so.1.10
libGLEW.so.1.10 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLEW.so.1.10
libGLESv2.so.2 (libc6,x86-64) => /usr/lib/nvidia-352/libGLESv2.so.2
libGLESv2.so.2 (libc6) => /usr/lib32/nvidia-352/libGLESv2.so.2
libGLESv2.so (libc6,x86-64) => /usr/lib/nvidia-352/libGLESv2.so
libGLESv2.so (libc6) => /usr/lib32/nvidia-352/libGLESv2.so
libGLESv1_CM.so.1 (libc6,x86-64) => /usr/lib/nvidia-352/libGLESv1_CM.so.1
libGLESv1_CM.so.1 (libc6) => /usr/lib32/nvidia-352/libGLESv1_CM.so.1
libGLESv1_CM.so (libc6,x86-64) => /usr/lib/nvidia-352/libGLESv1_CM.so
libGLESv1_CM.so (libc6) => /usr/lib32/nvidia-352/libGLESv1_CM.so
libGL.so.1 (libc6,x86-64) => /usr/lib/nvidia-352/libGL.so.1
libGL.so.1 (libc6) => /usr/lib32/nvidia-352/libGL.so.1
libGL.so (libc6,x86-64) => /usr/lib/nvidia-352/libGL.so
libGL.so (libc6) => /usr/lib32/nvidia-352/libGL.so
[修剪] 输出inxi -F
:
Graphics: Card-1: Intel Haswell-ULT Integrated Graphics Controller
Card-2: NVIDIA GK107M [GeForce GT 745M]
Display Server: X.Org 1.17.1 drivers: nvidia (unloaded: intel)
Resolution: [email protected], [email protected]
GLX Renderer: GeForce GT 745M/PCIe/SSE2
GLX Version: 4.5.0 NVIDIA 352.21
我目前正在运行从 xorg-edgers ppa 安装的 NVIDIA Driver 352.21。