Fedora 19 nVidia Drivers Install / Uninstall Guide - Comment Page: 1
Looking Fedora 22/21 nVidia Drivers Install Guide?
[inttf_post_ad1]
This is guide, howto install nVidia proprietary drivers on Fedora 19 "Schrödinger’s Cat" and disable Nouveau driver. This guide works with GeForce 6/7/8/9/200/300/400/500/600/700 series cards. Older GeForce series cards works with 304.xx nVidia drivers and newer 8/9/200/300/400/500/600/700 series cards works with 331.xx nVidia drivers.
Fedora 19 nVidia driver installation is not much different from previous Fedora versions. I have tested this guide with a couple computers, so let me know, if you have some problems.
1. Before nVidia drivers installation
1.1 Check is your nVidia card...
no bootsplash for me. I already add splash to /etc/default/grub
:(
Hi Rafael Louback Ferraz,
Did you tried also what we discussed on Fedora 18 nVidia install guide.
of course, the same steps for F18 dont work in F19.
Hi again Rafael,
Sorry, I actually forgot to answer you.
I did some research and looks like, following should work.
Howto: Enable Plymouth on Fedora with nVidia drivers
Add following lines to /etc/default/grub
Set GRUB_GFXMODE according to your monitor, you can check your modes using Grub2 shell, press ‘c’ (on Grub2) and insert following:
Check also that you have /boot/grub2/fonts/unicode.pf2 file, if not then you can generate some Grub2 font using grub2-mkfont command, like:
Then regenerate your grub.cfg:
If this doesn’t help, then please post your /etc/default/grub file content here.
Perhaps you can help me understand the situation with Optimus and Linux. Nvidia propitiatory drive 319.32 supposedly has support for Optimus. Nvidia has provided their suggestion for configuring xorg.conf for optimus cards at http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html
I have tried building their driver and installing it in run-level 3. I have also modified my xorg config to match theirs. But when I boot, I get the Fedora splash screen loading up, and it just stays there after the icon has fully “loaded” and doesn’t bring up the log-in screen. Loading up the text mode (ctrl+alt+f2) and checking under Xorg.0.log, the errors I see are
NVIDIA(0): Failed to initiate mode change.
NVIDIA(0): Failed to complete mode change.
Am I misunderstanding that you can install NVIDIA driver without bumble?
Hi Alex,
You are right, nVidia has added support for Optimus on 319.xx drivers, but what I have heard and read about this, it’s still very early development stage and not even close Bumblebee.
More info about this:
http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/optimus.html
I don’t have any nVidia Optimus card (I have tried to avoid them), so I can’t test this at all.
if anyone knows if the driver supports nvidia gtx 650 ti?
Hi Andrew,
Yes, latest nVidia drivers should support also nVidia 600/700 series cards.
[…] and was much higher than earlier when I didn't have a dedicated graphics card. I found a solution here, followed the instructions and now no complaints. My cpu usage at idle is at 1%, my system is much […]
Hi, how can I install nvidia nvs 5200m drivers please?
Hi Saphir,
So do you have some problem if you try install latest nVidia drivers? nVidia NVS 5200M should be supported by latest version.
I removed my nvidia driver using your guide because X wouldn’t load after upgrading to 19.
Now I want to install it again, but it is failing the transaction check.
this is my output:
Transaction check error:
file /etc/X11/xorg.conf.d/00-nvidia.conf conflicts between attempted installs of xorg-x11-drv-nvidia-304xx-304.88-5.fc19.x86_64 and xorg-x11-drv-nvidia-1:319.23-5.fc19.x86_64
file /usr/bin/nvidia-bug-report.sh conflicts between attempted installs of xorg-x11-drv-nvidia-304xx-304.88-5.fc19.x86_64 and xorg-x11-drv-nvidia-1:319.23-5.fc19.x86_64
file /usr/bin/nvidia-smi conflicts between attempted installs of xorg-x11-drv-nvidia-304xx-304.88-5.fc19.x86_64 and xorg-x11-drv-nvidia-1:319.23-5.fc19.x86_64
file /usr/lib64/xorg/modules/drivers/nvidia_drv.so conflicts between attempted installs of xorg-x11-drv-nvidia-304xx-304.88-5.fc19.x86_64 and xorg-x11-drv-nvidia-1:319.23-5.fc19.x86_64
file /usr/share/man/man1/nvidia-smi.1.gz conflicts between attempted installs of xorg-x11-drv-nvidia-304xx-304.88-5.fc19.x86_64 and xorg-x11-drv-nvidia-1:319.23-5.fc19.x86_64
file /usr/lib64/vdpau/libvdpau_nvidia.so conflicts between attempted installs of xorg-x11-drv-nvidia-304xx-libs-304.88-5.fc19.x86_64 and xorg-x11-drv-nvidia-libs-1:319.23-5.fc19.x86_64
file /usr/lib64/vdpau/libvdpau_nvidia.so.1 conflicts between attempted installs of xorg-x11-drv-nvidia-304xx-libs-304.88-5.fc19.x86_64 and xorg-x11-drv-nvidia-libs-1:319.23-5.fc19.x86_64
Error Summary
sorry it’s long. any pointers? thanks
Hi Cody,
Could you post output of following command:
hello,i do follow this article but when i run vdpauinfo as root,it tell me that no libvdpau_nvidia.so ,i try to link it from lib63/vdpau ,but it still not work..
can you tell me how to fix it?
Hi ExiaHan,
Could you post output of following commands:
hello,thank you very much for reply me,here it is the output:
akmod-nvidia-319.32-2.fc19.x86_64
kmod-nvidia-3.10.3-300.fc19.x86_64-319.32-2.fc19.x86_64
libva-1.1.1-2.fc19.x86_64
libva-utils-1.1.1-2.fc19.x86_64
libva-vdpau-driver-0.7.4-3.fc19.x86_64
libva-vdpau-driver-debuginfo-0.7.4-3.fc19.x86_64
libvdpau-0.6-1.fc19.x86_64
nvidia-settings-319.32-1.fc19.x86_64
vdpauinfo-0.0.6-6.fc19.x86_64
vdpauinfo-debuginfo-0.0.6-6.fc19.x86_64
xorg-x11-drv-nvidia-319.32-7.fc19.x86_64
xorg-x11-drv-nvidia-libs-319.32-7.fc19.x86_64
display: :0 screen: 0
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1
01:00.0 VGA compatible controller: NVIDIA Corporation G96M [GeForce 9600M GS] (rev a1)
hi JR,i have found the solution, it was that the libvdpau_nvidia.so in the /usr/lib64/ was linked to an wrong file ,i re-link it to the right file and now it works.
thank you for help me,thank you very much.
Very nice to hear that you got it working!
hi
i noticed that akmod driver size is much larger than kmod.i would like to install kmod but will the driver fail if i update my system(sudo yum update)?and how would i know if the nvidia driver has replaced nouveau?
Hi chris,
Akmod is much larger, because it will build your kmod driver on the fly, when new version is needed and kmod is just prebuilt driver without anything else. So you use kmod driver anyways (prebuilt or akmod builds it for you).
If downloading and installing akmod is problem (because of it’s size), then kmod is better option and some cases it may fail after kernel update, if there is newer kernel available than nVidia kmod.
You can check is nvidia or nouveau modules loaded, with following command:
thanks i think i’ll install it using akmod to be on the safe side.
You are welcome, akmod is always better option and final nvidia kmod drivers are just same.
Hi JR.. Thanks for the tutorial very clear and organized… :D
Sry about this but I’ve started use fedora this week…
I have some problems installing the nvidia driver of GT 650M…
I follow the steps but when I rebooted the screen frezzed…
I tried to start by startx and get screen not found..
Could you give me some advices..
I have already checked:
lspci |grep -i VGA
lsmod | grep -e nouv -e nvidia
The lsmod pointed out 3 modules…
and the lspci list my VGA as compatible..
Thx
Hi LoadEnro,
Thanks :)
Okay, lsmod pointed out 3 modules, nouveau or nvidia?
Hi JR.
These articles have never failed me on first runs. This Fedora 19 is the first time it breaks though. The kernel module wasn’t loaded after install because it didn’t build. I’ve isolated the issue with akmod not being able to complete the build. This is the akmod make error that it dies at:
22 Sep 06:23:02 akmodsbuild: make[3]: *** [/tmp/akmodsbuild.LhsQJEYb/BUILD/nvidia-304xx-kmod-30
4.88/_kmod_build_3.11.1-200.fc19.x86_64/kernel/os-interface.o] Error 1
22 Sep 06:23:02 akmodsbuild: make[2]: *** [_module_/tmp/akmodsbuild.LhsQJEYb/BUILD/nvidia-304xx
-kmod-304.88/_kmod_build_3.11.1-200.fc19.x86_64/kernel] Error 2
22 Sep 06:23:02 akmodsbuild: NVIDIA: left KBUILD.
22 Sep 06:23:02 akmodsbuild: nvidia.ko failed to build!
22 Sep 06:23:02 akmodsbuild: make[1]: *** [module] Error 1
22 Sep 06:23:02 akmodsbuild: make: *** [module] Error 2
22 Sep 06:23:02 akmodsbuild: error: Bad exit status from /var/tmp/rpm-tmp.r27eJF (%build)
[[email protected] ~]# uname -r
3.11.1-200.fc19.x86_64
I am currently using the updated kernel, kernel-devel and updated se policies as per the preparation instructions. I've removed the old kernel and it's dev package. It appears the kernel I am using is too new for the kmod-nvidia-304xx install to work ( wanting to install against a 3.10 kernel ). I was wondering if you know any way around this issue.
Any ideas are welcome. I am back on nouveau for now. Thanks for the keen articles.
Hi forlorn,
You are totally right akmod-nvidia and akmod-nvidia-304xx doesn’t work currently with latest 3.11.1-200 kernel. What you can do is downgrade to kernel 3.10 and you can find it from here.
Quick guide, howto downgrade/install kernel 3.10:
Then you should be able to boot using kernel 3.10.11-200? Please let me know if you have any problems with this?
Looks like here is patched versions of akmod-nvidia packages, and actually akmod-nvidia won’t work also.
Thanks for the links JR!
The patched akmod-304xx from the forums built properly on my system ( I used the yum localinstall method). The only issue left after that was that this did not blacklist the nouveau driver on its own. I had to rebuild the grub2.cfg after updating /etc/default/grub to append rdblacklist=nouveau to GRUB_CMDLINE_LINUX and call grub2-mkconfig.
After rebooting, nvidia driver was loaded properly ( as it previously had lost a fight to nouveau which was loading first on the first attempted reboot ) and X was able to start properly.
Sep 23 08:55:33 helm kernel: [ 15.240086] NVRM: The NVIDIA probe routine was not called for 1 device(s).
Sep 23 08:55:33 helm kernel: [ 15.240341] NVRM: This can occur when a driver such as nouveau, rivafb,
Sep 23 08:55:33 helm kernel: [ 15.240341] NVRM: nvidiafb, or rivatv was loaded and obtained ownership of
Sep 23 08:55:33 helm kernel: [ 15.240341] NVRM: the NVIDIA device(s).
Sep 23 08:55:33 helm kernel: [ 15.241344] NVRM: Try unloading the conflicting kernel module (and/or
Sep 23 08:55:33 helm kernel: [ 15.241344] NVRM: reconfigure your kernel without the conflicting
Sep 23 08:55:33 helm kernel: [ 15.241344] NVRM: driver(s)), then try loading the NVIDIA kernel module
Sep 23 08:55:33 helm kernel: [ 15.241344] NVRM: again.
Sep 23 08:55:33 helm kernel: [ 15.243186] NVRM: No NVIDIA graphics adapter probed!
Im not sure if the lack of blacklisting nouveau was caused by the patched akmod rpm, but in case anyone runs into this, check the logs to see if the kernel is indicating that nvidia driver wouldn’t load because of the device conflict. If you see nouveau is loaded
lsmod|grep nouveau
you may want to review your grub config or try a manual edit on the next boot to see if nvidia will load properly.As for me, I was able to get this akmod with the current kernel after these issues were addressed. I appreciate the insight and links. Saved me a bunch of time. :D
Hi again forlorn,
You are welcome and nice to hear that you got it working! :)
:( I updated my Fedora yesterday. If I only read your comments before I updated.
I take several minutes to understand why Fedora isn’t starting Xorg.
I’ll give it a try later using the patch drivers.
I remove the nvidia drivers for now but I still can’t start Fedora. Xorg says that found a screen but not a configuration for it.
I think I have to enable the nouveau driver, but I’m still not sure how to do that.
Anyway, this webpage is Awesome.
Hi Mauricio,
First could you boot your system and then run following commands and post output here:
To make it work I had to install the rpm from here
http://forums.fedoraforum.org/showthread.php?t=294091
and use the external repo from here:
ftp://download1.rpmfusion.org/pub/nonfree/fedora/updates/16/SRPMS
Hi daniphp,
This problem is discussed earlier, if you check my and forlorn discussion, but I didn’t update this guide yet, because I assume that working packages are coming to RPMFusion repo.
I see you don’t do nvidia-xconfig after install the driver. Is it obligatory?
Hi Eduardo,
If you want create xorg.conf file, then nvidia-xconfig is useful, but yes it’s not obligatory.
I used the patch nvidia drivers and they work perfectly.
I updated fedora yesterday, now I have a new kernel but I don’t have the kmod for that kernel.
Is it ok if I stop using the patch driver and install nvidia like this post so I can get the newer akmod??
lsmod |grep -e nvidia -e nouveau:
nvidia 9365874 48
drm 278576 2 nvidia
i2c_core 34242 4 drm,i2c_i801,nvidia,videodev
lspci |grep -i VGA:
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 650M] (rev a1)
rpm -qa \*nvidia\* kernel\* |sort:
akmod-nvidia-325.15-1.fc19.1.x86_64
kernel-3.11.1-200.fc19.x86_64
kernel-3.11.2-201.fc19.x86_64
kernel-3.11.3-201.fc19.x86_64
kernel-devel-3.11.1-200.fc19.x86_64
kernel-devel-3.11.2-201.fc19.x86_64
kernel-devel-3.11.3-201.fc19.x86_64
kernel-headers-3.11.3-201.fc19.x86_64
kernel-modules-extra-3.11.1-200.fc19.x86_64
kernel-modules-extra-3.11.2-201.fc19.x86_64
kernel-modules-extra-3.11.3-201.fc19.x86_64
kmod-nvidia-3.11.2-201.fc19.x86_64-325.15-1.fc19.1.x86_64
kmod-nvidia-325.15-1.fc19.1.x86_64
nvidia-settings-319.32-1.fc19.x86_64
nvidia-xconfig-319.32-1.fc19.x86_64
xorg-x11-drv-nvidia-325.15-1.fc19.x86_64
xorg-x11-drv-nvidia-libs-325.15-1.fc19.x86_64
Now, for the nouveau:
I remove the nouveau modeset and vesa:off from grub configuration file, I also change “nvidia” to “nouveau” from /etc/X11/xorg.conf and the nvidia.conf but I can’t make the startx command to work
Am I doing the right thing about changing nvidia to nouveau???
Hi Mauricio,
Looks like you have you have nvidia modules loaded and you have akmod-nvidia installed already. Do you have patched version of akmod-nvidia installed?