If Not True Then False

Fedora 26/25/24 nVidia Drivers Install Guide - Comment Page: 4

This is guide, howto install nVidia proprietary drivers on Fedora 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 375.xx, 381.xx and 384.xx BETA nVidia drivers GeForce 8/9/200/300 series cards works with 340.xx nVidia drivers GeForce 6/7 series cards...
Categories:
Tagged with:

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

Alex Sunekants

You could replace part 2 of step 2.5 (Downgrading xorg-x11 for Fedora 23 users) with a simple command that will install the latest version available in Fedora 22 (1.17) from the official repository:

dnf –allowerasing –releasever=22 downgrade xorg-x11-server-Xorg

And afterwards proceed to the next part (Excluding xorg-x11 from updates as described here).

It would eliminate the need for downloading packages from a third-party source (if !1 0), and use the ones released by Fedora.

reply Reply
JR

Hi Alex,

This guide uses original Fedora 23 Beta packages released by Fedora. Feel free to verify all package signatures.

Like:


## Check what gpg keys you have installed ##
rpm -q gpg-pubkey --qf '%{name}-%{version}-%{release} --> %{summary}\n'
gpg-pubkey-34ec9cba-54e38751 --> gpg(Fedora (23) )
gpg-pubkey-7fac5991-4615767f --> gpg(Google, Inc. Linux Package Signing Key )
gpg-pubkey-98ab5139-4bf2d0b0 --> gpg(Oracle Corporation (VirtualBox archive signing key) )

## Download one or all packages ##
wget http://rpms.if-not-true-then-false.com/fedora23-old-xorg/xorg-x11-drv-evdev-2.9.2-2.fc23.x86_64.rpm

## Verify Signature of Package ##
rpm -K xorg-x11-drv-evdev-2.9.2-2.fc23.x86_64.rpm 
xorg-x11-drv-evdev-2.9.2-2.fc23.x86_64.rpm: rsa sha1 (md5) pgp md5 OK

Not so third-party source.

Your method works if F22 Xorg packages are not upgraded to 1.18 too. This might happen even before 1.18 stable is released and nVidia won’t support Xorg development versions.

You can also run step 2.5 command, like:


ARCH=$(uname -m)
URL="http://mirror.pnl.gov/fedora/linux/releases/test/23_Beta/Workstation/$ARCH/os/Packages/x/"
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

Or select any other Fedora mirror from https://admin.fedoraproject.org/mirrormanager/mirrors/Fedora/23/x86_64

This works until Fedora 23 Beta packages disappear from mirrors.

reply Reply
Alex Sunekants

The latest build of xorg-x11-server for fc22 is version 1.17.4-1 .
AFAIK – there’s not going to be a 1.18 update for fc22, at least I haven’t seen anything related to that.

reply Reply
Tomas

I can’t figure out how to get it working. I went through all the steps with ease but the result is that I can’t login to fedora, only via tty. No GUI loads only black screen with blinking cursor. Thanks for any advices on how to resolve this problem.

nvidia-installer: version 352.55 (buildmeister@swio-display-x64-rhel04-15) Thu Oct 8 15:52:45 PDT 2015
Linux Fedora 4.2.5-201.fc22.x86_64 #1 SMP Web Oct 28 20:00:23 UTC 2015 x86_64 GNU/Linux
00:02.0 VGA compatible controller: Intel Corporation 2nd Geeneration Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [GeForce GT 520M] (rev a1)

reply Reply
Milo

Hi and thanks for the guide JR. No problems. One question:

Is it possible to reenable SELINUX after installing and changing to graphical target?

F23 64, GPU GTX970, Driver 352.55, Kernel 4.2.5-300

reply Reply
JR

Hi Milo,

You are welcome! Nice to hear that you got it installed and working!

SELinux should work normally even during installation with 352.55 driver. Only problems what I have noticed was with 304.xx and 358.xx versions.

If you have problems with SELinux enabled, please let me know.

reply Reply
Beshoy Girgis

Sir, you are awesome.

nvidia-installer: version 358.09 (buildmeister@swio-display-x64-rhel04-04) Wed Oct 7 20:38:43 PDT 2015
Linux storm 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 GM204 [GeForce GTX 980] (rev a1)

reply Reply
Alejandro

It works perfect for me, thanks for the post!
nvidia-installer: version 352.55 (buildmeister@swio-display-x64-rhel04-15)
Linux XXXXXXXXXX 4.2.5-201.fc22.x86_64 #1 SMP Wed Oct 28 20:00:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 VGA compatible controller: NVIDIA Corporation GM107GL [Quadro K620] (rev a2)

