Skip to main content

Issue: Connecting external monitor(s) causes a kernel panic and crash. Sometimes the crash happens at the moment you cross the mouse across from one monitor border to another. Sometimes the crash is immediate, which I'm guessing is If the mouse is mapped to the other monitor first.  

This happened with 

  • HDMI-to-HDMI monitors
  • USBC-to-HDMI monitors. 
  • nvidia driver 580.142
  • nvidia driver 590.XXX

I'll list the solution first and then the Diagnostics and Details

Solution: 

1) find out the cards on the system with ls /dev/dri

$ ls -l /dev/dri 
total 0 
drwxr-xr-x 2 root root        120 May  4 09:21 by-path 
crw-rw---- 1 root video  226,   0 May  4 09:21 card0 
crw-rw---- 1 root video  226,   1 May  4 09:21 card1 
crw-rw---- 1 root render 226, 128 May  4 09:21 renderD128 
crw-rw---- 1 root render 226, 129 May  4 09:21 renderD129

2) Then create an override .conf file using the card#s listed and reboot. 

$ mkdir -p ~/.config/systemd/user/plasma-kwin_wayland.service.d/
$ cat > ~/.config/systemd/user/plasma-kwin_wayland.service.d/01-nvidia-drm-device-order.conf << 'EOF'
[Service]
Environment=KWIN_DRM_DEVICES=/dev/dri/card0:/dev/dri/card1
EOF

$ systemctl --user daemon-reload

$ reboot

Setup: 

+-----------------------------------------------------------------------------------------+ 
| NVIDIA-SMI 580.142                Driver Version: 580.142        CUDA Version: 13.0     | 
+-----------------------------------------+------------------------+----------------------+ 
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC | 
|=========================================+========================+======================| 
|   0  Quadro P1000                   Off |   00000000:01:00.0  On |                  N/A | 
+-----------------------------------------+------------------------+----------------------+
 

What didn't work: Any of the following settings in /etc/modprobe.d/INSERT_FILE_HERE.conf

(notice all settings are now all commented out)

# Explicitly define the power management behavior to prevent the driver from guessing.·
# 0x02 sets the power management to "Fine-grained," 
#
#options nvidia NVreg_EnableS0ixPowerManagement=1
#options nvidia NVreg_DynamicPowerManagement=0x02
# options nvidia NVreg_DynamicPowerManagement=0

# forcing EnableGpuFirmware can sometimes stabilize the "handshake" between the GPU and the monitor.
# You can try adding this to your nvidia.conf:
#options nvidia NVreg_EnableGpuFirmware=0
#options nvidia NVreg_EnableGpuFirmware=1

#This disables a new interrupt locking mode introduced in the
# 580/570 series that is known to cause stutters and GPU stalls on some RTX cards.
#options nvidia "NVreg_RegistryDwords=RMIntrLockingMode=0"
#
# Power settings
# options nvidia_drm modeset=0
 

Logs: 

A dump of journalctl right before the crash shows:

