FlyGoat / RyzenAdj

Adjust power management settings for Ryzen APUs
GNU Lesser General Public License v3.0
1.66k stars 123 forks source link

Very good softwarre #141

Open jumpingjackflash5 opened 3 years ago

jumpingjackflash5 commented 3 years ago

Thank your for this program I am using it with Ryzen 3200U. I use simple scheduling - command line - with reapply after wakeup from S3 and after bootup. Works fine for keeping the parameters set.

Falcosc commented 3 years ago

I did need to add Power Source Change event to my task scheduler. But I got timing issues at some point and switch to a loop. (stock profile from Power Source change got applied after ryzenAdj and overwrite it)

jumpingjackflash5 commented 3 years ago

Thank you for answer. I use just event after S3 wakeup (and startup) and then run ryzenadj.exe with correct parameters.

obrazek

Falcosc commented 3 years ago

If you want to add power source change, you need to prove a XML configuration for the query if I remember correctly.

I did a quick look, you can also add the power source into the trigger to have 2 actions, one for battery and one for AC

    <QueryList> 
      <Query Id="0" Path="System"> 
        <Select Path="System"> 
           *[System[Provider[@Name='Microsoft-Windows-Kernel-Power'] and EventID=105] and EventData[Data[@Name='AcOnline']='false'] ]    
        </Select> 
      </Query> 
    </QueryList> 

And I use a boot trigger with 1-minute delay.

jumpingjackflash5 commented 3 years ago

Yes it may be done this way. But for me it enough to reapply one set of settings.