Kernel 6.9 amdgpu crash with multiple monitors via MST: NULL pointer dereference
Brief summary of the problem:
On a ThinkPad L15 Gen 1 AMD system in a dock using MST to drive 4 monitors. I have 2 1080p monitors, 1 1920x1200 and 1 4k monitor. Upon starting Hyprland, the kernel crashes. This issue does not occur if I boot with only one monitor turned on. Git bisect identified the commit that introduced the issue is drm/amd/display: Fix DSC-re-computing
Hardware description:
- CPU: AMD Ryzen 7 PRO 4750U (16) @ 1.70 GHz
- GPU: AMD Radeon RX Vega 6 (Ryzen 4000/5000 Mobile Series) [Integrated]
- System Memory: 64G
- Display(s): (PA248QV): 1920x1200 @ 60Hz (DELL U3223QE): 3840x2160 @ 60Hz (DELL P2217H): 1080x1920 @ 60Hz (DELL P2217H): 1080x1920 @ 60Hz
- Type of Display Connection: DP
System information:
- Distro name and Version: Arch Linux
- Kernel version: <TODO:
uname -a
> - Custom kernel: 6.9
- AMD official driver version: N/A
How to reproduce the issue:
Try to start Hyprland with 4 monitors attached using my dock and MST adapter.
Attached files:
[drm] Send DSC enable to synaptics
BUG: kernel NULL pointer dereference, address: 0000000000000008
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 0 P4D 0
Oops: 0000 [#1] PREEMPT SMP NOPTI
CPU: 5 PID: 1446 Comm: Hyprland Not tainted 6.9.1-arch1-2 #1 06928436e5a6b4805e171d14d8efa397d7db9ad0
Hardware name: LENOVO 20U7000VUS/20U7000VUS, BIOS R19ET48W (1.32 ) 10/30/2023
RIP: 0010:drm_dp_atomic_find_time_slots+0x5e/0x270 [drm_display_helper]
Code: 01 00 00 48 8b 85 68 05 00 00 48 63 80 88 00 00 00 3b 43 28 0f 8d 34 01 00 00 48 8b 53 30 48 8d 04 80 48 8d 04 c2 48 8b 40 18 <48> 8b 40 08 4d 8d 65 38 8b 88 90 00 00 00 b8 01 00 00 00 d3 e0 41
RSP: 0018:ffffa55143f47418 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff91ca2a47fd80 RCX: 0000000000000224
RDX: ffff91ca15bad600 RSI: ffff91c9c55b2800 RDI: ffff91ca2a47fd80
RBP: ffff91c9c1e98000 R08: 0000000000000001 R09: 0000000000000407
R10: 000000000000001b R11: 0000000000000001 R12: 0000000000000000
R13: ffff91ca09fefb40 R14: ffff91c9c55b2800 R15: 0000000000000224
FS: 000078e7ce64ab80(0000) GS:ffff91d830c80000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000008 CR3: 0000000156f9a000 CR4: 0000000000350ef0
Call Trace:
<TASK>
? __die_body.cold+0x19/0x27
? page_fault_oops+0x15a/0x2b0
? exc_page_fault+0x81/0x190
? asm_exc_page_fault+0x26/0x30
? drm_dp_atomic_find_time_slots+0x5e/0x270 [drm_display_helper e20ce2ee8a03a2dcf51de8dc0b3d681e00835812]
? drm_dp_atomic_find_time_slots+0x28/0x270 [drm_display_helper e20ce2ee8a03a2dcf51de8dc0b3d681e00835812]
compute_mst_dsc_configs_for_link+0x31f/0xb10 [amdgpu f9765449229a4c4ad337d3e542448922d280f459]
? dcn21_fast_validate_bw+0x406/0x4b0 [amdgpu f9765449229a4c4ad337d3e542448922d280f459]
pre_validate_dsc+0x3f2/0x470 [amdgpu f9765449229a4c4ad337d3e542448922d280f459]
amdgpu_dm_atomic_check+0x8aa/0x14d0 [amdgpu f9765449229a4c4ad337d3e542448922d280f459]
? srso_return_thunk+0x5/0x5f
drm_atomic_check_only+0x5b2/0xa30
drm_atomic_commit+0x60/0xd0
? __pfx___drm_printfn_info+0x10/0x10
drm_mode_atomic_ioctl+0xa72/0xcb0
? srso_return_thunk+0x5/0x5f
? __pfx_drm_mode_atomic_ioctl+0x10/0x10
drm_ioctl_kernel+0xb3/0x100
drm_ioctl+0x27a/0x4e0
? __pfx_drm_mode_atomic_ioctl+0x10/0x10
amdgpu_drm_ioctl+0x4e/0x90 [amdgpu f9765449229a4c4ad337d3e542448922d280f459]
__x64_sys_ioctl+0x97/0xd0
do_syscall_64+0x82/0x160
? srso_return_thunk+0x5/0x5f
? xas_load+0x41/0x50
? srso_return_thunk+0x5/0x5f
? filemap_get_entry+0xde/0x140
? srso_return_thunk+0x5/0x5f
? shmem_get_folio_gfp+0x1bf/0x580
? srso_return_thunk+0x5/0x5f
? copy_page_from_iter_atomic+0xe6/0x6e0
? srso_return_thunk+0x5/0x5f
? srso_return_thunk+0x5/0x5f
? balance_dirty_pages_ratelimited_flags+0x21/0x380
? srso_return_thunk+0x5/0x5f
? generic_perform_write+0x14e/0x230
? srso_return_thunk+0x5/0x5f
? shmem_file_write_iter+0x5e/0x90
? srso_return_thunk+0x5/0x5f
? vfs_write+0x296/0x460
? srso_return_thunk+0x5/0x5f
? srso_return_thunk+0x5/0x5f
? syscall_exit_to_user_mode+0x75/0x210
? srso_return_thunk+0x5/0x5f
? do_syscall_64+0x8e/0x160
? srso_return_thunk+0x5/0x5f
? srso_return_thunk+0x5/0x5f
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x78e7d043a9ed
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 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00
RSP: 002b:00007fff52e266e0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000607c4cb11990 RCX: 000078e7d043a9ed
RDX: 00007fff52e26780 RSI: 00000000c03864bc RDI: 000000000000000d
RBP: 00007fff52e26730 R08: 0000000000000007 R09: 0000000000000007
R10: 0000000000000003 R11: 0000000000000246 R12: 00000000c03864bc
R13: 000000000000000d R14: 0000607c4c9d13a0 R15: 0000607c4ca15220
</TASK>
Modules linked in: ccm cmac algif_hash algif_skcipher af_alg cdc_mbim cdc_wdm cdc_ncm cdc_ether usbnet bnep vfat fat snd_sof_amd_acp63 snd_sof_amd_vangogh snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_pci_ps snd_usb_audio snd_amd_sdw_acpi snd_usbmidi_lib iwlmvm snd_ctl_led ledtrig_audio r8152 snd_ump soundwire_amd mii btusb intel_rapl_msr snd_rawmidi soundwire_generic_allocation amd_atl snd_hda_codec_realtek btrtl intel_rapl_common uvcvideo snd_seq_device soundwire_bus snd_hda_codec_generic btintel mac80211 videobuf2_vmalloc snd_hda_scodec_component btbcm snd_hda_codec_hdmi uvc snd_soc_core libarc4 btmtk videobuf2_memops ptp snd_compress ac97_bus pps_core videobuf2_v4l2 snd_pcm_dmaengine snd_hda_intel bluetooth snd_intel_dspcfg snd_rpl_pci_acp6x videodev snd_acp_pci snd_intel_sdw_acpi kvm_amd videobuf2_common ecdh_generic snd_acp_legacy_common mc crc16 ledtrig_netdev joydev snd_hda_codec mousedev snd_pci_acp6x iwlwifi think_lmi(+) kvm
snd_hda_core r8169 snd_pci_acp5x rapl psmouse wmi_bmof firmware_attributes_class pcspkr acpi_cpufreq ucsi_acpi snd_rn_pci_acp3x snd_hwdep realtek cfg80211 typec_ucsi snd_acp_config sp5100_tco mdio_devres snd_pcm snd_soc_acpi typec ipmi_devintf snd_timer k10temp snd_pci_acp3x libphy i2c_piix4 ipmi_msghandler roles i2c_scmi mac_hid udl i2c_dev crypto_user loop nfnetlink ip_tables x_tables btrfs blake2b_generic libcrc32c crc32c_generic xor raid6_pq dm_crypt cbc encrypted_keys trusted asn1_encoder tee hid_logitech_hidpp hid_logitech_dj crct10dif_pclmul crc32_pclmul crc32c_intel hid_generic polyval_clmulni polyval_generic gf128mul ghash_clmulni_intel sha512_ssse3 usbhid serio_raw sha256_ssse3 atkbd dm_mod sdhci_pci sha1_ssse3 libps2 amdgpu cqhci thinkpad_acpi aesni_intel vivaldi_fmap nvme sdhci platform_profile crypto_simd snd nvme_core cryptd i8042 mmc_core xhci_pci ccp soundcore xhci_pci_renesas nvme_auth serio rfkill video wmi amdxcp i2c_algo_bit drm_ttm_helper ttm drm_exec gpu_sched drm_suballoc_helper
drm_buddy drm_display_helper cec
CR2: 0000000000000008
---[ end trace 0000000000000000 ]---
RIP: 0010:drm_dp_atomic_find_time_slots+0x5e/0x270 [drm_display_helper]
Code: 01 00 00 48 8b 85 68 05 00 00 48 63 80 88 00 00 00 3b 43 28 0f 8d 34 01 00 00 48 8b 53 30 48 8d 04 80 48 8d 04 c2 48 8b 40 18 <48> 8b 40 08 4d 8d 65 38 8b 88 90 00 00 00 b8 01 00 00 00 d3 e0 41
RSP: 0018:ffffa55143f47418 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff91ca2a47fd80 RCX: 0000000000000224
RDX: ffff91ca15bad600 RSI: ffff91c9c55b2800 RDI: ffff91ca2a47fd80
RBP: ffff91c9c1e98000 R08: 0000000000000001 R09: 0000000000000407
R10: 000000000000001b R11: 0000000000000001 R12: 0000000000000000
R13: ffff91ca09fefb40 R14: ffff91c9c55b2800 R15: 0000000000000224
FS: 000078e7ce64ab80(0000) GS:ffff91d830c80000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000008 CR3: 0000000156f9a000 CR4: 0000000000350ef0
note: Hyprland[1446] exited with irqs disabled
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Developer
As that commit is supposed to be for helping specific docks, can you add more information about your dock? Model? What MST chip is in it?
Collapse replies - Author
I have a few MST devices involved. My laptop is docked in a Lenovo 40AJ0135US dock. The first display port connector goes to my Dell U3223QE monitor. And daisy-chained from that monitor is the ASUS PA248QV. From the second display port I have the Stardock MSTDP122DP dual monitor MST hub, and in that hub I have two Dell P2217H moitors.
I don't know how to identify the MST chips in these components.
- Developer
With such a complicated topology, can your narrow down a subset of which one(s) introduce the issue?
Edited by Mario Limonciello - Author
The most likely culprit seems to be the Dell U3223QE. I can boot with that monitor turned off, and just run on the two Dell P2217H monitors. But even with the Asus PA248QV (which is daisy chained off of the U3223QE) turned off, I still cannot boot as long as the U3223QE is turned on.
- Developer
It aiming for an even simpler reproduce - can you reproduce with "just" the U3223QE?
- Author
Without the dock, the laptop only has HDMI, not display port. I could connect without the dock over HDMI, but I'm not sure that would be helpful.
With the U3223QE plugged into the dock, and all other monitors off, I still get the same issue.
- Developer
Thanks! I'll share this to the internal display team. I believe they have that monitor.
- Mario Limonciello added DC MST hang/freeze labels
added DC MST hang/freeze labels
- DeveloperResolved by Mario Limonciello
6 replies Last reply by Mario Limonciello
I've got this same issue with a Lenovo P14s Gen 2 AMD connected to a Dell dock, log is attached. System dumps as soon as I connect the dock to the machine, rolling back to kernel 6.8.9 resolves the behavior. This is using the Arch Linux kernel build 6.9.1 from their repos.
Hardware:
- System: Lenovo P14s Gen 2 AMD
- CPU: AMD Ryzen 7 PRO 5850U
- GPU: AMD Radeon RX Vega 8 (Ryzen 4000/5000 Mobile Series) [Integrated]
- Dock: Dell WD19S; connected to laptop over USB-C
- Monitor 1: Dell G2724D, 1440p@60Hz; connected to dock over DisplayPort
- Monitor 2: Dell U2515HX, 1440p@60Hz; connected to dock over DisplayPort
Let me know if I can provide any more info to assist, thanks tons for looking.
Edited by Nathan WittstockCollapse replies - Developer
Yeah it looks the same, I agree. We have an internal review going on a potential fix. Will let you know when it's ready.
That's great, thank you!
This patch should fix the issue:
0001-dm-amdgpu-Don-t-refer-to-dc_sink-in-is_.patch
Note that this is an early version of the patch but should be good enough for testing this issue. The real deal will go through our internal pipeline and should land in a week or two in amd-staging-drm-next.
Collapse replies - Author
I just tested with this patch and it made no change for my setup.
Jun 05 17:44:40 archlinux kernel: Linux version 6.10.0-rc2-1-git-00022-g32f88d65f01b-dirty
Jun 05 17:45:08 mycroft kernel: [drm] crtc[0] needs mode_changed Jun 05 17:45:08 mycroft kernel: [drm] Send DSC enable to synaptics Jun 05 17:45:08 mycroft kernel: BUG: kernel NULL pointer dereference, address: 0000000000000008 Jun 05 17:45:08 mycroft kernel: #PF: supervisor read access in kernel mode Jun 05 17:45:08 mycroft kernel: #PF: error_code(0x0000) - not-present page Jun 05 17:45:08 mycroft kernel: PGD 0 P4D 0 Jun 05 17:45:08 mycroft kernel: Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI Jun 05 17:45:08 mycroft kernel: CPU: 2 PID: 1651 Comm: Hyprland Tainted: G W 6.10.0-rc> Jun 05 17:45:08 mycroft kernel: Hardware name: LENOVO 20U7000VUS/20U7000VUS, BIOS R19ET48W (1.32 ) 10/> Jun 05 17:45:08 mycroft kernel: RIP: 0010:drm_dp_atomic_find_time_slots+0x5e/0x260 [drm_display_helper] Jun 05 17:45:08 mycroft kernel: Code: 01 00 00 48 8b 85 68 05 00 00 48 63 80 88 00 00 00 3b 43 28 0f 8> Jun 05 17:45:08 mycroft kernel: RSP: 0018:ffffa378c302f670 EFLAGS: 00010293 Jun 05 17:45:08 mycroft kernel: RAX: 0000000000000000 RBX: ffff896b018ca480 RCX: 0000000000000214 Jun 05 17:45:08 mycroft kernel: RDX: ffff896acca5ac00 RSI: ffff896a85f52800 RDI: ffff896b018ca480 Jun 05 17:45:08 mycroft kernel: RBP: ffff896a8121b000 R08: 0000000000000000 R09: 7fbee7efffffffff Jun 05 17:45:08 mycroft kernel: R10: 0000000000000001 R11: ffffa378c302f808 R12: ffffa378c302f788 Jun 05 17:45:08 mycroft kernel: R13: ffff896aa40da7e0 R14: ffff896a85f52800 R15: 0000000000000214 Jun 05 17:45:08 mycroft kernel: FS: 00007f3532583b80(0000) GS:ffff8978f0b00000(0000) knlGS:0000000000> Jun 05 17:45:08 mycroft kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jun 05 17:45:08 mycroft kernel: CR2: 0000000000000008 CR3: 0000000151718000 CR4: 0000000000350ef0 Jun 05 17:45:08 mycroft kernel: Call Trace: Jun 05 17:45:08 mycroft kernel: <TASK> Jun 05 17:45:08 mycroft kernel: ? __die_body.cold+0x19/0x27 Jun 05 17:45:08 mycroft kernel: ? page_fault_oops+0x15a/0x2d0 Jun 05 17:45:08 mycroft kernel: ? exc_page_fault+0x7e/0x180 Jun 05 17:45:08 mycroft kernel: ? asm_exc_page_fault+0x26/0x30 Jun 05 17:45:08 mycroft kernel: ? drm_dp_atomic_find_time_slots+0x5e/0x260 [drm_display_helper 0ae03b> Jun 05 17:45:08 mycroft kernel: compute_mst_dsc_configs_for_link+0x2e8/0xa60 [amdgpu 5af412e5ef866231> Jun 05 17:45:08 mycroft kernel: ? srso_return_thunk+0x5/0x5f Jun 05 17:45:08 mycroft kernel: ? dcn21_fast_validate_bw+0x406/0x4b0 [amdgpu 5af412e5ef86623134bfd7f8> Jun 05 17:45:08 mycroft kernel: pre_validate_dsc+0x3f2/0x470 [amdgpu 5af412e5ef86623134bfd7f8d3230c8e> Jun 05 17:45:08 mycroft kernel: amdgpu_dm_atomic_check+0x8aa/0x14d0 [amdgpu 5af412e5ef86623134bfd7f8d> Jun 05 17:45:08 mycroft kernel: ? balance_dirty_pages_ratelimited_flags+0x21/0x380 Jun 05 17:45:08 mycroft kernel: ? srso_return_thunk+0x5/0x5f Jun 05 17:45:08 mycroft kernel: drm_atomic_check_only+0x5b2/0xa30 Jun 05 17:45:08 mycroft kernel: drm_atomic_commit+0x60/0xd0 Jun 05 17:45:08 mycroft kernel: ? __pfx___drm_printfn_info+0x10/0x10 Jun 05 17:45:08 mycroft kernel: drm_mode_atomic_ioctl+0xa72/0xcb0 Jun 05 17:45:08 mycroft kernel: ? srso_return_thunk+0x5/0x5f Jun 05 17:45:08 mycroft kernel: ? __pfx_drm_mode_atomic_ioctl+0x10/0x10 Jun 05 17:45:08 mycroft kernel: drm_ioctl_kernel+0xb3/0x100 Jun 05 17:45:08 mycroft kernel: drm_ioctl+0x27a/0x4e0 Jun 05 17:45:08 mycroft kernel: ? __pfx_drm_mode_atomic_ioctl+0x10/0x10 Jun 05 17:45:08 mycroft kernel: amdgpu_drm_ioctl+0x4e/0x90 [amdgpu 5af412e5ef86623134bfd7f8d3230c8ec7> Jun 05 17:45:08 mycroft kernel: __x64_sys_ioctl+0x97/0xd0 Jun 05 17:45:08 mycroft kernel: do_syscall_64+0x82/0x160 Jun 05 17:45:08 mycroft kernel: ? srso_return_thunk+0x5/0x5f Jun 05 17:45:08 mycroft kernel: ? srso_return_thunk+0x5/0x5f Jun 05 17:45:08 mycroft kernel: ? syscall_exit_to_user_mode+0x75/0x210 Jun 05 17:45:08 mycroft kernel: ? srso_return_thunk+0x5/0x5f Jun 05 17:45:08 mycroft kernel: ? do_syscall_64+0x8e/0x160 Jun 05 17:45:08 mycroft kernel: ? srso_return_thunk+0x5/0x5f Jun 05 17:45:08 mycroft kernel: ? srso_return_thunk+0x5/0x5f Jun 05 17:45:08 mycroft kernel: entry_SYSCALL_64_after_hwframe+0x76/0x7e Jun 05 17:45:08 mycroft kernel: RIP: 0033:0x7f35343259ed Jun 05 17:45:08 mycroft kernel: Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10 00 0> Jun 05 17:45:08 mycroft kernel: RSP: 002b:00007ffd40614fb0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 Jun 05 17:45:08 mycroft kernel: RAX: ffffffffffffffda RBX: 00005627287b27a0 RCX: 00007f35343259ed Jun 05 17:45:08 mycroft kernel: RDX: 00007ffd40615050 RSI: 00000000c03864bc RDI: 000000000000000d Jun 05 17:45:08 mycroft kernel: RBP: 00007ffd40615000 R08: 0000000000000007 R09: 0000000000000007 Jun 05 17:45:08 mycroft kernel: R10: 0000000000000003 R11: 0000000000000246 R12: 00007ffd40615050 Jun 05 17:45:08 mycroft kernel: R13: 00000000c03864bc R14: 000000000000000d R15: 0000562728799100 Jun 05 17:45:08 mycroft kernel: </TASK> Jun 05 17:45:08 mycroft kernel: Modules linked in: cmac algif_hash algif_skcipher af_alg bnep cdc_mbim> Jun 05 17:45:08 mycroft kernel: pcspkr snd_pci_acp5x ucsi_acpi snd_pcm firmware_attributes_class mdio> Jun 05 17:45:08 mycroft kernel: CR2: 0000000000000008 Jun 05 17:45:08 mycroft kernel: ---[ end trace 0000000000000000 ]--- Jun 05 17:45:08 mycroft kernel: RIP: 0010:drm_dp_atomic_find_time_slots+0x5e/0x260 [drm_display_helper] Jun 05 17:45:08 mycroft kernel: Code: 01 00 00 48 8b 85 68 05 00 00 48 63 80 88 00 00 00 3b 43 28 0f 8> Jun 05 17:45:08 mycroft kernel: RSP: 0018:ffffa378c302f670 EFLAGS: 00010293 Jun 05 17:45:08 mycroft kernel: RAX: 0000000000000000 RBX: ffff896b018ca480 RCX: 0000000000000214 Jun 05 17:45:08 mycroft kernel: RDX: ffff896acca5ac00 RSI: ffff896a85f52800 RDI: ffff896b018ca480 Jun 05 17:45:08 mycroft kernel: RBP: ffff896a8121b000 R08: 0000000000000000 R09: 7fbee7efffffffff Jun 05 17:45:08 mycroft kernel: R10: 0000000000000001 R11: ffffa378c302f808 R12: ffffa378c302f788 Jun 05 17:45:08 mycroft kernel: R13: ffff896aa40da7e0 R14: ffff896a85f52800 R15: 0000000000000214 Jun 05 17:45:08 mycroft kernel: FS: 00007f3532583b80(0000) GS:ffff8978f0b00000(0000) knlGS:0000000000> Jun 05 17:45:08 mycroft kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jun 05 17:45:08 mycroft kernel: CR2: 0000000000000008 CR3: 0000000151718000 CR4: 0000000000350ef0 Jun 05 17:45:08 mycroft kernel: note: Hyprland[1651] exited with irqs disabled
@clinta thanks for checking. I can see that you're using a Synaptics MST dock that's useful info thank you. I'm unable to reproduce on my end, would you be able to re-reproduce the issue but this time running the following options on your "GRUB_CMDLINE_LINUX" settings please?? drm.debug=0x106 log_buf_len=400M, would greatly appreciate the full dmesg log if possible.
Thank you
- Author
Here's the complete dmesg trying to startup with those kernel options.
1 Thanks, any chance I could ask you for another one, but this time boot without the device causing the crash, and then hotplug it causing the crash and see it crash please.
That would be super duper helpful :) thank you!
- Author
Here is another log. Starting up with the Dell U3223QE powered off. Then Powering it on after Hyprland is up and running which causes the entire system to lock up.
1 Thanks! I'll take a look in a bit
- Author
Have you had a chance to review this? Anything else I can do to help?
I'm 100% able to reproduce this issue. I don't think it's triggered by multi-monitor, but rather adapters/loopthrough devices, does not matter if using DP or HDMI
My setup: 7900 xtx
DisplayPort to HDMI 2.1 adapter -> El Gato 4K X -> LG 4k 144hz monitor
Samsung G9 NeoIf I plug in the LG monitor directly without the el gato and without the DP adapter both monitors work fine and can boot fine.tested both HDMI and DP direct connections no adapters and both were fine.
If I introduce even one of the devices (el gato OR dp adapter) it hard hangs after sddm login
failed:
7900xt hdmi -> el gato -> LG monitorfailed:
7900xt dp -> hdmi adapter -> hdmi -> LG monitorfailed:
7900xt dp -> hdmi adapter -> hdmi -> el gato -> LG monitorsuccess:
7900xt hdmi -> LG monitor
7900xt dp -> LG monitorall tests done with Samsung g9 neo connected as primary monitor, LG as secondary
The previous mentioned patch does not resolve the issue for me.
Edited by Thomas CriderSame here on linux
6.9.5
, using aLenovo Thunderbolt 3 Dock Gen 2 (Type 40AN)
and two monitorsJun 19 09:21:46 CF03 kernel: [drm] DM_MST: starting TM on aconnector: 00000000d62c6a37 [id: 112] Jun 19 09:21:46 CF03 kernel: [drm] DM_MST: DP14, 2-lane link detected Jun 19 09:21:47 CF03 kernel: usb 9-1: new high-speed USB device number 2 using xhci_hcd Jun 19 09:21:47 CF03 kernel: usb 9-1: New USB device found, idVendor=17ef, idProduct=3080, bcdDevice=51.63 Jun 19 09:21:47 CF03 kernel: usb 9-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Jun 19 09:21:47 CF03 kernel: usb 9-1: Product: USB2.0 Hub Jun 19 09:21:47 CF03 kernel: usb 9-1: Manufacturer: VIA Labs, Inc. Jun 19 09:21:47 CF03 kernel: usb 9-1: SerialNumber: 00000000000000000000001 Jun 19 09:21:47 CF03 kernel: hub 9-1:1.0: USB hub found Jun 19 09:21:47 CF03 kernel: hub 9-1:1.0: 5 ports detected Jun 19 09:21:47 CF03 kernel: [drm] Downstream port present 1, type 0 Jun 19 09:21:47 CF03 kernel: [drm] crtc[1] needs mode_changed Jun 19 09:21:47 CF03 kernel: usb 10-1: new SuperSpeed Plus Gen 2x1 USB device number 2 using xhci_hcd Jun 19 09:21:47 CF03 kernel: usb 10-1: New USB device found, idVendor=17ef, idProduct=307f, bcdDevice=51.63 Jun 19 09:21:47 CF03 kernel: usb 10-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Jun 19 09:21:47 CF03 kernel: usb 10-1: Product: USB3.1 Hub Jun 19 09:21:47 CF03 kernel: usb 10-1: Manufacturer: VIA Labs, Inc. Jun 19 09:21:47 CF03 kernel: usb 10-1: SerialNumber: 00000000000000000000001 Jun 19 09:21:47 CF03 kernel: hub 10-1:1.0: USB hub found Jun 19 09:21:47 CF03 kernel: hub 10-1:1.0: 4 ports detected Jun 19 09:21:47 CF03 kernel: [drm] Send DSC enable to synaptics Jun 19 09:21:47 CF03 kernel: BUG: kernel NULL pointer dereference, address: 0000000000000008 Jun 19 09:21:47 CF03 kernel: #PF: supervisor read access in kernel mode Jun 19 09:21:47 CF03 kernel: #PF: error_code(0x0000) - not-present page Jun 19 09:21:47 CF03 kernel: PGD 0 P4D 0 Jun 19 09:21:47 CF03 kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI Jun 19 09:21:47 CF03 kernel: CPU: 11 PID: 897 Comm: sway Not tainted 6.9.5-arch1-1 #1 b9e5462a84a73f67b5c7c6b73f88d2a6349ae768 Jun 19 09:21:47 CF03 kernel: Hardware name: LENOVO 21CF004NGE/21CF004NGE, BIOS R23ET76W (1.52 ) 04/22/2024 Jun 19 09:21:47 CF03 kernel: RIP: 0010:drm_dp_atomic_find_time_slots+0x5e/0x270 [drm_display_helper] Jun 19 09:21:47 CF03 kernel: Code: 01 00 00 48 8b 85 68 05 00 00 48 63 80 88 00 00 00 3b 43 28 0f 8d 34 01 00 00 48 8b 53 30 48 8d 04 80 48 8d 04 c2 48 8b 40 18 <48> 8b 40 08 4d 8d 65 38 8b 88 90 00 00 00> Jun 19 09:21:47 CF03 kernel: RSP: 0018:ffffaa9d03e67408 EFLAGS: 00010293 Jun 19 09:21:47 CF03 kernel: RAX: 0000000000000000 RBX: ffff8a0a02c9ca80 RCX: 000000000000037b Jun 19 09:21:47 CF03 kernel: RDX: ffff8a09c0969c00 RSI: ffff8a09915a0800 RDI: ffff8a0a02c9ca80 Jun 19 09:21:47 CF03 kernel: RBP: ffff8a098fd3e000 R08: 0000000000000000 R09: 0000000000000407 Jun 19 09:21:47 CF03 kernel: R10: 7fbee7efffffffff R11: 0000000000000001 R12: 0000000000000000 Jun 19 09:21:47 CF03 kernel: R13: ffff8a098b736d20 R14: ffff8a09915a0800 R15: 000000000000037b Jun 19 09:21:47 CF03 kernel: FS: 00007dec937ee9c0(0000) GS:ffff8a0caef80000(0000) knlGS:0000000000000000 Jun 19 09:21:47 CF03 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jun 19 09:21:47 CF03 kernel: CR2: 0000000000000008 CR3: 0000000107a5e000 CR4: 0000000000f50ef0 Jun 19 09:21:47 CF03 kernel: PKRU: 55555554 Jun 19 09:21:47 CF03 kernel: Call Trace: Jun 19 09:21:47 CF03 kernel: <TASK> Jun 19 09:21:47 CF03 kernel: ? __die_body.cold+0x19/0x27 Jun 19 09:21:47 CF03 kernel: ? page_fault_oops+0x15a/0x2b0 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? exc_page_fault+0x81/0x190 Jun 19 09:21:47 CF03 kernel: ? asm_exc_page_fault+0x26/0x30 Jun 19 09:21:47 CF03 kernel: ? drm_dp_atomic_find_time_slots+0x5e/0x270 [drm_display_helper 38d794bb5d595adf29588d6438f20741d200b084] Jun 19 09:21:47 CF03 kernel: ? drm_dp_atomic_find_time_slots+0x28/0x270 [drm_display_helper 38d794bb5d595adf29588d6438f20741d200b084] Jun 19 09:21:47 CF03 kernel: compute_mst_dsc_configs_for_link+0x31f/0xb10 [amdgpu ce91ddaa4d387779f8e9ca022fa4962befb162d7] Jun 19 09:21:47 CF03 kernel: ? __entry_text_end+0x101e45/0x101e49 Jun 19 09:21:47 CF03 kernel: ? pcpu_get_vm_areas+0x9b7/0xfa0 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? amdgpu_dm_plane_fill_plane_buffer_attributes+0x268/0x500 [amdgpu ce91ddaa4d387779f8e9ca022fa4962befb162d7] Jun 19 09:21:47 CF03 kernel: compute_mst_dsc_configs_for_state+0x146/0x250 [amdgpu ce91ddaa4d387779f8e9ca022fa4962befb162d7] Jun 19 09:21:47 CF03 kernel: amdgpu_dm_atomic_check+0x1221/0x14d0 [amdgpu ce91ddaa4d387779f8e9ca022fa4962befb162d7] Jun 19 09:21:47 CF03 kernel: drm_atomic_check_only+0x5b2/0xa30 Jun 19 09:21:47 CF03 kernel: drm_mode_atomic_ioctl+0x831/0xcb0 Jun 19 09:21:47 CF03 kernel: ? __check_object_size+0x82/0x210 Jun 19 09:21:47 CF03 kernel: ? __pfx_drm_mode_atomic_ioctl+0x10/0x10 Jun 19 09:21:47 CF03 kernel: drm_ioctl_kernel+0xb3/0x100 Jun 19 09:21:47 CF03 kernel: drm_ioctl+0x27a/0x4e0 Jun 19 09:21:47 CF03 kernel: ? __pfx_drm_mode_atomic_ioctl+0x10/0x10 Jun 19 09:21:47 CF03 kernel: amdgpu_drm_ioctl+0x4e/0x90 [amdgpu ce91ddaa4d387779f8e9ca022fa4962befb162d7] Jun 19 09:21:47 CF03 kernel: __x64_sys_ioctl+0x97/0xd0 Jun 19 09:21:47 CF03 kernel: do_syscall_64+0x83/0x190 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? syscall_exit_to_user_mode+0x75/0x210 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? do_syscall_64+0x8f/0x190 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? do_syscall_64+0x8f/0x190 Jun 19 09:21:47 CF03 kernel: ? do_fcntl+0x32a/0x670 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? __x64_sys_fcntl+0x81/0xc0 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? syscall_exit_to_user_mode+0x75/0x210 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? do_syscall_64+0x8f/0x190 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? xas_load+0x41/0x50 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? set_close_on_exec+0x31/0x70 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? do_fcntl+0x566/0x670 Jun 19 09:21:47 CF03 kernel: ? do_fcntl+0x546/0x670 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? ptep_set_access_flags+0x32/0x40 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? wp_page_reuse+0x8e/0xa0 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? do_wp_page+0xdf/0xb60 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? do_fcntl+0x546/0x670 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? __pte_offset_map+0x1b/0x180 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? __handle_mm_fault+0xbf6/0xe00 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? __count_memcg_events+0x4d/0xb0 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? count_memcg_events.constprop.0+0x1a/0x30 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? handle_mm_fault+0x1f0/0x300 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? do_user_addr_fault+0x34e/0x620 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: ? srso_alias_return_thunk+0x5/0xfbef5 Jun 19 09:21:47 CF03 kernel: entry_SYSCALL_64_after_hwframe+0x76/0x7e Jun 19 09:21:47 CF03 kernel: RIP: 0033:0x7dec946ae9ed Jun 19 09:21:47 CF03 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 1a 48 8b 45 c8 64> Jun 19 09:21:47 CF03 kernel: RSP: 002b:00007ffeb395fc10 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 Jun 19 09:21:47 CF03 kernel: RAX: ffffffffffffffda RBX: 000063ce3e6475c0 RCX: 00007dec946ae9ed Jun 19 09:21:47 CF03 kernel: RDX: 00007ffeb395fcb0 RSI: 00000000c03864bc RDI: 000000000000000c Jun 19 09:21:47 CF03 kernel: RBP: 00007ffeb395fc60 R08: 0000000000000007 R09: 0000000000000008 Jun 19 09:21:47 CF03 kernel: R10: 0000000000000003 R11: 0000000000000246 R12: 00007ffeb395fcb0 Jun 19 09:21:47 CF03 kernel: R13: 00000000c03864bc R14: 000000000000000c R15: 000063ce3e5ffc30 Jun 19 09:21:47 CF03 kernel: </TASK> Jun 19 09:21:47 CF03 kernel: Modules linked in: snd_seq_dummy snd_hrtimer rfcomm snd_seq snd_seq_device michael_mic qrtr_mhi ccm algif_aead crypto_null des3_ede_x86_64 cbc des_generic libdes algif_skciphe> Jun 19 09:21:47 CF03 kernel: snd_acp_pci videobuf2_v4l2 snd_intel_sdw_acpi cdc_mbim snd_acp_legacy_common mac80211 hid_generic sha512_ssse3 cdc_wdm bluetooth videodev snd_pci_acp6x sha1_ssse3 snd_hda_cod> Jun 19 09:21:47 CF03 kernel: gpu_sched drm_suballoc_helper drm_buddy drm_display_helper cec Jun 19 09:21:47 CF03 kernel: CR2: 0000000000000008 Jun 19 09:21:47 CF03 kernel: ---[ end trace 0000000000000000 ]--- Jun 19 09:21:47 CF03 kernel: RIP: 0010:drm_dp_atomic_find_time_slots+0x5e/0x270 [drm_display_helper] Jun 19 09:21:47 CF03 kernel: Code: 01 00 00 48 8b 85 68 05 00 00 48 63 80 88 00 00 00 3b 43 28 0f 8d 34 01 00 00 48 8b 53 30 48 8d 04 80 48 8d 04 c2 48 8b 40 18 <48> 8b 40 08 4d 8d 65 38 8b 88 90 00 00 00> Jun 19 09:21:47 CF03 kernel: RSP: 0018:ffffaa9d03e67408 EFLAGS: 00010293 Jun 19 09:21:47 CF03 kernel: RAX: 0000000000000000 RBX: ffff8a0a02c9ca80 RCX: 000000000000037b Jun 19 09:21:47 CF03 kernel: RDX: ffff8a09c0969c00 RSI: ffff8a09915a0800 RDI: ffff8a0a02c9ca80 Jun 19 09:21:47 CF03 kernel: RBP: ffff8a098fd3e000 R08: 0000000000000000 R09: 0000000000000407 Jun 19 09:21:47 CF03 kernel: R10: 7fbee7efffffffff R11: 0000000000000001 R12: 0000000000000000 Jun 19 09:21:47 CF03 kernel: R13: ffff8a098b736d20 R14: ffff8a09915a0800 R15: 000000000000037b Jun 19 09:21:47 CF03 kernel: FS: 00007dec937ee9c0(0000) GS:ffff8a0caef80000(0000) knlGS:0000000000000000 Jun 19 09:21:47 CF03 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jun 19 09:21:47 CF03 kernel: CR2: 0000000000000008 CR3: 0000000107a5e000 CR4: 0000000000f50ef0 Jun 19 09:21:47 CF03 kernel: PKRU: 55555554
I've had a similar issue with kernel 6.9 that is resolved already in 6.10. @superm1 if this seems like a different issue, let me know. I don't use any sort of dock, however, I can tie this specifically to having more than one monitor because removing a monitor and going down to a single display fixes the issue. Outside of that, I was able to bisect the bad commit and the fixed commit.
When I bisected it, I ended up at this bad commit -
commit 34241dc665cf21bc628f1fea2249adb10010dfc0 drm/amd/display: reenable windowed mpo odm support on dcn32 and dcn321
and with the help of the arch maintainers, I was pointed in the direction using fixed/unfixed to find the commit that fixed it. That commit is -
commit ab6a0edb7ded060e84dc1a24e3936c86c3d048b9 Author: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Date: Mon Apr 22 07:43:55 2024 -0600 Revert "drm/amd/display: Add fallback configuration when set DRR" This reverts commit d76c0a23b557c6ebb3fac32548100d76a1e0ce23.
It's close enough that I figured I'd start here, but if you think it's something else worth investigating, I can start a new issue.
Here's my journal from the original crashing with the NULL pointer dereference
Click to expand
``` May 17 19:45:03 europa systemd[1249]: Started Virtual filesystem service. May 17 19:45:03 europa systemd[1249]: Starting Virtual filesystem service... May 17 19:45:03 europa dbus-broker-launch[1769]: Ready May 17 19:45:03 europa at-spi-bus-launcher[1769]: Policy to allow eavesdropping in /usr/share/defaults/at-spi2/accessibility.conf +17: Eavesdropping is deprecated and ignored May 17 19:45:03 europa at-spi-bus-launcher[1769]: Policy to allow eavesdropping in /usr/share/defaults/at-spi2/accessibility.conf +15: Eavesdropping is deprecated and ignored May 17 19:45:03 europa systemd[1249]: Started Accessibility services bus. May 17 19:45:03 europa systemd[1249]: Starting Accessibility services bus... May 17 19:45:00 europa wireplumber[1537]: [0:00:28.235033330] [1537] INFO Camera camera_manager.cpp:284 libcamera v0.2.0 May 17 19:45:00 europa wireplumber[1537]: [0:00:28.235018480] [1537] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info May 17 19:45:00 europa wireplumber[1537]: [0:00:28.235009520] [1537] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found May 17 19:45:00 europa wireplumber[1537]: BlueZ system service is not available May 17 19:45:00 europa wireplumber[1537]: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner May 17 19:44:58 europa kernel: note: kworker/u130:13[1133] exited with irqs disabled May 17 19:44:58 europa kernel: PKRU: 55555554 May 17 19:44:58 europa kernel: CR2: 0000000000000010 CR3: 0000000402220000 CR4: 0000000000f50ef0 May 17 19:44:58 europa kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 May 17 19:44:58 europa kernel: FS: 0000000000000000(0000) GS:ffff965e8e780000(0000) knlGS:0000000000000000 May 17 19:44:58 europa kernel: R13: ffff965788941e00 R14: ffff965788942600 R15: 0000000000000003 May 17 19:44:58 europa kernel: R10: ffffb69d3e8f3500 R11: 0000000000000001 R12: ffff9657e6e00000 May 17 19:44:58 europa kernel: RBP: ffff9657e6e01df8 R08: 0000000000000100 R09: 0000000000000100 May 17 19:44:58 europa kernel: RDX: 0000000000000003 RSI: 0000000000000000 RDI: ffff965788941e00 May 17 19:44:58 europa kernel: RAX: ffff965787262800 RBX: ffff965798440000 RCX: ffff9657eac01b18 May 17 19:44:58 europa kernel: RSP: 0018:ffffb69704a6b998 EFLAGS: 00010286 May 17 19:44:58 europa kernel: Code: 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 0f 1f 44 00 00 55 53 <8b> 46 10 48 89 fb 83 f8 08 74 06 80 7e 14 00 74 2f 48 8b 43 18 48 May 17 19:44:58 europa kernel: RIP: 0010:dce_crtc_switch_to_clk_src+0xb/0x180 [amdgpu] May 17 19:44:58 europa kernel: ---[ end trace 0000000000000000 ]--- May 17 19:44:58 europa kernel: CR2: 0000000000000010 May 17 19:44:58 europa kernel: sha256_ssse3 gpu_sched sha1_ssse3 drm_suballoc_helper drm_buddy aesni_intel nvme drm_display_helper crypto_simd cryptd nvme_core ccp xhci_pci cec xhci_pci_renesas nvme_auth wmi btrfs blake2b_generic libcrc32c crc32c_generic crc32c_intel xor raid6_pq May 17 19:44:58 europa kernel: Modules linked in: rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace sunrpc netfs nct6775 nct6775_core hwmon_vid vfat fat amd_atl intel_rapl_msr intel_rapl_common snd_hda_codec_realtek snd_hda_codec_generic snd_hda_scodec_component snd_hda_codec_hdmi snd_usb_audio snd_hda_intel snd_usbmidi_lib snd_intel_dspcfg kvm_amd snd_ump snd_intel_sdw_acpi snd_hda_codec ledtrig_netdev snd_rawmidi eeepc_wmi snd_hda_core asus_wmi kvm snd_seq_device mc platform_profile snd_hwdep igb r8169 i8042 asus_ec_sensors snd_pcm ptp sparse_keymap snd_timer realtek corsair_psu nzxt_kraken2 rapl serio wmi_bmof mdio_devres snd mxm_wmi pps_core pcspkr cfg80211 sp5100_tco k10temp soundcore libphy dca mousedev joydev rfkill mac_hid i2c_dev i2c_piix4 loop nfnetlink ip_tables x_tables dm_crypt cbc encrypted_keys trusted asn1_encoder tee dm_mod hid_generic usbhid amdgpu crct10dif_pclmul video crc32_pclmul polyval_clmulni amdxcp i2c_algo_bit polyval_generic drm_ttm_helper gf128mul ttm ghash_clmulni_intel sha512_ssse3 drm_exec May 17 19:44:58 europa kernel: May 17 19:44:58 europa kernel: ret_from_fork_asm+0x1a/0x30 May 17 19:44:58 europa kernel: ? __pfx_kthread+0x10/0x10 May 17 19:44:58 europa kernel: ret_from_fork+0x31/0x50 May 17 19:44:58 europa kernel: ? __pfx_kthread+0x10/0x10 May 17 19:44:58 europa kernel: kthread+0xcf/0x100 May 17 19:44:58 europa kernel: ? __pfx_worker_thread+0x10/0x10 May 17 19:44:58 europa kernel: worker_thread+0x2eb/0x410 May 17 19:44:58 europa kernel: process_one_work+0x18b/0x350 May 17 19:44:58 europa kernel: commit_tail+0x91/0x130 May 17 19:44:58 europa kernel: ? dc_stream_get_scanoutpos+0x30/0xa0 [amdgpu 11785c3085e75bb1d1465c3bd7f7962d53ef457f] May 17 19:44:58 europa kernel: ? generic_reg_get+0x21/0x40 [amdgpu 11785c3085e75bb1d1465c3bd7f7962d53ef457f] May 17 19:44:58 europa kernel: amdgpu_dm_atomic_commit_tail+0x1bb6/0x3cf0 [amdgpu 11785c3085e75bb1d1465c3bd7f7962d53ef457f] May 17 19:44:58 europa kernel: ? __pfx_optc1_get_crtc_scanoutpos+0x10/0x10 [amdgpu 11785c3085e75bb1d1465c3bd7f7962d53ef457f] May 17 19:44:58 europa kernel: dc_update_planes_and_stream+0x80a/0xcb0 [amdgpu 11785c3085e75bb1d1465c3bd7f7962d53ef457f] May 17 19:44:58 europa kernel: ? dcn32_validate_bandwidth+0x13e/0x2c0 [amdgpu 11785c3085e75bb1d1465c3bd7f7962d53ef457f] May 17 19:44:58 europa kernel: dc_commit_state_no_check+0x59e/0xe00 [amdgpu 11785c3085e75bb1d1465c3bd7f7962d53ef457f] May 17 19:44:58 europa kernel: dce110_apply_ctx_to_hw+0x26e/0x280 [amdgpu 11785c3085e75bb1d1465c3bd7f7962d53ef457f] May 17 19:44:58 europa kernel: ? dce_crtc_switch_to_clk_src+0xb/0x180 [amdgpu 11785c3085e75bb1d1465c3bd7f7962d53ef457f] May 17 19:44:58 europa kernel: ? asm_exc_page_fault+0x26/0x30 May 17 19:44:58 europa kernel: ? exc_page_fault+0x81/0x190 May 17 19:44:58 europa kernel: ? dmub_srv_wait_for_idle+0x2f/0x90 [amdgpu 11785c3085e75bb1d1465c3bd7f7962d53ef457f] May 17 19:44:58 europa kernel: ? page_fault_oops+0x15a/0x2b0 May 17 19:44:58 europa kernel: ? __die_body.cold+0x19/0x27 May 17 19:44:58 europa kernel: May 17 19:44:58 europa kernel: Call Trace: May 17 19:44:58 europa kernel: PKRU: 55555554 May 17 19:44:58 europa kernel: CR2: 0000000000000010 CR3: 0000000402220000 CR4: 0000000000f50ef0 May 17 19:44:58 europa kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 May 17 19:44:58 europa kernel: FS: 0000000000000000(0000) GS:ffff965e8e780000(0000) knlGS:0000000000000000 May 17 19:44:58 europa kernel: R13: ffff965788941e00 R14: ffff965788942600 R15: 0000000000000003 May 17 19:44:58 europa kernel: R10: ffffb69d3e8f3500 R11: 0000000000000001 R12: ffff9657e6e00000 May 17 19:44:58 europa kernel: RBP: ffff9657e6e01df8 R08: 0000000000000100 R09: 0000000000000100 May 17 19:44:58 europa kernel: RDX: 0000000000000003 RSI: 0000000000000000 RDI: ffff965788941e00 May 17 19:44:58 europa kernel: RAX: ffff965787262800 RBX: ffff965798440000 RCX: ffff9657eac01b18 May 17 19:44:58 europa kernel: RSP: 0018:ffffb69704a6b998 EFLAGS: 00010286 May 17 19:44:58 europa kernel: Code: 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 0f 1f 44 00 00 55 53 <8b> 46 10 48 89 fb 83 f8 08 74 06 80 7e 14 00 74 2f 48 8b 43 18 48 May 17 19:44:58 europa kernel: RIP: 0010:dce_crtc_switch_to_clk_src+0xb/0x180 [amdgpu] May 17 19:44:58 europa kernel: Workqueue: events_unbound commit_work May 17 19:44:58 europa kernel: Hardware name: System manufacturer System Product Name/ROG STRIX X570-E GAMING, BIOS 4802 06/15/2023 May 17 19:44:58 europa kernel: CPU: 11 PID: 1133 Comm: kworker/u130:13 Not tainted 6.9.1-arch1-1 #1 (closed) 8721656fa781c58301f7268d475f3e6380e2b47c May 17 19:44:58 europa kernel: Oops: 0000 [ #1 (closed)] PREEMPT SMP NOPTI May 17 19:44:58 europa kernel: PGD 0 P4D 0 May 17 19:44:58 europa kernel: #PF: error_code(0x0000) - not-present page May 17 19:44:58 europa kernel: #PF: supervisor read access in kernel mode May 17 19:44:58 europa kernel: BUG: kernel NULL pointer dereference, address: 0000000000000010 May 17 19:44:58 europa wayland-pipewire-idle-inhibit[1463]: [2024-05-18T02:44:58Z WARN PWGraph::is_any_sink_active] List of sinks is empty May 17 19:44:58 europa polkitd[1340]: Registered Authentication Agent for unix-session:1 (system bus name :1.19 [/usr/lib/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) May 17 19:44:58 europa systemd[1249]: Started Portal service (Hyprland implementation). ```
Collapse replies ab6a0edb7ded060e84dc1a24e3936c86c3d048b9
is already included in 6.9.5 source so that doesn't appear to be it.linux-6.9.5 on master [?] took 3s ❯ patch -Np1 < ../ab6a0edb7ded060e84dc1a24e3936c86c3d048b9.patch patching file drivers/gpu/drm/amd/display/dc/optc/dcn32/dcn32_optc.c Reversed (or previously applied) patch detected! Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file drivers/gpu/drm/amd/display/dc/optc/dcn32/dcn32_optc.c.rej
Edited by Thomas Crider
just confirming this is still happening for me as of 6.9.7
Collapse replies
It also happens to me kernel 6.9.7 wayland Cachyos, Manjaro or Arch dual monitor AOC Q3279WG5B and HUION Kamvas 22 Plus when I turn on the HUION system freezes with xorg everything works. On Opensuse thumbleweed kernel 6.9.7 wayland, everything works, no crashes, as well as on Bazzite kernel 6.9.6. So it only happens on Arch based distros
Collapse replies it was already confirmed above by @GloriousEggroll that it still happens on Fedora which he uses aka nobara. also so it's not just an arch issue unless something changed
Edited by RyzenDew
- Markus Kaiser mentioned in issue #1423
mentioned in issue #1423
Issue does not seem to appear in 6.10-rc6
these patches aim to fix the issue.
0002-drm-dp_mst-Skip-CSN-if-topology-probing-is-not-done-.patch 0003-drm-amd-display-Solve-mst-monitors-blank-out-problem.patch 0001-drm-dp_mst-Fix-all-mstb-marked-as-not-probed-after-s.patch
Thanks
Edited by Agustin GutierrezIssue still occurs in 6.9.8, patches did not make any difference in the behavior.
1Still having the issue in
6.10.0-rc7-1-mainline
from AUR'slinux-mainline
.Jul 13 16:02:53 ...snip... kernel: BUG: kernel NULL pointer dereference, address: 0000000000000008 Jul 13 16:02:53 ...snip... kernel: #PF: supervisor read access in kernel mode Jul 13 16:02:53 ...snip... kernel: #PF: error_code(0x0000) - not-present page Jul 13 16:02:53 ...snip... kernel: PGD 0 P4D 0 Jul 13 16:02:53 ...snip... kernel: Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI Jul 13 16:02:53 ...snip... kernel: CPU: 15 PID: 1358 Comm: sway Not tainted 6.10.0-rc7-1-mainline #2 8d14da5ac2f1747aded788c0982abe323f6f00cb Jul 13 16:02:53 ...snip... kernel: Hardware name: ...snip... Jul 13 16:02:53 ...snip... kernel: RIP: 0010:drm_dp_atomic_find_time_slots+0x5e/0x270 [drm_display_helper] Jul 13 16:02:53 ...snip... kernel: Code: 01 00 00 48 8b 85 68 05 00 00 48 63 80 88 00 00 00 3b 43 28 0f 8d 34 01 00 00 48 8b 53 30 48 8d 04 80 48 8d 04 c2 48 8b 40 18 <48> 8b 40 08 4d 8d 65 38 8b 88 90 00 00 00 b8 01 00 00 00 d3 e0 41 Jul 13 16:02:53 ...snip... kernel: RSP: 0018:fffface303f93658 EFLAGS: 00010293 Jul 13 16:02:53 ...snip... kernel: RAX: 0000000000000000 RBX: ffff8a514653e380 RCX: 0000000000000360 Jul 13 16:02:53 ...snip... kernel: RDX: ffff8a515d010a00 RSI: ffff8a514f1fc800 RDI: ffff8a514653e380 Jul 13 16:02:53 ...snip... kernel: RBP: ffff8a514c06e800 R08: 0000000000000076 R09: ffff8a514722c590 Jul 13 16:02:53 ...snip... kernel: R10: 0000000000000001 R11: 0000000000000479 R12: fffface303f937b8 Jul 13 16:02:53 ...snip... kernel: R13: ffff8a5152188d20 R14: ffff8a514f1fc800 R15: 0000000000000360 Jul 13 16:02:53 ...snip... kernel: FS: 00007fd4705049c0(0000) GS:ffff8a57d1380000(0000) knlGS:0000000000000000 Jul 13 16:02:53 ...snip... kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jul 13 16:02:53 ...snip... kernel: CR2: 0000000000000008 CR3: 0000000107b86000 CR4: 0000000000350ef0 Jul 13 16:02:53 ...snip... kernel: Call Trace: Jul 13 16:02:53 ...snip... kernel: <TASK> Jul 13 16:02:53 ...snip... kernel: ? __die_body.cold+0x19/0x27 Jul 13 16:02:53 ...snip... kernel: ? page_fault_oops+0x15a/0x2d0 Jul 13 16:02:53 ...snip... kernel: ? exc_page_fault+0x81/0x190 Jul 13 16:02:53 ...snip... kernel: ? asm_exc_page_fault+0x26/0x30 Jul 13 16:02:53 ...snip... kernel: ? drm_dp_atomic_find_time_slots+0x5e/0x270 [drm_display_helper 297f1f38c4445745c1b4bc7a30303e627e325b0b] Jul 13 16:02:53 ...snip... kernel: ? drm_dp_atomic_find_time_slots+0x28/0x270 [drm_display_helper 297f1f38c4445745c1b4bc7a30303e627e325b0b] Jul 13 16:02:53 ...snip... kernel: compute_mst_dsc_configs_for_link+0x2e8/0xa60 [amdgpu e1a67711f3c33354ad6b53fb2eeffe7213c37029] Jul 13 16:02:53 ...snip... kernel: ? dcn21_fast_validate_bw+0x406/0x4b0 [amdgpu e1a67711f3c33354ad6b53fb2eeffe7213c37029] Jul 13 16:02:53 ...snip... kernel: pre_validate_dsc+0x3f2/0x470 [amdgpu e1a67711f3c33354ad6b53fb2eeffe7213c37029] Jul 13 16:02:53 ...snip... kernel: amdgpu_dm_atomic_check+0x8aa/0x14d0 [amdgpu e1a67711f3c33354ad6b53fb2eeffe7213c37029] Jul 13 16:02:53 ...snip... kernel: ? srso_return_thunk+0x5/0x5f Jul 13 16:02:53 ...snip... kernel: drm_atomic_check_only+0x5b2/0xa30 Jul 13 16:02:53 ...snip... kernel: drm_mode_atomic_ioctl+0x831/0xcb0 Jul 13 16:02:53 ...snip... kernel: ? __pfx_drm_mode_atomic_ioctl+0x10/0x10 Jul 13 16:02:53 ...snip... kernel: drm_ioctl_kernel+0xb3/0x100 Jul 13 16:02:53 ...snip... kernel: drm_ioctl+0x27a/0x4e0 Jul 13 16:02:53 ...snip... kernel: ? __pfx_drm_mode_atomic_ioctl+0x10/0x10 Jul 13 16:02:53 ...snip... kernel: amdgpu_drm_ioctl+0x4e/0x90 [amdgpu e1a67711f3c33354ad6b53fb2eeffe7213c37029] Jul 13 16:02:53 ...snip... kernel: __x64_sys_ioctl+0x97/0xd0 Jul 13 16:02:53 ...snip... kernel: do_syscall_64+0x82/0x190 Jul 13 16:02:53 ...snip... kernel: ? srso_return_thunk+0x5/0x5f Jul 13 16:02:53 ...snip... kernel: ? ktime_get_ts64+0x44/0x110 Jul 13 16:02:53 ...snip... kernel: ? srso_return_thunk+0x5/0x5f Jul 13 16:02:53 ...snip... kernel: ? srso_return_thunk+0x5/0x5f Jul 13 16:02:53 ...snip... kernel: ? put_timespec64+0x3e/0x70 Jul 13 16:02:53 ...snip... kernel: ? srso_return_thunk+0x5/0x5f Jul 13 16:02:53 ...snip... kernel: ? syscall_exit_to_user_mode+0x72/0x200 Jul 13 16:02:53 ...snip... kernel: ? srso_return_thunk+0x5/0x5f Jul 13 16:02:53 ...snip... kernel: ? do_syscall_64+0x8e/0x190 Jul 13 16:02:53 ...snip... kernel: ? srso_return_thunk+0x5/0x5f Jul 13 16:02:53 ...snip... kernel: ? syscall_exit_to_user_mode+0x72/0x200 Jul 13 16:02:53 ...snip... kernel: ? srso_return_thunk+0x5/0x5f Jul 13 16:02:53 ...snip... kernel: ? do_syscall_64+0x8e/0x190 Jul 13 16:02:53 ...snip... kernel: ? srso_return_thunk+0x5/0x5f Jul 13 16:02:53 ...snip... kernel: ? __irq_exit_rcu+0x4a/0xb0 Jul 13 16:02:53 ...snip... kernel: ? srso_return_thunk+0x5/0x5f Jul 13 16:02:53 ...snip... kernel: entry_SYSCALL_64_after_hwframe+0x76/0x7e Jul 13 16:02:53 ...snip... kernel: RIP: 0033:0x7fd4711199ed Jul 13 16:02:53 ...snip... 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 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00 Jul 13 16:02:53 ...snip... kernel: RSP: 002b:00007ffe871a13e0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 Jul 13 16:02:53 ...snip... kernel: RAX: ffffffffffffffda RBX: 000055a2a862c7e0 RCX: 00007fd4711199ed Jul 13 16:02:53 ...snip... kernel: RDX: 00007ffe871a1480 RSI: 00000000c03864bc RDI: 000000000000000c Jul 13 16:02:53 ...snip... kernel: RBP: 00007ffe871a1430 R08: 0000000000000007 R09: 0000000000000007 Jul 13 16:02:53 ...snip... kernel: R10: 0000000000000003 R11: 0000000000000246 R12: 00007ffe871a1480 Jul 13 16:02:53 ...snip... kernel: R13: 00000000c03864bc R14: 000000000000000c R15: 000055a2a8600000 Jul 13 16:02:53 ...snip... kernel: </TASK> Jul 13 16:02:53 ...snip... kernel: Modules linked in: ccm ti_usb_3410_5052 snd_usb_audio snd_usbmidi_lib snd_ump snd_rawmidi snd_seq_device mc vfat fat snd_sof_amd_acp63 snd_sof_amd_vangogh snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp btusb snd_sof btrtl snd_sof_utils btintel snd_pci_ps iwlmvm amd_atl intel_rapl_msr snd_amd_sdw_acpi btbcm soundwire_amd intel_rapl_common btmtk soundwire_generic_allocation soundwire_bus snd_ctl_led bluetooth joydev mousedev snd_hda_codec_realtek mac80211 snd_soc_core snd_hda_codec_generic snd_hda_scodec_component snd_compress snd_hda_codec_hdmi libarc4 ac97_bus kvm_amd ptp snd_pcm_dmaengine snd_hda_intel pps_core snd_rpl_pci_acp6x snd_intel_dspcfg snd_acp_pci kvm snd_intel_sdw_acpi snd_acp_legacy_common iwlwifi tps6598x snd_hda_codec snd_pci_acp6x snd_pci_acp5x r8169 snd_hda_core rapl realtek psmouse snd_rn_pci_acp3x ucsi_acpi snd_hwdep pcspkr cfg80211 think_lmi snd_acp_config acpi_cpufreq mdio_devres typec_ucsi snd_soc_acpi ipmi_devintf sp5100_tco Jul 13 16:02:53 ...snip... kernel: firmware_attributes_class wmi_bmof snd_pcm typec snd_pci_acp3x k10temp libphy i2c_piix4 snd_timer ipmi_msghandler roles serial_multi_instantiate i2c_scmi mac_hid crypto_user loop nfnetlink ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 hid_multitouch dm_crypt cbc encrypted_keys trusted asn1_encoder tee dm_mod mmc_block hid_generic usbhid crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni polyval_generic gf128mul ghash_clmulni_intel sha512_ssse3 sha256_ssse3 thinkpad_acpi serio_raw sha1_ssse3 atkbd rtsx_pci_sdmmc aesni_intel sparse_keymap libps2 mmc_core vivaldi_fmap crypto_simd platform_profile nvme cryptd xhci_pci snd nvme_core ccp xhci_pci_renesas rtsx_pci soundcore i8042 nvme_auth rfkill serio amdgpu video wmi amdxcp i2c_algo_bit drm_ttm_helper ttm drm_exec gpu_sched drm_suballoc_helper drm_buddy drm_display_helper Jul 13 16:02:53 ...snip... kernel: CR2: 0000000000000008 Jul 13 16:02:53 ...snip... kernel: ---[ end trace 0000000000000000 ]--- Jul 13 16:02:53 ...snip... kernel: RIP: 0010:drm_dp_atomic_find_time_slots+0x5e/0x270 [drm_display_helper] Jul 13 16:02:53 ...snip... kernel: Code: 01 00 00 48 8b 85 68 05 00 00 48 63 80 88 00 00 00 3b 43 28 0f 8d 34 01 00 00 48 8b 53 30 48 8d 04 80 48 8d 04 c2 48 8b 40 18 <48> 8b 40 08 4d 8d 65 38 8b 88 90 00 00 00 b8 01 00 00 00 d3 e0 41 Jul 13 16:02:53 ...snip... kernel: RSP: 0018:fffface303f93658 EFLAGS: 00010293 Jul 13 16:02:53 ...snip... kernel: RAX: 0000000000000000 RBX: ffff8a514653e380 RCX: 0000000000000360 Jul 13 16:02:53 ...snip... kernel: RDX: ffff8a515d010a00 RSI: ffff8a514f1fc800 RDI: ffff8a514653e380 Jul 13 16:02:53 ...snip... kernel: RBP: ffff8a514c06e800 R08: 0000000000000076 R09: ffff8a514722c590 Jul 13 16:02:53 ...snip... kernel: R10: 0000000000000001 R11: 0000000000000479 R12: fffface303f937b8 Jul 13 16:02:53 ...snip... kernel: R13: ffff8a5152188d20 R14: ffff8a514f1fc800 R15: 0000000000000360 Jul 13 16:02:53 ...snip... kernel: FS: 00007fd4705049c0(0000) GS:ffff8a57d1380000(0000) knlGS:0000000000000000 Jul 13 16:02:53 ...snip... kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jul 13 16:02:53 ...snip... kernel: CR2: 0000000000000008 CR3: 0000000107b86000 CR4: 0000000000350ef0
Same issue with Thinkpad p14s gen 5 (AMD) and Dell WD15 with Kernel 6.10.0
Same issue.
Hardware:
- CPU: AMD Ryzen 5 1600X
- GPU: AMD Radeon RX 480
- Monitors: 3 x Iiyama PL2592H
- DisplayPort MST Hub: LQ-DX3-Q03 (https://fr.aliexpress.com/item/1005001722437306.html)
Crash occurs on those kernels (only tested versions but seems to be on 6.9.x and 6.10.x):
- ArchLinux linux 6.9.1.arch1-1, 6.9.5.arch1-1, 6.10.1.arch1-1, 6.10.4.arch2
- ArchLinux linux-zen 6.9.1.zen1-1, 6.9.5.zen1-1, 6.10.1.zen1-1
Edited by Alexandre ZANNISame issue.
Hardware:
- Laptop: HP EliteBook 865
- CPU: AMD Ryzen 7 PRO 7840U
- GPU: Radeon 780M Graphics
- Monitors: 3 x DELL U2719DC
- Docking Station: HP Tunderbolt Dock G4
I can't use DisplayPort since the first 6.9 kernel release on Fedora 40. Also tried 6.10 from linux-tkg repo.
Edited by Alexis JeandetHi,
It seems I have this issue as well.
My setup:
-
Hardware description:
- CPU: AMD Ryzen 7 PRO 5850U with Radeon Graphics
- GPU: [AMD/ATI] Cezanne [1002:1638] (rev d1)
- System Memory: 32GiB
- Display(s): 2 external, 1 internal
- Type of Display Connection: USB-C to DELL WD19TBS docking station connected to:
- HDMI to one external monitor
- USB-C to HDMI adapter (over DisplayPort) to the other.
-
System information:
- Distro name and Version: Pop!_OS 22.04 LTS
- Kernel version: 6.9.3-76060903-generic (from Pop!OS)
- AMD official driver version: from kernel
This is the same setup (other than the kernel) as in these two previous issues:
The dmesg log is attached below:
But the gist of it is that I can fairly reliably crash the system by just plugging in the DELL WD19TBS dock. After the first few messages related to USB plugging, I get the following in dmesg.
Click to expand dmesg with "BUG: kernel NULL pointer dereference"
[18100.736455] [drm] Downstream port present 1, type 0 [18101.330317] BUG: kernel NULL pointer dereference, address: 0000000000000008 [18101.330323] #PF: supervisor read access in kernel mode [18101.330326] #PF: error_code(0x0000) - not-present page [18101.330329] PGD 0 P4D 0 [18101.330333] Oops: 0000 [#1] PREEMPT SMP NOPTI [18101.330337] CPU: 12 PID: 4331 Comm: Xorg Tainted: G W OE 6.9.3-76060903-generic #202405300957~1721174657~22.04~abb7c06 [18101.330341] Hardware name: LENOVO 21A0007PGE/21A0007PGE, BIOS R1MET54W (1.24 ) 05/15/2023 [18101.330343] RIP: 0010:drm_dp_atomic_find_time_slots+0x5e/0x2b0 [drm_display_helper] [18101.330361] Code: 00 00 49 8b 84 24 78 05 00 00 48 63 80 88 00 00 00 3b 43 28 0f 8d 4f 01 00 00 48 8b 53 30 48 8d 04 80 48 8d 04 c2 48 8b 40 18 <48> 8b 40 08 8b 88 90 00 00 00 83 f9 1f 0f 87 62 dc 00 00 b8 01 00 [18101.330364] RSP: 0018:ffffb02be72c74c0 EFLAGS: 00010293 [18101.330368] RAX: 0000000000000000 RBX: ffff97fb6099e600 RCX: 0000000000000000 [18101.330370] RDX: ffff97fb30d68600 RSI: 0000000000000000 RDI: 0000000000000000 [18101.330372] RBP: ffffb02be72c74f8 R08: 0000000000000000 R09: 0000000000000000 [18101.330374] R10: 0000000000000000 R11: 0000000000000000 R12: ffff97fac1fe3000 [18101.330376] R13: ffff97fbadfd8e40 R14: ffff97fac8a1e800 R15: 0000000000000000 [18101.330378] FS: 00007eb6960a2a80(0000) GS:ffff9800d2000000(0000) knlGS:0000000000000000 [18101.330381] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [18101.330383] CR2: 0000000000000008 CR3: 00000001959da000 CR4: 0000000000f50ef0 [18101.330385] PKRU: 55555554 [18101.330387] Call Trace: [18101.330390] <TASK> [18101.330394] ? show_regs+0x6c/0x80 [18101.330400] ? __die+0x24/0x80 [18101.330404] ? page_fault_oops+0x96/0x1b0 [18101.330410] ? do_user_addr_fault+0x311/0x690 [18101.330415] ? exc_page_fault+0x82/0x1b0 [18101.330421] ? asm_exc_page_fault+0x27/0x30 [18101.330429] ? drm_dp_atomic_find_time_slots+0x5e/0x2b0 [drm_display_helper] [18101.330442] compute_mst_dsc_configs_for_link+0x41a/0xb20 [amdgpu] [18101.330784] pre_validate_dsc+0x507/0x780 [amdgpu] [18101.331053] ? srso_alias_return_thunk+0x5/0xfbef5 [18101.331060] amdgpu_dm_atomic_check+0x890/0xef0 [amdgpu] [18101.331334] ? free_unref_page_prepare+0x141/0x3d0 [18101.331344] drm_atomic_check_only+0x1af/0x400 [18101.331349] ? drm_connector_list_iter_next+0x86/0xc0 [18101.331354] drm_atomic_commit+0x5f/0xe0 [18101.331358] ? __pfx___drm_printfn_info+0x10/0x10 [18101.331363] drm_atomic_connector_commit_dpms+0xd7/0x100 [18101.331367] drm_mode_obj_set_property_ioctl+0x1c5/0x450 [18101.331371] ? srso_alias_return_thunk+0x5/0xfbef5 [18101.331375] ? restore_sigcontext+0x187/0x1f0 [18101.331381] ? __pfx_drm_connector_property_set_ioctl+0x10/0x10 [18101.331385] drm_connector_property_set_ioctl+0x3b/0x60 [18101.331389] drm_ioctl_kernel+0xbc/0x120 [18101.331393] ? srso_alias_return_thunk+0x5/0xfbef5 [18101.331398] drm_ioctl+0x301/0x5a0 [18101.331402] ? __pfx_drm_connector_property_set_ioctl+0x10/0x10 [18101.331410] amdgpu_drm_ioctl+0x4e/0x90 [amdgpu] [18101.331589] __x64_sys_ioctl+0xa3/0xf0 [18101.331595] x64_sys_call+0xa68/0x24b0 [18101.331599] do_syscall_64+0x80/0x170 [18101.331604] ? srso_alias_return_thunk+0x5/0xfbef5 [18101.331608] ? __rseq_handle_notify_resume+0x36/0x70 [18101.331613] ? srso_alias_return_thunk+0x5/0xfbef5 [18101.331616] ? syscall_exit_to_user_mode+0x81/0x270 [18101.331621] ? srso_alias_return_thunk+0x5/0xfbef5 [18101.331624] ? do_syscall_64+0x8c/0x170 [18101.331628] ? srso_alias_return_thunk+0x5/0xfbef5 [18101.331632] ? do_epoll_wait+0xa8/0x100 [18101.331637] ? srso_alias_return_thunk+0x5/0xfbef5 [18101.331640] ? syscall_exit_work+0xe8/0x140 [18101.331645] ? srso_alias_return_thunk+0x5/0xfbef5 [18101.331648] ? syscall_exit_to_user_mode_prepare+0x38/0x70 [18101.331651] ? srso_alias_return_thunk+0x5/0xfbef5 [18101.331654] ? syscall_exit_to_user_mode+0x81/0x270 [18101.331659] ? srso_alias_return_thunk+0x5/0xfbef5 [18101.331662] ? do_syscall_64+0x8c/0x170 [18101.331667] ? __fdget+0xc6/0xf0 [18101.331672] ? srso_alias_return_thunk+0x5/0xfbef5 [18101.331675] ? __sys_recvmsg+0xc6/0xe0 [18101.331682] ? srso_alias_return_thunk+0x5/0xfbef5 [18101.331685] ? syscall_exit_work+0xe8/0x140 [18101.331688] ? srso_alias_return_thunk+0x5/0xfbef5 [18101.331692] ? syscall_exit_to_user_mode_prepare+0x38/0x70 [18101.331695] ? srso_alias_return_thunk+0x5/0xfbef5 [18101.331698] ? syscall_exit_to_user_mode+0x81/0x270 [18101.331702] ? srso_alias_return_thunk+0x5/0xfbef5 [18101.331706] ? do_syscall_64+0x8c/0x170 [18101.331709] ? do_syscall_64+0x8c/0x170 [18101.331712] ? srso_alias_return_thunk+0x5/0xfbef5 [18101.331716] ? sysvec_apic_timer_interrupt+0x57/0xc0 [18101.331720] entry_SYSCALL_64_after_hwframe+0x76/0x7e [18101.331723] RIP: 0033:0x7eb69651a94f [18101.331758] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <41> 89 c0 3d 00 f0 ff ff 77 1f 48 8b 44 24 18 64 48 2b 04 25 28 00 [18101.331760] RSP: 002b:00007ffd77479650 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [18101.331764] RAX: ffffffffffffffda RBX: 00007ffd774796e0 RCX: 00007eb69651a94f [18101.331766] RDX: 00007ffd774796e0 RSI: 00000000c01064ab RDI: 000000000000000f [18101.331768] RBP: 00000000c01064ab R08: 0000000000000000 R09: 0000000000000009 [18101.331771] R10: 000060d94d1015b0 R11: 0000000000000246 R12: 000060d950564bf0 [18101.331773] R13: 000000000000000f R14: 000060d94e52d040 R15: 000060d94cec6601 [18101.331779] </TASK> [18101.331781] Modules linked in: ipmi_devintf ipmi_msghandler tls ip6table_filter ip6_tables xt_owner iptable_filter xt_mark nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype br_netfilter ccm rfcomm snd_seq_dummy snd_hrtimer xt_CHECKSUM xt_MASQUERADE zstd xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink bridge stp llc cmac algif_hash algif_skcipher af_alg bnep overlay zram snd_acp_legacy_mach snd_acp_mach snd_soc_nau8821 snd_acp3x_pdm_dma snd_acp3x_rn snd_soc_dmic snd_sof_amd_acp63 snd_sof_amd_vangogh snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp snd_ctl_led ledtrig_audio snd_sof snd_sof_utils snd_hda_codec_realtek snd_hda_codec_generic snd_pci_ps snd_amd_sdw_acpi binfmt_misc snd_hda_scodec_component intel_rapl_msr soundwire_amd soundwire_generic_allocation amd_atl soundwire_bus intel_rapl_common snd_hda_codec_hdmi edac_mce_amd snd_hda_intel snd_soc_core snd_intel_dspcfg [18101.331866] snd_intel_sdw_acpi snd_compress rtw89_8852ae snd_hda_codec ac97_bus thinkpad_acpi rtw89_8852a snd_pcm_dmaengine kvm_amd snd_hda_core btusb snd_rpl_pci_acp6x nvram snd_hwdep platform_profile rtw89_pci snd_acp_pci uvcvideo btrtl snd_acp_legacy_common snd_seq_midi kvm rtw89_core videobuf2_vmalloc uvc btintel snd_seq_midi_event btbcm videobuf2_memops snd_pci_acp6x nls_iso8859_1 btmtk snd_rawmidi videobuf2_v4l2 mac80211 rapl joydev input_leds snd_pcm bluetooth videodev snd_seq videobuf2_common snd_pci_acp5x ecdh_generic ecc snd_seq_device mc serio_raw snd_timer cfg80211 snd_rn_pci_acp3x snd_acp_config snd_soc_acpi think_lmi ccp snd_pci_acp3x k10temp snd sp5100_tco wmi_bmof firmware_attributes_class libarc4 soundcore mac_hid sch_fq_codel kyber_iosched msr parport_pc ppdev lp parport efi_pstore ip_tables x_tables autofs4 dm_crypt raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 system76_io(OE) system76_acpi(OE) r8153_ecm cdc_ether usbnet r8152 mii [18101.331974] hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid amdgpu amdxcp drm_exec gpu_sched drm_buddy i2c_algo_bit crct10dif_pclmul drm_suballoc_helper crc32_pclmul drm_ttm_helper polyval_clmulni rtsx_pci_sdmmc polyval_generic ttm ghash_clmulni_intel sha256_ssse3 sha1_ssse3 drm_display_helper nvme psmouse cec ucsi_acpi xhci_pci nvme_core i2c_piix4 r8169 rc_core xhci_pci_renesas typec_ucsi rtsx_pci video nvme_auth realtek typec wmi i2c_scmi aesni_intel crypto_simd cryptd [18101.332024] CR2: 0000000000000008 [18101.332027] ---[ end trace 0000000000000000 ]--- [18101.508240] RIP: 0010:drm_dp_atomic_find_time_slots+0x5e/0x2b0 [drm_display_helper] [18101.508275] Code: 00 00 49 8b 84 24 78 05 00 00 48 63 80 88 00 00 00 3b 43 28 0f 8d 4f 01 00 00 48 8b 53 30 48 8d 04 80 48 8d 04 c2 48 8b 40 18 <48> 8b 40 08 8b 88 90 00 00 00 83 f9 1f 0f 87 62 dc 00 00 b8 01 00 [18101.508280] RSP: 0018:ffffb02be72c74c0 EFLAGS: 00010293 [18101.508285] RAX: 0000000000000000 RBX: ffff97fb6099e600 RCX: 0000000000000000 [18101.508289] RDX: ffff97fb30d68600 RSI: 0000000000000000 RDI: 0000000000000000 [18101.508292] RBP: ffffb02be72c74f8 R08: 0000000000000000 R09: 0000000000000000 [18101.508295] R10: 0000000000000000 R11: 0000000000000000 R12: ffff97fac1fe3000 [18101.508298] R13: ffff97fbadfd8e40 R14: ffff97fac8a1e800 R15: 0000000000000000 [18101.508302] FS: 00007eb6960a2a80(0000) GS:ffff9800d2000000(0000) knlGS:0000000000000000 [18101.508306] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [18101.508309] CR2: 0000000000000008 CR3: 00000001959da000 CR4: 0000000000f50ef0 [18101.508313] PKRU: 55555554 [18101.508316] note: Xorg[4331] exited with irqs disabled
Only a Magic-SysReq+B can reboot the machine.
Kernel
6.8.0-76060800daily20240311-generic
from Pop!OS doesn't exhibit this crash when plugging the dock.Please let me know if there is any kernel or patch I can help test.
Edited by Leonardo Rochael Almeida-