Author Topic: Issues running governor-as-service with limited rights user  (Read 1715 times)

Offline ranko

  • Member
  • ***
  • Posts: 54
Re: Issues running governor-as-service with limited rights user
« Reply #50 on: February 25, 2020, 11:09:06 AM »
I do not know how to say it, PL Pro doesn't run reliable anymore.
Yesterday I had some strange situation, but later it ran well and I thought now I am through it .. everything resolved by proper resetting. Playing X4 foundation issues Performance Mode .. thats it.

Now I come back from work and after boot nothing works anymore.

1. Balanced Power Profile has not been restored properly
2. When starting a Steam game nothing happens, performance mode has not being set
3. Needed to manually set balanced power profile in windows
4. Tried to enable performance mode by rightclicking the icon in the bottom riight PL Pro icon in the Windows Info area.
    I can not enable it. It doesnt work.
5. Looked under the active processes "Induce Performance Mode" is set.

Thats my config file.
[Administration]
Version=4640100
ConfigPasswordMD5=
[OutOfControlProcessRestraint]
OocOn=true
ExcludeChildrenOfActiveForeground_2=false
DisableProBalanceWhenSysIdle=false
ProBalanceDropOneRandomCore=false
OocDisableCoreParkingWhileIn=false
DisableProBalanceIfSysIdleThisManyMS=30000
TotalProcessorUsageBeforeRestraint=9
PerProcessUsageBeforeRestraint=7
TimeOverQuotaBeforeRestraint=1100
PerProcessUsageForRestore=3
PlayOnRestraint=C:\WINDOWS\media\Windows Pop-up Blocked.wav
PlayOnRestore=C:\WINDOWS\media\Windows Feed Discovered.wav
MinimumTimeOfRestraint=4200
MaximumTimeOfRestraint=0
TameOnlyNormal=true
LowerToIdleInsteadOfBelowNormal=false
ExcludeServices=true
PlaySoundOnRestraint=false
PlaySoundOnRestore=false
RestrainByAffinity=false
RestraintAffinity=
ExcludeForegroundProcesses=true
DoNotLowerPriorityClass=false
RoundRobinAffinitySelection=false
LowerIOPriorityDuringRestraint=false
MatchExclusionsByPathnameToo=false
OocExclusions=
OocHardCodedExclusionOverrides=
[GUI]
ClearLogAtExit=false
ShowGraphLegend=true
ShowGraphCPU=true
ShowGraphResponsiveness=true
ShowGraphMemoryLoad=true
ShowGraphProBalanceEvents=true
ShowGraphSelectedProcessesCPUHistory=true
ProBalanceCountersOnGraph=true
ShowGraphLicenseName=true
[Advanced]
AutomaticUpdate=false
RoundRobinSkipCore0=false
[Performance]
DefaultsLevel=327942
GracefulWaitTimeInMs=5000
UpdateSpeedGUI=1000
UpdateSpeedCore=1000
ManageOnlyCurrentUser=false
ExitOnCloseWindow=false
SoundsOff=true
AggressivelyTrimProcessLassoWorkingSet=true
IsConfigWritable=true
ForcedMode=false
IgnoreProtectedProcesses=true
HideSuspendedProcesses2=false
[ForegroundBoosting]
BoostForegroundThread=false
BoostForegroundProcess=false
ForegroundBoostExclusions=
[SystemTrayIcon]
UseStaticIcon=false
ShowResponsivnessInTrayInsteadOfProcessorUsage=false
[Logging]
LogDisable=false
LogSmartTrim=true
LogCPULimiter=true
LogEmitCSV=false
LogPruning=true
LogProBalanceParkingChanges=true
LogProcessExecutions=false
LogProcessTerminations=false
LogProcessesDisallowed=true
LogDefaultPriorityAdjustments=true
LogDefaultAffinityAdjustments=true
LogProBalanceBegin=true
LogProBalanceEnd=true
LogInstanceLimitTerminations=true
LogPowerProfileChanges=true
[MemoryManagement]
SmartTrimIsEnabled=true
SmartTrimWorkingSetTrims=false
SmartTrimClearStandbyList=false
ClearStandbyFreeRAMThresholdMB=1024
ClearStandbyOnlyInPerfMode=true
SmartTrimAutoMinimumRAMLoad=65
MinimumProcessWSSInMb=196
SmartTrimIntervalMins=15
[SysTrayBalloons]
EnableSystemTrayNotification=false
BalloonTipDuration=10000
ShowBalloonsForOocPriorityRestoration=false
[ProcessAllowances]
ApplyInstanceCountLimitsToAllUsers=false
AllowedProcesses=
DisallowedProcesses=
InstanceLimitedProcesses=
InstanceManagedCPUAffinities=
ProcessThrottles=
OneTimeProcessThrottles=
CPULimitRules=
[ProcessDefaults]
DefaultPriorities=x4.exe,above normal
DefaultIOPriorities=x4.exe,3
DefaultMemoryPriorities=
DisableThreadPriorityBoost=
DefaultAffinities=x4.exe,4-11
KeepRunningProcesses=
MatchWildcardsToPathnames=true
MatchOnCommandLine=false
[AdvancedRules]
DivideCPUPercentThresholdsBySystemCPUCount=false
ProcessorGroupExtended=
WatchdogRules2=
[GamingMode]
GamingModeEnabled=false
GamingChangePowerPlan=true
TargetPowerPlan=Bitsum Highest Performance
GamingModeEngageForSteam=true
AutomaticGamingModeProcessPaths=c:\program files (x86)\steam\steamapps\common\x4 foundations\x4.exe
[MemoryManagement]
SmartTrimExclusions=
[PowerManagement]
Display=x4.exe
PC=
[PowerSaver]
ShowNotificationWhenActivePowerSchemeChanges=false
[ProcessDefaults]
DefaultPowerSchemes=x4.exe;bitsum highest performance
[PowerSaver]
PowerSaver_IdleTime=5
EnergySaverEnabled=true
EnergySaverForceActivePowerProfile=false
EnergySaverUpPowerProfileName=
EnergySaverEvents=true
DisableEnergySaverDuringGamingMode=true
PowerSaver_TargetGUID=Energiesparmodus
PowerSaver_Exclusions=



