[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1032262: Kernel builds past 5.3 seem to interfere with AMD dedicated GPU performance on Acer Nitro 5 AN515-42 laptop (almost certainly kernel config related)



Package: linux-image-amd64
Version: Any that include kernel versions post-5.3

Hello, I current run Debian 12 (Bookworm) on my Acer Nitro 5 AN515-42 laptop, but this issue has been present in Debian for quite a while. I've noticed that the default kernel has some problems regarding the hybrid Raven Ridge/RX560x setup in this machine.
No matter what 3D load is run, the performance of the GPU hardware seems to be locked at its lowest state, resulting in extremely poor performance. This happens regardless of DRI_PRIME setting.

Interestingly, this did NOT happen when I tested other distributions on this hardware, such as Fedora and Ubuntu, regardless of kernel version present.

The problem also disappears if I use the Xanmod kernel, which is a third-party custom kernel not present in Debian's repositories.

Finally, out of curiosity, I compiled the mainline kernel for myself the other day (version 6.1) using the kernel config present by default in the third-party Xanmod kernel, and my compiled kernel resulted in proper and expected performance across the board.

For these reasons, I believe the kernel config present in Debian is somehow at fault. Unfortunately, despite looking at the diff between the default kernel config and the custom one I used to build my kernel, I don't really have a good idea of which settings were responsible for the solution to this issue.

I would greatly appreciate it if anyone more knowledgeable than me could help to investigate this and perhaps change the default Debian kernel config upstream so that other users who might be affected by this bug can benefit from the solution without having to compile their own kernels.

Reply to: