Persistent System Crashes and Performance Issues on Fedora 40 with ASUS Vivobook 15

After analysis, I think I’m the victim of several AMD driver bugs.

In this post, I’ll present just one.

At 13:13:33, when I plugged the USB-C cable from my external monitor into my laptop.

Here are the kernel logs:

13:13:33 t14s kernel: retire_capture_urb: 58 callbacks suppressed

...

13:13:54 t14s kernel: amdgpu 0000:33:00.0: [drm] REG_WAIT timeout 1us * 100 tries - dcn31_program_compbuf_size line:141
13:13:54 t14s kernel: ------------[ cut here ]------------
13:13:54 t14s kernel: WARNING: CPU: 12 PID: 30057 at drivers/gpu/drm/amd/amdgpu/../display/dc/hubbub/dcn31/dcn31_hubbub.c:151 dcn31_program_compbuf_size+0xd1/0x230 [amdgpu]

...

More complete version of these logs: kernel.log · GitHub

I found line 151 in the source code file that generates the warning: drivers/gpu/drm/amd/display/dc/hubbub/dcn31/dcn31_hubbub.c#L151

Here’s the bug I found by searching on the keyword dcn31_program_compbuf_size: AMD GPU screen blanking for seconds with a warning

I run Fedora 40 on a ThinkPad T14 Gen3 - comes with AMD Ryzen 7 PRO 6850U with Radeon Graphics. I have my monitor connected via the ThinkPad dock, which is over a USB-C connection.

Yesterday, I updated to F41 with the 6.11.5-300.fc41 kernel. The screen blanking shot up to maybe 30x per minute, with 1-2s blanking each time, effectively giving me an unusable display.

I have the same hardware as this person and I seem to be experiencing the same problem.

However, I seem to have had gnome-shell crashes even without the action of plugging an external monitor into USB-C :thinking:. I think I’m a victim of several bugs.

4 seconds after this warning, Discord generates a coredump :

$ coredumpctl list --since "2024-11-07"
TIME                           PID  UID  GID SIG     COREFILE EXE                           SIZE
Thu 2024-11-07 10:09:21 CET 352125 1000 1000 SIGTRAP present  /app/main/mattermost-desktop 10.6M
Thu 2024-11-07 13:13:58 CET  54929 1000 1000 SIGABRT present  /usr/lib64/discord/Discord   56.9M

Here are the contents of :

$ coredumpctl info 54929 # /usr/lib64/discord/Discord 

And that of

$ coredumpctl info 352125 # /app/main/mattermost-desktop

Question: would you advise me to create another thread on Fedora Discussion with the title “AMD GPU screen blanking for seconds with dcn31_program_compbuf_size warning”?