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: 3
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 have followed the instructions am using the Nvidia 460.93 driver with Fedora 23 and it doesn’t fix the issue.
I am thinking it is stage where we paste the following that might not work, maybe I have done that wrong as everything else worked fine…..
URL=”http://rpms.if-not-true-then-false.com/fedora23-old-xorg/”
ARCH=$(uname -m)
PACKAGES=( \
‘xorg-x11-drv-ati-7.6.0-0.1.20150709git95f5d09.fc23’ \
‘xorg-x11-drv-evdev-2.9.2-2.fc23’ \
‘xorg-x11-drv-fbdev-0.4.3-22.fc23’ \
‘xorg-x11-drv-intel-2.99.917-15.20150729.fc23’ \
‘xorg-x11-drv-libinput-0.14.0-1.fc23’ \
‘xorg-x11-drv-openchrome-0.3.3-16.fc23’ \
‘xorg-x11-drv-nouveau-1.0.11-4.fc23’ \
‘xorg-x11-drv-qxl-0.1.4-3.fc23’ \
‘xorg-x11-drv-synaptics-1.8.2-3.fc23’ \
‘xorg-x11-drv-vesa-2.3.2-22.fc23’ \
‘xorg-x11-drv-vmmouse-13.1.0-1.fc23’ \
‘xorg-x11-drv-vmware-13.0.2-9.20150211git8f0cf7c.fc23’ \
‘xorg-x11-drv-wacom-0.30.0-2.fc23’ \
‘xorg-x11-server-Xorg-1.17.2-2.fc23’ \
‘xorg-x11-server-Xwayland-1.17.2-2.fc23’ \
‘xorg-x11-server-common-1.17.2-2.fc23’ \
)
printf “$URL%s.$ARCH.rpm ” “${PACKAGES[@]}” |xargs dnf install -y
Hi John,
Do you get some error message when you run this command?
I tested this command and it’s working for me and some others here.
Could you also post output of following command:
Do I paste the above command in one or line by line?
Line by line. It’s of course possible to convert oneliner too.
So just select all rows, copy and go to terminal and paste.
OK I will do it all again and do it line by line.
OK done that now and still stuck Gnome Desktop Started.
$ uname -a
Linux brines-acer 4.2.5-300.fc23.x86_64 #1 SMP Tue Oct 27 04:29:56 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Thanks John,
Could you also post output of following command:
And your /var/log/Xorg.0.log after boot or alternatively output of following command:
You can use example http://pastebin.com for log files.
Details below
01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [ION] (rev a2)
Pastebin – http://pastebin.com/inLkpNtN
Everything looks good. No errors, your card is detected and nVidia 460.93 drivers should support your card.
So you don’t see GDM (login screen) at all?
Could you also post output of following command:
# lsmod |grep -e nvidia -e nouv
nvidia 10559488 0
drm 335872 2 nvidia
Get to a black screen where it says started Gnome Desktop and it flashed away to a black screen and then back to the screen with text.
This looks interesting nvidia driver is loaded ok.
Michael just posted about nomodeset argument. You could also try if it helps, do following:
1. Press ‘e’ on grub when right kernel is selected
2. Find row like:
Change it to:
3. Press Ctrl + x
If this doesn’t help could you also post output of following command:
And your /etc/X11/xorg.conf file content to pastebin.
Still not working but a different screen. How do I upload pictures?
[[email protected] ~] # systemctl status gdm.service
● gdm.service – GNOME Display Manager
Loaded: loaded (/usr/lib/systemd/system/gdm.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2015-11-08 16:08:50 GMT; 19min ago
Main PID: 1005 (gdm)
CGroup: /system.slice/gdm.service
└─1005 /usr/sbin/gdm
Nov 08 16:27:37 brines-acer gdm[1005]: Unable to kill session worker process
Nov 08 16:27:47 brines-acer gdm[1005]: Child process -6697 was already dead.
Nov 08 16:27:47 brines-acer gdm[1005]: Child process 6681 was already dead.
Nov 08 16:27:47 brines-acer gdm[1005]: Unable to kill session worker process
Nov 08 16:27:56 brines-acer gdm[1005]: Child process -6752 was already dead.
Nov 08 16:27:56 brines-acer gdm[1005]: Child process 6729 was already dead.
Nov 08 16:27:56 brines-acer gdm[1005]: Unable to kill session worker process
Nov 08 16:28:04 brines-acer gdm[1005]: Child process -6848 was already dead.
Nov 08 16:28:04 brines-acer gdm[1005]: Child process 6781 was already dead.
Nov 08 16:28:04 brines-acer gdm[1005]: Unable to kill session worker process
Nov 08 16:28:15 brines-acer gdm[1005]: Child process -6900 was already dead.
Nov 08 16:28:15 brines-acer gdm[1005]: Child process 6877 was already dead.
Nov 08 16:28:15 brines-acer gdm[1005]: Unable to kill session worker process
Pastebin – http://pastebin.com/t2xQ0pVz
Image – http://pasteboard.co/1ZfRZduJ.jpg
The next question is, do you use uefi with secure boot enabled?
Could you also post your /etc/X11/xorg.conf?
I don’t use uefi with secure boot enabled as I don’t have that in my computer
xorg.conf – http://pastebin.com/eqrBVCgJ
I don’t think it is an issue with the NVidia driver I think it is a Gnome issue see below.
Nov 09 18:23:30 brines-acer audit[8555]: ANOM_ABEND auid=4294967295 uid=42 gid=42 ses=4294967295 pid=8555 comm=”gnome-shell” exe=”/usr/
Nov 09 18:23:30 brines-acer abrt-hook-ccpp[8566]: Not saving repeating crash in ‘/usr/bin/gnome-shell’
Nov 09 18:23:30 brines-acer gnome-session-binary[8546]: WARNING: Application ‘gnome-shell-wayland.desktop’ killed by signal 11
Nov 09 18:23:30 brines-acer gnome-session-binary[8546]: Unrecoverable failure in required component gnome-shell-wayland.desktop
Nov 09 18:23:30 brines-acer gnome-session[8546]: gnome-session-binary[8546]: WARNING: Application ‘gnome-shell-wayland.desktop’ killed
Nov 09 18:23:30 brines-acer /usr/libexec/gdm-wayland-session[8543]: Activating service name=’ca.desrt.dconf’
Nov 09 18:23:30 brines-acer gdm-launch-environment][8526]: pam_unix(gdm-launch-environment:session): session closed for user gdm
Nov 09 18:23:30 brines-acer audit[8526]: USER_END pid=8526 uid=0 auid=4294967295 ses=4294967295 msg=’op=PAM:session_close grantors=pam_
Well a step further
logged in, then su –
Ran init 3
Then exit back to my user and ran Start X
Got it from https://bugzilla.redhat.com/show_bug.cgi?id=1276833
Something is crashing the GDM
John,
Try following to verify if it’s just GDM problem:
1. Press ‘e’ on grub when right kernel is selected
2. Find row like:
Change it to:
Add number 3 to boot runlevel 3.
3. Press Ctrl + x
4. Run following commands:
5. If you see lxdm, then change Default to Gnome on bottom left and login.
Is it working then?
Yes I am now working with lxdm but loaded cinnamon as that is the desktop I use.
Excellent. So do you get Cinnamon working with nVidia drivers normally?
You can also try/use kdm, lightdm, ldm, wdm or xdm instead lxdm and gdm.
I had serious troubles after a clean install of Fedora 23. The system was freezing constantly and/or suffered from screen distortions (numerous black squares). I tried to reinstall a few times but with the same result. Thats why I tried to install the NVIDIA driver according to your post. It seemed to work at first but after logging in, the screen stayed blank (grey). After a number of times pressing the Enter-key (showed a list of Copy/Paste/Show Text or Hide Text) and the ESC-key the system started. So .. its not a complete success although for the time being I dont suffer from system freezings anymore …
The info you requested:
1. nvidia-installer: version 358.09 ([email protected])
2. Linux carbide 4.2.5-300.fc23.x86_64 #1 SMP Tue Oct 27 04:29:56 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
3. 01:00.0 VGA compatible controller: NVIDIA Corporation GK106 [GeForce GTX 660] (rev a1)
I will try the certified driver later. If it is a success I let you know.
I just followed these directions with a clean F23 installation, NVIDIA drivers 352.55, and a GK104 [GeForce GTX 760] GPU.
The instructions worked as written with one important caveat—my system failed to boot following step 2.8 unless I added “nomodeset” to the list of GRUB_CMDLINE_LINUX arguments. (Without nomodeset, the machine would hang with a blinking cursor forever.)
Hi Michael,
You are totally right. Some devices (card / display combos) still need nomodeset argument.
More info about nomodeset and modesetting.
Hi,
I followed the procedure and it worked like a charm, except after successful install, every screen is way out of proportion, like in a tablet, my screen resolution is 2880×1620 but the buttons, titlebar, icons etc are way too big. only the content inside the firefox browser is in proportion. Please advice.
mohan
Hi mohan,
Could you post output of following command (as normal user):
Sorry,
I should have mentioned earlier, that i run fedora 23 KDE spin and also my research shows that this issue is due to wrong DPI value assumed by system, current DPI is 215×2145. If this can be made to 144×144 then the issue can be solved.
Below is my xorg.conf
Section “Monitor”
Identifier “Monitor0”
VendorName “Unknown”
ModelName “Unknown”
DisplaySize 340 190
HorizSync 28.0 – 33.0
VertRefresh 43.0 – 72.0
Option “DPMS”
Option “UseEdidDpi” “false”
EndSection
Section “Device”
Identifier “Device0”
Driver “nvidia”
VendorName “NVIDIA Corporation”
EndSection
Section “Screen”
Identifier “Screen0”
Device “Device0”
Monitor “Monitor0”
DefaultDepth 24
Option “DPI” “144 x 144”
SubSection “Display”
Depth 24
EndSubSection
EndSection
Hi mohan,
I just checked https://community.kde.org/KDE/High-dpi_issues and your xorg.conf looks good. So did you get it working as you wanted?
nvidia-installer: version 340.93 ([email protected])
Linux localhost.localdomain 4.2.5-300.fc23.x86_64 #1 SMP Tue Oct 27 04:29:56 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GT216GLM [Quadro FX 880M] (rev a2)
I just tried to follow these steps from a fresh installation and encountered the following error on step 2.6.4:
dnf –disableexcludes=all remove xorg-x11-drv-nouveau
Config error: ‘utf-8’ codec can’t decode byte 0x80 in position 90: invalid start byte
Any idea how to fix this?
Hi E,
Some reason you got some copy paste error.
Try this again:
If you still get same error, then type this command to command line.
Hi,
I have followed exactly the instructions with clean installation Fedora 23 and my Nvidia GeForce 820m. Everything was looking good, until last restart. Fedora came with “Oh no! Something has gone wrong, log out screen.
I can’t switch eather to terminal mode. Did I something wrong?
Hi Milan,
You should be able to switch another tty using Ctrl+Alt+F2?
Could you post output of following command:
00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e)
01:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)
I think it is because of that Intel GMA. I can’t switch graphics in bios.
Hi Milan,
This is nVidia Optimus card, and when you can’t switch graphics in bios, you can’t use nVidia drivers directly, please check:
http://bumblebee-project.org/
and
https://fedoraproject.org/wiki/Bumblebee
for more information, howto install Bumblebee.
Hi,
First off, thx a lot for this excellent guide. It is very well constructed.
Installing Fedora23 has been a world of pain so far, but this nvidia driver installation went smoothly. Here’s the feedback you requested:
1. nvidia-installer: version 352.55 ([email protected])
2. Linux localhost.localdomain 4.2.5-300.fc23.i686 #1 SMP Tue Oct 27 05:11:49 UTC 2015 i686 i686 i386 GNU/Linux
3. 01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [Geforce GTX 970] (rev a1)
I just upgraded F22 to F23 and X wouldn’t start since I have NVIDIA driver in F22.
Followed instructions here to downgrade the Xorg packages and everything is working for me. I noticed my grub file had “rdblacklist=nouveau nouveau.modeset=0”, slightly different from instructions on this page. Don’t remember where I got that.
Everything went fine, only issue can’t blacklist xorg updates
Hi Sidethorn,
Could you post output of command:
Last week Fedora 22 upgraded x11 to the same version of f23 and breaks the nvidia driver; the solution for me was booting in text mode; then execute :
dnf downgrade xorg-x11-server-common xorg-x11-server-Xwayland xorg-x11-server-Xorg xorg-x11-drv-libinput
and reinstall nvidia driver according the guide, blacklisting x11 from dnf to avoid future upgrades.
Hi ALEJANDRO,
Fedora 22 still have xorg 1.17.4 on updates repo.
I just run dnf update and here is example output from my Fedora 22:
I did everything and all was going fine till step “2.9.6”, when, after 89% installation, a message came saying “Error: Unable to load the kernel module.”
The Nvidia library is 352.55
And i forgot to mention, i am on Fedora 23
Hi Arsi,
Could your post your /var/log/nvidia-installer.log example to http://pastebin.com
And output of following commands:
Output logfile: http://pastebin.com/LqgBMahj
uname output is:
Linux localhost.localdomain 4.2.5-300″.fc23.x86_64 #1 SMP Tue Oct 27 04:29:56 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
rpm kernel output is:
kernel-4.2.3-300.fc23.x86_64
kernel-4.2.5-300.fc23.x86_64
kernel-core-4.2.3-300.fc23.x86_64
kernel-core-4.2.5-300.fc23.x86_64
kernel-devel-4.2.5-300.fc23.x86_64
kernel-headers-4.2.5-300.fc23.x86_64
kernel-modules-4.2.3-300.fc23.x86_64
kernel-modules-4.2.5-300.fc23.x86_64
Okay so i have completed installation.
The issue was that my Fedora 23 booted in UEFI Secure Boot. I researched and found that sometimes this causes an issue, therefore i turned secure boot off.
New question: How do you Nvidia Resolution? My whole desktop is enlarged!
Good to hear that you got it installed, you could check this, if you want keep secure boot enabled and install nVidia drivers.
What is your desktop normal resolution?
If you use Gnome, could you post output of following command (as normal user):
How do you manually sign a driver?
This is from Kowach comment:
Manually sign the drivers and before restart import keys:
Enter the temporary password, then reboot. You bios will popup new menu, select to sign activate key, enter temporary password. And done :)
1. So, this one statement will automatically sign the driver AND import the key?
2. My monitor resolution is 1024×768, but after installation, both “System Settings” and “Nvidia X server settings” only showed 640×480 as option. after research, i found out to delete “xorg.conf” file from “etc/X11” folder. After reboot detection, the screen now boots at 1024×768. However, i checked the etc/X11 folder thinking that maybe the xorg.conf file would be regenerated, however it did not, and there was no such file in X11 folder. Is this a potential future issue? Would like to resolve it now than later :P
In future, i may wish to increase resolution and use CUDA cores via programming, so i hope all this is not an issue.
1. Check ftp://download.nvidia.com/XFree86/Linux-x86_64/352.55/README/README.txt and 4E. SIGNING THE NVIDIA KERNEL MODULE for more information. I don’t currently have secure boot enabled on my systems.
2. Ok, do you still have nvidia module loaded, after xorg.conf delete?
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=true
exclude=xorg-x11*
sorry forgot to say that only yumex shows xorg updates but dnf doesn’t
and another issue I found is that gnome-shell takes a while to load and sometimes it restarts
anyway everything works quite well thank you
nvidia-installer: version 340.93 ([email protected]) Wed Aug 19
Linux toshino 4.2.5-300.fc23.x86_64 #1 SMP Tue Oct 27 04:29:56 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GT216M [GeForce GT 230M] (rev a2)
Hello Sidethorn,
I haven’t used yumex, but I think that it won’t read /etc/dnf/dnf.conf at all. If dnf works normally, then it’s yumex problem.
Do you use yumex-dnf?
Muy buen tutorial me sirvio. va de lujo
Muchas Gracias. un abrazo,
Good work. thanks many thanks
Sorry for my english
i need to known why when i try to open “wayland on gnome” this dont work
… back to the login
Same problem with yumex-dnf
Try:
Should be fixed on dnfdaemon v 0.3.10.
Still no luck even with dnf-yumex