Fedora 37/36/35 NVIDIA Drivers Install Guide [530.30.02 / 525.89.02 / 520.56.06 / 515.86.01 / 510.108.03 / 470.161.03 / 390.157 / 340.108] - Comment Page: 10
This is guide, howto install NVIDIA proprietary drivers (manually using .run installer) on Fedora 37/36/35/34/33/32 and disable Nouveau driver. This guide works with GeForce 8/9/200/300/400/500/600/700/800/900/10/20/30/40 series cards.
GeForce RTX 40 series cards works with 530.xx, 525.xx, 520.xx NVIDIA drivers, (RTX 4090)
GeForce RTX 30 series cards works with 530.xx, 525.xx, 520.xx, 515.xx, 510.xx and 470.xx NVIDIA drivers, (RTX 3090, RTX 3080 and RTX 3070, RTX 3060, RTX 3060 Ti)
GeForce RTX 20 series cards works with 530.xx, 525.xx, 520.xx, 515.xx, 510.xx and 470.xx NVIDIA drivers (RTX 2080 Ti, RTX 2080, RTX 2070 Ti, RTX 2070, RTX 2060)
GeForce GT/GTX 600/700/800/900/10 series...
nvidia-installer: version 358.16 ([email protected]) Mon Nov 16 19:59:22 PST 2015
Linux localhost.localdomain 4.2.7-300.fc23.x86_64 #1 SMP Wed Dec 9 22:28:30 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)
Thanks!
Hi, before I step in on 2.8 after reboot I facing emergency mode, I do know how to proceed…
any suggestion? thank you before…
btw, I’m on fedora 23
Hello, i have a problem. Your solution works until an update 4 days ago. after the update all crash.
I have fedora 23 with last kernel! an GEforce 465 with driver 352.63.
when i running driver on level 3 now it bug problem with kernel. and driver stop
the installation (prob with kernel).
Anybody know what is happen with the new kernel since dec 17 2015?
Because before update all works and now it’dosen’t.
Please help me!
Hi Cattin,
Simply run following before installer:
I believe the issue is not with the kernel but with gcc. Upon re-installing on my laptop after updates, I could not install the driver due to gcc being version 5.3 instead of 5.1. Basically you have to downgrade gcc to match the version of gcc used to build the kernel (version 5.1). If the versions do not match the driver will fail to load as the kernel will only load drivers built with the same level of gcc. There may be another work around. One thing to note, on mine I could not use DKMS option, and I had to tell it to continue anyway because after the downgrade it detected gcc not being correct. I hope this helps either you or who ever else chimes in to help!
Loving you dude.
Had to ‘export IGNORE_CC_MISMATCH=1’.
$ nvidia-installer -v |grep version
nvidia-installer: version 340.96 ([email protected])
$ uname -a
Linux localhost.localdomain 4.2.7-300.fc23.x86_64 #1 SMP Wed Dec 9 22:28:30 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
$ lspci |grep -i VGA
01:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce GTS 250] (rev a2)
Great tutorial. Thank you so much!
nvidia-installer: version 358.16 ([email protected])
Linux localhost.localdomain 4.2.7-300.fc23.x86_64 #1 SMP Wed Dec 9 22:28:30 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GF116 [GeForce GTX 550 Ti] (rev a1)
To all who have problems with gcc version. Cleanest work around is update your kernel to 4.2.8:
This kernel should found soon on F23 updates repo and F22 updates repo, if not, then install it from updates-testing repo:
Running kernel 4.2.8 ,gcc5.3.1,
Installing Nvidia driver 352.63 all fine until the actual install of driver,ran the line export IGNORE_CC_MISMATCH=1
before running installer and now i get
You appear to be running an X server; please exit X before installing.
Would really appreciate help as to how i rectify this
Hi david,
First you shouldn’t need IGNORE_CC_MISMATCH when using gcc-5.3.1 and kernel 4.2.8. Next did you run this guide commands using older kernel?
Could you also post output of following command:
Hi JR firstly thank you for your reply,much appreciated
Yes i thought afterwards it was stupid to run IGNORE_CC_MISMATCH,i was tempted to run it again to =0 to see if that would reverse it
Yes i had run using the guide commands with the older kernel
[email protected] ~] $ runlevel
N 3
You are welcome!
Okay, this IGNORE_CC_MISMATCH environment variable doesn’t start X so actually it doesn’t matter, it’s only used when you run installer and have “wrong” version of gcc.
Next thing to check is Xorg really running and is nouveau disabled, could you post output of following commands, when you are on runlevel 3:
Perfect, many thanks! My GT 130 works pretty smoothly and I can now connect to my smart LG screen through HDMI which wasn’t possible before. Very happy!
Hi Dude thanks for the guide,
I’m facing a problem here, the computer get stuck after the logo of fedora is loaded. there is a message saying ignoring BGRT: invalid status 0 and that’s it.
I have fedora 23 and I was trying to install the drivers for Geforce-GTX 960M
Any comments?
Hi Luis,
Looks like you have nVidia Optimus device. Could you disable nVidia Optimus or Intel Graphics from BIOS?
Could you post output of following command:
Hi!
I am a new linux user and have been using fedora about 1 week now. My system was extremely unstable when I first installed linux. Being a new linux user it took me some time to realize the cause of the instability was due to my video card driver. I was experiencing a very frustrating and consistent freezing every minute to five minutes if i attempted to do anything that talked to the graphics card. Even simply re-sizing a window or opening firefox would cause my machine to lock up. After finding your guide online, and following all of your instructions to the letter, I was successfully able to install the driver! My system has been running extremely smooth since then.
The only issue I ran into was during the installation, at step
2.8.5 nVidia Installer 32-bit Compatibility Libraries the 32-bit libraries failed to install. I was able to click OK and continue through the guide without any issue. As mentioned above the system is now stable and running smooth so I didn’t think anything of the 32-bit library error.
I now realize I actually need those 32-bit libraries as I am experimenting with “wine+PlayOnLinux” right now and when I launch a program it errors out saying it cant find 32-bit libraries. Would it be possible for you to help me troubleshoot how to install these 32-bit libraries since they failed during the driver install from the nvidia driver installer?
Your guide has been a tremendous help and I think it will be useful not only for me, but possibly other users out there, on how to fix the 32-bit libraries incase others have similar error during install that I received.
Also here are the output for the commands you requested if we have a successful install!
$ nvidia-installer -v |grep version
nvidia-installer: version 358.16 ([email protected])
$ uname -a
Linux j5Box 4.2.8-300.fc23.x86_64 #1 SMP Tue Dec 15 16:49:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
$ lspci |grep -i VGA
02:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 660 Ti] (rev a1)
THANKS!!!
Hi Johnny,
Does wine+PlayOnLinux need some other 32-bit libraries, which are not directly related to nVidia drivers?
Do you get any more specific error message?
Hi! This is a great post, it helped me a lot. I was thinking on giving up Fedora 23 because nouveau froze in every 20 mins, and I wasn’t able to install the nvidia driver from rpm fusion repos. They killed the GUI every time and I wasn’t able to recover. I managed to install the nvidia driver with your guide, here are the results:
“`
[[email protected] inf3rno]# nvidia-installer -v |grep version
nvidia-installer: version 340.96 ([email protected])
[[email protected] inf3rno]# uname -a
Linux inf3rno.pc 4.2.8-300.fc23.x86_64 #1 SMP Tue Dec 15 16:49:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] inf3rno]# lspci |grep -i VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GT215 [GeForce GT 240] (rev a2)
“`
You could add this link to the video acceleration section, it contains the cards which support that: https://www.mythtv.org/wiki/VDPAU#Supported_Cards
I am going to buy a Geforce GTX 750 (or 750 Ti) . Do you have any suggestions about how to install the drivers for that card? Now I have Geforce GT 240, and the BIOS is a hybrid one, which supports booting from GPT and had an efi folder for grub. So it is a complicated system. :-)
Hi inf3rno,
Nice to hear that you got nVidia drivers working!
I have GeForce GTX 750 Ti installed on this system and my own output looks following:
So simply:
1. Change graphics card
2. boot runlevel 3
3. Install/update to latest version of nVidia drivers
4. Reboot back to runlevel 5
Geez you must have been sitting on the computer
Assuming that N3 means that i am on run level 3??
Output as follows:
[[email protected] ~] $ ps aux |grep -i Xorg
root 1036 0.0 0.0 281716 7576 ? Ss Dec24 0:00 /usr/bin/abrt-dump-journal-xorg -fxtD
root 1916 4.1 1.1 484268 194936 tty1 Sl Dec24 180:42 /usr/libexec/Xorg :0 vt1 -keeptty -nolisten tcp -auth /home/david/.serverauth.1893
david 12594 0.0 0.0 117000 2388 pts/0 S+ 07:09 0:00 grep –color=auto -i Xorg
[[email protected] ~] $ lsmod |grep nouveau
[[email protected] ~] $
Rgds
David
Runlevel is right and nouveau is disabled. Some reason something starts Xorg on runlevel 3.
You could try to simple kill Xorg using following command:
Then try to run nVidia installer again. Is it working then?
If not, then could tell what desktop and display manager you are using?
[[email protected] ~]$ nvidia-installer -v |grep version
nvidia-installer: version 358.16 ([email protected]) Mon Nov 16 19:59:22 PST 2015
[[email protected] ~]$ uname -a
Linux jims.drawer 4.2.8-300.fc23.x86_64 #1 SMP Tue Dec 15 16:49:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] ~]$ lspci |grep -i VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560 Ti] (rev a1)
[[email protected] ~]$
HMMMM very interesting this time it worked and Nvidia drivers are installed {Yipeee}
Ran killall Xorg and returned “Xorg no process found”,which i found very odd then ran installer it hesitated at building module for perhaps 45 seconds and then completed
So what the initial problem was i have no idea
Once again many thanks for your help and terrific guides
BTW using Gnome desktop shell 3.18
Rgds
David
You are welcome and excellent to hear that you got it installed.
Yes, building module(s) will take some time and nVidia installer progress bar isn’t very smooth…
It is hard to say what the original problem was. Some DMs might start on runlevel 3, but GDM shouldn’t. I just tested this (once again) and I haven’t X running on runlevel 3 with latest version of Gnome 3.18 and GDM installed.
If you want debug this more, then you could check services on /etc/systemd/system/multi-user.target.wants/ directory. Maybe there is “reason” why Xorg starts on runlevel 3.
Or maybe following command is even better:
Again many many thanks for your help and most importantly your time ,it is very much appreciated.
Yeah i don’t understand why X booted in to runlevel 3 never had that before,have always installed Nvidia drivers because i run boinc on the graphics card as well as the cpu,gotta say it was never this complicated to install them
Output as follows:
[[email protected] ~] $ grep ‘WantedBy=multi-user.target’ /etc/systemd/ -R
/etc/systemd/system/dbus-org.freedesktop.Avahi.service:WantedBy=multi-user.target
/etc/systemd/system/remote-fs.target.wants/nfs-client.target:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/rngd.service:WantedBy=multi-user.target
grep: /etc/systemd/system/multi-user.target.wants/auditd.service: Permission denied
/etc/systemd/system/multi-user.target.wants/vboxdrv.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/abrt-oops.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/NetworkManager.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/ModemManager.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/abrt-vmcore.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/remote-fs.target:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/mcelog.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/mdmonitor.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/abrt-ccpp.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/vboxautostart-service.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/chronyd.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/avahi-daemon.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/vboxweb-service.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/abrtd.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/boinc-client.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/crond.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/abrt-xorg.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/vmtoolsd.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/libvirtd.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/atd.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/netcf-transaction.service:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/cups.path:WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants/nfs-client.target:WantedBy=multi-user.target
grep: /etc/systemd/system/syslog.service: No such file or directory
/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service:WantedBy=multi-user.target
/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service:WantedBy=multi-user.target
Can’t see anything that refers to X server there,so maybe that is the problem??
Looks odd to me
Rgds
David
Actually reason might be boinc. I just checked that it might startx when using (try to use) CUDA, even if it’s not mandatory.
Other services are almost same what I have and X isn’t started. If you still want debug more, then you can disable boinc service and boot again to runlevel 3 to see if X is started or not. Then try same with boinc service enabled.
Anyways best and most important thing is that you got nVidia drivers installed.