amdgpu driver crash while using Blender "Head pipe not found for stream_state"
- Kernel: 6.2.1
- GPU: 5700XT
- Application: Blender 3.4
A few seconds after launching Blender, the display driver will crash. The screen goes black, and then returns with artifacts and unresponsive to input. A hard reset is the only option.
I am using sway and wayland.
journalctl --boot -1
output:
[ 2994.958445] kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, signaled seq=669935, emitted seq=669937
[ 2994.958777] kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process blender-3.4 pid 9687 thread blender-3.:cs0 pid 9706
[ 2994.959066] kernel: amdgpu 0000:0c:00.0: amdgpu: GPU reset begin!
[ 2995.156712] kernel: amdgpu 0000:0c:00.0: amdgpu: BACO reset
[ 2998.299366] kernel: amdgpu 0000:0c:00.0: amdgpu: GPU reset succeeded, trying to resume
[ 2998.299606] kernel: [drm] PCIE GART of 512M enabled (table at 0x0000008000300000).
[ 2998.299671] kernel: [drm] VRAM is lost due to GPU reset!
[ 2998.299672] kernel: [drm] PSP is resuming...
[ 2998.345747] kernel: [drm] reserve 0x900000 from 0x81fd000000 for PSP TMR
[ 2998.388192] kernel: amdgpu 0000:0c:00.0: amdgpu: RAS: optional ras ta ucode is not available
[ 2998.394140] kernel: amdgpu 0000:0c:00.0: amdgpu: RAP: optional rap ta ucode is not available
[ 2998.394142] kernel: amdgpu 0000:0c:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[ 2998.394144] kernel: amdgpu 0000:0c:00.0: amdgpu: SMU is resuming...
[ 2998.394186] kernel: amdgpu 0000:0c:00.0: amdgpu: use vbios provided pptable
[ 2998.394187] kernel: amdgpu 0000:0c:00.0: amdgpu: smc_dpm_info table revision(format.content): 4.5
[ 2998.397215] kernel: amdgpu 0000:0c:00.0: amdgpu: SMU is resumed successfully!
[ 2998.527420] kernel: [drm] kiq ring mec 2 pipe 1 q 0
[ 2998.529757] kernel: [drm] VCN decode and encode initialized successfully(under DPG Mode).
[ 2998.530152] kernel: [drm] JPEG decode initialized successfully.
[ 2998.530174] kernel: amdgpu 0000:0c:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[ 2998.530176] kernel: amdgpu 0000:0c:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[ 2998.530177] kernel: amdgpu 0000:0c:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[ 2998.530177] kernel: amdgpu 0000:0c:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[ 2998.530178] kernel: amdgpu 0000:0c:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[ 2998.530178] kernel: amdgpu 0000:0c:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[ 2998.530179] kernel: amdgpu 0000:0c:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[ 2998.530179] kernel: amdgpu 0000:0c:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[ 2998.530180] kernel: amdgpu 0000:0c:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[ 2998.530181] kernel: amdgpu 0000:0c:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
[ 2998.530181] kernel: amdgpu 0000:0c:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
[ 2998.530182] kernel: amdgpu 0000:0c:00.0: amdgpu: ring sdma1 uses VM inv eng 13 on hub 0
[ 2998.530182] kernel: amdgpu 0000:0c:00.0: amdgpu: ring vcn_dec uses VM inv eng 0 on hub 1
[ 2998.530183] kernel: amdgpu 0000:0c:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 1 on hub 1
[ 2998.530184] kernel: amdgpu 0000:0c:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 4 on hub 1
[ 2998.530184] kernel: amdgpu 0000:0c:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 1
[ 2998.533341] kernel: amdgpu 0000:0c:00.0: amdgpu: recover vram bo from shadow start
[ 2998.533360] kernel: amdgpu 0000:0c:00.0: amdgpu: recover vram bo from shadow done
[ 2998.533372] kernel: amdgpu 0000:0c:00.0: amdgpu: GPU reset(2) succeeded!
[ 2998.533385] kernel: [drm] Skip scheduling IBs!
[ 2998.533394] kernel: [drm] Skip scheduling IBs!
[ 2998.533402] kernel: [drm] Skip scheduling IBs!
[ 2998.533408] kernel: [drm] Skip scheduling IBs!
[ 2998.548898] kernel: [drm:dc_add_plane_to_context [amdgpu]] *ERROR* Head pipe not found for stream_state 00000000abf4ce94 !
[ 2998.549166] kernel: [drm:dc_add_plane_to_context [amdgpu]] *ERROR* Head pipe not found for stream_state 00000000abf4ce94 !
[ 2998.549409] kernel: [drm:dc_add_plane_to_context [amdgpu]] *ERROR* Head pipe not found for stream_state 00000000abf4ce94 !
[ 2998.678548] kernel: [drm:dc_remove_stream_from_ctx [amdgpu]] *ERROR* Pipe not found for stream 00000000abf4ce94 !
[ 2998.678815] kernel: ------------[ cut here ]------------
[ 2998.678834] kernel: atomic remove_fb failed with -22
[ 2998.678884] kernel: WARNING: CPU: 14 PID: 9660 at drivers/gpu/drm/drm_framebuffer.c:1130 drm_framebuffer_remove+0x49b/0x500 [drm]
[ 2998.678935] kernel: Modules linked in: snd_seq_dummy snd_hrtimer snd_seq xt_CHECKSUM ipt_REJECT nf_reject_ipv4 xt_conntrack ip6table_mangle ip6table_nat ip6table_filter ip6_tables xt_MASQUERADE nf_conntrack_netlink nfnetlink iptable_mangle xt_addrtype iptable_filter ip>
[ 2998.678959] kernel: snd_hda_core mxm_wmi drm_display_helper videobuf2_common sha512_ssse3 snd_seq_device snd_hwdep bluetooth snd_pcm cec rapl videodev rc_core snd_timer sp5100_tco pcspkr efi_pstore snd drm_kms_helper ecdh_generic k10temp i2c_piix4 mc soundcore ecc ccp>
[ 2998.679309] kernel: CPU: 14 PID: 9660 Comm: kworker/14:2 Not tainted 6.2.1-gentoo-x86_64 #1
[ 2998.679332] kernel: Hardware name: System manufacturer System Product Name/ROG STRIX X570-E GAMING, BIOS 2802 10/21/2020
[ 2998.679360] kernel: Workqueue: events drm_mode_rmfb_work_fn [drm]
[ 2998.679392] kernel: RIP: 0010:drm_framebuffer_remove+0x49b/0x500 [drm]
[ 2998.679424] kernel: Code: 7c 24 18 e8 07 c0 00 00 48 8d 7c 24 18 e8 bd bd 00 00 c7 44 24 0c f4 ff ff ff 8b 74 24 0c 48 c7 c7 f0 d6 79 c0 e8 ec d0 47 ea <0f> 0b e9 c3 fd ff ff be 03 00 00 00 48 89 ef e8 01 aa e7 e9 e9 87
[ 2998.679470] kernel: RSP: 0018:ffffbd81d4eefdd8 EFLAGS: 00010286
[ 2998.679486] kernel: RAX: 0000000000000000 RBX: ffff9a65c93dc600 RCX: 0000000000000000
[ 2998.679506] kernel: RDX: 0000000000000001 RSI: ffffffffab458fc8 RDI: 00000000ffffffff
[ 2998.679526] kernel: RBP: ffff9a67d1b52080 R08: 0000000000000000 R09: 00000000ffffdfff
[ 2998.679547] kernel: R10: ffffbd81d4eefc88 R11: ffffffffab744e88 R12: ffff9a65c9f00010
[ 2998.679567] kernel: R13: ffff9a6808398cc0 R14: ffff9a65c9f002d8 R15: ffff9a65c9f002d0
[ 2998.679588] kernel: FS: 0000000000000000(0000) GS:ffff9a74aed80000(0000) knlGS:0000000000000000
[ 2998.679611] kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2998.679629] kernel: CR2: 000055cc04c12420 CR3: 000000011a7f2000 CR4: 0000000000750ee0
[ 2998.679650] kernel: PKRU: 55555554
[ 2998.679661] kernel: Call Trace:
[ 2998.679672] kernel: <TASK>
[ 2998.679683] kernel: drm_mode_rmfb_work_fn+0x7a/0x90 [drm]
[ 2998.679712] kernel: process_one_work+0x1e5/0x3b0
[ 2998.679728] kernel: ? __pfx_worker_thread+0x10/0x10
[ 2998.679742] kernel: worker_thread+0x1c8/0x3a0
[ 2998.679757] kernel: ? __pfx_worker_thread+0x10/0x10
[ 2998.679771] kernel: kthread+0xec/0x110
[ 2998.679785] kernel: ? __pfx_kthread+0x10/0x10
[ 2998.679798] kernel: ret_from_fork+0x2c/0x50
[ 2998.679813] kernel: </TASK>
[ 2998.679821] kernel: ---[ end trace 0000000000000000 ]---
[ 3003.771080] kernel: [drm:dc_add_plane_to_context [amdgpu]] *ERROR* Head pipe not found for stream_state 00000000abf4ce94 !
[ 3003.361723] systemd[1]: Started getty@tty2.service.
[ 3003.812568] kernel: [drm:dc_add_plane_to_context [amdgpu]] *ERROR* Head pipe not found for stream_state 00000000abf4ce94 !
Edited by Will Ridgers