System crashes when second daisy chained monitor is attached with AMD GPU with Kernel 6.9.3+

Hi,
I have an issue with kernel version 6.9.3 and up (at least up to 6.9.7) where the screen blanks right at boot and becomes unresponsive when a second daisy chained display is connected (everything via Display Port). This affects an already configured system as well as the installer.

I tried booting with the second monitor off which works just fine but when I turn it on, the system crashes immediately:

Stack trace
[   92.031297][ T2584] BUG: kernel NULL pointer dereference, address: 0000000000000008
[   92.038955][ T2584] #PF: supervisor read access in kernel mode
[   92.044783][ T2584] #PF: error_code(0x0000) - not-present page
[   92.050612][ T2584] PGD 0 P4D 0 
[   92.053847][ T2584] Oops: 0000 [#1] PREEMPT SMP NOPTI
[   92.058903][ T2584] CPU: 12 PID: 2584 Comm: Xorg.bin Not tainted 6.9.7-1-default #1 openSUSE Tumbleweed 3e35aebd031c5e442ec08348f8a854f8f506fad7
[   92.071853][ T2584] Hardware name: Micro-Star International Co., Ltd. MS-7C56/B550-A PRO (MS-7C56), BIOS A.H0 03/11/2024
[   92.082711][ T2584] RIP: 0010:drm_dp_atomic_find_time_slots+0x5e/0x250 [drm_display_helper]
[   92.091070][ T2584] 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
[   92.110515][ T2584] RSP: 0018:ffffb9b0025874e0 EFLAGS: 00010293
[   92.116438][ T2584] RAX: 0000000000000000 RBX: ffff9ef633035e80 RCX: 000000000000037b
[   92.124260][ T2584] RDX: ffff9ef60d244a00 RSI: ffff9ef5c0bfe800 RDI: ffff9ef633035e80
[   92.132085][ T2584] RBP: ffff9ef5c2d5e000 R08: 0000000000000077 R09: ffff9ef5ca4d38a0
[   92.139915][ T2584] R10: 0000000000000001 R11: 000000000000037b R12: ffffb9b002587638
[   92.147746][ T2584] R13: ffff9ef5c7a2a960 R14: ffff9ef5c0bfe800 R15: 000000000000037b
[   92.155570][ T2584] FS:  00007f94d7219980(0000) GS:ffff9efcbf000000(0000) knlGS:0000000000000000
[   92.164354][ T2584] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   92.170790][ T2584] CR2: 0000000000000008 CR3: 00000001102c2000 CR4: 0000000000350ef0
[   92.178613][ T2584] Call Trace:
[   92.181754][ T2584]  <TASK>
[   92.184554][ T2584]  ? __die_body.cold+0x14/0x24
[   92.189178][ T2584]  ? page_fault_oops+0x134/0x2a0
[   92.193972][ T2584]  ? post_alloc_hook+0xad/0xe0
[   92.198597][ T2584]  ? exc_page_fault+0x73/0x170
[   92.203216][ T2584]  ? asm_exc_page_fault+0x26/0x30
[   92.208103][ T2584]  ? drm_dp_atomic_find_time_slots+0x5e/0x250 [drm_display_helper 7cc8b4f42dc2f5318357c51c0f7b340284465fe1]
[   92.219409][ T2584]  compute_mst_dsc_configs_for_link+0x321/0xa60 [amdgpu 587f1c759889f004438f0278b6116b00b8c86d2c]
[   92.230162][ T2584]  ? post_alloc_hook+0x50/0xe0
[   92.234798][ T2584]  compute_mst_dsc_configs_for_state+0x1f4/0x270 [amdgpu 587f1c759889f004438f0278b6116b00b8c86d2c]
[   92.245608][ T2584]  amdgpu_dm_atomic_check+0x11d1/0x1460 [amdgpu 587f1c759889f004438f0278b6116b00b8c86d2c]
[   92.255636][ T2584]  ? srso_return_thunk+0x5/0x5f
[   92.260341][ T2584]  ? __memcg_slab_free_hook+0xef/0x140
[   92.265651][ T2584]  ? kmalloc_trace+0x130/0x380
[   92.270272][ T2584]  ? post_alloc_hook+0xad/0xe0
[   92.274894][ T2584]  ? amdgpu_dm_crtc_duplicate_state+0x38/0x170 [amdgpu 587f1c759889f004438f0278b6116b00b8c86d2c]
[   92.285526][ T2584]  ? srso_return_thunk+0x5/0x5f
[   92.290236][ T2584]  drm_atomic_check_only+0x5c5/0xa40
[   92.295378][ T2584]  drm_atomic_commit+0x62/0xd0
[   92.299999][ T2584]  ? __pfx___drm_printfn_info+0x10/0x10
[   92.305402][ T2584]  drm_mode_obj_set_property_ioctl+0x14e/0x3b0
[   92.311414][ T2584]  ? __pfx_drm_mode_obj_set_property_ioctl+0x10/0x10
[   92.317941][ T2584]  drm_ioctl_kernel+0xad/0x100
[   92.322565][ T2584]  drm_ioctl+0x25d/0x4c0
[   92.326667][ T2584]  ? __pfx_drm_mode_obj_set_property_ioctl+0x10/0x10
[   92.333198][ T2584]  ? srso_return_thunk+0x5/0x5f
[   92.337905][ T2584]  ? __check_object_size+0x82/0x210
[   92.342963][ T2584]  ? srso_return_thunk+0x5/0x5f
[   92.347672][ T2584]  ? mutex_lock+0x12/0x30
[   92.351861][ T2584]  ? srso_return_thunk+0x5/0x5f
[   92.356569][ T2584]  ? drm_mode_createblob_ioctl+0xd3/0x110
[   92.362147][ T2584]  amdgpu_drm_ioctl+0x4e/0x90 [amdgpu 587f1c759889f004438f0278b6116b00b8c86d2c]
[   92.371237][ T2584]  __x64_sys_ioctl+0x97/0xd0
[   92.375684][ T2584]  do_syscall_64+0x82/0x170
[   92.380046][ T2584]  ? srso_return_thunk+0x5/0x5f
[   92.384754][ T2584]  ? syscall_exit_to_user_mode+0x75/0x230
[   92.390331][ T2584]  ? srso_return_thunk+0x5/0x5f
[   92.395033][ T2584]  ? __pm_runtime_suspend+0x6f/0xd0
[   92.400089][ T2584]  ? srso_return_thunk+0x5/0x5f
[   92.404798][ T2584]  ? amdgpu_drm_ioctl+0x71/0x90 [amdgpu 587f1c759889f004438f0278b6116b00b8c86d2c]
[   92.414061][ T2584]  ? srso_return_thunk+0x5/0x5f
[   92.418767][ T2584]  ? syscall_exit_to_user_mode+0x75/0x230
[   92.424337][ T2584]  ? srso_return_thunk+0x5/0x5f
[   92.429045][ T2584]  ? do_syscall_64+0x8f/0x170
[   92.433573][ T2584]  ? srso_return_thunk+0x5/0x5f
[   92.438274][ T2584]  ? __pte_offset_map+0x1b/0x180
[   92.443069][ T2584]  ? srso_return_thunk+0x5/0x5f
[   92.447769][ T2584]  ? __handle_mm_fault+0xb03/0xde0
[   92.452738][ T2584]  ? srso_return_thunk+0x5/0x5f
[   92.457442][ T2584]  ? srso_return_thunk+0x5/0x5f
[   92.462147][ T2584]  ? __count_memcg_events+0x4d/0xb0
[   92.467205][ T2584]  ? srso_return_thunk+0x5/0x5f
[   92.471906][ T2584]  ? count_memcg_events.constprop.0+0x1a/0x30
[   92.477830][ T2584]  ? srso_return_thunk+0x5/0x5f
[   92.482537][ T2584]  ? handle_mm_fault+0xae/0x320
[   92.487240][ T2584]  ? srso_return_thunk+0x5/0x5f
[   92.491946][ T2584]  ? do_user_addr_fault+0x30f/0x630
[   92.496996][ T2584]  ? srso_return_thunk+0x5/0x5f
[   92.501703][ T2584]  ? srso_return_thunk+0x5/0x5f
[   92.506405][ T2584]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[   92.512155][ T2584] RIP: 0033:0x7f94d710f3df
[   92.516455][ T2584] 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 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
[   92.535901][ T2584] RSP: 002b:00007ffd8de9fd00 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[   92.544166][ T2584] RAX: ffffffffffffffda RBX: 00007ffd8dea7dc0 RCX: 00007f94d710f3df
[   92.551996][ T2584] RDX: 00007ffd8de9fd90 RSI: 00000000c01864ba RDI: 000000000000000e
[   92.559818][ T2584] RBP: 00007ffd8de9fd90 R08: 000000000000009c R09: 000055c01c899160
[   92.567640][ T2584] R10: 000055c01c897160 R11: 0000000000000246 R12: 00000000c01864ba
[   92.575463][ T2584] R13: 000000000000000e R14: 000055c01bfdb430 R15: 0000000000000055
[   92.583292][ T2584]  </TASK>
[   92.586175][ T2584] Modules linked in: af_packet snd_seq_dummy snd_hrtimer snd_seq xt_conntrack xt_MASQUERADE nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype br_netfilter bridge stp llc overlay nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_tables ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat rfkill nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security ip6table_filter ip6_tables iptable_filter qrtr msr r8153_ecm cdc_ether usbnet snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_scodec_component snd_usb_audio intel_rapl_msr amd_atl snd_hda_intel snd_intel_dspcfg intel_rapl_common snd_usbmidi_lib snd_intel_sdw_acpi snd_ump edac_mce_amd snd_hda_codec snd_rawmidi snd_seq_device snd_hda_core ext4 mc snd_hwdep mbcache kvm_amd snd_pcm r8169 snd_timer battery jbd2 r8152 realtek mii mdio_devres tiny_power_button kvm snd libphy pcspkr wmi_bmof acpi_cpufreq k10temp
[   92.586251][ T2584]  i2c_piix4 soundcore joydev gpio_amdpt button gpio_generic nvme_fabrics loop fuse efi_pstore configfs nfnetlink dmi_sysfs ip_tables x_tables xfs libcrc32c dm_crypt essiv authenc trusted asn1_encoder tee hid_generic usbhid nls_iso8859_1 nls_cp437 vfat fat amdgpu crct10dif_pclmul ahci crc32_pclmul crc32c_intel polyval_clmulni libahci polyval_generic gf128mul video amdxcp libata i2c_algo_bit drm_ttm_helper ttm ghash_clmulni_intel drm_exec sd_mod sha512_ssse3 gpu_sched scsi_dh_emc drm_suballoc_helper sha256_ssse3 xhci_pci scsi_dh_rdac sha1_ssse3 drm_buddy xhci_pci_renesas scsi_dh_alua xhci_hcd drm_display_helper nvme sg aesni_intel cec crypto_simd rc_core scsi_mod nvme_core cryptd usbcore ccp sp5100_tco nvme_auth t10_pi scsi_common wmi dm_mod i2c_dev efivarfs
[   92.745415][ T2584] CR2: 0000000000000008
[   92.749423][ T2584] ---[ end trace 0000000000000000 ]---
[   92.754729][ T2584] RIP: 0010:drm_dp_atomic_find_time_slots+0x5e/0x250 [drm_display_helper]
[   92.763089][ T2584] 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
[   92.782534][ T2584] RSP: 0018:ffffb9b0025874e0 EFLAGS: 00010293
[   92.788449][ T2584] RAX: 0000000000000000 RBX: ffff9ef633035e80 RCX: 000000000000037b
[   92.796271][ T2584] RDX: ffff9ef60d244a00 RSI: ffff9ef5c0bfe800 RDI: ffff9ef633035e80
[   92.804094][ T2584] RBP: ffff9ef5c2d5e000 R08: 0000000000000077 R09: ffff9ef5ca4d38a0
[   92.811918][ T2584] R10: 0000000000000001 R11: 000000000000037b R12: ffffb9b002587638
[   92.819741][ T2584] R13: ffff9ef5c7a2a960 R14: ffff9ef5c0bfe800 R15: 000000000000037b
[   92.827564][ T2584] FS:  00007f94d7219980(0000) GS:ffff9efcbf000000(0000) knlGS:0000000000000000
[   92.836343][ T2584] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   92.842786][ T2584] CR2: 0000000000000008 CR3: 00000001102c2000 CR4: 0000000000350ef0
[   92.850607][ T2584] note: Xorg.bin[2584] exited with irqs disabled

