You are not logged in.

#1 2025-10-12 20:13:24

atomicator
Member
Registered: 2025-10-12
Posts: 4

NVIDIA breaks after updating linux-firmware

I'm having issues with my NVIDIA drivers following a recent update - the HDMI ports on my laptop and USB-C hub are no longer detected. I did not update recently enough, meaning almost every package I had installed needed updating. I don't know if it's relevant, but this is the update where I had to run:

# pacman -Rdd linux-firmware
# pacman -Syu linux-firmware

due to changes in the package.

The system worked prior to this update. Afterwards, one of the two HDMI ports on my USB-C hub and the HDMI port on my laptop stopped working (these aren't showing up as being detected, according to the xrandr output below). To my knowledge, all three of these are wired to my NVIDIA card.

Whilst trying to fix this on a live disk, I was able to re-create the problem (using GNOME and KDE). In each case, it works perfectly until I update.

Any help with this issue would be greatly appreciated.

Output of xrandr:

Screen 0: minimum 16 x 16, current 4320 x 1350, maximum 32767 x 32767
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080    143.88*+
   1440x1080    143.80  
   1400x1050    143.89  
   1280x1024    143.79  
   1280x960     143.86  
   1152x864     143.92  
   1024x768     143.87  
   800x600      143.83  
   640x480      143.85  
   320x240      142.05  
   1680x1050    143.88  
   1440x900     143.86  
   1280x800     143.84  
   1152x720     143.77  
   960x600      143.72  
   928x580      143.50  
   800x500      143.68  
   768x480      143.69  
   720x480      143.85  
   640x400      143.37  
   320x200      141.40  
   1600x900     143.93  
   1368x768     143.77  
   1280x720     143.67  
   1024x576     143.91  
   864x486      143.63  
   720x400      143.88  
   640x350      143.57  
DP-2 connected 2400x1350+1920+0 (normal left inverted right x axis y axis) 527mm x 296mm
   2400x1350     49.93*+
   1600x1200     49.92  
   1440x1080     49.98  
   1400x1050     49.97  
   1280x1024     49.84  
   1280x960      49.85  
   1152x864      49.91  
   1024x768      49.98  
   800x600       49.92  
   640x480       49.67  
   320x240       46.94  
   1920x1200     49.93  
   1680x1050     49.97  
   1440x900      49.88  
   1280x800      49.95  
   1152x720      49.76  
   960x600       49.65  
   928x580       49.91  
   800x500       49.62  
   768x480       49.78  
   720x480       49.76  
   640x400       49.70  
   320x200       46.51  
   2048x1152     49.98  
   1920x1080     49.93  
   1600x900      49.94  
   1368x768      49.84  
   1280x720      49.83  
   1024x576      49.81  
   864x486       49.61  
   720x400       49.28  
   640x350       49.12  

Output of xrandr --list_providers:

Providers: number : 0

Output of nvidia-smi:

Sun Oct 12 20:10:10 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.95.05              Driver Version: 580.95.05      CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1660 Ti     Off |   00000000:01:00.0  On |                  N/A |
| N/A   48C    P8              4W /   80W |      38MiB /   6144MiB |     11%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A             955      G   /usr/lib/Xorg                             4MiB |
|    0   N/A  N/A            1166      G   /usr/bin/kwin_wayland                     1MiB |
+-----------------------------------------------------------------------------------------+

Output of sudo cat /sys/module/nvidia_drm/parameters/modeset:

Y

Output of sudo cat /sys/module/nvidia_drm/parameters/fbdev:

Y

Output of cat etc/mkinitcpio.conf:

#
# SPDX-License-Identifier: GPL-3.0-or-later

# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(piix ide_disk reiserfs)
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES=(/crypto_keyfile.bin)

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No raid, lvm2, or encrypted root is needed.
#    HOOKS=(base)
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS=(base udev autodetect block filesystems)
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev block filesystems)
#
##   This setup assembles a pata mdadm array with an encrypted root FS.
##   Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
#    HOOKS=(base udev block mdadm encrypt filesystems)
#
##   This setup loads an lvm2 volume group on a usb device.
#    HOOKS=(base udev block lvm2 filesystems)
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr, fsck and shutdown hooks.
HOOKS=(base udev autodetect microcode modconf block keyboard keymap consolefont plymouth encrypt filesystems fsck)

# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"
COMPRESSION="zstd"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()

Output of cat /etc/pacman.d/hooks/nvidia.hook:

[Trigger]
Operation=Install
Operation=Upgrade
Operation=Remove
Type=Package
Target=nvidia
Target=linux
# Adjust line(6) above to match your driver, e.g. Target=nvidia-470xx-dkms
# Change line(7) above, if you are not using the regular kernel For example, Target=linux-lts

[Action]
Description=Update Nvidia module in initcpio
Depends=mkinitcpio
When=PostTransaction
NeedsTargets

The full output of sudo journalctl -b | curl -F 'file=@-' 0x0.st is here, these lines in particular stood out to me:

Oct 12 19:31:21 tom-asus-laptop kernel: [drm:nv_drm_dev_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to add connector for NvKmsKapiDisplay 0x00000100
Oct 12 19:31:21 tom-asus-laptop kernel: [drm:nv_drm_dev_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to get dynamic displays

Again, I'm not sure what the problem could be here - any help would be greatly appreciated.

Last edited by atomicator (2025-10-14 20:36:55)

Offline

#2 2025-10-13 12:13:21

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,310

Re: NVIDIA breaks after updating linux-firmware

Oct 12 19:31:21 tom-asus-laptop kernel: smpboot: CPU0: AMD Ryzen 7 4800H with Radeon Graphics (family: 0x17, model: 0x60, stepping: 0x1)

Oct 12 19:31:21 tom-asus-laptop kernel: nvidia 0000:01:00.0: [drm] Cannot find any crtc or sizes

That looks very much like  a hybrid system with an amd integrated gpu and the nvidia one . Please post the full output of lspci -k .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2025-10-13 19:51:59

atomicator
Member
Registered: 2025-10-12
Posts: 4

Re: NVIDIA breaks after updating linux-firmware

Sorry, I should have made that clearer - I have an AMD CPU (with an integrated GPU) and a dedicated NVIDIA GPU.

The output of lspci -k:

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
        Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
        Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
        Subsystem: ASUSTeK Computer Inc. Device 1e21
        Kernel driver in use: pcieport
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
        Subsystem: ASUSTeK Computer Inc. Device 1e21
        Kernel driver in use: pcieport
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
        Subsystem: ASUSTeK Computer Inc. Device 1e21
        Kernel driver in use: pcieport
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
        Subsystem: ASUSTeK Computer Inc. Device 1e21
        Kernel driver in use: pcieport
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
        Subsystem: ASUSTeK Computer Inc. Device 1e21
        Kernel driver in use: pcieport
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
        Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
        Kernel driver in use: pcieport
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
        Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
        Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
        Subsystem: ASUSTeK Computer Inc. Device 1e21
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
        Subsystem: ASUSTeK Computer Inc. Device 1e21
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 3
        Kernel driver in use: k10temp
        Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 7
01:00.0 VGA compatible controller: NVIDIA Corporation TU116M [GeForce GTX 1660 Ti Mobile] (rev a1)
        Subsystem: ASUSTeK Computer Inc. Device 16cf
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation TU116 High Definition Audio Controller (rev a1)
        Subsystem: ASUSTeK Computer Inc. Device 16cf
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
01:00.2 USB controller: NVIDIA Corporation TU116 USB 3.1 Host Controller (rev a1)
        Subsystem: ASUSTeK Computer Inc. Device 16cf
        Kernel driver in use: xhci_hcd
01:00.3 Serial bus controller: NVIDIA Corporation TU116 USB Type-C UCSI Controller (rev a1)
        Subsystem: ASUSTeK Computer Inc. Device 16cf
        Kernel driver in use: nvidia-gpu
        Kernel modules: i2c_nvidia_gpu
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: ASUSTeK Computer Inc. Device 208f
        Kernel driver in use: r8169
        Kernel modules: r8169
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
        Subsystem: AzureWave Device 3750
        Kernel driver in use: rtw88_8822ce
        Kernel modules: rtw88_8822ce, wl
04:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 980 (DRAM-less)
        Subsystem: Samsung Electronics Co Ltd Device a801
        Kernel driver in use: nvme
        Kernel modules: nvme
05:00.0 Non-Volatile memory controller: Intel Corporation SSD 660P Series (rev 03)
        Subsystem: Intel Corporation Device 390d
        Kernel driver in use: nvme
        Kernel modules: nvme
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [Radeon Vega Series / Radeon Vega Mobile Series] (rev c6)
        Subsystem: ASUSTeK Computer Inc. Device 16cf
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir/Cezanne HDMI/DP Audio Controller
        Subsystem: ASUSTeK Computer Inc. Device 16cf
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
06:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir/Cezanne Platform Security Processor
        Subsystem: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir/Cezanne Platform Security Processor
        Kernel driver in use: ccp
        Kernel modules: ccp
06:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
        Subsystem: ASUSTeK Computer Inc. Device 201f
        Kernel driver in use: xhci_hcd
06:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
        Subsystem: ASUSTeK Computer Inc. Device 201f
        Kernel driver in use: xhci_hcd
06:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Audio Coprocessor (rev 01)
        Subsystem: Device 1e21:1043
        Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, 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
06:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h/1ah HD Audio Controller
        DeviceName: HD Audio Controller
        Subsystem: ASUSTeK Computer Inc. Device 1e21
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
07:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
        Subsystem: ASUSTeK Computer Inc. Device 1e21
        Kernel driver in use: ahci
07:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
        Subsystem: ASUSTeK Computer Inc. Device 1e21
        Kernel driver in use: ahci

Last edited by atomicator (2025-10-13 19:52:15)

Offline

#4 2025-10-13 20:22:20

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,068

Re: NVIDIA breaks after updating linux-firmware

I did not update recently enough, meaning almost every package I had installed needed updating.

You apparently crossed the firmware split that happened this summer, but the nvida drivers and firmware are part of nvidia-utils, not linux-firmware-whatever
Try to disable the https://wiki.archlinux.org/title/NVIDIA … P_firmware

Offline

#5 2025-10-13 22:32:26

atomicator
Member
Registered: 2025-10-12
Posts: 4

Re: NVIDIA breaks after updating linux-firmware

I ran:

sudo modprobe nvidia NVreg_EnableGpuFirmware=0
sudo mkinitcpio -P
reboot

This worked - thank you for the help.

Offline

#6 2025-10-14 07:06:58

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,068

Re: NVIDIA breaks after updating linux-firmware

That will not have effectively disable the GSP because the first command does nothing if the nvidia module already was loaded and the second command will only regenerate the initramfs what w/o any config changes is inert.

systool -vm nvidia
modprobe -c | grep NVreg_EnableGpuFirmware

Offline

#7 2025-10-14 20:27:51

atomicator
Member
Registered: 2025-10-12
Posts: 4

Re: NVIDIA breaks after updating linux-firmware

The output of systool -vm nvidia:

Module = "nvidia"

  Attributes:
    coresize            = "111501312"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "73"
    srcversion          = "152F436C47A14B32E9282D4"
    taint               = "POE"
    uevent              = <store method only>
    version             = "580.95.05"

  Sections:

modprobe -c | grep NVreg_EnableGpuFirmware didn't output anything.

I'm about to add nvidia.NVreg_EnableGpuFirmware=0 to /etc/default/grub (at the end of the GRUB_CMDLINE_LINUX_DEFAULT line) then update GRUB with sudo grub-mkconfig -o /boot/grub/grub.cfg, I'll add the responses after a reboot.

Post reboot: the problem has re-appeared. The output of systool -vm nvidia is:

Module = "nvidia"

  Attributes:
    coresize            = "111501312"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "71"
    srcversion          = "152F436C47A14B32E9282D4"
    taint               = "POE"
    uevent              = <store method only>
    version             = "580.95.05"

  Sections:

and modprobe -c | grep NVreg_EnableGpuFirmware outputs:

options nvidia NVreg_EnableGpuFirmware=0

Last edited by atomicator (2025-10-14 20:43:03)

Offline

#8 Yesterday 07:22:54

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,068

Re: NVIDIA breaks after updating linux-firmware

You mean the problem has re-emerged after actually disabling the GSP?
Or (I guess) it's completely irrelevant.

You've nvidia in the initramfs but not amdgpu, meaning the former runs into the simpledrm device.
Try to flip that around (remove any kms HOOKS and only explicitly add amdgpu to the MODULES array (but nothing nvidia) in your mkinitcpo.conf (don't forget to regenerate the initramfs)

Offline

Board footer

Powered by FluxBB