FW13 kworker stuck near 100% on Fedora 41

Which Linux distro are you using?
Fedora 41 KDE

Which kernel are you using?
6.12.7-200.fc41.x86_64 (64-bit)

Which BIOS version are you using?
3.05

Which Framework Laptop 13 model are you using? (AMD Ryzen™ 7040 Series, Intel® Core™ Ultra Series 1, 13th Gen Intel® Core™ , 12th Gen Intel® Core™, 11th Gen Intel® Core™)

AMD Ryzen 5 7640U

Earlier today I was using Firefox on my FW 13, I had began noticing my CPU temp was creeping up even thought I was just looking at emails. Then the system experienced extreme slow down. My mouse cursor would only move at what felt like 1fps. I could still interact with the computer and it seemed like opening tabs and opening a terminal ran at the correct speed. It was almost as if just everything was being rendered slowly.

I checked CPU frequencies and they looked normal. I had experienced this before on Fedora 40 months ago, and while it happened multiple times a week back then, I had not experienced this issue in a couple of months.

I checked top and noticed there was a kworker process at almost 100%. This seemed similar to [TRACKING] Kworker stuck at near 100% CPU usage with Ubuntu 22.04

I ran perf as that OP did and saw the following.

I also ran dmesg and saw a couple of amdgpu errors

Rebooting fixes the issue.

This seems oddly similar to the issue described in this thread. I’ve experienced the issue as well (on Arch Linux, using an AMD system both on the linux and linux-zen kernel), and was able to fix it by setting the following kernel parameter: amdgpu.dcdebugmask=0x10

Unfortunately, I don’t have a Fedora system to test this on. While this solution may work for you too, I suggest you do a little research beforehand to avoid any issues. I wish you luck!