Information on my graphics card:

inxi -GSaz
System:
  Kernel: 6.9.7-1-default arch: x86_64 bits: 64 compiler: gcc v: 13.3.0
    clocksource: tsc avail: hpet,acpi_pm
    parameters: initrd=\opensuse-tumbleweed\6.9.7-1-default\initrd-78cac3084ea8018dc0df08f7fd3831a49a0967c4
    root=UUID=[REDACTED] splash=silent quiet
    security=apparmor mitigations=auto
    systemd.machine_id=[REDACTED]
  Desktop: KDE Plasma v: 6.1.2 tk: Qt v: N/A info: frameworks v: 6.3.0
    wm: kwin_x11 tools: avail: xscreensaver vt: 2 dm: SDDM Distro: openSUSE
    Tumbleweed 20240712
Graphics:
  Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
    vendor: XFX driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: DP-4 empty: DP-1, DP-2, DP-3, DP-5, HDMI-A-1,
    Writeback-1 bus-ID: 2d:00.0 chip-ID: 1002:73df class-ID: 0300
  Display: x11 server: X.Org v: 21.1.12 with: Xwayland v: 24.1.0
    compositor: kwin_x11 driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00")
    s-diag: 777mm (30.58")
  Monitor-1: DP-4 model: HP Z27u G3 serial: <filter> built: 2021
    res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2 size: 597x336mm (23.5x13.23")
    diag: 685mm (27") ratio: 16:9 modes: max: 2560x1440 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi
    inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.1.3 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon RX 6700 XT (radeonsi navi22 LLVM
    18.1.8 DRM 3.57 6.9.7-1-default) device-ID: 1002:73df memory: 11.72 GiB
    unified: no
  API: Vulkan v: 1.3.283 layers: 5 device: 0 type: discrete-gpu name: AMD
    Radeon RX 6700 XT (RADV NAVI22) driver: N/A device-ID: 1002:73df
    surfaces: xcb,xlib

I have seen similar topics which either have this issue with an Nvidia GPU or have been closed prematurely.

I can boot the system with the kernel parameter nomodeset set but this only results in mirrored displays and poor performance.

Everything works just fine when using kernel-default 6.8.9 hence I had locked the kernel version to that. Thus I am guessing that something between version 6.8.9 and 6.9.3 has changed that affects me in this situation.

I hope someone can help me debug this as I am not that experienced with that territory.

Can you boot 6.9.7 with success displaying on both monitors to multi-user.target? To do so, strike E key at Grub menu, navigate to end of linu line (normally wrapped), append space 3, then proceed. Do both displays show boot messages and eventually shell prompts?

This 18 month old bug may be the same issue. You may wish to CC and comment there to see if any dev shows interest in doing something about it. My MST works with Intel GPU, but not my oldish AMD GCN#2 Kaveri. Or you could simply report a new bug.

Oh, I should’ve mentioned that I don’t use GRUB but rather systemd-boot. I guess I could change it via YaST Boot Loader?

And as I far as I see the linked Bugzilla issue is for Leap 15 and not TW (?)

You didn’t read comment #5, did you? 6.6, 6.8 & 6.9 kernels are not Leap’s. And, comment #2 points to an upstream bug report.

To be honest, I didn’t understand it at all. It’s too much over my head

A new TW bug today in kernel 6.10 suggests MST (daisy chain display technology; enabling docking stations for multi-display use) is experiencing some fundamental problems that may need to be more broadly addressed.

If you comment in the comment #3 bug it could result in an ultimately helpful response. Developers who hope to provide bug fixes depend on reports from users experiencing trouble with hardware the developers do not have to test with.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.