System freeze (amdgpu - flip_done timed out) after switch to kernel 6.12

I’ve recently switched to kernel 6.12 because of drmModeAtomicCommit errors after the GNOME 48 update.

Yesterday I was playing a html game in Firefox when suddenly for the first time my system completely froze. I had no mouse cursor and I couldn’t even switch to a virtual terminal. The sound of the game played on though.

I didn’t know what to do so I ‘Magic SysRQed’ with REISUB and checked the journal. All I could see was:

kernel: amdgpu 0000:08:00.0: [drm] *ERROR* [CRTC:85:crtc-0] flip_done timed out

I’ve found a long running discussion in the AMD driver gitlab but no solution to fix the problem.

Has anyone else experience or found a solution?

As workaround, you can try adding:

amdgpu.dc=0

to the kernel parameters. It switches back to the legacy mode when Display Core Subsystem is disabled. Anyway, it seems to be a bug.