Sorry I don't know whats going on here of all sudden.

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5309
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Issues running governor-as-service with limited rights user
« Reply #51 on: February 25, 2020, 11:20:09 AM »
Check to ensure the governor is actually running. It sounds like it isn't.

You should see processgovernor.exe running in the SYSTEM context. Of course, you'll need to elevate Process Lasso to see it.

Similarly, the Services console should list the Process Governor and it should be set to auto-start (and started).

Of course, you should have been notified if the governor isn't running, so it isn't clear to me if this is the issue, or how such a situation would arise.
Software Engineer. Bitsum LLC.

Offline ranko

  • Member
  • ***
  • Posts: 54
Re: Issues running governor-as-service with limited rights user
« Reply #52 on: February 26, 2020, 05:58:25 AM »
Thanks for your kind reply.

So you say this is something which should not happen and you think that the process governor is not running...

If I may do a proposal: I think it would be beneficial for you and the end user to get quickly information about,
whether core components of PL Pro are running or not.

Could this status information perhaps be included into the information in the Windows Info field,
either when doing a mouse over or maybe also when performing a right-click ?

Offline edkiefer

  • Volunteer User Moderator
  • Member#
  • *****
  • Posts: 1745
  • Gender: Male
Re: Issues running governor-as-service with limited rights user
« Reply #53 on: February 26, 2020, 07:02:26 AM »
Thanks for your kind reply.

So you say this is something which should not happen and you think that the process governor is not running...

If I may do a proposal: I think it would be beneficial for you and the end user to get quickly information about,
whether core components of PL Pro are running or not.

Could this status information perhaps be included into the information in the Windows Info field,

either when doing a mouse over or maybe also when performing a right-click ?
Menu Help> About Process lasso lists info on config and log paths, along with version and Language.

 
Bitsum QA Engineer

Offline ranko

  • Member
  • ***
  • Posts: 54
Re: Issues running governor-as-service with limited rights user
« Reply #54 on: February 26, 2020, 08:23:56 AM »
And how is this related to my question / proposal ? Do you want it to place there ?

Its relatively complicated having to open the GUI 1st and then having to click to About.

Therefore my idea to place it there to easily identify whether all needed processes are there ..

Offline edkiefer

  • Volunteer User Moderator
  • Member#
  • *****
  • Posts: 1745
  • Gender: Male
Re: Issues running governor-as-service with limited rights user
« Reply #55 on: February 26, 2020, 09:10:48 AM »
And how is this related to my question / proposal ? Do you want it to place there ?

Its relatively complicated having to open the GUI 1st and then having to click to About.

