Author Topic: Power Plan often not doing what it should  (Read 540 times)

Offline Globespy

  • Member
  • ***
  • Posts: 31
Power Plan often not doing what it should
« on: September 16, 2021, 07:55:49 PM »
Been noticing some odd things with PL.
I have Windows and PL to open with Balanced power plan, then I use 'Induce Performance' mode for the games that PL doesn't seem to recognize as games and stays on Balanced instead of Bitsum HP.

Game in question is iRacing. PL happily changes to Bitsum HP on launch, and seems to recognize when iRacing closes and says it is returning power to balanced, but it stays on Bitsum HP.
Really would love to figure out why this is doing this as it's causing unnecessary heat by keeping the clock speeds on my CPU at max when there's no game being played - I have Speedstep On in BIOS and use offset/adaptive vcore.

Here's an excerpt from my logs - you can see that it 'should' have gone to 'balanced', but in fact when I open PL it is still on Bitsum HP.
Should I use 'Idle Saver'? Not something I have used before and not sure it's what I need for a PC that is built for gaming?

I have tried resetting PL to stock settings, then only choosing 'Induce Performance Mode' for the games that PL doesn't seem to understand are games, but same result.
Please help.
Thank you.

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5411
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Power Plan often not doing what it should
« Reply #1 on: September 17, 2021, 09:19:22 AM »
Can you please copy/paste your INI config file here? You can get to it via 'File / Manually Edit Configuration'.

Also turning on log events for process creation and termination may be helpful, via 'Options / Log'. There could be a particular sequence of process creation and terminations that are causing confusion with your power profile rules.

Some VR apps have also been known to change the power profiles themselves, which could confuse Process Lasso rules. We can check this in your Windows Event Logs, or using ParkControl's notify on power profile change feature.

Hopefully with more data we can get to the bottom of this.

To answer your question: IdleSaver would take your PC to Balanced when idle. However, it wouldn't resolve the core issue here. I'd prefer to figure out what is occurring prior to any further config changes.
« Last Edit: September 17, 2021, 11:13:30 AM by Jeremy Collake »
Software Engineer. Bitsum LLC.

Offline Globespy

  • Member
  • ***
  • Posts: 31
Re: Power Plan often not doing what it should
« Reply #2 on: September 17, 2021, 01:40:18 PM »
ini file attached.
I will turn on the other options you suggested just in case the ini isn't explaining why this happens.

Offline Globespy

  • Member
  • ***
  • Posts: 31
Re: Power Plan often not doing what it should
« Reply #3 on: September 17, 2021, 01:44:27 PM »
ini file attached.
I will turn on the other options you suggested just in case the ini isn't explaining why this happens.
When you say turn on logs, mostly everything is checked - see image attached:

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5411
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Power Plan often not doing what it should
« Reply #4 on: September 18, 2021, 07:43:35 AM »
I meant to check the 'Log Launches' and 'Log Terminations'. That will add a little more info to your log.

However, I'm not sure that will illuminate the issue here. The cause isn't yet apparent to me, everything looks OK. As you noted, the log indicates that Process Lasso is acting appropriately.

A feature to log external changes to the power profile is planned for this beta series. It may aid in diagnosis, or at least rule out an external actor.

Please hold for that, I'll post when it is available, or when I have any other thoughts about what could cause this result.
Software Engineer. Bitsum LLC.

Offline Globespy

  • Member
  • ***
  • Posts: 31
Re: Power Plan often not doing what it should
« Reply #5 on: September 18, 2021, 12:28:59 PM »
Thank you Jeremy.
Look forward to your reply.

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5411
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Power Plan often not doing what it should
« Reply #6 on: September 19, 2021, 04:46:32 PM »
Do you also have ParkControl installed? Its update process could have changed the active power profile, though this would have been a one-time event after each update.
« Last Edit: September 20, 2021, 01:58:46 PM by Jeremy Collake »
Software Engineer. Bitsum LLC.

Offline Globespy

  • Member
  • ***
  • Posts: 31
Re: Power Plan often not doing what it should
« Reply #7 on: September 20, 2021, 02:29:55 PM »
No. Only PL Pro.

I noticed some strange inconsistencies that may be of interest/provide clues as to why this problem is happening.
I am playing in VR for reference - WMR Reverb G2 (SteamVR)
If I open the native 'WMR Portal' from the Windows start menu (not the Steam version of WMR for SteamVR), the power plan stays on Balanced - note that SteamVR is not open, only WMR Portal.

When I launch 'WMR for SteamVR' from the Steam Client, it opens the 'WMR portal' (Steam version) and with it SteamVR - the power plan changes automatically to Bitsum HP.
NOTE: No game has been launched, only 'WMR Portal for SteamVR' (which opens SteamVR)

I launched and then closed 'WMR for SteamVR' 4 times, one after the other.
The first three times I could see the power plan changing to Bitsum HP and then back again to balanced when the WMR Portal was closed.
However on the 4th try, it remained on Bitsum HP.

