一切都很好。我已经使用以下方法更新了英特尔驱动程序这个安装程序。安装驱动程序后,系统要求重新启动,我照做了。现在optirun
不起作用。我认为英特尔驱动程序看起来不错。我运行dpkg-reconfigure
了bumblebee
,bbswitch-dkms
但nvidia-340
没有任何帮助。还重新启动了系统几次。我发现以下错误。
$optirun firefox
[ 117.439917] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
[ 117.439954] [ERROR]Aborting because fallback start is disabled.
$dmesg | tail
[ 117.506015] nvidia: Unknown symbol drm_gem_prime_handle_to_fd (err -22)
[ 117.506034] nvidia: disagrees about version of symbol drm_gem_private_object_init
[ 117.506036] nvidia: Unknown symbol drm_gem_private_object_init (err -22)
[ 117.506106] nvidia: disagrees about version of symbol drm_gem_handle_create
[ 117.506107] nvidia: Unknown symbol drm_gem_handle_create (err -22)
[ 117.506161] nvidia: disagrees about version of symbol drm_pci_exit
[ 117.506162] nvidia: Unknown symbol drm_pci_exit (err -22)
[ 117.506187] nvidia: disagrees about version of symbol drm_gem_prime_export
[ 117.506188] nvidia: Unknown symbol drm_gem_prime_export (err -22)
系统信息:
Ubuntu 14.04 64bit
$lspci | grep "VGA\|3D"
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
04:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev a1)
$dpkg --get-selections | grep -v deinstall | grep "bumblebee\|nvidia-\|bbswitch"
bbswitch-dkms install
bumblebee install
bumblebee-nvidia install
nvidia-340 install
nvidia-settings
答案1
问题出在新的英特尔驱动程序上。Nvidia 不支持新的 drm 环境。要删除新驱动程序,请运行以下命令:
sudo apt-get purge i915-3.15-3.13-dkms
sudo apt-get install --reinstall xserver-xorg-video-intel libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
sudo dpkg-reconfigure xserver-xorg
然后重启系统。optirun
重启系统后应该可以正常工作。如果不行,请运行以下命令并再次重启
sudo apt-get install --reinstall nvidia-340
sudo dpkg-reconfigure bbswitch-dkms