10.添加bumblebee用户组,并把你自己添加到用户组内
sudo groupadd bumblebee
sudo usermod -a -G bumblebee $USER
11.启动bumblebee服务
sudo systemctl enable bumblebeed.service
sudo systemctl start bumblebeed.service
12.用nvidia显卡运行程序
optirun xxx
例如
optirun glxgears
13.一些文件的修正,最好在每次yum update 之后都进行修正
1.su - c "/etc/ld.so.conf.d/nvidia-lib64.conf; ldconfig"
2.sudo mv /usr/lib64/xorg/modules/extensions/nvidia /usr/lib64/xorg
3.在/etc/bumblebee/bumblebee.conf中设置"LibraryPath=/usr/lib64/nvidia”
4.在/etc/bumblebee/xorg.conf.nvidia中把ModulePath改为“/usr/lib64/xorg/nvidia”
5.重启
截一张用nvidia显卡运行Minecraft的图
终于不卡了!!!