Therefore my idea to place it there to easily identify whether all needed processes are there ..
It has nothing to do with your proposal, I was just giving info on how to find paths of config and log (that shouldn't change with use).

Jeremy will comment on your proposal as he is the one coding (I am just a tester).
Maybe we could add something in the GUI graph, Like gov enabled, the thing is their limited room.

I also tried to reproduce your last issue but couldn't and not sure what's going on, if gov was not running you should see red system tray icon showing it is not running.

Thanks for the feedback we will test this more, just need to find the right conditions.
Bitsum QA Engineer

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5309
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Issues running governor-as-service with limited rights user
« Reply #56 on: February 26, 2020, 01:53:05 PM »
If I may do a proposal: I think it would be beneficial for you and the end user to get quickly information about,
whether core components of PL Pro are running or not.

It should already notify you if the governor isn't running by graph overlay text and a change to the system tray icon (to a big red X thing).

Adding additional status info is certainly a possibility, though isn't generally necessary since the governor should be running under nominal conditions unless the user stopped it. If it is somehow crashing, then absolutely that needs triaged. If you do find it to not be running, let me know.

It is not clear this was/is the issue(s) with varying functionality you see though, I just don't have a better explanation at this time (and haven't heard or seen anything similar).
Software Engineer. Bitsum LLC.

Offline ranko

  • Member
  • ***
  • Posts: 54
Re: Issues running governor-as-service with limited rights user
« Reply #57 on: February 27, 2020, 02:47:11 AM »
Today the system doesn't leave Energy saving mode anymore even under load.

In earlier versions the Power Profile was properly remembered on reboots.

Why not anymore ? Is there an option that I overlooked ?

Do I need to perform "trickeries" now to select one process that brings always Balanced Power Profile,
unless either IDLE Saver chooses "Energy Saving" or Performance Mode is being activated by Steam ?

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5309
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Issues running governor-as-service with limited rights user
« Reply #58 on: February 27, 2020, 10:09:07 AM »
Windows is responsible for remembering the power plan across a reboot. Therefore, it will depend on what the power plan was when it shut down, and that could vary based on timing with IdleSaver or other power rules.

Your reports have led to many important product improvements, so I appreciate that.

If I understand your last question: After setting an app power plan to Balanced, IdleSaver should still take precedence and act nominally. For Performance Mode, I'll have to evaluate the logic and get back to you to ensure I give a precise answer (but it should also take precedence, my concern is about process launch order).
« Last Edit: February 27, 2020, 01:10:45 PM by Jeremy Collake »
Software Engineer. Bitsum LLC.

Offline ranko

  • Member
  • ***
  • Posts: 54
Re: Issues running governor-as-service with limited rights user
« Reply #59 on: February 27, 2020, 12:59:54 PM »
Quick update.
Starting steam game X4.exe
Bitsum Highest Performance is being used.
Then of all sudden it falls back to Balanced.
Opening PL Pro GUI, TAB Active Processes, Rightclick to X4.exe
Application Profile -> Bitsum Highest Performance is selected.
Induce Performance Mode is also seleced.
But the result of this all is Balanced.
IDLEsaver does not work. Sure, because of Performance mode and because Bitsum Highest Performance has been selected for 1 process.
But the result is Balanced and not Bitsum Highest Performance.

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5309
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Issues running governor-as-service with limited rights user
« Reply #60 on: February 27, 2020, 01:53:46 PM »
Previously, the Performance Mode wasn't manually toggling for you because of a remaining limited user + service issue. It will work going forward.

The variance in behavior you observed was due to the GUI sometimes running elevated (after updates or install), and other times not (e.g. after auto-start).

Additionally, related or not, I have been able to replicate one problematic scenario related to the combination of manual invocation of Performance Mode and automatic (rule based) induction. Update: This is now fixed in latest beta.

1. Start in Balanced profile
2. Set test process to 'Induce Performance Mode'
3. Manually engage Performance Mode (switches to BHP)
4. Run test process.
5. Exit test process.
6. Power plan inappropriately set to Balanced.
7. Run test process.
8. Power plan remains inappropriately in Balanced.

Also note that, to be sure, we'll need to check your system for any other software that may be changing the power plan. These events are recorded in the Windows Event log.

You should also paste your Process Lasso log entries when this occurs. You can select all/multiple rows in the Log Viewer.

As an aside, 'Options / Forced mode' may help.
« Last Edit: February 29, 2020, 12:30:42 PM by Jeremy Collake »
Software Engineer. Bitsum LLC.