If Not True Then False

Fedora 27/26/25 nVidia Drivers Install Guide - Comment Page: 53

This is guide, howto install nVidia proprietary drivers on Fedora 27/26/25/24/23/22/21 and disable Nouveau driver. This guide works with GeForce 6/7/8/9/200/300/400/500/600/700/800/900/10 series cards. GeForce 400/500/600/700/800/900/10 series cards works with 381.xx, 384.xx and 387.xx nVidia drivers GeForce 8/9/200/300 series cards works with 340.xx nVidia drivers GeForce 6/7 series cards works...
Categories:
Tagged with:

1412 Comments

Leave a Comment

Your email address will not be published. Required fields are marked *

Input your comment.
help

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Input your name.

Scott

I get to “Installing DKMS Kernel Module” 5% and fails to black screen every single time. Brand new fresh install of Fedora 26 workstation. NVIDIA GTX 970 FTW and AMD RYZEN 1800x. I’ve tried doing it on a fresh install right after a dnf update and reboot. I’ve tried several different versions (releases) of the driver.

This did work once for me a few weeks ago flawlessly on the same hardware. I ended up switching to an NVME drive and reinstalling and now this happens.

Anyone have any clues?

reply Reply
Carlo

Successfully installed.
nvidia-installer: version 387.12 (buildmeister@swio-display-x86-rhel47-04) Thu Sep 28 20:49:41 PDT 2017
Linux fril00050 4.13.9-200.fc26.x86_64 #1 SMP Mon Oct 23 13:52:45 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M1000M] (rev a2)

reply Reply
wkaster

Works great!
– HP Pro 6300 Microtower
– GeForce GT 710 2GB
– Fedora 26 x64
– Dual monitor configuration

nvidia-installer: version 384.98 (buildmeister@swio-display-x86-rhel47-02) Thu Oct 26 15:56:19

Linux localhost.localdomain 4.13.9-200.fc26.x86_64 #1 SMP Mon Oct 23 13:52:45 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

01:00.0 VGA compatible controller: NVIDIA Corporation GK208 [GeForce GT 710B] (rev a1)

reply Reply
nugai

Thank you very much for these detailed instructions. I successfully installed a 384.98 driver on a new Fedora 27 Beta system with NVS 510 card and 4 HD monitors attached.

After some initial struggles (installer aborted because I had forgotten to reboot after dnf update, resulting in “ERROR: Unable to find the kernel source tree for the currently running kernel”), the installation went smooth and the system now supports all 4 monitors using Gnome and Xfce desktops.

# nvidia-installer -v |grep version
nvidia-installer: version 384.98 (buildmeister@swio-display-x86-rhel47-02) Thu Oct 26 15:56:19 PDT 2017
# uname -a
Linux localhost.localdomain 4.13.11-300.fc27.x86_64 #1 SMP Thu Nov 2 18:20:29 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
# lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [NVS 510] (rev a1)

reply Reply
Guido

I had to avoid all *32 operations and the DKMS module compilation, otherwise it wouldn’t work. Version 398, over F26.

Best,

reply Reply
sad user

Sorry to report, but this guide no longer works with kernel 4.13+

Every step can be performed, but we are unable to boot back into graphical mode after the installation of the NVidia package.

reply Reply
JR

I have tested this with kernel 4.13+ on Fedora 27/26 and no problems at all!

So could you please tell what graphics card you have and what drivers you used?

Please post also output of following command:


lspci |grep -E "VGA|3D"
reply Reply
John Millner

nvidia-installer: version 384.98 (buildmeister@swio-display-x86-rhel47-02)

Linux johnp50 4.13.11-200.fc26.x86_64 #1 SMP Thu Nov 2 18:28:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M2000M] (rev a2)

Thanks for the great guide! this was accomplished with a Thinkpad p50 after forcing Discrete GPU only mode in BIOS

reply Reply
jose

Bullshit!, I have done all the steps and my xorg is not working, I don’t understand why you always put several packages, why didn’t you install the last version with stupid patches?

My laptop is an Assus K55V with Gforce 610M and now is broken, thank you for put me work!

reply Reply
JR

Hi jose,

Could you post output of following commands:


uname -a

lspci |grep -E "VGA|3D"
reply Reply
Chris

Super helpful, Thanks!

nvidia-installer: version 384.98 (buildmeister@swio-display-x86-rhel47-02)

Linux localhost.localdomain 4.13.11-200.fc26.x86_64 #1 SMP Thu Nov 2 18:28:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 950] (rev a1)

reply Reply
Adrien

nice tutorial ! worked fine until I did the dnf update for the system who just give me a black screen. re-installation doesn’ t work but is seems to be a regular bug…

reply Reply
Cabirto

Everything went fine till 2.7 : reboot to runlevel 3.
While booting I get such warnings : “dracut-initqueue timeout -starting timeout scripts”

Finally, it starts the “dracut emergency shell”. And suggests to regenerate my initramfs.

The error report says that “/dev/fedora/root does not exist” “/dev/fedora/swap does not exist” “/dev/mapper/fedora_host-004-root does not exist”

I tried to do “dracut –regenerate-all –force” but the dracut command is unknown.

Anyone has an idea ?

reply Reply
JR

Hi Cabirto,

Sounds like you have some typo on your GRUB_CMDLINE_LINUX line. You can try to restore your backed up initramfs-xxx-nouveua.img and boot with it.

reply Reply
wernich

worked like a charm. any kernel higher than 4.11.11 refused to boot and then after an update, i lost my laptop’s keyboard on 4.11.11, so my fedora install was pretty much useless to me. following these instructions worked perfectly… well, almost perfectly. i was running on 4.11.11 kernel with a keyboard plugged in and it installed the kernel headers for 4.13.12, so when i rebooted to command prompt running 4.11.11, the nvidia driver install failed, but that was an easy fix. now i’m running fedora 27, kernel 4.13.12 and even my keyboard is back. :) thanks for the help. *thumbs up*

here’s the output:

$ nvidia-installer -v | grep version
nvidia-installer: version 384.98 (buildmeister@swio-display-x86-rhel47-02)

$ uname -a
Linux xxxxxxxxx 4.13.12-300.fc27.x86_64 #1 SMP Wed Nov 8 16:38:01 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$ lspci | grep -E “VGA|3D”
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)

reply Reply
AlaaDAhmed

I followed your instructions and everything work like a charm, I installed Fedora 27 on MacBook Pro mid 2014 with Nvidia GT 750m. These are my output:
`nvidia-installer: version 384.98 (buildmeister@swio-display-x86-rhel47-02) Thu Oct 26 15:56:19 PDT 2017`

`Linux fedora.linuxawy.local 4.13.12-300.fc27.x86_64 #1 SMP Wed Nov 8 16:38:01 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux`

`01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 750M Mac Edition] (rev a1)`

Thank you man, really fantastic job.

reply Reply