[bisected] black screen after updating kernel 6.1.42 -> 6.1.43
Brief summary of the problem:
Having updated the kernel 6.1.42 to 6.1.43, amdgpu now consistently crashes during boot sequence before display server gets a chance to start resulting in black screen and after that no signal even though peripheral leds and numlock etc still work.
After bisecting the commit d5b3e4cf9942039765ee0b909bd3f913479481cb drm/amd/display: Copy DC context in the commit streams ended up being the offender.
If at all relevant I've tried both linux-firmware:20230731 and 20230804, but the black screen occurs on both.
Hardware description:
- CPU: AMD Ryzen 7 2700X
- GPU: AMD 7900 XTX Sapphire Pulse
- System Memory: 2x32GB+1x16GB DDR4
- Display(s): Single monitor benq xl2411p @ 144Hz
- Type of Display Connection: DP
System information:
- Distro name and Version: Manjaro Linux
- Kernel version: 6.1.43
- Custom kernel: n/a
- AMD official driver version: how to check this (does this mean the above mentioned linux-firmware?)
How to reproduce the issue:
- Just attempting to boot into 6.1.43, i cant confirm whether this is hardware dependant.
Log files (for system lockups / game freezes / crashes)
Full dmesg from a black screen boot including the below trace: dmesg.log
manjaro kernel: ------------[ cut here ]------------
manjaro kernel: WARNING: CPU: 2 PID: 262 at drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3032 dc_update_planes_and_stream+0x2d1/0x820 [amdgpu]
manjaro kernel: Modules linked in: amdgpu(+) drm_ttm_helper ttm video wmi gpu_sched drm_buddy drm_display_helper cec
manjaro kernel: CPU: 2 PID: 262 Comm: modprobe Not tainted 6.1.43-2-MANJARO #1 02e694694888f390805aaece3a837e31f09826f2
manjaro kernel: Hardware name: System manufacturer System Product Name/PRIME X470-PRO, BIOS 6063 03/13/2023
manjaro kernel: RIP: 0010:dc_update_planes_and_stream+0x2d1/0x820 [amdgpu]
manjaro kernel: Code: 48 2b 14 25 28 00 00 00 0f 85 61 05 00 00 48 83 c4 50 5b 5d 41 5c 41 5d 41 5e 41 5f e9 68 e8 ce dd 45 85 ed 0f 84 ea fe ff ff <0f> 0b 31 c0 eb ca 80 f9 01 0f 85 e6 fd ff ff 41 0f b6 8c 24 63 01
manjaro kernel: RSP: 0018:ffffafa1825f73e0 EFLAGS: 00010202
manjaro kernel: RAX: 0000000000000000 RBX: ffff911d4c01a000 RCX: 0000000000000000
manjaro kernel: RDX: 0000000000000000 RSI: ffff911d66a00000 RDI: ffff911d4c01a000
manjaro kernel: RBP: ffffafa1825f77c8 R08: 0000000000000000 R09: 0000043800000780
manjaro kernel: R10: 0000000000000000 R11: ffff911d668e6e00 R12: ffff911d4c1c0000
manjaro kernel: R13: 0000000000000001 R14: ffff911d41225a00 R15: ffff911d4b40d000
manjaro kernel: FS: 00007f68d9f39740(0000) GS:ffff91301ee80000(0000) knlGS:0000000000000000
manjaro kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
manjaro kernel: CR2: 00007f9971effbdf CR3: 0000000103684000 CR4: 00000000003506a0
manjaro kernel: Call Trace:
manjaro kernel: <TASK>
manjaro kernel: ? dc_update_planes_and_stream+0x2d1/0x820 [amdgpu 191845671e68edcf7c1406b64d9792923276ba5d]
manjaro kernel: ? __warn+0x7d/0xd0
manjaro kernel: ? dc_update_planes_and_stream+0x2d1/0x820 [amdgpu 191845671e68edcf7c1406b64d9792923276ba5d]
manjaro kernel: ? report_bug+0xe6/0x150
manjaro kernel: ? handle_bug+0x3c/0x80
manjaro kernel: ? exc_invalid_op+0x17/0x70
manjaro kernel: ? asm_exc_invalid_op+0x1a/0x20
manjaro kernel: ? dc_update_planes_and_stream+0x2d1/0x820 [amdgpu 191845671e68edcf7c1406b64d9792923276ba5d]
manjaro kernel: amdgpu_dm_atomic_commit_tail+0x169b/0x2f40 [amdgpu 191845671e68edcf7c1406b64d9792923276ba5d]
manjaro kernel: ? vscnprintf+0x12/0x30
manjaro kernel: commit_tail+0x94/0x130
manjaro kernel: drm_atomic_helper_commit+0x11a/0x140
manjaro kernel: drm_atomic_commit+0x9a/0xd0
manjaro kernel: ? drm_plane_get_damage_clips.cold+0x1c/0x1c
manjaro kernel: drm_client_modeset_commit_atomic+0x203/0x250
manjaro kernel: drm_client_modeset_commit_locked+0x5a/0x160
manjaro kernel: drm_client_modeset_commit+0x25/0x40
manjaro kernel: drm_fb_helper_set_par+0xa2/0xe0
manjaro kernel: fbcon_init+0x24f/0x5b0
manjaro kernel: visual_init+0xcc/0x120
manjaro kernel: do_bind_con_driver.isra.0+0x1ba/0x2c0
manjaro kernel: do_take_over_console+0x11a/0x190
manjaro kernel: do_fbcon_takeover+0x66/0xd0
manjaro kernel: fbcon_fb_registered+0x4d/0x70
manjaro kernel: register_framebuffer+0x1d8/0x310
manjaro kernel: __drm_fb_helper_initial_config_and_unlock+0x388/0x4e0
manjaro kernel: drm_fbdev_client_hotplug+0x18a/0x220
manjaro kernel: drm_client_register+0x79/0xc0
manjaro kernel: amdgpu_pci_probe+0x367/0x370 [amdgpu 191845671e68edcf7c1406b64d9792923276ba5d]
manjaro kernel: local_pci_probe+0x45/0x80
manjaro kernel: pci_device_probe+0xc1/0x250
manjaro kernel: ? sysfs_do_create_link_sd+0x6e/0xe0
manjaro kernel: really_probe+0xde/0x380
manjaro kernel: ? pm_runtime_barrier+0x54/0x90
manjaro kernel: __driver_probe_device+0x78/0x120
manjaro kernel: driver_probe_device+0x1f/0x90
manjaro kernel: __driver_attach+0xd2/0x1c0
manjaro kernel: ? __device_attach_driver+0x110/0x110
manjaro kernel: bus_for_each_dev+0x8b/0xd0
manjaro kernel: bus_add_driver+0x1b2/0x200
manjaro kernel: driver_register+0x8d/0xe0
manjaro kernel: ? 0xffffffffc0ec3000
manjaro kernel: do_one_initcall+0x5d/0x230
manjaro kernel: do_init_module+0x4a/0x1e0
manjaro kernel: __do_sys_finit_module+0xac/0x120
manjaro kernel: do_syscall_64+0x60/0x90
manjaro kernel: ? do_syscall_64+0x6c/0x90
manjaro kernel: entry_SYSCALL_64_after_hwframe+0x63/0xcd
manjaro kernel: RIP: 0033:0x7f68da0491ad
manjaro kernel: Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 63 eb 12 00 f7 d8 64 89 01 48
manjaro kernel: RSP: 002b:00007ffc3c2c79b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
manjaro kernel: RAX: ffffffffffffffda RBX: 00005561f1b42c70 RCX: 00007f68da0491ad
manjaro kernel: RDX: 0000000000000000 RSI: 00005561f1a76cb2 RDI: 000000000000000b
manjaro kernel: RBP: 00005561f1a76cb2 R08: 0000000000000000 R09: 00007ffc3c2c7af0
manjaro kernel: R10: 000000000000000b R11: 0000000000000246 R12: 0000000000060000
manjaro kernel: R13: 00005561f1b42d10 R14: 0000000000000000 R15: 00005561f1b45230
manjaro kernel: </TASK>
manjaro kernel: ---[ end trace 0000000000000000 ]---
manjaro kernel: Console: switching to colour frame buffer device 240x67
manjaro kernel: amdgpu 0000:0c:00.0: [drm] *ERROR* [CRTC:67:crtc-0] flip_done timed out
manjaro kernel: amdgpu 0000:0c:00.0: [drm] fb0: amdgpudrmfb frame buffer device