Mhwd -l Command Doesn't Accept Nonfree (Nvidia) Drivers

When I try in a fresh Garuda install to install the Nvidia proprietary drivers through the Garuda settings manager, I only have the option to install the open source alternative. I’ve been investigating to the why of this and I see that when I use the mhwd -l command, I see the only available configs are the open source drivers.

Okay, so I downloaded the Nvidia drivers with mhwd -i pci video-nvidia-470xx-dkms and installed. And I removed the FOSS drivers with mhwd -r pci video-linux removed.

So when using mhwd -li, the only drivers that are installed are the video-nvidia-470xx-dkms. So I decided to reboot and little system services started so I can only get to the terminal through Start + Alt + F2. I typed mhwd -l and the only available configs are the FOSS drivers, I used mhwd -li and the only installed configs are the Nonfree NVIDIA drivers. So the system is broken as there are no “available” drivers installed, even if the Nvidia drivers are installed. It’s like some sort of configuration on system install that exclusively accepts FOSS drivers and nothing else.

I’m very confident the solution to the issue is to be able to edit that configuration to accept Nvidia drivers as valid, but the issue is I don’t know the command for that and I didn’t find anything.

I’m making this post on mobile as I can’t access the forum through my PC, and since the system has almost nothing started, I can’t connect to the internet either.

I know it’s a rule to post the garuda-inxi output, but I can’t copy and paste it here for the same reason. I took a picture of the screen with my phone but I can’t upload it due to my forum permissions. I apologize if it’s an annoyance.

Hardware:

RTX 4070
Ryzen 7 7700

I’m not an nvidia user but, if I remember correctly, the same problem was reported in the past for your GPU.
Can you try a

sudo pacman -S nvidia-dkms

?
I really don’t think you need the video-nvidia-470xx-dkms driver, you might even need to remove it.

3 Likes

Btw. you can use the live ISO for garuda-inxi. :slight_smile:
Install again with open drivers and follow @filo or try to fix your fresh installed Garuda Linux.

2 Likes

Okay, I removed anything related to nvidia-470xx and installed nvidia-dkms. I rebooted and I’m still having the same issue. I will do another reinstall to show you how it looks exactly in a clean system.

I reinstalled it again and no button appeared to install the proprietary drivers. Only a button to install open source. I really want to use Wayland because of the security/privacy advantages even if it can be really hard to get it working along nvidia drivers.

Apart from the fact that I wrote that you should install it with the free drivers first, it is in this grub menu under the free drivers. Just click the text, like tz (time zone) and so on.

1 Like

I booted up on the live ISO using FOSS drivers, and I still don’t see an option to install proprietary drivers. I will proceed with an installation now.

Here’s my garuda-inxi

