ChimeraOS / chimeraos

A Steam Big Picture based couch gaming OS
MIT License
1.56k stars 112 forks source link

TDP dedicated GPU #838

Open eduard-hdt opened 6 months ago

eduard-hdt commented 6 months ago

Hi, I am wondering if there is a way to control or limit the TDP for a dedicated GPU in ChimeraOS. I did not find anything when checking out decky plugins or other settings. For me it is a RX5700XT. On other distros before I managed to get it done with corectrl and adding the boot parameter required to unlock full gpu control. For one I don't know how to do it on Chimera OS and for two I would not want to do that if not necessary. Is there a way or is it worked on already in some project or plug-in? Thanks in advance

eduard-hdt commented 6 months ago

I see it was mentioned in Issue #522 already earlier this year. There adding the boot parameter required for corectrl was discussed and the addition of TDP control for GPUs to ChimeraOS was suggested. However I will wait for some response regarding projects that try to implement this without having the user messing with the system (the whole idea of ChimeraOS)

pastaq commented 6 months ago

dGPU's (via the AMDGPU Driver) require the feature mask to be set in order to adjust the clock settings. If we do create a native tool we will just set that by default but for now the best way would be to set it yourself after each upgrade and use a systemd service to set your preferred clocks. Look at the systemd-boot documentation for info on how to set boot parameters.