RX6500XT, amdgpu: Spontaneous changes to power_dpm_force_performance_level
On RX 6500 XT [1002:743f] I set /sys/class/drm/card*/device/power_dpm_force_performance_level
to profile_standard
before I start any game. That is to avoid overheating (100 °C / 212 °F) which occurs easily when the perf level is left at the default of auto
(it's some sort of OC card) and impacts the GPU as well as the nearby mobo components (I get a thermal warning in kernel log about the onboard audio chip). The perf level setting spontaneously reverts back to auto
at random, however, and I'm forced to run a script which polls and maintains power_dpm_force_performance_level
stable. This happens 0-10 times per hour while playing.
In kernel#218015 I got referred here. The AMD developer Alex Deucher suggested, though, that
UMDs (e.g., mesa) can change the power profile as well. E.g., if they want to capture an SQ trace, etc. It's likely that is the cause.
MSI Radeon RX 6500 XT MECH 2X 4G OC lspci-nnvv, 1x FreeSync LCD over DP. Kernel 6.1.57 custom config dmesg, x86_64, Gentoo, gcc 13.2.1 20230826, xorg-server 21.1.8, mesa 23.1.8, xf86-video-amdgpu 23.0.0, linux-firmware 20230919.