How to install nvidia drivers GeForce 1060 6GB kernel 5.10 Fedora 33 KDE

I have a new install of Fedora 33 KDE.
I have a GeForce 1060 6GB, and Intel i5-7400, How Do I install graphics drivers for my Nvidia card without breaking stuff?

My inxi:

inxi -Fxxx                                                                                                                                            ─╯
System:    Host: fedora Kernel: 5.10.15-200.fc33.x86_64 x86_64 bits: 64 compiler: gcc v: 2.35-18.fc33) 
           Desktop: KDE Plasma 5.20.5 tk: Qt 5.15.2 wm: kwin_x11 dm: SDDM Distro: Fedora release 33 (Thirty Three) 
Machine:   Type: Desktop Mobo: ASRock model: H110M-DVS R3.0 serial: <superuser/root required> 
           UEFI [Legacy]: American Megatrends v: P1.20 date: 04/17/2017 
CPU:       Info: Quad Core model: Intel Core i5-7400 bits: 64 type: MCP arch: Kaby Lake rev: 9 L2 cache: 6144 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 24000 
           Speed: 3321 MHz min/max: 800/3500 MHz Core speeds (MHz): 1: 3362 2: 3334 3: 3353 4: 3373 
Use of uninitialized value $working[3] in substitution (s///) at /usr/bin/inxi line 21143.
Graphics:  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] driver: nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:1c03 
           Display: x11 server: Fedora Project X.org 1.20.10 compositor: kwin_x11 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1: 1920x1080~75Hz 2: 1920x1080~60Hz s-dpi: 96 
           OpenGL: renderer: NV136 v: 4.3 Mesa 20.3.4 direct render: Yes 
Audio:     Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASRock driver: snd_hda_intel v: kernel 
           bus ID: 00:1f.3 chip ID: 8086:a170 
           Device-2: NVIDIA GP106 High Definition Audio driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:10f1 
           Device-3: Corsair Corsair VOID PRO Surround USB Adapter type: USB driver: hid-generic,snd-usb-audio,usbhid 
           bus ID: 1-10:7 chip ID: 1b1c:0a18 serial: 00000000 
           Sound Server: ALSA v: k5.10.15-200.fc33.x86_64 
Network:   Device-1: Realtek RTL8192CE PCIe Wireless Network Adapter driver: rtl8192ce v: kernel port: d000 bus ID: 02:00.0 
           chip ID: 10ec:8178 
           IF: wlp2s0 state: down mac: 3a:a6:d7:0c:a2:6b 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASRock driver: r8169 v: kernel port: c000 
           bus ID: 03:00.0 chip ID: 10ec:8168 
           IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: 70:85:c2:45:72:8b 
           IF-ID-1: virbr0 state: down mac: 52:54:00:92:ae:f5 
           IF-ID-2: virbr0-nic state: down mac: 52:54:00:92:ae:f5 
Drives:    Local Storage: total: 1.38 TiB used: 158.91 GiB (11.3%) 
           ID-1: /dev/sda vendor: Silicon Power model: SPCC Solid State Disk size: 476.94 GiB speed: 6.0 Gb/s 
           serial: C6380799116A00116718 rev: 61.3 scheme: MBR 
           ID-2: /dev/sdb vendor: Crucial model: CT1000MX500SSD1 size: 931.51 GiB speed: 6.0 Gb/s serial: 1919E20206DF 
           rev: 023 scheme: MBR 
Partition: ID-1: / size: 1.37 TiB used: 158.64 GiB (11.3%) fs: btrfs dev: /dev/sda1 
           ID-2: /boot size: 975.9 MiB used: 277.5 MiB (28.4%) fs: ext4 dev: /dev/sdb1 
           ID-3: /home size: 1.37 TiB used: 158.64 GiB (11.3%) fs: btrfs dev: /dev/sda1 
Swap:      ID-1: swap-1 type: zram size: 4.00 GiB used: 291.2 MiB (7.1%) priority: 100 dev: /dev/zram0 
Sensors:   System Temperatures: cpu: 34.5 C mobo: N/A gpu: nouveau temp: 48.0 C 
           Fan Speeds (RPM): N/A gpu: nouveau fan: 0 
Info:      Processes: 400 Uptime: 9h 07m Memory: 15.58 GiB used: 9.65 GiB (61.9%) Init: systemd v: 246 runlevel: 5 
           target: graphical.target Compilers: gcc: 10.2.1 Packages: 2791 rpm: 2757 flatpak: 27 snap: 7 Shell: Zsh v: 5.8 
           running in: konsole inxi: 3.1.08 

Install the nvidia drivers from Howto/NVIDIA - RPM Fusion

1 Like

In short, Update your system first and reboot, then:
lspci |grep -E “NVIDIA|3D” # substitude the " with your own on command line
dnf install fedora-workstation-repositories
dnf config-manager --set-enabled rpmfusion-nonfree-nvidia-driver
dnf repository-packages rpmfusion-nonfree-nvidia-driver info
dnf clean all
dnf makecache
dnf install akmod-nvidia nvidia* xorg-x11-drv-nvidia*
modinfo -F version nvidia
reboot

The rpmfusion-nonfree-nvidia-driver repo is not needed and not (at my last attempt) functional. Everything is accessible directly from the
rpmfusion-free
rpmfusion-free-updates
rpmfusion-nonfree
&
rpmfusion-nonfree-updates
repos, which are installed by following the instructions in that how-to.

I think your instructions are a little bit dated concerning the repo, but the install part matches the instructions on the how-to

Hi JV, why dated? Today I tested this on a cloned vm and it just worked. Things that work are not so dated. This is exactly how I use to install gaming PCs with Steam on fedora.
The package “fedora-workstation-repositories” includes:
rpmfusion-nonfree-nvidia-driver RPM Fusion for Fedora 33 - Nonfree - NVIDIA Driver aktiviert
rpmfusion-nonfree-nvidia-driver-debuginfo RPM Fusion for Fedora 33 - Nonfree - NVIDIA Driver Debug deaktiviert
rpmfusion-nonfree-nvidia-driver-source RPM Fusion for Fedora 33 - Nonfree - NVIDIA Driver Source deaktiviert
rpmfusion-nonfree-steam RPM Fusion for Fedora 33 - Nonfree - Steam aktiviert
rpmfusion-nonfree-steam-debuginfo RPM Fusion for Fedora 33 - Nonfree - Steam Debug deaktiviert
rpmfusion-nonfree-steam-source RPM Fusion for Fedora 33 - Nonfree - Steam Source

and some others.
But “rpmfusion-free-updates” and “rpmfusion-nonfree” are not included.

However, one can install NVIDIA drivers and Steam without much hassle this way.
I even can play loads of windows titles using Steams build-in proton.

The install part dnf install akmod-nvidia nvidia* xorg-x11-drv-nvidia* indeed I used from the wiki guide. This really is a very helpful guide. I actually read it and loosely used the install command from it. Just the repo part can be done easier on fedora33 imho.

At some point I had the nvidia drivers repo installed and it did not seem to work. Then when I did my upgrade to 33 I did it as a clean install and that repo was gone and I could not find it again.

I still don’t know how I managed to install it initially. and I distinctly remember being dissatisfied with it when running 32. My error on thinking it dated as a result of my issues.

Thank you for the package name to reinstall it and I will try it again.

The instructions on the how-to install both the free and nonfree base and updates repos (4 total active + several disabled)