Need blacklist nouveau to install legacy nvidia driver

Hi,

Just installed Garuda KDE on a 10 year old computer with a nvidia GTX680 card.
I understood that I needed to install a driver and found this

NVIDIA-Linux-x86_64-470.94.run

Tried to install it and found out that I needed to disable/blacklist the nouveau driver. I desperately tried to follow a few Arch instructions to do this but without success.

How can I disable/blacklist nouveau in Garuda?

my inxi -Faz

System:
Kernel: 5.15.13-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=8a1d1078-dd0f-49d8-a822-2fe9c0fcd87e rw [email protected]
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=17678faa-05e0-4bf3-bbea-5ebde1576e2e loglevel=3
Desktop: KDE Plasma 5.23.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: P8Z77-V LK v: Rev X.0x
serial: <superuser required> UEFI: American Megatrends v: 0210
date: 03/12/2012
CPU:
Info: model: Intel Core i5-3570K bits: 64 type: MCP arch: Ivy Bridge
family: 6 model-id: 0x3A (58) stepping: 9 microcode: 0x21
Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB
desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB
desc: 1x6 MiB
Speed (MHz): avg: 3529 high: 4226 min/max: 1600/6300 scaling:
driver: intel_cpufreq governor: performance cores: 1: 4020 2: 4050 3: 1821
4: 4226 bogomips: 28022
Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
Type: mds mitigation: Clear CPU buffers; SMT disabled
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: disabled, RSB filling
Type: srbds status: Vulnerable: No microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics
vendor: ASUSTeK P8 series driver: i915 v: kernel bus-ID: 00:02.0
chip-ID: 8086:0162 class-ID: 0380
Device-2: NVIDIA GK104 [GeForce GTX 680] vendor: ZOTAC driver: nouveau
v: kernel bus-ID: 01:00.0 chip-ID: 10de:1180 class-ID: 0300
Display: x11 server: X.Org 1.21.1.3 compositor: kwin_x11 driver:
loaded: intel,nouveau unloaded: modesetting alternate: fbdev,nv,vesa
display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1600 s-dpi: 96 s-size: 677x423mm (26.7x16.7")
s-diag: 798mm (31.4")
Monitor-1: DP-1 res: 2560x1600 hz: 60 dpi: 101
size: 641x400mm (25.2x15.7") diag: 756mm (29.7")
OpenGL: renderer: NVE4 v: 4.3 Mesa 21.3.3 direct render: Yes
Audio:
Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20
class-ID: 0403
Device-2: NVIDIA GK104 HDMI Audio vendor: ZOTAC driver: snd_hda_intel
v: kernel bus-ID: 01:00.1 chip-ID: 10de:0e0a class-ID: 0403
Device-3: Microdia USB Headset type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-1.5:5 chip-ID: 0c45:1dbd
class-ID: 0300
Sound Server-1: ALSA v: k5.15.13-zen1-1-zen running: yes
Sound Server-2: sndio v: N/A running: no
Sound Server-3: JACK v: 1.9.19 running: no
Sound Server-4: PulseAudio v: 15.0 running: no
Sound Server-5: PipeWire v: 0.3.43 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK P8 series driver: r8169 v: kernel port: d000
bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: anbox0 state: down mac: <filter>
Bluetooth:
Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB
driver: btusb v: 0.8 bus-ID: 1-1.3:3 chip-ID: 0a12:0001 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
RAID:
Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0
port: f060 bus-ID: 00:1f.2 chip-ID: 8086:2822 rev: N/A class-ID: 0104
Drives:
Local Storage: total: 922.22 GiB used: 486.34 GiB (52.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 850 EVO 250GB
size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 1B6Q scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 870 EVO 500GB
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
type: SSD serial: <filter> rev: 1B6Q scheme: MBR
ID-3: /dev/sdc maj-min: 8:32 vendor: Corsair model: Corsair Force 3 SSD
size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
type: SSD serial: <filter> rev: 5.03 scheme: GPT
Partition:
ID-1: / raw-size: 206.21 GiB size: 206.21 GiB (100.00%)
used: 30.77 GiB (14.9%) fs: btrfs dev: /dev/sdc2 maj-min: 8:34
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/sdc1 maj-min: 8:33
ID-3: /home raw-size: 206.21 GiB size: 206.21 GiB (100.00%)
used: 30.77 GiB (14.9%) fs: btrfs dev: /dev/sdc2 maj-min: 8:34
ID-4: /var/log raw-size: 206.21 GiB size: 206.21 GiB (100.00%)
used: 30.77 GiB (14.9%) fs: btrfs dev: /dev/sdc2 maj-min: 8:34
ID-5: /var/tmp raw-size: 206.21 GiB size: 206.21 GiB (100.00%)
used: 30.77 GiB (14.9%) fs: btrfs dev: /dev/sdc2 maj-min: 8:34
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 17.07 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/sdc3 maj-min: 8:35
ID-2: swap-2 type: zram size: 15.52 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 54.0 C mobo: 27.8 C gpu: nouveau temp: 45.0 C
Fan Speeds (RPM): N/A gpu: nouveau fan: 1290
Info:
Processes: 297 Uptime: 2h 30m wakeups: 0 Memory: 15.52 GiB
used: 4.58 GiB (29.5%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 2062 lib: 575 Shell: fish
v: 3.3.1 default: Bash v: 5.1.12 running-in: konsole inxi: 3.3.11

Hi there, welcome.
I'm not that expert on Nvidia stuff, but I think that card belongs to the Kepler family.
So, you only have to install
nvidia-470xx-dkms
According to step 3 here:
https://wiki.archlinux.org/title/NVIDIA#Installation

2 Likes

Correct - Kepler it is.
That's the driver I tried to install and it kinda fails... saying...

ERROR: The Nouveau kernel driver is currently in use by your system.  This driver is incompatible with the NVIDIA driver, and must be disabled before
proceeding.  Please consult the NVIDIA driver README and your Linux distribution's documentation for details on how to correctly disable the
Nouveau kernel driver.

So I needa disable nouveau, but I still don't understand how? Nvidia driver readme didn't help. So I was wondering if it is anything special in Garuda compared to Arch, because I tried some arch methods... but with no success :slight_smile:

Is also the installation of that specific package I mentioned giving the same error?

yep, and also...

ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation
problems in the README available on the Linux driver download page at www.nvidia.com.

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Jan  8 12:33:40 2022
installer version: 470.94

PATH: /usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl

nvidia-installer command line:
./nvidia-installer

Unable to load: nvidia-installer ncurses v6 user interface

Unable to load: nvidia-installer ncurses user interface

Using: nvidia-installer ncurses v6 user interface (widechar)
-> Detected 4 CPUs online; setting concurrency level to 4.
-> Installing NVIDIA driver version 470.94.
ERROR: The Nouveau kernel driver is currently in use by your system.  This driver is incompatible with the NVIDIA driver, and must be disabled before proceeding.  Please consult the NVIDIA driver README and your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel driver.
WARNING: One or more modprobe configuration files to disable Nouveau are already present at: /usr/lib/modprobe.d/nvidia-installer-disable-nouveau.conf, /etc/modprobe.d/nvidia-installer-disable-nouveau.conf.  Please be sure you have rebooted your system since these files were written.  If you have rebooted, then Nouveau may be enabled for other reasons, such as being included in the system initial ramdisk or in your X configuration file.  Please consult the NVIDIA driver README and your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel driver.

ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problemsin the README available on the Linux driver download page at www.nvidia.com.

...and of course I have rebooted 100 times this morning :slight_smile:

Are you7 trying to install from the nvidia site by any chance.

2 Likes

@mandog - Sorry, I don't understand your question...

I download the nvidia driver files from the nvidia website, and try to follow the Arch instructions to install the drivers.

By

I meant
sudo pacman -Syu nvidia-470xx-dkms

5 Likes

ah look how easy it was :slight_smile:
Question answered and problem solved.
Many thanks

3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.