How do I install Nvidia drivers?

Hi! I’ve been running on Garuda for a couple of weeks, but still have my monitor plugged into my integrated, and would like to move over to the dedicated. When I do, I get a black screen.

garuda-inxi (I’m only including the graphics section):

Graphics:
  Device-1: Intel Raptor Lake-S GT1 [UHD Graphics 770] vendor: ASUSTeK
    driver: i915 v: kernel arch: Gen-13 process: Intel 7 (10nm) built: 2022+
    ports: active: DP-1 empty: HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:a780 class-ID: 0300
  Device-2: NVIDIA AD104 [GeForce RTX 4070 Ti] vendor: Gigabyte driver: N/A
    alternate: nouveau non-free: 535.xx+ status: current (as of 2023-08)
    arch: Lovelace code: AD1xx process: TSMC n4 (5nm) built: 2022-23+ pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:2782
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.0
    compositor: kwin_x11 driver: X: loaded: modesetting
    alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1080 s-dpi: 96 s-size: 677x285mm (26.65x11.22")
    s-diag: 735mm (28.92")
  Monitor-1: DP-1 model: LG (GoldStar) HDR WFHD serial: <filter> built: 2020
    res: 2560x1080 dpi: 81 gamma: 1.2 size: 798x334mm (31.42x13.15")
    diag: 869mm (34.2") modes: max: 2560x1080 min: 640x480
  API: OpenGL v: 4.6 Mesa 23.1.7-arch1.1 renderer: Mesa Intel Graphics
    (RPL-S) direct-render: Yes

The driver: N/A on Device-2 is pretty sus to me. When I open Hardware Configuration in the Garuda Settings Manager, for the nvidia device both the “open-source” and “installed” checkboxes are checked for video-linux, but for video-modesetting, only “open-source” is checked, not “installed”. I have no idea what I’m doing, so I haven’t checked “installed” yet.

I’ve seen a bunch of similar threads where there were comments based on the gpu model and the arch wiki that said exactly what package was needed. I did try to look at the arch wiki, but my newibieness got the better of me, and I wasn’t able to figure it out.

What do I need to do to be able to plug my monitor into my gpu, or how can I figure out what I need to do?

Thanks!

Why?

We always want the full version for DE and many other things.
And
In Garuda Welcome select “Setup assistant” at the bottom. Follow the setup assistant and apply the system update. After the system update is done, you will be asked if you want to install the Nvidia drivers. Click yes and follow the terminal instructions until the driver is installed.

2 Likes

Sorry, I thought it would make it easier to read.

I did try the Setup Assistant since I had seen it in a different post, but didn’t get a prompt to install the nvidia drivers after the system update. (I had searched, but after not seeing anything that worked in the first three threads I read, I thought it made sense to open a new one. Apologies if I shouldn’t have.)

full garuda-inxi:

System:
  Kernel: 6.4.12-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=ff218736-6729-4d49-a2d2-0dc7487c0fc3 rw rootflags=subvol=@
    quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
    ibt=off
  Desktop: KDE Plasma v: 5.27.8 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 2
    dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: ROG STRIX B760-G GAMING WIFI v: Rev 1.xx
    serial: <superuser required> UEFI: American Megatrends v: 1210
    date: 07/14/2023
CPU:
  Info: model: 13th Gen Intel Core i9-13900K bits: 64 type: MST AMCP
    arch: Raptor Lake gen: core 13 level: v3 note: check built: 2022+
    process: Intel 7 (10nm) family: 6 model-id: 0xB7 (183) stepping: 1
    microcode: 0x119
  Topology: cpus: 1x cores: 24 mt: 8 tpc: 2 st: 16 threads: 32 smt: enabled
    cache: L1: 2.1 MiB desc: d-16x32 KiB, 8x48 KiB; i-8x32 KiB, 16x64 KiB
    L2: 32 MiB desc: 8x2 MiB, 4x4 MiB L3: 36 MiB desc: 1x36 MiB
  Speed (MHz): avg: 4056 high: 5549 min/max: 800/5500:5800:4300 scaling:
    driver: intel_pstate governor: performance cores: 1: 5500 2: 3000 3: 4907
    4: 3000 5: 5500 6: 3000 7: 5500 8: 3000 9: 5500 10: 3000 11: 5500 12: 3000
    13: 5500 14: 3000 15: 5500 16: 5549 17: 4299 18: 4338 19: 4300 20: 4304
    21: 4304 22: 4383 23: 4303 24: 4307 25: 4299 26: 3000 27: 3000 28: 3000
    29: 3000 30: 3000 31: 3000 32: 3000 bogomips: 191692
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel Raptor Lake-S GT1 [UHD Graphics 770] vendor: ASUSTeK
    driver: i915 v: kernel arch: Gen-13 process: Intel 7 (10nm) built: 2022+
    ports: active: DP-1 empty: HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:a780 class-ID: 0300
  Device-2: NVIDIA AD104 [GeForce RTX 4070 Ti] vendor: Gigabyte driver: N/A
    alternate: nouveau non-free: 535.xx+ status: current (as of 2023-08)
    arch: Lovelace code: AD1xx process: TSMC n4 (5nm) built: 2022-23+ pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:2782
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.0
    compositor: kwin_x11 driver: X: loaded: modesetting
    alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1080 s-dpi: 96 s-size: 677x285mm (26.65x11.22")
    s-diag: 735mm (28.92")
  Monitor-1: DP-1 model: LG (GoldStar) HDR WFHD serial: <filter> built: 2020
    res: 2560x1080 dpi: 81 gamma: 1.2 size: 798x334mm (31.42x13.15")
    diag: 869mm (34.2") modes: max: 2560x1080 min: 640x480
  API: OpenGL v: 4.6 Mesa 23.1.7-arch1.1 renderer: Mesa Intel Graphics
    (RPL-S) direct-render: Yes
Audio:
  Device-1: Intel vendor: ASUSTeK driver: snd_hda_intel v: kernel
    alternate: snd_sof_pci_intel_tgl bus-ID: 00:1f.3 chip-ID: 8086:7a50
    class-ID: 0403
  Device-2: NVIDIA vendor: Gigabyte driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:22bc
    class-ID: 0403
  Device-3: Blue Microphones Yeti Stereo Microphone
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-5:4 chip-ID: b58e:9e84 class-ID: 0300
    serial: <filter>
  API: ALSA v: k6.4.12-zen1-1-zen status: kernel-api with: aoss
    type: oss-emulator tools: N/A
  Server-1: PipeWire v: 0.3.79 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel driver: iwlwifi v: kernel port: N/A bus-ID: 00:14.3
    chip-ID: 8086:7a70 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Intel Ethernet I226-V vendor: ASUSTeK driver: igc v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 05:00.0
    chip-ID: 8086:125c class-ID: 0200
  IF: eno1 state: down mac: <filter>
  IF-ID-1: wg-mullvad state: unknown speed: N/A duplex: N/A mac: N/A
Bluetooth:
  Device-1: Intel driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-14:8 chip-ID: 8087:0033 class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 11 state: up address: <filter> bt-v: 5.3
    lmp-v: 12 status: discoverable: no pairing: no class-ID: 7c0104
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller Intel
    driver: vmd v: 0.6 port: N/A bus-ID: 00:0e.0 chip-ID: 8086:a77f rev:
    class-ID: 0104
Drives:
  Local Storage: total: 1.82 TiB used: 147.36 GiB (7.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO with
    Heatsink 2TB size: 1.82 TiB block-size: physical: 512 B logical: 512 B
    speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter> fw-rev: 5B2QGXA7
    temp: 42.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 147.36 GiB (7.9%)
    fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
    used: 147.36 GiB (7.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
    used: 147.36 GiB (7.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
    used: 147.36 GiB (7.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 62.54 GiB used: 97.9 MiB (0.2%)
    priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 32
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Processes: 610 Uptime: 9d 4h 26m wakeups: 148 Memory: total: 64 GiB
  available: 62.54 GiB used: 19.4 GiB (31.0%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
  pm: pacman pkgs: 1936 libs: 552 tools: octopi,paru,yay Shell: Bash v: 5.1.16
  running-in: alacritty inxi: 3.3.29
Garuda (2.6.16-1):
  System install date:     2023-08-22
  Last full system update: 2023-09-13 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:

First thing on KDE is, restart, ↻ ← , often, but not ever helps.
Second, desktop PC with 2 GPU I can’t help :cry:

I move it from Newbies to KDE KDE

1 Like

Does the “auto install proprietary driver” button there not help? If not,

sudo pacman -S nvidia-dkms

or,

sudo pacman -S garuda-nvidia-prime-config

Should do.
garuda-nvidia-prime-config is a meta package that pulls nvidia-dkms and other related dependencies along with it.

2 Likes

This worked, thanks!

might be obv to anyone reading it, but just in case: needed a restart for everything to work

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