Fullscreen Games Freeze on Plasma 6 with dGPU

Ok! Completed the bisection and got a lot of new info here. First off, the offending commit is drm/amd/display: Re-enable panel replay feature. Interestingly, it looks like there was already some problems it caused on FW16 that have been discussed, some very similar to this issue - however, from what I can find in bug reports, the issue was supposed to be fixed in 6.12, which it obviously has not fully been. Last bug report that’s related is here, seems to be the same issue.

I’ll build latest myself just to make sure - already tried it from fedora rawhide but those kernels aren’t always the same as from the source tree so I’ll make sure, if still broken there I’ll reopen the issue over on freedesktop.

3 Likes

Ok, so now I’m really confused. Compiled 6.13 myself and it works fine. Fedora’s rawhide of the same version (even same rc!) does not. And given that OP was on arch and using 6.12 (the version where it was meant to be solved) it seems something is different with both Fedora and Arch’s kernels from the source tree. Going to look into this some more, if anyone has any ideas let me know.

Edit: just confirmed that the fix has still been committed to fedora’s kernel, so I really have no clue why it’s still broken.

1 Like

I’m running Manjaro Plasma unstable here with kernel 6.12.4-1-MANJARO currently, and I ran into this with my Framework 16 iGPU (I don’t yet have the dGPU). I couldn’t use adaptive sync at all, or the display would freeze constantly. I read the bug linked here, and I tried what this post suggested and added amdgpu.dcdebugmask=0x400 to my kernel parameters. Now I’m able to use adaptive sync in display settings, as well as play Trackmania in full screen mode.

4 Likes

Thanks @Matti_Viljanen, I can confirm that using amdgpu.dcdebugmask=0x400 works as a workaround.

5 Likes

Can confirm this fixed the issue for me. I am using Fedora 41 on the Framework 16 with the dGPU AMD Radeon RX 7700S.

It doesn’t fix it for me, but I’ve been able to work around it by rebooting when it happens.

I tested downgrading from Kernel 6.12.7 to 6.10.9 and my games work TONS better. I haven’t tested the 6.11.X kernels, nor have I tried LTS.
I’m tempted to try the kernel parameters with 6.12.X, but I haven’t gotten that far since it’s working well as is.

Framework 16
AMD Ryzen 9 7940HS w/ Radeon 780M Graphics
AMD Radeon 7700S

I’ve tested 6.12.8 with the suggestion to add the amdgpu.dcdebugmask=0x400 parameter (added via /etc/default/grub), and it seems that it’s working just as good as Kernel 6.10.9 was.

Good find!

1 Like