“Fedora 17:nvidia驱动”的版本间差异

来自Shiyin's note
跳到导航 跳到搜索
无编辑摘要
无编辑摘要
 
(未显示同一用户的1个中间版本)
第21行: 第21行:
dracut /boot/initramfs-$(uname -r).img $(uname -r)
dracut /boot/initramfs-$(uname -r).img $(uname -r)


以上方法不适用双显卡,具体参见http://forums.if-not-true-then-false.com/index.php?topic=110
以上方法不适用双显卡(Nvidia Optimus),具体参见 Bumblebee [https://fedoraproject.org/wiki/Bumblebee]

---
*bumblebee的作用是禁用nvidia独立显卡,需要使用独显时,使用”optirun 程序名“手动开启nvidia来运行需要加速的程序,如optirun vmware。
:集显、独显分别运行 glxgears 或 glxspheres 测试,以glxgears为例:

➜ ~ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
301 frames in 5.0 seconds = 60.107 FPS
300 frames in 5.0 seconds = 59.869 FPS
300 frames in 5.0 seconds = 59.856 FPS

➜ ~ optirun glxgears
2284 frames in 5.0 seconds = 456.677 FPS
2358 frames in 5.0 seconds = 471.540 FPS
2275 frames in 5.0 seconds = 454.942 FPS

*打开N卡设置:
optirun nvidia-settings -c :8

2014年4月29日 (二) 12:34的最新版本

http://www.if-not-true-then-false.com/2013/fedora-18-nvidia-guide/

  • Add RPMFusion Repositories (Free and Non-Free)
yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-branched.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-branched.noarch.rpm
安装rpmfusion的包时,会出现 获取 GPG 密钥失败 错误
解决方法:更改rpmfusion*.repo中的 gpgcheck=0
  • install nVidia proprietary drivers for GeForce 6/7/8/9/200/300/400/500 series cards
yum install kmod-nvidia
  • akmod is good option and easy way avoid problems on kernel updates and is best and only option if you use:
self-compiled kernel
older Fedora kernel
quickly changing kernels from updates-testing/rawhide
yum install akmod-nvidia
  • Remove / disable nouveau drivers from kernel initramfs
## Backup old initramfs nouveau image ##
 mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
## Create new initramfs image ##
dracut /boot/initramfs-$(uname -r).img $(uname -r)

以上方法不适用双显卡(Nvidia Optimus),具体参见 Bumblebee [1]