bazzite: HTPC (bazzite-deck) amdgpu stuck at 15W (with workaround)

so i recently moved my old htpc/guestPC build from chimeraOS to bazzite deck as i wanted something that mimicks the steamdeck more closely in terms of desktop ui as my friends understand kde better than gnome (and i was getting fed up with fixing extensions between each update with gnome to make it “friend friendly”)

However when i started up some games i noticed the gpu usage was at 100% and i found that odd as these games ran perfectly fine before changing over. I then enabled the performance overlay to display in the gamescope session over steam too and it was fluctuating between 30% and 100%

I then went into desktop mode and installed corectrl and noticed the gpu clock was stuck at 300Mhz (the lowest for the rx560 8gb in the powerplay table), even in games. I then decided to try and just see if i could change it by setting the performance mode to advanced and setting the clock speed there, it worked! the games ran at full speed again but only in desktop mode after opening corectrl each time and switching modes. I then decided to set the performance mode back to automatic and the clock speed was no longer locked to 300Mhz? in fact it went to 300Mhz on idle and adjusted accordingly to what i was doing on the desktop now, odd.

~Then i decided to see if i could set the higher powerplay state at boot just for testing in gamescope, however i was unable to do so in /sys/class/drm/card1/device/ as the settings i applied in there just seemed to get ignored even then corectrl was not running? NOTE: card0 does not exist for me but it would most likely be the intel igpu if it was enabled. Doing echo "1 2 3 4 5 6 7" | sudo tee /sys/class/drm/card1/device/pp_dpm_sclk which would disable powerplay state 0 but would just yield no change and spit out the error invalid argument, same goes for even trying to set a single powerplay state.~ ~This was tried with and without the amdgpu.ppfeaturemask kernel argument, even though corectrl managed to “fix” the issue temporarily without it.~

~The issue does not seem related to #176 as the gpu frequency (SCLK) is just stuck, the memory clock (MCLK) is however permanently stuck at 1750Mhz which might be related, but doesnt affect the performance since it is stuck at a high clock at least, but my testing with corectrl at least shows that there is something that might be able to be changed to fix the stuck gpu frequency at least, and i hope the info here will at least lead some devs the right way or help someone find workaround that also works in the gamescope session.~

After a night of sleep i found a workaround posted in the follow up post below as i noticed the power cap for the card got set to 15W by the gamescope session at specific times.

Hardware: CPU: Intel i5-4460 GPU: AMD RX 560 8GB Memory: 16GB Monitor: An old Toshiba 1080p LED TV (60Hz)

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Comments: 21 (12 by maintainers)

Most upvoted comments

484fa80

This is building now, give it a try once it’s done. Should resolve your issues.

hey @KyleGospo Can confirm this fixes it, plus now a toggle could be put in yafti if necessary so people installing bazzite on handhelds can toggle the setting back on easily 😄

have a good night