System:
Kernel: 6.5.9-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: hpet,acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
misobasedir=garuda root=miso:LABEL=GARUDA_DR460NIZEDGAMING_RAPTOR quiet
systemd.show_status=1 ibt=off driver=free nouveau.modeset=1
i915.modeset=1 radeon.modeset=1
Desktop: KDE Plasma v: 5.27.9 tk: Qt v: 5.15.11 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: TUF GAMING X670E-PLUS WIFI v: Rev 1.xx
serial: <superuser required> UEFI: American Megatrends v: 1636
date: 07/28/2023
Battery:
Device-1: hidpp_battery_0 model: Logitech G305 Lightspeed Wireless Gaming
Mouse serial: <filter> charge: 50% (should be ignored) rechargeable: yes
status: discharging
CPU:
Info: model: AMD Ryzen 7 7700X bits: 64 type: MT MCP arch: Zen 4 gen: 5
level: v4 note: check built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25)
model-id: 0x61 (97) stepping: 2 microcode: 0xA601203
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 8 MiB desc: 8x1024 KiB
L3: 32 MiB desc: 1x32 MiB
Speed (MHz): avg: 588 high: 3415 min/max: 400/5657 scaling:
driver: amd-pstate-epp governor: powersave cores: 1: 400 2: 400 3: 400
4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 3415 13: 400
14: 400 15: 400 16: 400 bogomips: 144009
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA AD104 [GeForce RTX 4070] vendor: ASUSTeK driver: N/A
alternate: nouveau non-free: 535.xx+ status: current (as of 2023-09)
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:2786
class-ID: 0300
Device-2: AMD Raphael vendor: ASUSTeK driver: amdgpu v: kernel
arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie:
gen: 4 speed: 16 GT/s lanes: 16 ports: active: HDMI-A-1 empty: DP-1
bus-ID: 11:00.0 chip-ID: 1002:164e class-ID: 0300 temp: 34.0 C
Display: x11 server: X.Org v: 21.1.9 with: Xwayland v: 23.2.2
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00")
s-diag: 777mm (30.58")
Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: VG27AQ1A serial: <filter>
built: 2023 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2
size: 596x336mm (23.46x13.23") diag: 685mm (27") ratio: 16:9 modes:
max: 2560x1440 min: 720x400
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi
inactive: gbm,wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.2.1-arch1.2
glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics
(raphael_mendocino LLVM 16.0.6 DRM 3.54 6.5.9-zen2-1-zen)
device-ID: 1002:164e memory: 500 MiB unified: no
API: Vulkan v: 1.3.269 layers: 9 device: 0 type: integrated-gpu name: AMD
Radeon Graphics (RADV RAPHAEL_MENDOCINO) driver: mesa radv
v: 23.2.1-arch1.2 device-ID: 1002:164e surfaces: xcb,xlib device: 1
type: cpu name: llvmpipe (LLVM 16.0.6 256 bits) driver: mesa llvmpipe
v: 23.2.1-arch1.2 (LLVM 16.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: NVIDIA vendor: ASUSTeK 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-2: AMD Rembrandt Radeon High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 11:00.1 chip-ID: 1002:1640 class-ID: 0403
Device-3: AMD Family 17h/19h HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 11:00.6 chip-ID: 1022:15e3 class-ID: 0403
Device-4: Corsair [] driver: hid-generic,snd-usb-audio,usbhid type: USB
rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 7-2.4:5
chip-ID: 1b1c:0a6b class-ID: 0300 serial: <filter>
API: ALSA v: k6.5.9-zen2-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 0.3.83 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: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 0a:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: eno1 state: down mac: <filter>
Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
vendor: Foxconn driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s
lanes: 1 bus-ID: 0b:00.0 chip-ID: 14c3:0616 class-ID: 0280
IF: wlp11s0 state: up mac: <filter>
Bluetooth:
Device-1: Foxconn / Hon Hai [] driver: btusb v: 0.8 type: USB rev: 2.1
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2:2 chip-ID: 0489:e0e2
class-ID: e001 serial: <filter>
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
lmp-v: 11 status: discoverable: no pairing: no class-ID: 7c0104
Drives:
Local Storage: total: 1.86 TiB used: 0 KiB (0.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 5B2QGXA7 temp: 36.9 C
scheme: GPT
ID-2: /dev/sda maj-min: 8:0 model: Disk 3.0 size: 976.56 GiB block-size:
physical: 512 B logical: 512 B type: USB rev: 2.0 spd: 480 Mb/s lanes: 1
mode: 2.0 tech: N/A serial: <filter> fw-rev: 2.00 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
Message: No partition data found.
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 30.49 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 39.2 C mobo: N/A gpu: amdgpu temp: 35.0 C
Fan Speeds (rpm): N/A
Info:
Processes: 332 Uptime: 10m wakeups: 3 Memory: total: 32 GiB note: est.
available: 30.5 GiB used: 3.64 GiB (11.9%) Init: systemd v: 254
default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
pm: pacman pkgs: 1812 libs: 524 tools: octopi,paru Shell: fish v: 3.6.1
running-in: konsole inxi: 3.3.30
warning: database file for 'garuda' does not exist (use '-Sy' to download)
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)
warning: database file for 'chaotic-aur' does not exist (use '-Sy' to download)
Garuda (2.6.17-1):
System install date:     2024-02-04
Last full system update: 2024-02-04 ↻
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       <superuser required>
Failed units:            snapper-cleanup.service
  • After rebooting, post the FULL output of garuda-inxi in the body of the post (not linked externally, or collapsed with the “hide details” feature)
  • Format terminal output (including your garuda-inxi) as a code block by clicking the preformatted text button (</>) , or put three tildes (~) above and below the text.

There is no option.
Open terminal/konsole, copy and paste the command

Please read carefully what we posted!

3 Likes

For the garuda-inxi part, I didn’t do it like how it should be done as I automatically generated a password for my forum account which is really long and it would be extremely long to set up the manager and all of that, so using the privatebin was faster. And when opening the privatebin from my phone it tells me my browser doesn’t support WebAssembly, so I had to do this.

I installed nvidia-dkms with the command @filo told me, it installed successfully.

What should I do now? I noticed that I’m not able to set the refresh rate to 144 Hz, when I try to do so my screen will become black and it will automatically revert to 60 Hz after a few seconds. When I go to “About this System”, I see the Graphics Processor is AMD Radeon (Integrated). How can I change it to be Nvidia?

I can add the garuda-inxi in an edit if you are okay with it, as the only way I have is to add an external link to it.

If you check your post, I have already fixed that.
Next, I mark the solution.
And you, please open new help request, if needed, please follow the template.

  • ONE issue per topic.
1 Like