[  217.945196] ao-x360 kernel: nvidia 0000:01:00.0: [drm] fb1: nvidia-drmdrmfb frame buffer device 
[  218.282571] ao-x360 kwin_wayland_wrapper[4146]: kwin_scene_opengl: 0x500: GL_INVALID_ENUM error generated. Invalid <face>. 
[  218.282571] ao-x360 kwin_wayland_wrapper[4146]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT" 
[  218.283408] ao-x360 kwin_wayland_wrapper[4146]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated. <image> and <target> are incompatible 
[  218.283408] ao-x360 kwin_wayland_wrapper[4146]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT" 
[  218.357261] ao-x360 kernel: BUG: kernel NULL pointer dereference, address: 0000000000000028 
[  218.357483] ao-x360 kernel: #PF: supervisor read access in kernel mode 
[  218.371297] ao-x360 kernel: #PF: error_code(0x0000) - not-present page 
[  218.371382] ao-x360 kernel: PGD 80000002384ee067 P4D 80000002384ee067 PUD 0  
[  218.371482] ao-x360 kernel: Oops: Oops: 0000 [#1] SMP PTI 
 

which shows the kwin+nvidia+kernel panic. 

(longer dump)

[  216.589085] ao-x360 kernel: pci 0000:05:00.0: [8086:15ea] type 01 class 0x060400 PCIe Switch Upstream Port 
[  216.589342] ao-x360 kernel: pci 0000:05:00.0: PCI bridge to [bus 06-6f] 
[  216.589449] ao-x360 kernel: pci 0000:05:00.0:   bridge window [mem 0xb0000000-0xde0fffff] 
[  216.589540] ao-x360 kernel: pci 0000:05:00.0:   bridge window [mem 0x4000000000-0x4049ffffff 64bit pref] 
[  216.589771] ao-x360 kernel: pci 0000:05:00.0: enabling Extended Tags 
[  216.589931] ao-x360 kernel: pci 0000:05:00.0: supports D1 D2 
[  216.590205] ao-x360 kernel: pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold 
[  216.590414] ao-x360 kernel: pci 0000:05:00.0: PTM enabled, 4ns granularity 
[  216.590567] ao-x360 kernel: pci 0000:05:00.0: Adding to iommu group 19 
[  216.592013] ao-x360 kernel: pci 0000:06:00.0: [8086:15ea] type 01 class 0x060400 PCIe Switch Downstream Port 
[  216.592264] ao-x360 kernel: pci 0000:06:00.0: PCI bridge to [bus 07] 
[  216.592433] ao-x360 kernel: pci 0000:06:00.0:   bridge window [mem 0xde000000-0xde0fffff] 
[  216.592594] ao-x360 kernel: pci 0000:06:00.0: enabling Extended Tags 
[  216.592797] ao-x360 kernel: pci 0000:06:00.0: supports D1 D2 
[  216.592975] ao-x360 kernel: pci 0000:06:00.0: PME# supported from D0 D1 D2 D3hot D3cold 
[  216.593224] ao-x360 kernel: pci 0000:06:00.0: Adding to iommu group 20 
[  216.593389] ao-x360 kernel: pci 0000:06:01.0: [8086:15ea] type 01 class 0x060400 PCIe Switch Downstream Port 
[  216.593561] ao-x360 kernel: pci 0000:06:01.0: PCI bridge to [bus 08-3a] 
[  216.593740] ao-x360 kernel: pci 0000:06:01.0:   bridge window [mem 0xb0000000-0xc6efffff] 
[  216.593939] ao-x360 kernel: pci 0000:06:01.0:   bridge window [mem 0x4000000000-0x4024ffffff 64bit pref] 
[  216.594175] ao-x360 kernel: pci 0000:06:01.0: enabling Extended Tags 
[  216.594366] ao-x360 kernel: pci 0000:06:01.0: supports D1 D2 
[  216.594553] ao-x360 kernel: pci 0000:06:01.0: PME# supported from D0 D1 D2 D3hot D3cold 
[  216.594751] ao-x360 kernel: pci 0000:06:01.0: Adding to iommu group 21 
[  216.594939] ao-x360 kernel: pci 0000:06:02.0: [8086:15ea] type 01 class 0x060400 PCIe Switch Downstream Port 
[  216.595160] ao-x360 kernel: pci 0000:06:02.0: PCI bridge to [bus 3b] 
[  216.595352] ao-x360 kernel: pci 0000:06:02.0:   bridge window [mem 0xc6f00000-0xc6ffffff] 
[  216.595540] ao-x360 kernel: pci 0000:06:02.0: enabling Extended Tags 
[  216.595733] ao-x360 kernel: pci 0000:06:02.0: supports D1 D2 
[  216.595922] ao-x360 kernel: pci 0000:06:02.0: PME# supported from D0 D1 D2 D3hot D3cold 
[  216.596125] ao-x360 kernel: pci 0000:06:02.0: Adding to iommu group 22 
[  216.596341] ao-x360 kernel: pci 0000:06:04.0: [8086:15ea] type 01 class 0x060400 PCIe Switch Downstream Port 
[  216.596511] ao-x360 kernel: pci 0000:06:04.0: PCI bridge to [bus 3c-6f] 
[  216.596703] ao-x360 kernel: pci 0000:06:04.0:   bridge window [mem 0xc7000000-0xddffffff] 
[  216.596881] ao-x360 kernel: pci 0000:06:04.0:   bridge window [mem 0x4025000000-0x4049ffffff 64bit pref] 
[  216.597058] ao-x360 kernel: pci 0000:06:04.0: enabling Extended Tags 
[  216.597220] ao-x360 kernel: pci 0000:06:04.0: supports D1 D2 
[  216.597375] ao-x360 kernel: pci 0000:06:04.0: PME# supported from D0 D1 D2 D3hot D3cold 
[  216.597531] ao-x360 kernel: pci 0000:06:04.0: Adding to iommu group 23 
[  216.597686] ao-x360 kernel: pci 0000:05:00.0: PCI bridge to [bus 06-6f] 
[  216.597841] ao-x360 kernel: pci 0000:06:00.0: PCI bridge to [bus 07] 
[  216.597996] ao-x360 kernel: pci 0000:06:01.0: PCI bridge to [bus 08-3a] 
[  216.598164] ao-x360 kernel: pci 0000:3b:00.0: [8086:15ec] type 00 class 0x0c0330 PCIe Endpoint 
[  216.598348] ao-x360 kernel: pci 0000:3b:00.0: BAR 0 [mem 0xc6f00000-0xc6f0ffff] 
[  216.598508] ao-x360 kernel: pci 0000:3b:00.0: enabling Extended Tags 
[  216.598676] ao-x360 kernel: pci 0000:3b:00.0: supports D1 D2 
[  216.598843] ao-x360 kernel: pci 0000:3b:00.0: PME# supported from D0 D1 D2 D3hot D3cold 
[  216.599040] ao-x360 kernel: pci 0000:3b:00.0: Adding to iommu group 24 
[  216.599223] ao-x360 kernel: pci 0000:06:02.0: PCI bridge to [bus 3b] 
[  216.599383] ao-x360 kernel: pci 0000:06:04.0: PCI bridge to [bus 3c-6f] 
[  216.599536] ao-x360 kernel: pci_bus 0000:06: Allocating resources 
[  216.599705] ao-x360 kernel: pci 0000:06:01.0: bridge window [io  0x1000-0x0fff] to [bus 08-3a] add_size 1000 
[  216.599887] ao-x360 kernel: pci 0000:06:04.0: bridge window [io  0x1000-0x0fff] to [bus 3c-6f] add_size 1000 
[  216.600063] ao-x360 kernel: pci 0000:05:00.0: bridge window [io  0x1000-0x0fff] to [bus 06-6f] add_size 2000 
[  216.600236] ao-x360 kernel: pci 0000:05:00.0: bridge window [io  size 0x2000]: can't assign; no space 
[  216.600391] ao-x360 kernel: pci 0000:05:00.0: bridge window [io  size 0x2000]: failed to assign 
[  216.600545] ao-x360 kernel: pci 0000:05:00.0: bridge window [io  size 0x2000]: can't assign; no space 
[  216.600695] ao-x360 kernel: pci 0000:05:00.0: bridge window [io  size 0x2000]: failed to assign 
[  216.600846] ao-x360 kernel: pci 0000:06:01.0: bridge window [io  size 0x1000]: can't assign; no space 
[  216.600999] ao-x360 kernel: pci 0000:06:01.0: bridge window [io  size 0x1000]: failed to assign 
[  216.601164] ao-x360 kernel: pci 0000:06:04.0: bridge window [io  size 0x1000]: can't assign; no space 
[  216.601318] ao-x360 kernel: pci 0000:06:04.0: bridge window [io  size 0x1000]: failed to assign 
[  216.601470] ao-x360 kernel: pci 0000:06:04.0: bridge window [io  size 0x1000]: can't assign; no space 
[  216.601628] ao-x360 kernel: pci 0000:06:04.0: bridge window [io  size 0x1000]: failed to assign 
[  216.601779] ao-x360 kernel: pci 0000:06:01.0: bridge window [io  size 0x1000]: can't assign; no space 
[  216.601932] ao-x360 kernel: pci 0000:06:01.0: bridge window [io  size 0x1000]: failed to assign 
[  216.602097] ao-x360 kernel: pci 0000:06:00.0: PCI bridge to [bus 07] 
[  216.602249] ao-x360 kernel: pci 0000:06:00.0:   bridge window [mem 0xde000000-0xde0fffff] 
[  216.602400] ao-x360 kernel: pci 0000:06:01.0: PCI bridge to [bus 08-3a] 
[  216.602554] ao-x360 kernel: pci 0000:06:01.0:   bridge window [mem 0xb0000000-0xc6efffff] 
[  216.602707] ao-x360 kernel: pci 0000:06:01.0:   bridge window [mem 0x4000000000-0x4024ffffff 64bit pref] 
[  216.602861] ao-x360 kernel: pci 0000:06:02.0: PCI bridge to [bus 3b] 
[  216.603017] ao-x360 kernel: pci 0000:06:02.0:   bridge window [mem 0xc6f00000-0xc6ffffff] 
[  216.603175] ao-x360 kernel: pci 0000:06:04.0: PCI bridge to [bus 3c-6f] 
[  216.603338] ao-x360 kernel: pci 0000:06:04.0:   bridge window [mem 0xc7000000-0xddffffff] 
[  216.603494] ao-x360 kernel: pci 0000:06:04.0:   bridge window [mem 0x4025000000-0x4049ffffff 64bit pref] 
[  216.603646] ao-x360 kernel: pci 0000:05:00.0: PCI bridge to [bus 06-6f] 
[  216.603792] ao-x360 kernel: pci 0000:05:00.0:   bridge window [mem 0xb0000000-0xde0fffff] 
[  216.603940] ao-x360 kernel: pci 0000:05:00.0:   bridge window [mem 0x4000000000-0x4049ffffff 64bit pref] 
[  216.604104] ao-x360 kernel: xhci_hcd 0000:3b:00.0: xHCI Host Controller 
[  216.604268] ao-x360 kernel: xhci_hcd 0000:3b:00.0: new USB bus registered, assigned bus number 3 
[  216.604430] ao-x360 kernel: xhci_hcd 0000:3b:00.0: hcc params 0x200077c1 hci version 0x110 quirks 0x0000000200009810 
[  216.604586] ao-x360 kernel: xhci_hcd 0000:3b:00.0: xHCI Host Controller 
[  216.604743] ao-x360 kernel: xhci_hcd 0000:3b:00.0: new USB bus registered, assigned bus number 4 
[  216.604904] ao-x360 kernel: xhci_hcd 0000:3b:00.0: Host supports USB 3.1 Enhanced SuperSpeed 
[  216.605091] ao-x360 kernel: usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.17 
[  216.605230] ao-x360 kernel: usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 
[  216.605353] ao-x360 kernel: usb usb3: Product: xHCI Host Controller 
[  216.605491] ao-x360 kernel: usb usb3: Manufacturer: Linux 6.17.0-23-generic xhci-hcd 
[  216.605618] ao-x360 kernel: usb usb3: SerialNumber: 0000:3b:00.0 
[  216.605736] ao-x360 kernel: hub 3-0:1.0: USB hub found 
[  216.605924] ao-x360 kernel: hub 3-0:1.0: 2 ports detected 
[  216.606104] ao-x360 kernel: usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.17 
[  216.606234] ao-x360 kernel: usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 
[  216.606354] ao-x360 kernel: usb usb4: Product: xHCI Host Controller 
[  216.606476] ao-x360 kernel: usb usb4: Manufacturer: Linux 6.17.0-23-generic xhci-hcd 
[  216.606599] ao-x360 kernel: usb usb4: SerialNumber: 0000:3b:00.0 
[  216.606733] ao-x360 kernel: hub 4-0:1.0: USB hub found 
[  216.606966] ao-x360 kernel: hub 4-0:1.0: 2 ports detected 
[  217.253120] ao-x360 kernel: usb 1-11: new full-speed USB device number 6 using xhci_hcd 
[  217.400136] ao-x360 kernel: usb 1-11: not running at top speed; connect to a high speed hub 
[  217.431059] ao-x360 kernel: usb 1-11: New USB device found, idVendor=25a4, idProduct=9311, bcdDevice= 2.01 
[  217.432065] ao-x360 kernel: usb 1-11: New USB device strings: Mfr=1, Product=2, SerialNumber=3 
[  217.432634] ao-x360 kernel: usb 1-11: Product: USB C Video Adaptor       
[  217.433183] ao-x360 kernel: usb 1-11: Manufacturer: USB C   
[  217.433708] ao-x360 kernel: usb 1-11: SerialNumber: 000000000001 
[  217.453976] ao-x360 mtp-probe[6597]: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-11" 
[  217.454430] ao-x360 mtp-probe[6597]: bus: 1, device: 6 was not an MTP device 
[  217.473054] ao-x360 mtp-probe[6608]: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-11" 
[  217.473279] ao-x360 mtp-probe[6608]: bus: 1, device: 6 was not an MTP device 
[  217.945050] ao-x360 kernel: fbcon: Deferring console take-over 
[  217.945196] ao-x360 kernel: nvidia 0000:01:00.0: [drm] fb1: nvidia-drmdrmfb frame buffer device 
[  218.282571] ao-x360 kwin_wayland_wrapper[4146]: kwin_scene_opengl: 0x500: GL_INVALID_ENUM error generated. Invalid <face>. 
[  218.282571] ao-x360 kwin_wayland_wrapper[4146]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT" 
[  218.283408] ao-x360 kwin_wayland_wrapper[4146]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated. <image> and <target> are incompatible 
[  218.283408] ao-x360 kwin_wayland_wrapper[4146]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT" 
[  218.357261] ao-x360 kernel: BUG: kernel NULL pointer dereference, address: 0000000000000028 
[  218.357483] ao-x360 kernel: #PF: supervisor read access in kernel mode 
[  218.371297] ao-x360 kernel: #PF: error_code(0x0000) - not-present page 
[  218.371382] ao-x360 kernel: PGD 80000002384ee067 P4D 80000002384ee067 PUD 0  
[  218.371482] ao-x360 kernel: Oops: Oops: 0000 [#1] SMP PTI 
[  218.371506] ao-x360 kernel: CPU: 1 UID: 1000 PID: 4146 Comm: kwin_wayland Tainted: P           OE       6.17.0-23-generic #23-Ubuntu PREEMPT(voluntary)  
[  218.371521] ao-x360 kernel: Tainted: [P]=PROPRIETARY_MODULE, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE 
[  218.371536] ao-x360 kernel: Hardware name: HP HP ZBook Studio x360 G5/844F, BIOS Q71 Ver. 01.32.00 03/04/2025 
[  218.371550] ao-x360 kernel: RIP: 0010:_nv000582kms+0x4/0x10 [nvidia_modeset] 
[  218.371564] ao-x360 kernel: Code: 87 50 01 00 00 70 2f 17 c3 48 c7 87 38 01 00 00 c0 2d 17 c3 48 c7 87 40 01 00 00 90 31 17 c3 c3 66 0f 1f 44 00 00 f3 0f 1e fa <0f> b6 47 28 c3 0f 1f 80 0 
0 00 00 00 89 c9 48 8d 04 49 48 c1 e0 04 
[  218.371582] ao-x360 kernel: RSP: 0018:ffffccaedb24f960 EFLAGS: 00010293 
[  218.371594] ao-x360 kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffc31735b0 
[  218.371607] ao-x360 kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 
[  218.371619] ao-x360 kernel: RBP: ffffccaedb24fa20 R08: 0000000000000000 R09: 0000000000000000 
[  218.371630] ao-x360 kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffff8c38704ab100 
[  218.371642] ao-x360 kernel: R13: ffffccaedb24f9a8 R14: ffff8c38704ab108 R15: 0000000000000000 
[  218.371654] ao-x360 kernel: FS:  00007f410626bd40(0000) GS:ffff8c47cf0fc000(0000) knlGS:0000000000000000 
[  218.371666] ao-x360 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033 
[  218.371681] ao-x360 kernel: CR2: 0000000000000028 CR3: 0000000184a62005 CR4: 00000000003726f0 
[  218.371694] ao-x360 kernel: Call Trace: 
[  218.371708] ao-x360 kernel:  <TASK> 
[  218.371720] ao-x360 kernel:  ? nv_drm_framebuffer_create+0x2f7/0x760 [nvidia_drm] 
[  218.371733] ao-x360 kernel:  drm_internal_framebuffer_create+0xfd/0x210 
[  218.371745] ao-x360 kernel:  drm_mode_addfb2_ioctl+0x51/0x100 
[  218.371760] ao-x360 kernel:  ? __pfx_drm_mode_addfb2_ioctl+0x10/0x10 
[  218.371772] ao-x360 kernel:  drm_ioctl_kernel+0xb2/0x110 
[  218.371785] ao-x360 kernel:  drm_ioctl+0x309/0x5e0 
[  218.371798] ao-x360 kernel:  ? __pfx_drm_mode_addfb2_ioctl+0x10/0x10 
[  218.371808] ao-x360 kernel:  nv_drm_ioctl+0x38/0x3e0 [nvidia_drm] 
[  218.371819] ao-x360 kernel:  ? hook_file_ioctl+0x10/0x20 
[  218.371831] ao-x360 kernel:  __x64_sys_ioctl+0xa0/0x100 
[  218.371844] ao-x360 kernel:  x64_sys_call+0x1151/0x2330 
[  218.371855] ao-x360 kernel:  do_syscall_64+0x81/0xb30 
[  218.371873] ao-x360 kernel:  ? drm_ioctl+0x348/0x5e0 
[  218.371887] ao-x360 kernel:  ? __pfx_drm_prime_fd_to_handle_ioctl+0x10/0x10 
[  218.371903] ao-x360 kernel:  ? hook_file_ioctl+0x10/0x20 
[  218.371916] ao-x360 kernel:  ? __x64_sys_ioctl+0xbd/0x100 
[  218.371928] ao-x360 kernel:  ? arch_exit_to_user_mode_prepare.isra.0+0xd/0xe0 
[  218.371942] ao-x360 kernel:  ? do_syscall_64+0xb9/0xb30 
[  218.371954] ao-x360 kernel:  ? __x64_sys_ioctl+0xbd/0x100 
[  218.371965] ao-x360 kernel:  ? arch_exit_to_user_mode_prepare.isra.0+0xd/0xe0 
[  218.371974] ao-x360 kernel:  ? do_syscall_64+0xb9/0xb30 
[  218.371987] ao-x360 kernel:  ? arch_exit_to_user_mode_prepare.isra.0+0xd/0xe0 
[  218.371997] ao-x360 kernel:  ? do_syscall_64+0xb9/0xb30 
[  218.372046] ao-x360 kernel:  ? arch_exit_to_user_mode_prepare.isra.0+0xd/0xe0 
[  218.372059] ao-x360 kernel:  ? do_syscall_64+0xb9/0xb30 
[  218.372072] ao-x360 kernel:  ? irqentry_exit_to_user_mode+0x2d/0x1d0 
[  218.372114] ao-x360 kernel:  ? irqentry_exit+0x43/0x50 
[  218.372127] ao-x360 kernel:  ? exc_page_fault+0x90/0x1b0 
[  218.372139] ao-x360 kernel:  entry_SYSCALL_64_after_hwframe+0x76/0x7e 
[  218.372151] ao-x360 kernel: RIP: 0033:0x7f410d1328bd 
[  218.372165] ao-x360 kernel: Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10 00 00 00 48 89 45 b8 48 8d 45 d0 48 89 45 c0 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1 
a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00 
[  218.372177] ao-x360 kernel: RSP: 002b:00007fff939f5ff0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 
[  218.372189] ao-x360 kernel: RAX: ffffffffffffffda RBX: 00007fff939f61d4 RCX: 00007f410d1328bd 
[  218.372201] ao-x360 kernel: RDX: 00007fff939f6080 RSI: 00000000c06864b8 RDI: 00000000000000bb 
[  218.372212] ao-x360 kernel: RBP: 00007fff939f6040 R08: 00007fff939f6230 R09: 0000622737b2f578 
[  218.372227] ao-x360 kernel: R10: 000000007fffffff R11: 0000000000000246 R12: 00007fff939f6080 
[  218.372240] ao-x360 kernel: R13: 00000000c06864b8 R14: 00000000000000bb R15: 0000622737b2f540 
[  218.372252] ao-x360 kernel:  </TASK> 
[  218.372262] ao-x360 kernel: Modules linked in: ccm snd_seq_dummy snd_hrtimer zfs(PO) spl(O) xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_masq  
nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 bridge stp llc nf_tables qrtr vhost_vsock vmw_vsock_virtio_transport_common vhost vhost_iotlb vsock rfcomm cmac algif_hash alg 
if_skcipher af_alg bnep nvidia_uvm(POE) sunrpc binfmt_misc nvidia_drm(POE) snd_sof_pci_intel_cnl nvidia_modeset(POE) snd_sof_intel_hda_generic soundwire_intel snd_hda_codec_intelhdmi snd_sof 
_intel_hda_sdw_bpt snd_sof_intel_hda_common snd_soc_hdac_hda snd_ctl_led snd_sof_intel_hda_mlink snd_hda_codec_conexant snd_hda_codec_generic snd_sof_intel_hda soundwire_cadence snd_sof_pci  
snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_acpi_intel_match snd_soc_acpi_intel_sdca_quirks soundwire_generic_allocation snd_soc_acpi soundwire_bus snd_soc_sdca crc8 snd_hda_codec_nvhdm 
i intel_uncore_frequency snd_hda_codec_hdmi intel_uncore_frequency_common intel_pmc_core_pltdrv 
[  218.372338] ao-x360 kernel:  snd_soc_avs intel_pmc_core pmt_telemetry snd_soc_hda_codec pmt_discovery snd_hda_intel pmt_class snd_hda_ext_core intel_pmc_ssram_telemetry intel_vsec snd_hda 
_codec intel_tcc_cooling x86_pkg_temp_thermal snd_hda_core intel_powerclamp cmdlinepart snd_intel_dspcfg coretemp spi_nor snd_intel_sdw_acpi iwlmvm nvidia(POE) nls_iso8859_1 kvm_intel snd_se 
q_midi snd_hwdep mtd ee1004 intel_rapl_msr mei_hdcp mei_pxp i915 snd_seq_midi_event mac80211 processor_thermal_device_pci_legacy snd_rawmidi snd_soc_core libarc4 kvm uvcvideo processor_therm 
al_device snd_compress videobuf2_vmalloc processor_thermal_wt_hint ac97_bus btusb uvc platform_temperature_control snd_pcm_dmaengine videobuf2_memops btrtl processor_thermal_soc_slider hid_s 
ensor_als hid_sensor_rotation hid_sensor_magn_3d hid_sensor_gyro_3d hid_sensor_accel_3d hid_sensor_incl_3d irqbypass snd_seq snd_pcm videobuf2_v4l2 processor_thermal_rfim btintel i2c_i801 hi 
d_sensor_trigger drm_buddy iwlwifi processor_thermal_rapl videobuf2_common 
[  218.372364] ao-x360 kernel:  industrialio_triggered_buffer spi_intel_pci btbcm snd_seq_device i2c_smbus rapl drm_display_helper btmtk kfifo_buf intel_rapl_common intel_cstate intel_wmi_th 
underbolt hp_wmi mxm_wmi wmi_bmof spi_intel i2c_mux videodev snd_timer snd hid_sensor_iio_common mc bluetooth processor_thermal_wt_req cfg80211 mei_me cec processor_thermal_power_floor drm_t 
tm_helper processor_thermal_mbox soundcore rc_core industrialio mei intel_soc_dts_iosf ttm platform_profile i2c_algo_bit intel_pch_thermal int3403_thermal int340x_thermal_zone hp_accel intel 
_hid int3400_thermal wireless_hotkey soc_button_array lis3lv02d acpi_thermal_rel sparse_keymap acpi_pad input_leds joydev mac_hid sch_fq_codel msr parport_pc ppdev lp parport efi_pstore nfne 
tlink dmi_sysfs ip_tables x_tables autofs4 btrfs blake2b_generic xor raid6_pq hid_sensor_custom hid_sensor_hub intel_ishtp_hid wacom usbhid hid_multitouch hid_generic rtsx_pci_sdmmc nvme vid 
eo polyval_clmulni ucsi_acpi ghash_clmulni_intel typec_ucsi typec nvme_core psmouse serio_raw 
[  218.372391] ao-x360 kernel:  intel_ish_ipc intel_lpss_pci nvme_keyring i2c_hid_acpi ahci i2c_hid intel_lpss thunderbolt rtsx_pci idma64 nvme_auth libahci hid intel_ishtp wmi pinctrl_canno 
nlake aesni_intel 
[  218.372411] ao-x360 kernel: CR2: 0000000000000028 
[  218.372433] ao-x360 kernel: ---[ end trace 0000000000000000 ]--- 
[  218.372446] ao-x360 kernel: RIP: 0010:_nv000582kms+0x4/0x10 [nvidia_modeset] 
[  218.372457] ao-x360 kernel: Code: 87 50 01 00 00 70 2f 17 c3 48 c7 87 38 01 00 00 c0 2d 17 c3 48 c7 87 40 01 00 00 90 31 17 c3 c3 66 0f 1f 44 00 00 f3 0f 1e fa <0f> b6 47 28 c3 0f 1f 80 0 
0 00 00 00 89 c9 48 8d 04 49 48 c1 e0 04 
[  218.372478] ao-x360 kernel: RSP: 0018:ffffccaedb24f960 EFLAGS: 00010293 
[  218.372499] ao-x360 kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffc31735b0 
[  218.372518] ao-x360 kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 
[  218.372530] ao-x360 kernel: RBP: ffffccaedb24fa20 R08: 0000000000000000 R09: 0000000000000000 
[  218.372543] ao-x360 kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffff8c38704ab100 
[  218.372557] ao-x360 kernel: R13: ffffccaedb24f9a8 R14: ffff8c38704ab108 R15: 0000000000000000 
[  218.372567] ao-x360 kernel: FS:  00007f410626bd40(0000) GS:ffff8c47cf0fc000(0000) knlGS:0000000000000000 
[  218.372577] ao-x360 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033 
[  218.372587] ao-x360 kernel: CR2: 0000000000000028 CR3: 0000000184a62005 CR4: 00000000003726f0 
[  218.372597] ao-x360 kernel: note: kwin_wayland[4146] exited with irqs disabled 
[  226.981037] ao-x360 kernel: xhci_hcd 0000:3b:00.0: Controller not ready at resume -19 
[  226.981500] ao-x360 kernel: xhci_hcd 0000:3b:00.0: PCI post-resume error -19! 
[  226.981676] ao-x360 kernel: xhci_hcd 0000:3b:00.0: HC died; cleaning up 
[  226.981778] ao-x360 kernel: xhci_hcd 0000:3b:00.0: remove, state 4 
[  226.981883] ao-x360 kernel: usb usb4: USB disconnect, device number 1 
[  226.981945] ao-x360 kernel: xhci_hcd 0000:3b:00.0: USB bus 4 deregistered 
[  226.982073] ao-x360 kernel: xhci_hcd 0000:3b:00.0: remove, state 4 
[  226.982230] ao-x360 kernel: usb usb3: USB disconnect, device number 1 
[  226.982301] ao-x360 kernel: xhci_hcd 0000:3b:00.0: Host halt failed, -19 
[  226.982396] ao-x360 kernel: xhci_hcd 0000:3b:00.0: Host not accessible, reset failed. 
[  226.982488] ao-x360 kernel: xhci_hcd 0000:3b:00.0: USB bus 3 deregistered 
[  226.984055] ao-x360 (udev-worker)[6649]: usb3: Process '/usr/lib/snapd/snap-device-helper offline snap_cups_cupsd /devices/pci0000:00/0000:00:1c.4/0000:05:00.0/0000:06:02.0/0000:3b:00.0/u 
sb3 189:256' failed with exit code 1. 
[  226.985372] ao-x360 (udev-worker)[6649]: usb3: Process '/usr/lib/snapd/snap-device-helper offline snap_cups_ippeveprinter /devices/pci0000:00/0000:00:1c.4/0000:05:00.0/0000:06:02.0/0000:3 
b:00.0/usb3 189:256' failed with exit code 1. 
[  226.994023] ao-x360 kernel: pci_bus 0000:06: Allocating resources 
[  226.994363] ao-x360 kernel: pcieport 0000:06:01.0: bridge window [io  0x1000-0x0fff] to [bus 08-3a] add_size 1000 
[  226.994659] ao-x360 kernel: pcieport 0000:06:04.0: bridge window [io  0x1000-0x0fff] to [bus 3c-6f] add_size 1000 
[  226.994975] ao-x360 kernel: pcieport 0000:05:00.0: bridge window [io  0x1000-0x0fff] to [bus 06-6f] add_size 2000 
[  226.995283] ao-x360 kernel: pcieport 0000:05:00.0: bridge window [io  size 0x2000]: can't assign; no space 
[  226.995523] ao-x360 kernel: pcieport 0000:05:00.0: bridge window [io  size 0x2000]: failed to assign 
[  226.995753] ao-x360 kernel: pcieport 0000:05:00.0: bridge window [io  size 0x2000]: can't assign; no space 
[  226.995985] ao-x360 kernel: pcieport 0000:05:00.0: bridge window [io  size 0x2000]: failed to assign 
[  226.996229] ao-x360 kernel: pcieport 0000:06:01.0: bridge window [io  size 0x1000]: can't assign; no space 
[  226.996469] ao-x360 kernel: pcieport 0000:06:01.0: bridge window [io  size 0x1000]: failed to assign 
[  226.996789] ao-x360 kernel: pcieport 0000:06:04.0: bridge window [io  size 0x1000]: can't assign; no space 
[  226.997072] ao-x360 kernel: pcieport 0000:06:04.0: bridge window [io  size 0x1000]: failed to assign 
[  226.997288] ao-x360 kernel: pcieport 0000:06:04.0: bridge window [io  size 0x1000]: can't assign; no space 
[  226.997497] ao-x360 kernel: pcieport 0000:06:04.0: bridge window [io  size 0x1000]: failed to assign 
[  226.997703] ao-x360 kernel: pcieport 0000:06:01.0: bridge window [io  size 0x1000]: can't assign; no space 
[  226.997912] ao-x360 kernel: pcieport 0000:06:01.0: bridge window [io  size 0x1000]: failed to assign 
[  231.911073] ao-x360 kernel: pcieport 0000:06:02.0: Unable to change power state from D3hot to D0, device inaccessible 
[  231.915057] ao-x360 kernel: pcieport 0000:06:00.0: Unable to change power state from D3hot to D0, device inaccessible 
[  231.920031] ao-x360 kernel: pci_bus 0000:07: busn_res: [bus 07] is released 
[  231.920288] ao-x360 kernel: pci_bus 0000:08: busn_res: [bus 08-3a] is released 
[  231.920544] ao-x360 kernel: pci_bus 0000:3b: busn_res: [bus 3b] is released 
[  231.920720] ao-x360 kernel: pci_bus 0000:3c: busn_res: [bus 3c-6f] is released 
[  231.920845] ao-x360 kernel: pci_bus 0000:06: busn_res: [bus 06-6f] is released

 See: https://bugs.kde.org/show_bug.cgi?id=519788