NGnius / PowerTools

Moved to
https://git.ngni.us/NG-SD-Plugins/PowerTools
GNU General Public License v3.0
414 stars 29 forks source link

Steam Deck hard shutdown when the maximum GPU clock is set lower and then the minimum GPU clock is set higher than the set maximum. #56

Closed TeamLinux01 closed 1 year ago

TeamLinux01 commented 1 year ago

Expected Behaviour The slider locks so the number cannot be set higher or lower depending on the other slider's value. The maximum slider cannot set lower than the minimum slider's value; the minimum slider cannot be set higher than the maximum slider's value.

Actual Behaviour It is possible to move the minimum slider value to a number above what the maximum slider value is set to. When the minimum is set higher than the maximum, the Deck will hard power off.

To Reproduce Steps to reproduce the behavior:

  1. Change the GPU clock maximum to 1100
  2. Change the GPU clock minimum to 1200
  3. Deck powers off

Extra notes This occurred because of another issue, there was a delay each setting change. I accidentally clicked it one too many times when changing the minimum.

NGnius commented 1 year ago

I can't reproduce this. I actually allowed max < min because it was allowed by the kernel as well.

Since the deck reset logs won't be super helpful, but the rest of your settings (or the settings json) might be helpful.

TeamLinux01 commented 1 year ago

Sorry, I had to send my Steam Deck back to Valve on an unrelated issue with the left analog stick.

I should be receiving it back soon and then I can retest to see if I can reproduce the issue.

NGnius commented 1 year ago

Have you managed to find a way to reproduce this or can I close this issue?

TeamLinux01 commented 1 year ago

I tried it again and this time when I did it, instead of hard poweroff, it crashed the steam overlay.

It had a message of "Something went while displaying this content. Refresh"

This is what I did:

*This can be done in a game or just on DeckUI

  1. Press 3 dot button on the front of the deck.
  2. Go to Decky.
  3. Go to PowerTools.
  4. Go to GPU Frequency Limits, click it on using D-Pad and A button.
  5. Change Minimun (Mhz) to 900 from 200 using A button then Right D-Pad and then A button at 900.
  6. Change Maximum (Mhz) to 800 from 1600 using A button then Left D-Pad.

Crashes as soon as it hits 900 or trying to go to 800 from 900 on Max.

IMG_20230109_171945.jpg

NGnius commented 1 year ago

Still cannot reproduce. Either there's something wrong with your Deck or it's been inadvertently fixed by other changes in the dev branch.

image

In any case, I'm closing as it's either unreproduceable or solved. Since this is the only report I've had of this, I don't see much point in keeping it open until the next update releases.