If Not True Then False

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

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 384.xx, 387.xx and 390.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:

1574 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.

Abdulaziz

succeed .. thank you

[root@localhost ~]# nvidia-installer -v |grep version
nvidia-installer: version 390.25 (buildmeister@swio-display-x86-rhel47-03)
[root@localhost ~]# uname -r
4.14.16-300.fc27.x86_64
[root@localhost ~]# lspci |grep -E “VGA|3D”
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
01:00.0 3D controller: NVIDIA Corporation GM107GLM [Quadro M1200 Mobile] (rev a2)

reply Reply
Artem Y.

Abdulaziz, did you have any problems after installation? My screen just blinking with underscore and nothing hapens

reply Reply
Artem Y.

lspci |grep -E “VGA”

00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1)

uname -r
4.14.16-300.fc27.x86_64

reply Reply
Ikeuchi

Hi, can you post the guide of installing Nvidia driver on Scientific Linux 7.4 please. Thank you!

reply Reply
JR

Hi Ikeuchi,

This same guide should work with Scientific Linux 7.4, use Fedora 21 commands. Method is exactly same and I have tested this guide with CentOS 7. Please let me know if it work or you have any problems.

reply Reply
Jens

What’s the advantage of this methods instead of adding rpmfusion and calling ‘sudo dnf install xorg-x11-drv-nvidia akmod-nvidia’? Thanks!

reply Reply
JR

Hi Jens,

Advantage is that you can install any driver versions. From older to newest, when nVidia releases new versions. Main reason why I wrote (and keep up-to-date) this guide is that, I had problems with RPMFusion packages. And yes, it’s much cleaner way to do it, but actually this method is very simple when you setup it once, then you can handle kernel updates with dkms, just like akmod and update drivers with just running installer on runlevel 3.

reply Reply
Tony

Thank you for such a top-notch guide.

[tony@localhost ~]$ nvidia-installer -v |grep version && uname -a && lspci |grep -E "VGA|3D"
nvidia-installer: version 390.25 (buildmeister@swio-display-x86-rhel47-03) Wed Jan 24 20:46:20 PST 2018
Linux localhost.localdomain 4.14.18-300.fc27.x86_64 #1 SMP Thu Feb 8 01:35:31 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 980] (rev a1)

reply Reply
Vladimir

[root@localhost tmp]# patch NVIDIA-Linux-x86-340.106/kernel/nv-linux.h < nvidia_mtrr_k4_3.patch
patching file NVIDIA-Linux-x86-340.106/kernel/nv-linux.h
Hunk #1 FAILED at 256.
1 out of 1 hunk FAILED — saving rejects to file NVIDIA-Linux-x86-340.106/kernel/nv-linux.h.rej

I am using 4.14 kernel and F27.
Is there exist patch for the 4.14 kernel and x86-340.106 driver?
Many thanks.

reply Reply
Vladimir

Thank you,

there are drivers for Linux-x86-64 system only. But I need driver for Linux 32-bit operating system.

[root@localhost ~]# uname -a && lspci |grep -E “VGA|3D”
Linux localhost.localdomain 4.14.18-300.fc27.i686 #1 SMP Thu Feb 8 02:20:52 UTC 2018 i686 i686 i386 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GT200 [GeForce GTX 260] (rev a1)

reply Reply
JR

Sorry, you are totally right. I don’t have any 32-bit system anymore, so can’t test 32-bit versions, but I tried to patch this for you. Try this:


wget https://rpms.if-not-true-then-false.com/nvidia/NVIDIA-Linux-x86-340.106-patched.run

Please let me know is it working?

reply Reply
Eduardo

Fedora 27 LXQT on Vostro 1500 Nvidia 8400M GS.

I missed the part where it say to download the 340.106 patched driver and faced installation problems with the 340.106 driver from NVIDIA webpage. Repeated the driver installation with the correct 340.106 patched driver and everything went smooth (and I’m new to Linux and to Fedora).

[eduardo@localhost ~]$ nvidia-installer -v |grep version
nvidia-installer: version 340.106 (buildmeister@swio-display-x64-rhel04-19)
[eduardo@localhost ~]$ uname -a
Linux localhost.localdomain 4.14.18-300.fc27.x86_64 #1 SMP Thu Feb 8 01:35:31 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[eduardo@localhost ~]$ lspci |grep -E “VGA|3D”
01:00.0 VGA compatible controller: NVIDIA Corporation G86M [GeForce 8400M GS] (rev a1)

Muchas gracias!

Eduardo

reply Reply
Tom Duhamel

nvidia-installer: version 390.25 (buildmeister@swio-display-x86-rhel47-03) Wed Jan 24 20:46:20 PST 2018

4.15.3-300.fc27.x86_64

Total success! Not an error or anything, went really smooth. It had been a few years since I last had to do this (I don’t update often enough).

I’m running KDE though, and I don’t know how to get these screenshots like you do in Gnome. I’d appreciate if I could have any mean of seeing a hint to prove I’m currently working on the proprietary driver (though I know I am, I’ve removed nouveau at some point).

Now let’s install CUDA… Let’s see how it goes….

reply Reply
Charlie McVeigh

JR, before upgrading to Fedora kernel 4.15 we will need the patched version Nvidia 340.106 driver, right?

In the past I have been able to find the patch to apply to the un-patched driver but I don’t see it on the Nvida developer site. Any thoughts or ideas?

Charlie

reply Reply