Nvidia hardened drivers break frequently

Tried to reinstall headers as recommended in output to fix without success

Also terminal output characters are not showing up or corrupted.

Much appreciated.

e[1;34m::e[0;1m Running post-transaction hooks...
e[0m( 1/10) Arming ConditionNeedsUpdate...
( 2/10) Checking for package with missing dependencies...
( 3/10) Foreign/AUR package notification
kitemmodels5 5.116.0-1
( 4/10) Orphaned package notification...
=> No orphans found.
( 5/10) Checking for .pacnew and .pacsave files...
( 6/10) Checking for old perl modules...
( 7/10) Updating icon theme caches...
( 8/10) Updating the desktop file MIME type cache...
( 9/10) Performing snapper post snapshots for the following configurations...
==> root: 53
(10/10) Syncing all file systems...
e[?25h
e[1;33m-->e[1;34m A problem with the NVIDIA drivers has been detectede[0m

e[1;33m--->e[1;34m Building NVIDIA DKMS module for kernel 6.14.11-hardened1-1-hardenede[0m
Module nvidia/575.64.03 is not installed for kernel 6.14.11-hardened1-1-hardened (x86_64). Skipping...
Module nvidia/575.64.03 is not built for kernel 6.14.11-hardened1-1-hardened (x86_64). Skipping...


Error! Your kernel headers for kernel 6.14.11-hardened1-1-hardened cannot be found at /usr/lib/modules/6.14.11-hardened1-1-hardened/build or /usr/lib/modules/6.14.11-hardened1-1-hardened/source.
Please install the linux-headers-6.14.11-hardened1-1-hardened package or use the --kernelsourcedir option to tell DKMS where it's located.
e[1;33m--->e[1;31m Failed to build NVIDIA DKMS module for kernel 6.14.11-hardened1-1-hardenede[0m

e[1;32mSystem updated! 🐧
e[0m

The current task has finished.
+ GARUDA_UPDATE_RANI=1
+ garuda-update --skip-mirrorlist --noconfirm
:: Synchronizing package databases...
 garuda downloading...
 core downloading...
 extra downloading...
 multilib downloading...
 chaotic-aur downloading...
spawn pacman -Su
e[?25le[1;34m::e[0;1m Starting full system upgrade...
e[0me[1;33mwarning: e[0mkwin-effects-forceblur: local (1.4.0-3.1) is newer than chaotic-aur (1.4.0-3)
 there is nothing to do
e[?25h
e[1;33m-->e[1;34m A problem with the NVIDIA drivers has been detectede[0m

e[1;33m--->e[1;34m Building NVIDIA DKMS module for kernel 6.14.11-hardened1-1-hardenede[0m
Module nvidia/575.64.03 is not installed for kernel 6.14.11-hardened1-1-hardened (x86_64). Skipping...
Module nvidia/575.64.03 is not built for kernel 6.14.11-hardened1-1-hardened (x86_64). Skipping...


Error! Your kernel headers for kernel 6.14.11-hardened1-1-hardened cannot be found at /usr/lib/modules/6.14.11-hardened1-1-hardened/build or /usr/lib/modules/6.14.11-hardened1-1-hardened/source.
Please install the linux-headers-6.14.11-hardened1-1-hardened package or use the --kernelsourcedir option to tell DKMS where it's located.
e[1;33m--->e[1;31m Failed to build NVIDIA DKMS module for kernel 6.14.11-hardened1-1-hardenede[0m

e[1;33m--->e[1;34m Building NVIDIA DKMS module for kernel 6.15.6-arch1-1e[0m
Module nvidia/575.64.03 is not installed for kernel 6.15.6-arch1-1 (x86_64). Skipping...
Module nvidia/575.64.03 is not built for kernel 6.15.6-arch1-1 (x86_64). Skipping...

Sign command: /usr/lib/modules/6.15.6-arch1-1/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module(s).............................. done.
Signing module /var/lib/dkms/nvidia/575.64.03/build/nvidia.ko
Signing module /var/lib/dkms/nvidia/575.64.03/build/nvidia-uvm.ko
Signing module /var/lib/dkms/nvidia/575.64.03/build/nvidia-modeset.ko
Signing module /var/lib/dkms/nvidia/575.64.03/build/nvidia-drm.ko
Signing module /var/lib/dkms/nvidia/575.64.03/build/nvidia-peermem.ko
Installing /usr/lib/modules/6.15.6-arch1-1/updates/dkms/nvidia.ko
Installing /usr/lib/modules/6.15.6-arch1-1/updates/dkms/nvidia-uvm.ko
Installing /usr/lib/modules/6.15.6-arch1-1/updates/dkms/nvidia-modeset.ko
Installing /usr/lib/modules/6.15.6-arch1-1/updates/dkms/nvidia-drm.ko
Installing /usr/lib/modules/6.15.6-arch1-1/updates/dkms/nvidia-peermem.ko
Running depmod... done.
depmod: WARNING: could not open modules.order at /lib/modules/6.15.6-arch1-1: No such file or directory
depmod: WARNING: could not open modules.builtin at /lib/modules/6.15.6-arch1-1: No such file or directory
depmod: WARNING: could not open modules.builtin.modinfo at /lib/modules/6.15.6-arch1-1: No such file or directory
e[1;33m--->e[1;32m NVIDIA DKMS module for kernel 6.15.6-arch1-1 built successfullye[0m

e[1;32mSystem updated! 🐧
e[0m

The current task has finished.

System:
Kernel: 6.14.11-hardened1-1-hardened arch: x86_64 bits: 64 compiler: gcc
v: 15.1.1 clocksource: tsc avail: hpet,acpi_pm parameters: pti=on
page_alloc.shuffle=1 BOOT_IMAGE=/@/boot/vmlinuz-linux-hardened
root=UUID=d9cf1dd8-8c6d-450d-9aa2-5300bc8559b1 rw rootflags=subvol=@
quiet rd.luks.uuid=ec1196a7-8999-4a58-840d-91764f8b95da loglevel=3
ibt=off
Desktop: KDE Plasma v: 6.4.3 tk: Qt v: N/A info: frameworks v: 6.16.0
wm: kwin_wayland vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 83AX v: Lenovo Slim Pro 7 14ARP8
serial: <superuser required> Chassis: type: 10 v: Lenovo Slim Pro 7 14ARP8
serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: SDK0K17763 WIN
serial: <superuser required> part-nu: LENOVO_MT_83AX_BU_idea_FM_Slim Pro 7
14ARP8 uuid: <superuser required> UEFI: LENOVO v: LNCN25WW
date: 04/29/2025
Battery:
ID-1: BAT0 charge: 13.0 Wh (20.8%) condition: 62.4/73.0 Wh (85.5%)
power: 10.3 W volts: 14.8 min: 15.5 model: Sunwoda L22D4PF4 type: Li-poly
serial: <filter> status: discharging cycles: 77
CPU:
Info: model: AMD Ryzen 7 7735HS with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 3+ gen: 3 level: v3 note: check built: 2022 process: TSMC n6 (7nm)
family: 0x19 (25) model-id: 0x44 (68) stepping: 1 microcode: 0xA40410A
Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2
smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB
desc: 8x512 KiB L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 1886 min/max: 400/4830 boost: enabled scaling:
driver: amd-pstate-epp governor: powersave cores: 1: 1886 2: 1886 3: 1886
4: 1886 5: 1886 6: 1886 7: 1886 8: 1886 9: 1886 10: 1886 11: 1886 12: 1886
13: 1886 14: 1886 15: 1886 16: 1886 bogomips: 102204
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA GA107BM / GN20-P0-R-K2 [GeForce RTX 3050 6GB Laptop GPU]
vendor: Lenovo driver: N/A alternate: nouveau non-free: 550-570.xx+
status: current (as of 2025-04; EOL~2026-12-xx) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-2023 pcie: gen: 4 speed: 16 GT/s
lanes: 8 link-max: lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:25ac
class-ID: 0302
Device-2: Advanced Micro Devices [AMD/ATI] Rembrandt [Radeon 680M]
vendor: Lenovo 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: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5, DP-6,
HDMI-A-1, Writeback-1 bus-ID: 73:00.0 chip-ID: 1002:1681 class-ID: 0300
temp: 38.0 C
Device-3: Luxvisions Innotech Integrated RGB Camera driver: uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-1:2
chip-ID: 30c9:00a8 class-ID: fe01 serial: <filter>
Device-4: USB C Video Adaptor driver: N/A type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 9-1.2.3:14 chip-ID: 25a4:9411
class-ID: 1100 serial: <filter>
Display: wayland server: X.org v: 1.21.1.18 with: Xwayland v: 24.1.8
compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: 0
Monitor-1: eDP-1 model: AU Optronics 0x7aa7 built: 2022 res:
mode: 2560x1600 hz: 90 scale: 140% (1.4) to: 1829x1143 dpi: 208 gamma: 1.2
size: 312x195mm (12.28x7.68") diag: 368mm (14.5") ratio: 16:10 modes:
max: 2560x1600 min: 640x480
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi
wayland: drv: radeonsi x11: drv: radeonsi
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.1.5-arch1.1
glx-v: 1.4 direct-render: yes renderer: AMD Radeon 680M (radeonsi rembrandt
LLVM 20.1.7 DRM 3.61 6.14.11-hardened1-1-hardened) device-ID: 1002:1681
memory: 1.95 GiB unified: no display-ID: :1.0
API: Vulkan v: 1.4.313 layers: 11 device: 0 type: integrated-gpu name: AMD
Radeon 680M (RADV REMBRANDT) driver: mesa radv v: 25.1.5-arch1.1
device-ID: 1002:1681 surfaces: N/A device: 1 type: cpu name: llvmpipe
(LLVM 20.1.7 256 bits) driver: mesa llvmpipe v: 25.1.5-arch1.1 (LLVM
20.1.7) device-ID: 10005:0000 surfaces: N/A
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
wl: wayland-info x11: xdpyinfo, xprop, xrandr
Audio:
Device-1: Advanced Micro Devices [AMD/ATI] Radeon High Definition Audio
[Rembrandt/Strix] vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 73:00.1 chip-ID: 1002:1640
class-ID: 0403
Device-2: Advanced Micro Devices [AMD] Audio Coprocessor vendor: Lenovo
driver: snd_pci_acp6x v: kernel alternate: snd_pci_acp3x, snd_rn_pci_acp3x,
snd_pci_acp5x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh,
snd_sof_amd_acp63, snd_sof_amd_acp70 pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 73:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
vendor: Lenovo driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
lanes: 16 bus-ID: 73:00.6 chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.14.11-hardened1-1-hardened status: kernel-api tools: N/A
Server-1: PipeWire v: 1.4.6 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: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
vendor: Lenovo driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
bus-ID: 02:00.0 chip-ID: 14c3:0616 class-ID: 0280
IF: wlp2s0 state: down mac: <filter>
Device-2: ASIX AX88179 Gigabit Ethernet driver: cdc_ncm type: USB rev: 3.2
speed: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 bus-ID: 10-1.2.1:12
chip-ID: 0b95:1790 class-ID: 0a00 serial: <filter>
IF: eth0 state: up speed: 100 Mbps duplex: half mac: <filter>
Info: services: NetworkManager,systemd-timesyncd
Bluetooth:
Device-1: Foxconn / Hon Hai Bluetooth 5.2 Adapter [MediaTek MT7922]
driver: btusb v: 0.8 type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0
bus-ID: 3-3:2 chip-ID: 0489:e0d8 class-ID: e001 serial: <filter>
Report: btmgmt ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: N/A
Drives:
Local Storage: total: 1.82 TiB used: 25.99 GiB (1.4%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 990 PRO 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: 3B2QJXD7 temp: 34.9 C
scheme: GPT
ID-2: /dev/sdc maj-min: 8:32 vendor: Transcend model: N/A size: 1.87 GiB
block-size: physical: 512 B logical: 512 B type: USB rev: 3.2 spd: 5 Gb/s
lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter> fw-rev: 0009
scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw-size: 130.21 GiB size: 130.21 GiB (100.00%)
used: 25.93 GiB (19.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-ec1196a7-8999-4a58-840d-91764f8b95da
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
used: 59.2 MiB (61.7%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 130.21 GiB size: 130.21 GiB (100.00%)
used: 25.93 GiB (19.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-ec1196a7-8999-4a58-840d-91764f8b95da
ID-4: /var/log raw-size: 130.21 GiB size: 130.21 GiB (100.00%)
used: 25.93 GiB (19.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-ec1196a7-8999-4a58-840d-91764f8b95da
ID-5: /var/tmp raw-size: 130.21 GiB size: 130.21 GiB (100.00%)
used: 25.93 GiB (19.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-ec1196a7-8999-4a58-840d-91764f8b95da
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 13.33 GiB used: 32.2 MiB (0.2%)
priority: 100 comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842
max-streams: 16 dev: /dev/zram0
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 40.0 C
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB note: est. available: 13.33 GiB used: 3.55 GiB (26.7%)
Processes: 412 Power: uptime: 54m states: freeze,mem suspend: s2idle
wakeups: 1 services: org_kde_powerdevil, power-profiles-daemon, upowerd
Init: systemd v: 257 default: graphical tool: systemctl
Packages: pm: pacman pkgs: 1386 libs: 372 tools: octopi,paru Compilers:
gcc: 15.1.1 Shell: garuda-inxi default: fish v: 4.0.2 running-in: konsole
inxi: 3.3.38
Garuda (2.7.3-1):
System install date:     2025-07-06
Last full system update: 2025-07-16 ↻
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-dkms
Windows dual boot:       Probably (Run as root to verify)
Failed units:

You really have a talent for annoying your systems and being a real challenge for them.
I have seen this terminal output more often and even worse from you. You must have configured it that way in the bashrc or have something preconfigured, incompatible in it.

1 Like

default .. make a reboot pls.
after reboot β†’ update system β†’ reboot β†’ then reinstall the kernel + headers
But.. you have the wrong nvidia driver installed

You need for this gpu the nvidia-open-dkms driver.
uninstall nvidia-dkms then install nvidia-open-dkms driver over konsole

sudo pacman -Rdd garuda-nvidia-config nvidia-dkms nvidia-settings nvidia-utils opencl-nvidia libxnvctrl lib32-nvidia-utils lib32-opencl-nvidia gwe python-py3nvml

then install without reboot

sudo pacman -S nvidia-open-dkms egl-wayland lib32-nvidia-utils lib32-opencl-nvidia nvidia-settings opencl-nvidia nvidia-utils

Perhaps you need dxvk to install over paru (default is dxvk installed but not all packages)

  • paru -S dxvk package name
    example: paru -S lib32-libdxvk-gplasync
    reboot = ?
    if you mean you need a reinstall from kernel + headers it should function (my mind)
    konsole: sudo pacman -S linux-hardened linux-hardened-kernels
    result = ?
4 Likes

Broke after a fresh install; have not configured anything; have switched to mostly AMD only have a few systems with nvidia still and most are laptops; initially thought it was bad timing; that the nvidia hardened kernel driver was not available; you make it seem like it is an exploit though. Or maybe this happened from choosing the proprietary driver option from ISO install?

Of course that`s the issue
Boot ventoy (with grub2 option) β†’ use option open source (no prop. nvidia driver)
β†’ install β†’ reboot β†’ install apps/kernel β†’ update β†’ reboot β†’ then install the
right driver for your dgpu. (my mind)
If you do this, you don’t need to uninstall the nvidia stuff only install.

4 Likes

Fix seems to work from the terminal output.

Graphics switched from the 3050 to integrated 780m gpu after though.

Looked up ways to switch it; there are a number of solutions for arch.
Any recommendations for the best way to do this for Garuda?

Much appreciated.

Not directly but it exist new live images to download.

as info:

1 Like

Think this install is from the newest live image not sure though.

It is a new install.

If not will just reinstall not a problem.

Much appreciated.

Did a fresh install with open Nvidia drivers; integrated is showing up as dedicated in settings; 3050 is showing up in terminal. Can not find a tool to change the from integrated to dedicated might have missed something. Much appreciated.

Please, edit your last post until someone replies. :slight_smile:

How is that? Working on many things here. Sorry if am missing something.

Found this tool that supposedly works in Ubuntu.

Not sure if this is the same thing but for arch.

There is also … garuda-hardware-profile-nvidia-prime

Guessing NVIDIA settings would not have that capability.

I think you might have to drop the hardened kernel. All your issues go back to it, Maybe read more up on it. Or you have to manually some how disable the igpu, don’t know if you can do that in your bios or not. But either way I think some core research would help you.

2 Likes