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: 2
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, my lspci |grep -i VGA return
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
and i’ve a NVIDIA GeForce 820M. Can I use this guide?
Thanks!!
Hi Heysen02,
NVIDIA GeForce 820M have nVidia Optimus support. If you can go to the bios and disable Nvidia Optimus, then check lspci output again and if you see just nVidia card, then you can use this guide.
I went into the bios, but not find the option that you mention. Any other alternatives?
Check
http://bumblebee-project.org/
and
https://fedoraproject.org/wiki/Bumblebee
Very nice, thanks
nvidia-installer: version 340.93 ([email protected]) Wed Aug 19 17:11:11 PDT 2015
Linux localhost.localdomain 4.2.3-200.fc22.x86_64 #1 SMP Thu Oct 8 03:23:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation G94 [GeForce 9600 GT] (rev a1)
Thanks very much for your excellent guides. I love Fedora, and your guides make it so much easier to tweak!
nvidia-installer: version 340.93 ([email protected])
05:00.0 VGA compatible controller: NVIDIA Corporation GF119 [NVS 315] (rev a1)
Thank you so much for this tutorial. I have an older Quadro FX 4500 card and your explanation of the install w/ the 304 driver worked perfectly.
Do not know what is up, but before and after installing the nvidia drivers I get massive window lag, like moving a window from one side to another makes it lag and not a smooth animation. Also minimizing takes a couple of seconds.
I have Core i7-3770k, Nvidia 770, 3 screens, 16gb and its installed on an SSD. Any ideas? Thanks!
Hi Sean,
Could you post output of following commands:
Here you go JR.
Linux Beast-Fedora 4.2.3-200.fc22.x86_64 #1 SMP Thu Oct 8 03:23:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
nvidia-installer: version 355.11 ([email protected]) Wed Aug 26 17:16:01 PDT 2015
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 770] (rev a1)
direct rendering: Yes
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 770/PCIe/SSE2
OpenGL core profile version string: 4.4.0 NVIDIA 355.11
OpenGL core profile shading language version string: 4.40 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5.0 NVIDIA 355.11
OpenGL shading language version string: 4.50 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 NVIDIA 355.11
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
296 frames in 5.0 seconds = 59.025 FPS
297 frames in 5.0 seconds = 59.201 FPS
301 frames in 5.0 seconds = 60.001 FPS
301 frames in 5.0 seconds = 60.003 FPS
282 frames in 5.0 seconds = 56.396 FPS
288 frames in 5.0 seconds = 57.414 FPS
297 frames in 5.0 seconds = 59.397 FPS
300 frames in 5.0 seconds = 59.800 FPS
Thanks, this looks good!
The other thing is, after I setup my displays with the correct resolution and refresh rate and hit save to xorg config file, it saves but after rebooting it does not keep the settings. Any idea on why this would happen?
Could you post your /etc/X11/xorg.conf when you do your changes and after boot:
Here you go JR,
Okay here we go
Before Adjusting Nvidia Settings
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 355.11 ([email protected]) Wed Aug 26 17:15:49 PDT 2015
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
FontPath "/usr/share/fonts/default/Type1"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Adjusting Nvidia Settings
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 355.11 ([email protected]) Wed Aug 26 17:14:39 PDT 2015
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
FontPath "/usr/share/fonts/default/Type1"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "keyboard"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "BenQ XL2430T"
HorizSync 30.0 - 160.0
VertRefresh 56.0 - 144.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 770"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-4"
Option "metamodes" "DP-1: 1920x1080_144 +1920+0, DVI-I-1: nvidia-auto-select +0+0, HDMI-0: nvidia-auto-select +3840+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
After boot
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 355.11 ([email protected]) Wed Aug 26 17:14:39 PDT 2015
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
FontPath "/usr/share/fonts/default/Type1"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "keyboard"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "BenQ XL2430T"
HorizSync 30.0 - 160.0
VertRefresh 56.0 - 144.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 770"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-4"
Option "metamodes" "DP-1: 1920x1080_144 +1920+0, DVI-I-1: nvidia-auto-select +0+0, HDMI-0: nvidia-auto-select +3840+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Hi Sean,
Actually this before boot and after boot is exactly same.
Could you post content of your /var/log/Xorg.0.log or alternatively output of following command (when you have changed settings and after reboot):
Well got the layout fix, ~/.config/monitors.xml edited that file, put in the refresh rate and layout and its sticking. Only place it is not is in the GDM login window.
Ok, nice to hear that you got it fixed at least partially.
I have followed step by step to the T on fedora 22 with a geforce 980 and when it gets to installing the actual driver, it fails everytime it just says nouveau is still installed. I’m lost come find me in the woods please!
Hi Jeremy,
Do you use UEFI?
Yes I do
Yes I do
Sorry, this is my mistake I have forgot to add command to refresh EFI grub.cfg. So run:
And:
Then you can check is nouvuea still loaded:
Should be just empty output and run installer again.
I didn’t end up having nouveau problems my installer keeps crapping out at DKMS install.
Failed to run /sbin/dkms build -m nvidia -v 358.09 -k 4.0.4-301.fc22.x86_64 error! Echo your kernel headers for kernel 4.0.4-301.fc22.x86_64 can’t be found at /lib/modules/4.0.4-301.fc22.x86_64/build or /lib/modules/4.0.4-301.fc22.x86_64/source
http://i64.tinypic.com/zv5xy0.jpg
Hi again Jeremy,
Could you post output of following commands:
http://i66.tinypic.com/zuo4m1.jpg
You have to update your kernel to 4.2.3-200 version too.
So simply run:
Then reboot and select 4.2.3 kernel and try again.
worked like a charm both monitors now running and nvidia driver installed … thanks a ton for your help
Excellent! You are welcome!
I did the last step the one that goes: dnf install vdpauinfo libva-vdpau-driver libva-utils and totally borked my system gotta reinstall and do it all over again !!! lol oh well such is life isnt the first time i’ve had to reinstall wont be the last. least now i know where the problems are maybe since 23 is live now i’ll try it and see where it goes see what happens.
Thanks tons for being so helpful and doing your due diligence to the fedora community keep up the awesome work!
Fedora 23 Worked like a charm again. Thanks a ton.
Really nice to hear that you got it working on F23 too. Did you tried VDPAU/VAAPI too on F23?
Thank you very much for the very excellent guide! Much appreciated.
nvidia-installer: version 352.55 ([email protected])
Linux localhost.localdomain 4.2.3-200.fc22.x86_64 #1 SMP Thu Oct 8 03:23:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
05:00.0 VGA compatible controller: NVIDIA Corporation GK110B [GeForce GTX TITAN Z] (rev a1)
Excellent post, works perfect for me using fedora 22 and a geforce GTS 250. Is there a way to not broke the fedora’s logo when loading the os?
thnks btw
Hi Martin,
I just tested, is it possible to restore Plymouth working normally with nVidia drivers on F23/F22/F21 and it seems that it is. I add my method to this guide soon.
Hi, my lspci |grep -i VGA return
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)
Can I use this guide?
Thank you very much…
Hi GUS,
This guide should work, because you don’t have Optimus technology. Do you have monitor(s) connected to your nVidia card and motherboard?
Solved the Xorg problem for me when I’d upgraded to Fedora 23 on my old Macbook Pro. Thanks a lot for an excellent guide!
nvidia-installer: version 340.93 ([email protected])
4.2.3-300.fc23.x86_64 #1 SMP Mon Oct 5 15:42:54 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
03:00.0 VGA compatible controller: NVIDIA Corporation C79 [GeForce 9400M] (rev b1)
You are welcome and nice to see Fedora 23 users here!
Thank you for great post.
One little correction though – at least in Fedora23 you have to uninstall nouveau THEN exclude xorg-x11 in dnf.conf. Otherwise dnf will not find it.
Though if you have blacklisted it, it should not matter.
Hi Martin and thanks!
I updated guide. Changed Fedora 23 nouveau uninstall command to:
Then it should work normally even xorg-x11 packages are excluded on step 2.5.
Hopefully this is just a temporary solution and nVidia drivers are updated soon to work with xorg 1.18.
And yes, blacklisting should be enough, but removing it just make sure that it won’t be loaded even if something will change in the future.
As owner of older NVS3100 card i don’t think I can expect new drivers with support to 1.18. So maybe Fedora 23 is last one i can use with nvidia drivers, not sure we can expect downgrade possibility in future.
To be honest I would be fine with nouveau, if that thing actualy worked with my card. Never managed to get it work since Fedora 21 :(
Thanks so much for your work — Have not used the card for over two years – was just too much trouble….
nvidia-installer: version 340.93 ([email protected]) Wed Aug 19 17:11:11 PDT 2015
Linux fox1-northtech-net 4.2.3-200.fc22.x86_64 #1 SMP Thu Oct 8 03:23:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce 8800 GTS 512] (rev a2)
I’m getting this after lspci
WHat does it means? Thank you
Hi EM,
It means that you have nVidia card with Optimus Technology. You could check BIOS and if you could disable Intel Graphics, then you could use this guide or if not, then check:
http://bumblebee-project.org
And
https://fedoraproject.org/wiki/Bumblebee#Fedora_22
Thanks. Yesterday I installed bumblebee with closed nvidia drivers using that guide. Seems to work but weird things happens… nvidia-settings are not working and steam games have lower fps when launched with primusrun.
Anyway… testing with glxgears seems to work fine… confused!
I can’t disable optimu from BIOS.
Thanks dude! love this site for years.
I haven’t tried bumblebee on any system, but I have one laptop where I have nVidia Optimus. So maybe I should try it when I have more time.
That works great! Thank you very much!
nvidia-installer: version 352.55 ([email protected])
Linux JN-VAIO 4.2.3-300.fc23.x86_64 #1 SMP Mon Oct 5 15:42:54 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
VGA compatible controller: NVIDIA Corporation GF119M [GeForce 410M] (rev a1)
Here is a fix for the incompatible xorg 1.18 and nvidia drivers:
dnf –releasever=22 downgrade xorg-x11-server-Xorg –allowerasing
This is downgrade xorg to 1.17 which will work.
Enjoy :)
Hi Jason,
This will work too. This guide uses original F23 beta packages. Your method works if F22 Xorg packages are not upgraded to 1.18 too. Hopefully we get nVidia drivers update soon.