更新

更新

运行后optirun firefox出现以下错误

Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory

我谷歌了一下并找到了解决方案

ln -s /usr/lib/nvidia-current/vdpau/libvdpau_nvidia.so.1 /usr/lib/libvdpau_nvidia.so

现在我遇到了新的错误。我该如何修复这个错误

Xlib:  extension "NV-GLX" missing on display ":0".

更新

one@Ubuntu:~$ nvidia-settings -q NvidiaDriverVersion
one@Ubuntu:~$ nvidia-settings -q all

无输出

答案1

                                                        解决了

解决方案

nano /etc/bumblebee/bumblebee.conf

# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=   <<<<<<<<<<<<<<<<<<<<< edit 

驱动程序=nvidia

然后我重新启动了

optirun glxspheres   (at full screen)

OpenGL Renderer: GeForce GT 525M/PCIe/SSE2
187.070069 frames/sec - 190.120059 Mpixels/sec
187.936396 frames/sec - 191.000511 Mpixels/sec
186.800765 frames/sec - 189.846364 Mpixels/sec
187.095637 frames/sec - 190.146044 Mpixels/sec
188.431691 frames/sec - 191.503881 Mpixels/sec
188.418533 frames/sec - 191.490509 Mpixels/sec
187.152116 frames/sec - 190.203444 Mpixels/sec
189.413655 frames/sec - 192.501855 Mpixels/sec
187.145680 frames/sec - 190.196904 Mpixels/sec
186.200587 frames/sec - 189.236401 Mpixels/sec
189.276103 frames/sec - 192.362060 Mpixels/sec
187.059279 frames/sec - 190.109093 Mpixels/sec
186.445593 frames/sec - 189.485402 Mpixels/sec
188.927592 frames/sec - 192.007867 Mpixels/sec

optirun Firefox

没有错误

更新

librrfaker.so 错误 & Xlib:显示“:0”时缺少扩展“NV-GLX”。

64 位

sudo ln -s /usr/lib/x86_64-linux-gnu/librrfaker.so /usr/lib/

32 位

sudo ln -s /usr/lib/i386-linux-gnu/librrfaker.so /usr/lib/

最后一件事

sudo chmod u+s /usr/lib/librrfaker.so

相关内容