我在使用 optirun 时遇到问题

我在使用 optirun 时遇到问题

我跑

optirun -vv glxgears

得到

[  649.857041] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  649.857239] [INFO]Configured driver: nvidia
[  649.857327] [DEBUG]optirun version 3.2.1 starting...
[  649.857339] [DEBUG]Active configuration:
[  649.857347] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  649.857355] [DEBUG] X display: :8
[  649.857363] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
[  649.857372] [DEBUG] Socket path: /var/run/bumblebee.socket
[  649.857380] [DEBUG] Accel/display bridge: auto
[  649.857388] [DEBUG] VGL Compression: proxy
[  649.857395] [DEBUG] VGLrun extra options: 
[  649.857404] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
[  649.857439] [DEBUG]Using auto-detected bridge primus
[  649.863457] [INFO]Response: No - error: [XORG] (EE) 
[  649.863470] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) 
[  649.863474] [DEBUG]Socket closed.
[  649.863485] [ERROR]Aborting because fallback start is disabled.
[  649.863488] [DEBUG]Killing all remaining processes.

我的bumblebee.conf设置是

Driver=nvidia
KernelDriver=nvidia-current

我有

08:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 750M] (rev a1)

并且xorg.conf.nvidia我有

BusID "PCI:08:00:0"

我有

Mar 05 06:45:48 us bumblebeed[768]: [  452.390810] [ERROR][XORG] (EE)
Mar 05 06:45:48 us bumblebeed[768]: [  452.391223] [ERROR][XORG] (EE)
Mar 05 06:45:48 us bumblebeed[768]: [  452.391455] [ERROR][XORG] (EE)
Mar 05 06:45:48 us bumblebeed[768]: [  452.391668] [ERROR][XORG] (EE)
Mar 05 06:45:48 us bumblebeed[768]: [  452.391883] [ERROR][XORG] (EE)
Mar 05 06:45:48 us bumblebeed[768]: [  452.392028] [ERROR]X did not start properly

有人知道这个问题吗?

答案1

使用最新的 NVIDIA 驱动程序和nvidia-primeUbuntu 存储库。

大黄蜂被替换为nvidia-prime在图形之间切换。


1. 删除您安装的所有与 NVIDIA 相关的软件。

打开终端并执行:

sudo apt-get purge nvidia* bumblebee
sudo reboot

2. 安装 NVIDIA 驱动程序 352 和 Optimus 支持。

打开终端并执行:

sudo apt-get update
sudo apt-get install nvidia-352 nvidia-prime
sudo reboot

3. 在英特尔和 NVIDIA 显卡之间切换

打开NVIDIA X Server SettingsPRIME Profiles

相关内容