nvidia Bumblebee don't work

在Debian安装了Bumblebee,但是使用的时候提示错误。

[ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[ERROR]Could not connect to bumblebee daemon - is it running?

二级菜单

查了资料,现将解决方案复制如下:(翻译)

我升级了一些软件包后遇到这个问题。似乎问题是由Nvidia内核模块从“nvidia”更名为“nvidia_current”引起的。

如果您有这个问题,您可以通过编辑/etc/bumblebee/bumblebee.conf和添加修改以下值来解决问题:


[bumblebeed]
Driver=nvidia

[driver-nvidia]
KernelDriver=nvidia_current
Module=nvidia

然后重新开始大黄蜂服务:

sudo systemctl restart bumblebeed.service

并测试:

optirun glxgears

参考文献:

https://github.com/Bumblebee-Project/Bumblebee/issues/238
https://github.com/Bumblebee-Project/Bumblebee/issues/330