reply Reply
Patrick

Hi and thank you JR.
It works for me to, and however I’m a beginner

nvidia-installer: version 340.93 (buildmeister@swio-display-x86-rhel47-03)
Linux linux.home 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 G84 [GeForce 8600 GS] (rev a1)

reply Reply
JR

Hi Patrick,

You are welcome! Excellent to hear that you got it working.

reply Reply
Poulet

Works well on Korora 22 with 750Ti and nVidia 352.XX drivers.
Thanks !

reply Reply
Stas

How easy! Just for housewives! Long live Windows & Billy Gates with his lovely CIA & FBI!

reply Reply
Richard malloy

Quick question, on my system running Fedora 23 there is no grub.cfg in the /boot/efi/EFI/fedora directory.

(this a brand new system with ASUS SABERTOOTH 990FX R2.0 AM3 AMD Motherboard with UEFI BIOS)
What is the impact of issuing the “grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg” as you instruct?

reply Reply
JR

Hi Richard,

Could you post output of following commands:


dmesg |grep "EFI"

ls -la /sys/firmware/efi/

efibootmgr

df -h |grep /boot

ls -la /boot/efi/EFI/fedora/

ls -la /boot/efi/EFI/

ls -la /etc/grub2*

ls -la /boot/grub2/

Sorry, a lot of commands, but this is good start to check that your system is really booted with efi. Yes your Sabertooth mobo have of course UEFI, but it supports Legacy BIOS too.

grub2-mkconfig actually just generates new grub.cfg file, you could run:


grub2-mkconfig |less

## OR ##

grub2-mkconfig -o /tmp/grub.cfg
less /tmp/grub.cfg

## OR ##

grub2-mkconfig > /tmp/grub.cfg
less /tmp/grub.cfg

And you see what it does. With -o parameter it just write it to file.

reply Reply
kaddy

If you disable selinux in /etc/sysconfig/selinux your system will not boot you knob jockey.

reply Reply
JR

Hi kaddy,

It’s official way to disable selinux on Fedora. So sounds like a bug.

So could you tell little bit more about your Fedora version, what you see when you boot, could you boot to runlevel 3?

I don’t have problems to disable or enable SELinux on my own Fedora installations.

reply Reply
kaddy

I’m not sure why you are even recommending the disable of selinux… can you explain why? It “shouldn’t” be required for an nvidia installation.

If there is a relevant reason behind this move that I am not aware of… perhaps you should edit the page and tell readers to disable selinux from the grub screen (as recommended from your link) instead of disabling it entirely… on my end it freezes at boot and there is no way to re enable it without chrooting from another installation to re edit the config file.

I don’t have the Fedora installation anymore… but this isn’t the first time this issue has been reported over the years…

reply Reply
Sidethorn

Any news on how to restore plymouth? or if you can help console is at a very low resolution any hint?

reply Reply
Sidethorn

I just followed your steps to restore plymouth and it worked perfectly. Thanks again!

reply Reply
Roman

Hello, JR
I get stuck in the nvidia installation it can’t load the nvidia module I tried by hand modprobe nvidia and returns: could not insert ‘nvidia’: Required key not available, I turned off secure boot on bios, I have Fedora 22 in a Lenovo Y50.

Thanks in advance.

reply Reply
Robert Tucker

Great! Still rather be using akmod though.

nvidia-installer: version 352.55 (buildmeister@swio-display-x64-rhel04-15)
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 GM204 [GeForce GTX 970] (rev a1)

reply Reply
Tom Houghton

Thanks a lot for this page. Very helpful. The new nvidia driver works with Xorg 1.18, so I followed all your instructions without downgrading Xorg and it all worked thanks very much.
Nvidia installer version 352.63, Linux Fedora23 4.2.5-300.fc23.x86_64, VGA compatible controller: NVIDIA Corporation GF110 [GeForce GTX 570] (rev a1)
I hope that’s useful all the best Tom

reply Reply
JR

Thanks Tom,

Just updated this guide. Actually downgrade is still needed if you want to install 355.11 or 358.09 BETA drivers on Fedora 23, but it’s maybe better use Xorg 1.18 and wait new betas and maybe 355.xx release too, if it’s coming.

reply Reply
Stepanek

It works perfect.
nvidia-installer: version 352.55 (buildmeister@swio-display-x64-rhel04-15)
Linux XXXXX 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 GM107 [GeForce GTX 750] (rev a2)

reply Reply