aarron-lee / SimpleDeckyTDP

Decky TDP plugin for alternative PC handhelds
Other
51 stars 8 forks source link

SMT and CPU Boost Options #23

Closed cerdafyed closed 8 months ago

cerdafyed commented 10 months ago

CPU Boost and SMT option toggles were removed, is this permanent? Turning off SMT increased performance for certain emulators, and the official PowerTools app doesn't play well with non-steam deck devices like this plug-in does

aarron-lee commented 10 months ago

CPU Boost and SMT option toggles were removed, is this permanent? Turning off SMT increased performance for certain emulators, and the official PowerTools app doesn't play well with non-steam deck devices like this plug-in does

Regarding SMT, currently there's a bug where disabling SMT prevents the plugin from being able to manage power governors and energy profiles.

most SMT-related bugs with emulators were fixed on Linux kernel version v6.1, so I deemed it safe to remove SMT control.

CPU boost will depend on your scaling-driver, which you'll see listed at the bottom of the plugin.

If you are willing to permanently change your scaling driver from amd-pstate-epp to amd-pstate, the cpu boost toggle will show up again. But you'll no longer have access to the Energy Performance Preference options while using regular amd-pstate instead of amd-pstate-epp

aarron-lee commented 10 months ago

Note that if I see an opportunity to re-add the functionality back on future updates, and bugs are resolved, I will try to re-add the functionality.

For CPU boost, it'll probably require this in a future kernel update: https://www.phoronix.com/news/AMD-Core-Perf-Boost-Linux

aarron-lee commented 8 months ago

SMT toggle has been fixed + re-added as of v0.2.3

aarron-lee commented 8 months ago

re-adding CPU boost will be re-visited once the changes are on kernel 6.9: https://www.phoronix.com/news/AMD-Core-Perf-Boost-Linux

Note that the CPU Boost toggle is still actually available in the plugin for scaling drivers amd-pstate and acpi-cpufreq, just not amd-pstate-epp

Instructions on re-enabling CPU boost controls on Bazzite: https://github.com/aarron-lee/SimpleDeckyTDP?tab=readme-ov-file#are-there-cpu-boost-controls