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: 119
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...
Hi JR,
Did the following
1. Verify nvidia card is supported
01:00.0 VGA compatible controller: NVIDIA Corporation G72 [GeForce 7300 LE] (rev a1)
2. downloaded the associated nvidia driver
NVIDIA-Linux-x86_64-304.137.run
3. followed the instructions and got the following error when running the nvidia installer:
make -C /usr/src/kernels/5.13.13-200.fc34.x86_64/tools/build CFLAGS= LDFLAGS= /usr/src/kernels/5.13.13-200.fc34.x86_64/tools/objtool/fixdep
make -C /usr/src/kernels/5.13.13-200.fc34.x86_64/tools/lib/subcmd/ OUTPUT=/usr/src/kernels/5.13.13-200.fc34.x86_64/tools/objtool/
make -C /usr/src/kernels/5.13.13-200.fc34.x86_64/tools/build CFLAGS= LDFLAGS= /usr/src/kernels/5.13.13-200.fc34.x86_64/tools/objtool/fixdep
make[4]: *** [Makefile:55: /usr/src/kernels/5.13.13-200.fc34.x86_64/tools/objtool/objtool-in.o] Error 1
make[3]: *** [Makefile:69: objtool] Error 2
make[2]: *** [Makefile:1990: tools/objtool] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [Makefile:261: module] Error 1
make: *** [makefile:59: module] Error 2
5. I am running : Linux fedora 5.13.13-200.fc34.x86_64
Any suggestions on what went wrong??
Hello Herb,
Unfortunately NVIDIA 304.xx is not supported anymore with latest 5.13 kernels.
Thank you very much! Worked like a charm:
$ nvidia-installer -v |grep version
nvidia-installer: version 470.63.01
$ uname -a
Linux fedora 5.13.13-200.fc34.x86_64 #1 SMP Thu Aug 26 17:06:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
$ lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 950] (rev a1)
Hi there,
after the installation only my external monitor is working. The laptop monitor does not show anything. How to enable dual monitor?
Hi,
Actually this is how to NVIDIA drivers works with NVIDIA Optimus laptops. If you check step 1.2 you can see link to https://download.nvidia.com/XFree86/Linux-x86_64/470.63.01/README/optimus.html
“The driver may be installed normally on Optimus systems, but the NVIDIA X driver and the NVIDIA OpenGL driver may not be able to display to the laptop’s internal display panel unless a means to connect the panel to the NVIDIA GPU (for example, a hardware multiplexer, or “mux”, often controllable by a BIOS setting) is available. On systems without a mux, the NVIDIA GPU can still be useful for offscreen rendering, PRIME render offload, running CUDA applications, and other uses that don’t require driving a display.”
Next thing to do is check your BIOS / UEFI. Is it possible to disable integrated graphics / NVIDIA Optimus?
Worked like a charm. Thank you very much!
Thank you very much.
nvidia-installer -v |grep version
nvidia-installer: version 470.63.01
uname -a
Linux fedora 5.13.13-200.fc34.x86_64 #1 SMP Thu Aug 26 17:06:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
Here’s a question:
How do you go from a NVIDIA GTX1060 to an AMD 5600XT in Fedora 34? What are the exact steps to configure the 5600XT for open source drivers?
And in case it wasn’t obvious, the GTX1060 is running NVIDIA proprietary drivers installed via your guide.
Yes it works !! There is only one question and a problem with a similar one for Windows NT, with NVIDIA drivers :if the NVIDIA Control Panel component gets lost and disappears there,😁 then everything is almost fine in Fedora with this: only nvidia-settings.desctop in /usr/share/applications/ gets lost (that is, it is not created when installing drivers). 😁
nvidia-installer: version 470.63.01
Linux asus 5.13.16-200.fc34.x86_64 #1 SMP Mon Sep 13 12:39:36 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 860M] (rev a2)
I managed to install it in Fedora34! The only side effect is the system switched to X11 and I lost gests.
Thanks a lot ,
works great !
Thumbs up for this Guide
Hi JR, The recent 5.14.9 kernel did not work for runlevel 5, so I tried, in runlevel 3, executing your steps 2.6.1 — 2.6.5 and re-running NVIDIA-Linux…390.144.run. It failed for the DKMS step. So I will keep with the 5.13.19 kernel (which works fine) and await further news from you. My VGA is NVIDIA’s GF116 [GeForce GTX 550 Ti].
Thank you for your great instructions! I can’t believe how you actually read 3,040 comments.
Black screen after reboot
Have a Quadro T2000, running fedora34 latested patched, download the latest from nvidia
Followed all your steps but after a reboot all I get is a blank screen.
Hello Daniel,
Could you post output of following commands:
Do you post install full name what you used?
THis works with External Monitor plug’in HDMI on a laptop with nvidia GTX 1650 card?
Hello Adson,
Yes, it should work with external monitor even if your laptop panel won’t work. You can always restore nouveau if you have problems.
It looks like 390.144 is indeed going to need a patch for kernels 5.14 and up because the names of some structs have changed.
https://www.mail-archive.com/[email protected]/msg1820081.html
Hi Bob,
I’m looking problems with NVIDIA 390.xx. NVIDIA 340.xx is already patched for kernel 5.14.
I serious do not mind waiting and just using the previous 5.13 kernel for now.
You do such a great job of getting patches out quickly. (unlike rpmfusion where I can say factually its taken 6 months in the past.)
Like Peter Scott said, thanks to everyone for a great site, and quick turn around on patches.
Hello,
I have patched manually the three files that are appointed in this patch, but I am not very skilled in applying patches with patch. So I decided to change the C files myself and insert the changes.
It worked. These are two files inside the nvidia subdirectory and one file inside the nvidia-drm subdirectory. Just locate the appointed files and copy (with root privileges) – then go and upgrade the kernel.
Everything should be located at /usr/src/nvidia-390.144/
The files can be downloaded from this link:
https://www.mediafire.com/folder/788f7sxpi1q6s/nvidia
I hope this helps for now!
Best regards.
Hello Djeizon,
You can also use inttf NVIDIA Patcher script.
Hi JR!
Ok, thanks!
Just in case one does not want to mess with scripting and patching, and already has the proprietary driver framework under /usr/src, it’s just a matter to overwrite these files and the dkms will compile. It rests as another way to do it. I’m glad we’ve come up with these solutions very early (and not 6 months as another folk mentioned!).
Cheers.
— D. B.
I see that Emanuele Rocca has done the entire receipt as where to patch, but it’s not automatized yet. I don’t want to mess with patch right now, but if anyone could drop some instructions here on getting that text on a diff and patch that group of files would be nice. Thanks for the info.
Hello Quantum and Bob,
You can now use this:
inttf NVIDIA 435.xx, 390.xx, 418.xx, 340.xx Patcher for Kernel 5.14/5.13/5.12 [BASH Script]
Run following commands:
Thanks for getting the patch done.
Got it on all 3 of my linux machines now and its working great.
THANK YOU VERY MUCH! Everything works!
nvidia-installer -v |grep version
nvidia-installer: version 470.74
uname -a
Linux asus 5.14.9-200.fc34.x86_64 #1 SMP Thu Sep 30 11:55:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
lspci |grep -E ‘VGA|3D’
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 860M] (rev a2)
echo $XDG_SESSION_TYPE
wayland
Hi there, I’m using F34. I managed to install the driver successfully apparently, this is my output..
lspci |grep -E “VGA|3D”
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 950M] (rev a2)
However when I go to settings->about, in graphics, the Intel card is still showing. do you know why is that?
Hello Luis,
Problem is NVIDIA Optimus device. You have to disable Intel integrated graphics from BIOS/UEFI. Or use something like https://download.nvidia.com/XFree86/Linux-x86_64/435.17/README/primerenderoffload.html to switch graphics per application.
Not working with Acer nitro 5 GeForce RTX 3050. Have tried both nivida 495 and 470. Get to installing driver it fails. Hard to read it it fails dkms.
Hello Dave,
Could you post exact error message?