From the logs, it seems that on the 2nd attempt, several services were executed that were not on the 1st - 'environmentsapp.exe'
Then on the 3rd try, some new processes executed that were not in the 1st or 2nd tries - 'openvrsettingssux.exe' and 'mixedrealityportal.exe', but 'environmentsapp.exe was there also.
Then on the 4th try none of these processes seen in the first 3 attempts were executed, and the power plan stayed on Bitsum HP when the WMR portal was closed?

Maybe you can see something I can't?
Hope this is helpful, logs attached.
« Last Edit: September 20, 2021, 02:55:53 PM by Globespy »

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5411
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Power Plan often not doing what it should
« Reply #8 on: September 22, 2021, 11:25:27 AM »
Based on your latest log file, I think the Steam VR helper processes are causing confusion since they are errantly auto-detected as games.

This change in v10.3.0.21 beta (now available) is intended to address it, tentatively, with the following change:

Code: [Select]
(21) Core: Exclude any Steam child process running from "common\steamvr" subfolder from Performance Mode automatic game detection
Alternatively, you can disable Automatic Game Detection by unchecking 'Options / Power / Performance Mode / Enable Automatic Detection'. You'd then need to manually mark individual games as Performance Mode processes.

If you try either option, please let me know how it goes.
« Last Edit: September 22, 2021, 02:02:47 PM by Jeremy Collake »
Software Engineer. Bitsum LLC.

Offline Globespy

  • Member
  • ***
  • Posts: 31
Re: Power Plan often not doing what it should
« Reply #9 on: September 25, 2021, 12:52:11 PM »
Will the Beta be compatible with Win 11?

Offline Globespy

  • Member
  • ***
  • Posts: 31
Re: Power Plan often not doing what it should
« Reply #10 on: September 25, 2021, 03:09:10 PM »
tried the Beta and still doing the same thing unfortunately.

Will try the other option you suggested, disabling automatic game detection - however that seems like a backwards step where essentially PL isn't doing what most love about it, and that's automation

Offline Globespy

  • Member
  • ***
  • Posts: 31
Re: Power Plan often not doing what it should
« Reply #11 on: September 25, 2021, 06:12:04 PM »
Disabling automatic game detection still does not resolve.
What else can be done other than having to keep manually changing the power plan every time I finish playing a game in VR?

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5411
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Power Plan often not doing what it should
« Reply #12 on: September 26, 2021, 10:22:07 AM »
That's unfortunate, thanks for trying. It was unclear from your log if this was the issue you're seeing, but was apparent that SteamVR processes shouldn't be detected as a game.

EDIT: v10.3.0.27 (when available) also will exclude your OpenVR process from automatic gaming mode.

The issue may potentially be mitigated by setting an application power profile for lsass.exe to your 'Balanced' profile (attached screenshot 1).

Yes, the beta is compatible with Windows 11.





« Last Edit: September 26, 2021, 03:17:41 PM by Jeremy Collake »
Software Engineer. Bitsum LLC.

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5411
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Power Plan often not doing what it should
« Reply #13 on: September 26, 2021, 03:04:39 PM »
As to the cause, we need to check to see if SteamVR is changing the power profile itself. It is known to do this.

You can do this by opening the 'Event Viewer' and checking the 'System' source for Event ID 12, like shown in the attached screenshot 1. If SteamVR is changing the power profile, you'll see a record of it.

Alternatively, ParkControl can show you what and when a process changes the power profile (attached screenshot 2).

« Last Edit: September 26, 2021, 03:07:59 PM by Jeremy Collake »
Software Engineer. Bitsum LLC.

Offline Globespy

  • Member
  • ***
  • Posts: 31
Re: Power Plan often not doing what it should
« Reply #14 on: September 27, 2021, 03:56:05 PM »
I will check all these suggestions, thank you.
I didn't think I needed Park Control installed if I have PL Pro?

Offline Globespy

  • Member
  • ***
  • Posts: 31
Re: Power Plan often not doing what it should
« Reply #15 on: September 27, 2021, 04:00:47 PM »
Seems that the Event ID 12 you mentioned is always Steam 'vrmonitor.exe'

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5411
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Power Plan often not doing what it should
« Reply #16 on: September 28, 2021, 06:48:00 AM »
Great! So we see vrmonitor.exe is changing the power profile on its own accord.

This (SteamVR) is therefore the culprit. When it exits, it is likely switching the power profile back to that which it started in, leaving you stuck in BHP.

Ideally, there would be some SteamVR option to turn off its change of the power profile. However, I don't know if such exists. Other mitigatory actions could be possible, I'll have to consider this further.

And, no, you don't need ParkControl. It just has that handy feature to show what process changed the power profile. But now you've looked that up in the Windows Event Log, so it is unnecessary.

« Last Edit: September 28, 2021, 08:07:32 AM by Jeremy Collake »
Software Engineer. Bitsum LLC.