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: 1
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...
I’ve tried this guide using Fedora 22 Workstation and both 352.41 and 340.76 failed to run on my notebook Lenovo T420 with NVS 4200M. So can anyone help me to configure my laptop with Nvidia drivers ?
Hi magnitudo9,
Could you post output of following command:
Smooth like silk. Thank you.
00:02.0 VGA compatible controller: Intel Corporation 2n Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: nVidia Corporation GF119M [Quadro NVS 4200M] (rev a1)
Okay, you have NVIDIA Optimus card. If you check step 1.2, nVidia proprietary drivers have only partial Optimus support.
What options you have:
1. You could check your bios if you can disable Intel card and use only nVidia card then this guide should work
2. If you can’t disable Intel card, then you could try http://bumblebee-project.org/
Hi magnitudo9,
Have you checked this simple solution from Fedora?
https://fedoraproject.org/wiki/Bumblebee#Fedora_22
It works for my Dell laptop. It has GeForce GT 525M. There is no BIOS switch to disable Intel card
Tks a lot to JR and Yaroslav, the bumblebee wiki works very well on my laptop but I prefer the ubuntu approach with prime select to switch between graphic cards.
Like a charm.
Situation: Macbook pro 5.5 (middle 2009),nvidia 9400m,
combo disc: ssd Crucial with Fedora 22 (Gnome),HD 500GB
on the optical bay (OWC Data Doubler) with OS X Yosemite
10.10.5.
Finally have a decent power management and hardware
acceleration.
Thank you.
You are welcome! Nice to hear that this worked with your card.
Thank you! I have a Dell R420 server that didn’t seem to like the nouveau drivers and this finally worked. Here is the output of uname and lspci:
Linux localhost.localdomain 4.1.6-100.fc21.x86_64 #1 SMP Mon Aug 17 22:20:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
08:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]
Oops…the uname/lspci output from my last comment are from the wrong system (obviously since it has a Radeon gpu). Here is the correct output
Linux Schloop-Kali3.WORKGROUP 4.1.6-201.fc22.x86_64 #1 SMP Fri Sep 4 17:49:24 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
08:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 640] (rev a1)
Smooth sailing instructions for me, until Section 2.8. Once I reboot, I am greeted with a completely black screen after GRUB. I’ve tried adding “3” to the end of the line to force a console login, and still black screen.
Only when I remove “rd.driver.blacklist=nouveau” can I actually get to the console login. But of course, installer fails because Nouveua has loaded.
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 760] (rev a1)
There has to be something I’m missing… I’m really tired of having to reinstall fresh after every time.
And what do you know… I soon as I post this, I stumble upon this page:
http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/index.html#runfile-installation
Adding “nomodeset” to the end of the GRUB line worked like a charm.
https://bugzilla.redhat.com/show_bug.cgi?id=692573
Due to this bug, fedora 22 is not starting after disabling selinux.
Not even starting in single user mode.
—-
!!!!Failed to load SELinux policy. freezing.
Hi nirbhab,
I can disable SELinux without any problems on Fedora 22.
This bug is very old and closed (2011-04-08 22:11:43 EDT), but could you try one this bug workaround, add “selinux=0” to boot parameters?
If you have Fedora installed on UEFI, then you will get
ERROR: The kernel module failed to load.
Solution: manually sign the drivers and before restart import keys:
mokutil –import /usr/share/nvidia/nvidia-modsign-crt-XXXXXXXX.der
enter the temporary password, then reboot. You bios will popup new menu, select to sign activate key, enter temporary password. And done :)
https://ask.fedoraproject.org/en/question/60949/nvidia-driver-and-bumblebee-not-working-in-fedora-21/
Hi Kowach,
Nice tip!
Actually UEFI is not problem, but UEFI with Secure Boot on/enabled.
Worked like a charm, thanks!
01:00.0 VGA compatible controller: NVIDIA Corporation GK106GLM [Quadro K2100M] (rev a1)
Linux hostname 4.1.7-200.fc22.x86_64 #1 SMP Mon Sep 14 20:19:24 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
02:00.0 VGA compatible controller: NVIDIA Corporation G92GL [Quadro FX 3700] (rev a2)
I was able to get to step 2.9.6 until it ran into an error, nvidia error: bad return status for module build on kernel. I have a screenshot of the full error message here: http://imgur.com/myPgrqu. I tried to install without using DKMS, but that also did not work. At this point, I’m pretty lost on what to do, so any help would be greatly appreciated.
Hello rooseal,
Could you post content of /var/lib/dkms/nvidia/340.76/build/make.log example to pastebin.com?
Here is the log you requested: http://pastebin.com/vVBgwH1w
Thanks!
Could you also post output of following commands:
Hi JR,
Here is the outputs that you requested:
Linux hostname 4.1.7-200.fc22.x86_64 #1 SMP Mon Sep 14 20:19:24 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
acpid-2.0.23-4.fc22.x86_64
dkms-2.2.0.3-30.git.7c3e7c5.fc22.noarch
gcc-5.1.1-4.fc22.x86_64
kernel-4.1.6-200.fc22.x86_64
kernel-4.1.6-201.fc22.x86_64
kernel-4.1.7-200.fc22.x86_64
kernel-core-4.1.6-200.fc22.x86_64
kernel-core-4.1.6-201.fc22.x86_64
kernel-core-4.1.7-200.fc22.x86_64
kernel-devel-3.19.4-100.fc20.x86_64
kernel-devel-3.19.5-100.fc20.x86_64
kernel-devel-3.19.8-100.fc20.x86_64
kernel-devel-4.1.6-200.fc22.x86_64
kernel-devel-4.1.6-201.fc22.x86_64
kernel-devel-4.1.7-200.fc22.x86_64
kernel-headers-4.1.7-200.fc22.x86_64
kernel-modules-4.1.6-200.fc22.x86_64
kernel-modules-4.1.6-201.fc22.x86_64
kernel-modules-4.1.7-200.fc22.x86_64
kernel-modules-extra-4.1.6-200.fc22.x86_64
kernel-modules-extra-4.1.6-201.fc22.x86_64
kernel-modules-extra-4.1.7-200.fc22.x86_64
For those of us having an optimus enabled laptop and no bios switch for video card, this will not work. Had a hard time rolling back the operations this tutorial does, so basically you have to reinstall the xorg and mesa packages after uninstalling and reverting the changes this tuto makes you do on fedora 22.
NVIDIA-Linux-x86_64-355.11.run –uninstall
dnf reinstall xorg-*
dnf reinstall mesa*
Now X opens when I use startx command. But it will not on boot with gdm. I dont know why.
It seems nvidia driver replaces some files provided by xorg and mesa packages.
Oh… it seems after a reboot gdm displays its stuff now. And for a bonus, now my 3 outputs all work simultaneously somenow, but on nouveau driver, not nvidia. Its slow but it works.
Hi graben,
Yes, nVidia Optimus users should check step 1.2 NVIDIA Optimus Technology
And maybe check
ftp://download.nvidia.com/XFree86/Linux-x86/355.11/README/optimus.html
and
http://bumblebee-project.org/
@rooseal
Could you post output of following command:
Hi JR,
The output is:
02:00.0 VGA compatible controller: NVIDIA Corporation G92GL[Quadro FX 3700] (rec a2)
Thanks.
Try to update all your system packages (kernel 4.1.10) and download latest nVidia 340.93 drivers and try to install it.
I just tested 340.93 drivers on Fedora 22 and everything build normally with dkms and 4.1.10 kernel.
After updating the kernels and updating the dnf repository, the installation went through to completion! Thanks for all the help!
Excellent and you’re welcome!
Worked great thanks so much!
If you are trying to install drivers for steam you should do this after installing steam from rpmfusion or just reinstall the driver.
Linux localhost.localdomain 4.1.8-200.fc22.x86_64 #1 SMP Tue Sep 22 12:13:21 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 660 Ti] (rev a1)
Installed it well on Lenovo ThinkPad w530 with NVidia Quadro K1000M using Fedora 4.0.4, but failed to install it after kernel update to 4.1.8. The screen just blinks once in several seconds in a command line regime with the last line something like “Starting GNOME ….”
Hi Sergey,
Could you post content of your /var/log/Xorg.0.log or alternatively output of following command:
And output of following commands:
Hi JR,
Thank you for help.
Here is the uname output:
Linux localhost.localdomain 4.1.8-200.fc22.x86_64 #1 SMP Tue Sep 22 12:13:21 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Here is the list of kernels:
kernel-4.0.4-301.fc22.x86_64
kernel-4.1.8-200.fc22.x86_64
kernel-core-4.0.4-301.fc22.x86_64
kernel-core-4.1.8-200.fc22.x86_64
kernel-devel-4.1.8-200.fc22.x86_64
kernel-headers-4.1.8-200.fc22.x86_64
kernel-modules-4.0.4-301.fc22.x86_64
kernel-modules-4.1.8-200.fc22.x86_64
When the NVidia drivers (352.41) are installed and I am trying to launch Fedora, the Xorg.0.log file does not even appear. The output of “journalctl” is also empty. When I uninstall drivers, I am able to launch Fedora in a graphical regime. Then I can get some “journalctl” output, but it is too large to be posted here, I am getting blocked when I try to do it. I can send it on your email.
Could you also please describe the steps required to reinstall the nouveau drivers? I am afraid I can do something wrong.
Regards,
Sergey.
Hi Sergey,
Could you also post output of following command:
Hi JR,
Sure. It is the following:
01:00.0 VGA compatible controller: NVIDIA Corporation GK107GLM [Quadro K1000M] (rev a1)
I disabled the internal graphics card in BIOS (‘discrete’ option), so only the NVidia card is visible.
Thanks.
Could you try to install drivers normally, but add also nox2apic to GRUB_CMDLINE_LINUX options, like:
It looks like your laptop Lenovo ThinkPad w530 may suffer this bug (redhat bugzilla bug).
worked great for me, I am using Fedora 22 / GTX 550Ti / 352.41 driver. Thank you so much!
Update: After some recent Fedora 22 OS updates were installed, I started to have this problem: couldn’t log into gnome, instead got a screen that said “Oh no, something has gone wrong”. Examining /var/log/Xorg.0.log, I saw some errors associated w/ GLX… I think the OS update upgraded some xorg packages, which broke things (?)
The following steps seemed to have fixed things for me:
1. CTRL+ALT+F2 to exit “Oh no, something has gone wrong” and login via command line
2. Repeat step 2.8 (reboot to runlevel 3)
3. Login, run “nvidia-installer –update” as superuser, answer the prompts as you would have in step 2.9. This upgraded my driver from 352.41 to 352.55.
4. Repeat step 2.10 (reboot to runlevel 5)
I hope that helps!
Thank you so much !
I was stuck with the exact same error message and couldn’t figure out what it meant.
You saved my day ! :)
Hi,
thanks for this guide. However, I am stuck with the “Oh no …” screen :( I tried the update you described, but with no success.
I am using Fedora 23.
nvidia-installer version is 352.63, kernel version 4.2.6-301, graphic card – NVIDIA Corporation GF117M.
Any help is appriciated.
Hello, could you write a guide to install nvidia optimus?
Hello Jack,
In theory yes. I have one nVidia Optimus laptop, but without nVidia proprietary drivers. Maybe I should try to install nVidia drivers or install nVidia drivers using http://bumblebee-project.org/ and write guide.