Fedora 20 双显卡笔记本独立显卡驱动安装

本文参考自:https://fedoraproject.org/wiki/Bumblebee#Fedora_20

笔记本型号:ASUS N550JV
CPU:Intel Core i7-4700HQ
独立显卡:NVIDIA GeForce GT 750M
系统版本:Fedora 20
内核版本:3.16.3-200.fc20.x86_64

安装Bumblebee来实现显卡切换:
安装依赖:
sudo yum install libbsd-devel libbsd glibc-devel libX11-devel help2man autoconf git tar glib2 glib2-devel kernel-devel kernel-headers automake gcc gtk2-devel

安装 VirtualGL:
sudo yum install VirtualGL
如果是64位系统,则需同时安装这一个:
sudo yum install VirtualGL.i686

安装 bbswitch、bumblebee 等:
sudo yum --nogpgcheck install http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee/fedora20/noarch/bumblebee-release-1.1-1.noarch.rpm
sudo yum install bbswitch bumblebee

安装 bumblebee-nvidia 专有驱动程序等:
sudo yum --nogpgcheck install http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee-nonfree/fedora20/noarch/bumblebee-nonfree-release-1.1-1.noarch.rpm
sudo yum install glibc-devel
sudo yum install bumblebee-nvidia

重启

测试 bumblebee:
optirun glxgears -info
弹出glxgears程序,显示红蓝绿3个转动的齿轮,稍等几秒,终端模拟器里会显示每5秒内的平均帧数
我这里的输出:
13455 frames in 5.0 seconds = 2690.866 FPS
13602 frames in 5.0 seconds = 2720.314 FPS
13953 frames in 5.0 seconds = 2790.504 FPS
...