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: 69
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...
Works just fine until a kernel gets upgraded. After that when I reboot X won’t load and I have to reinstall the driver to get X back running after every kernel upgrade.
$ dkms status
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/nvidia/390.42/source/dkms.conf does not exist.
$ ls -1 /var/lib/dkms/nvidia/
390.42
390.59
kernel-4.15.10-300.fc27.x86_64-x86_64
kernel-4.16.7-200.fc27.x86_64-x86_64
Hi,
If you upgrade kernel from 4.15 to 4.16 you really might have issues. I recommend you to install latest nVidia 390.67 driver and then register dkms again. Btw. you might have some other problem with dkms, because you get error, when you run
dkms status
.I followed your instructions step by step and ended up with blank screen after installing the nvdia package and rebooting back to level 5.
Hi Dody,
Could you first post output of following commands:
It worked. thank you!
[…~]# nvidia-installer -v | grep version
nvidia-installer: version 340.107 ([email protected]ay-x64-rhel04-13) Thu May 24 22:30:05 PDT 2018
[…~]# uname -a
Linux by… 4.16.15-200.fc27.x86_64 #1 SMP Tue Jun 12 00:41:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[…~]# lspci| grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation G84GL [Quadro FX 1700] (rev a1)
The procedure is failing on fedora 28 fresh install. After the last step in this guide the system can not display GDM anymore. It looks it is trying to restart continuously the GDM, but fails all the time.Now after a while my idea is that it is important to switch to Xorg before performing all the steps described here. I didn’t have time to test yet this idea. If someone has better hypothesis.. let me know.
didn’t work …
Hi Rubyo,
Could you post output of following commands:
nvidia-installer: version 390.67 ([email protected]) Fri Jun 1 04:26:34 PDT 2018
Linux fedora 4.16.15-300.fc28.x86_64 #1 SMP Tue Jun 12 00:42:35 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GTX 660M] (rev a1)
Thank you for this helpful install guide.
nvidia-installer: version 340.107 ([email protected])
Linux rkws 4.16.16-300.fc28.x86_64 #1 SMP Sun Jun 17 03:02:42 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)
Thanks for this valuable guide. Like many i used succesfully RPM fusion on F27 but it stopped working the day after F28 was setup (kernel updated from 4.16.3 to 4.16.15)
—
nvidia-installer: version 396.24 ([email protected]) Thu Apr 26 01:14:04 PDT
Linux pc1.home 4.16.16-300.fc28.x86_64 #1 SMP Sun Jun 17 03:02:42 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)
—
Reboot at step 2.4 is likely to be useless unless the kernel is updated.
Hi B4s1l3,
Yes, reboot is useless, but it’s possible, that you have updated kernel earlier, but not running latest kernel.
You can of course check it with following commands:
nvidia-installer: version 390.67 ([email protected]) Fri Jun 1 04:26:34 PDT 2018
Linux w520.kivon.eu 4.17.2-200.fc28.x86_64 #1 SMP Mon Jun 18 20:09:31 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GF106GLM [Quadro 2000M] (rev a1)
Just werks for me. Many thanks!
Great job !
All seems to work fine for me, but… dmesg gives me a WARNING.
My system: Fedora 28, 4.17.2-200.fc28.x86_64
My Card: VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
The WARNING in dmesg:
[ 22.725871] ————[ cut here ]————
[ 22.725874] Bad or missing usercopy whitelist? Kernel memory exposure attempt detected from SLUB object ‘nvidia_stack_cache’ (offset 11440, size 3)!
[ 22.725882] WARNING: CPU: 11 PID: 1542 at mm/usercopy.c:81 usercopy_warn+0x7d/0xa0
[ 22.725883] Modules linked in: ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c iptable_mangle iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables sunrpc vfat fat nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) snd_hda_codec_hdmi arc4 edac_mce_amd rtl8192ce kvm_amd rtl_pci rtl8192c_common rtlwifi kvm mac80211 snd_hda_codec_realtek snd_hda_codec_generic irqbypass snd_hda_intel snd_hda_codec snd_hda_core cfg80211 snd_hwdep snd_seq eeepc_wmi drm_kms_helper asus_wmi snd_seq_device joydev sparse_keymap snd_pcm video wmi_bmof
[ 22.725907] drm snd_timer k10temp sp5100_tco rfkill i2c_piix4 snd ipmi_devintf ipmi_msghandler soundcore gpio_amdpt gpio_generic shpchp pinctrl_amd acpi_cpufreq dm_crypt hid_logitech_hidpp mxm_wmi igb crct10dif_pclmul crc32_pclmul crc32c_intel nvme uas dca ghash_clmulni_intel ccp i2c_algo_bit usb_storage nvme_core hid_logitech_dj wmi
[ 22.725921] CPU: 11 PID: 1542 Comm: Xorg Tainted: P OE 4.17.2-200.fc28.x86_64 #1
[ 22.725921] Hardware name: System manufacturer System Product Name/PRIME X470-PRO, BIOS 4011 04/19/2018
[ 22.725923] RIP: 0010:usercopy_warn+0x7d/0xa0
[ 22.725924] RSP: 0018:ffffbdb902747b60 EFLAGS: 00010286
[ 22.725925] RAX: 0000000000000000 RBX: ffff97e8c8932cb0 RCX: 0000000000000006
[ 22.725925] RDX: 0000000000000007 RSI: 0000000000000086 RDI: ffff97e8deed6930
[ 22.725926] RBP: 0000000000000003 R08: 0000000000000098 R09: 000000000000046a
[ 22.725926] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001
[ 22.725927] R13: ffff97e8c8932cb3 R14: 0000000000000000 R15: ffff97e8c8932cf8
[ 22.725928] FS: 00007fddeec30ac0(0000) GS:ffff97e8deec0000(0000) knlGS:0000000000000000
[ 22.725929] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 22.725929] CR2: 00007fdde5f95c20 CR3: 00000003ecf44000 CR4: 00000000003406e0
[ 22.725930] Call Trace:
[ 22.725933] __check_object_size+0x145/0x171
[ 22.726058] os_memcpy_to_user+0x21/0x40 [nvidia]
[ 22.726192] _nv009384rm+0xbf/0xe0 [nvidia]
[ 22.726335] ? _nv028088rm+0x79/0x90 [nvidia]
[ 22.726477] ? _nv028088rm+0x55/0x90 [nvidia]
[ 22.726614] ? _nv013695rm+0xee/0x100 [nvidia]
[ 22.726752] ? _nv015343rm+0x154/0x270 [nvidia]
[ 22.726887] ? _nv008317rm+0x134/0x1a0 [nvidia]
[ 22.727018] ? _nv008296rm+0x29c/0x2b0 [nvidia]
[ 22.727149] ? _nv001072rm+0xe/0x20 [nvidia]
[ 22.727282] ? _nv007324rm+0xd8/0x100 [nvidia]
[ 22.727399] ? _nv001171rm+0x627/0x830 [nvidia]
[ 22.727515] ? rm_ioctl+0x73/0x100 [nvidia]
[ 22.727632] ? nvidia_ioctl+0x40/0x710 [nvidia]
[ 22.727748] ? nvidia_ioctl+0x55a/0x710 [nvidia]
[ 22.727751] ? selinux_file_ioctl+0x161/0x200
[ 22.727867] ? nvidia_frontend_unlocked_ioctl+0x3a/0x50 [nvidia]
[ 22.727868] ? do_vfs_ioctl+0xa4/0x610
[ 22.727870] ? dput.part.33+0x87/0x100
[ 22.727871] ? ksys_ioctl+0x60/0x90
[ 22.727872] ? __x64_sys_ioctl+0x16/0x20
[ 22.727874] ? do_syscall_64+0x5b/0x160
[ 22.727876] ? entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 22.727877] Code: ea 0d b8 41 51 4d 89 d8 48 c7 c0 db be 0c b8 49 89 f1 48 89 f9 48 0f 45 c2 48 c7 c7 30 eb 0d b8 4c 89 d2 48 89 c6 e8 dd 5e e1 ff 0b 48 83 c4 18 c3 48 c7 c6 1a 63 0f b8 49 89 f1 49 89 f3 eb
[ 22.727895] —[ end trace 52ce93b7b3f30057 ]—
Works like a charm. Thanks a lot!
$ nvidia-installer -v | grep version
nvidia-installer: version 390.67 ([email protected]) Fri Jun 1
$ lspci | grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GF106GLM [Quadro 2000M] (rev a1)
$ uname -a
Linux instbook 4.17.2-200.fc28.x86_64 #1 SMP Mon Jun 18 20:09:31 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Thanks a lot !
nvidia-installer: version 390.67 ([email protected])
Linux localhost.localdomain 4.17.3-200.fc28.x86_64 #1 SMP Tue Jun 26 14:17:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 35)
01:00.0 3D controller: NVIDIA Corporation GK208BM [GeForce 920M] (rev a1)
# nvidia-installer -v |grep version
nvidia-installer: version 396.24 ([email protected]) Thu Apr 26 01:14:04 PDT 2018
# uname -a
Linux localhost.localdomain 4.17.3-200.fc28.x86_64 #1 SMP Tue Jun 26 14:17:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
# lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 750M] (rev a1)
Many thanks!
Noob question here, what am I supposed to change in;
GRUB_CMDLINE_LINUX=”rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root rhgb quiet rd.driver.blacklist=nouveau”
I tried to copy all commands to the letter and just got black screen?
Hi derp,
Could you please post output of following command: