Avid Pro Audio Community

Avid Pro Audio Community

How to Join & Post  •  Community Terms of Use  •  Help Us Help You

Knowledge Base Search  •  Community Search  •  Learn & Support


Avid Home Page

Go Back   Avid Pro Audio Community > Pro Tools Software > Windows
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-20-2022, 11:58 PM
Led Led is offline
Member
 
Join Date: Mar 2011
Location: Melbourne Australia
Posts: 417
Default W10, PT 2022.9 - No sleep till Brooklyn?

Is this a thing now? I just upgraded from a much older version to 2022.9 and my screens don't seem to sleep with PT open. My drives are set to not sleep, but surely the screen sleep shouldn't be a problem... it worked fine on PT12..
Reply With Quote
  #2  
Old 10-21-2022, 08:08 AM
sw rec sw rec is offline
Member
 
Join Date: Oct 2005
Location: Colo Spgs Colo
Posts: 6,388
Default Re: W10, PT 2022.9 - No sleep till Brooklyn?

Could you provide LESS system info?
https://duc.avid.com/showthread.php?t=300050
In any event, you’ll find the majority of us have our power plans set to “always on.” Everything.
Reply With Quote
  #3  
Old 10-21-2022, 12:36 PM
junkgear's Avatar
junkgear junkgear is online now
Moderator
 
Join Date: Jan 2012
Location: USA
Posts: 1,907
Default Re: W10, PT 2022.9 - No sleep till Brooklyn?

On my Windows 11 system, PT acts the same way. My screens actually seem to get brighter when PT starts, which makes me think they may be disabling power saving Windows features to make sure performance doesn't suffer. Why the screens always stay on, beats me.
__________________
Will

System Details
Reply With Quote
  #4  
Old 10-21-2022, 01:34 PM
Darryl Ramm Darryl Ramm is offline
Member
 
Join Date: Nov 2010
Location: USA
Posts: 19,657
Default Re: W10, PT 2022.9 - No sleep till Brooklyn?

Quote:
Originally Posted by Led View Post
Is this a thing now? I just upgraded from a much older version to 2022.9 and my screens don't seem to sleep with PT open. My drives are set to not sleep, but surely the screen sleep shouldn't be a problem... it worked fine on PT12..
Last Exit to Brooklyn.

Pro Tools likely now uses SetThreadExecutionState with ES_DISPLAY_REQUIRED which will stop the system letting the display sleep, but I'm not picking thought stuff now confirming it does that. This might be a misunderstanding of the use of this, I'm not following why it was needed but maybe there is a case it was. I would have expected there is enough separate control of power and GPU here that it's not necessary. But if it's a problem for you exit the app., or if it somehow causes a real problem/impacts productivity file a support case.

Last edited by Darryl Ramm; 10-21-2022 at 01:50 PM.
Reply With Quote
  #5  
Old 10-21-2022, 10:16 PM
Darryl Ramm Darryl Ramm is offline
Member
 
Join Date: Nov 2010
Location: USA
Posts: 19,657
Default Re: W10, PT 2022.9 - No sleep till Brooklyn?

So got some brief time with Windows and confirmed Pro Tools is doing what I expected… you see that as a power configuration DISPLAY request. You need a CMD shell with administrator privileges. In the taskbar searchbar type CMD and before hitting return click on "Run as administrator" in the right hand panel that pops up. Then in CMD type the following commands. (don't type "> " that's the CMD prompt that may be different on your system).

> powercfg /requests

If Pro Tools is running on this Mac or has run on it since reboot this will show you that the Pro Tools PROCESS has made a DISPLAY request (often via SetThreadExecutionState API with ES_DISPLAY_REQUIRED).

This is easy to override with the following command. Windows remembers this across Pro Tools restarts and Windows reboots so run it once and your PC should behave like before.

> powercfg /requestsoverride PROCESS ProTools.exe DISPLAY

At any time you can see what requestoverride settings were made by running

> powercfg /requestsoverride

The powercfg documentation explains more if needed.

Again I am a little lost as to why Avid is doing this, seems a bit of a nanny application behavior. This is not locking processes/threads at high priority, or forcing GPU use or anything else that Pro Tools might need that is unusual or deeply technical, it's just stopping the display sleeping/blanking if Windows thinks the computer user is not active. Sure there may be glitches when the display resumes, and problems with people banging on keys on the keyboard to get the display to resume. If users (say folks previewing long sessions) want that they can disable display sleep on their PC.

Veni, vidi, vici

[edit: earlier I had problems getting this working because I was stupidly entering "Pro Tools.exe", with improper space" as the option to powercfg]

Last edited by Darryl Ramm; 10-22-2022 at 02:53 AM.
Reply With Quote
  #6  
Old 10-22-2022, 01:40 AM
Led Led is offline
Member
 
Join Date: Mar 2011
Location: Melbourne Australia
Posts: 417
Default Re: W10, PT 2022.9 - No sleep till Brooklyn?

Thanks for the in depth reply/advice and Efforts Darryl, much appreciated. I figured it was being done by PT. Cubase has always done this, stopped displays sleeping, never understood why, it's just a screen. No big deal, but thanks for the answer..

Last edited by Led; 10-22-2022 at 04:06 PM.
Reply With Quote
  #7  
Old 10-22-2022, 01:59 AM
Darryl Ramm Darryl Ramm is offline
Member
 
Join Date: Nov 2010
Location: USA
Posts: 19,657
Default Re: W10, PT 2022.9 - No sleep till Brooklyn?

Quote:
Originally Posted by Led View Post
Thanks for the in depth reply/advice and Efforts Darryl, much appreciated. I figured it was being done by PT. Cubase has always done this, stopped displays sleeping, never understood why, it's just a screen. No big deal, but thanks for the answer..
If you want you can use the same technique with Cubase, just change the name to what the process name shown when you run powercfg /requests. It should all be using the same mechanism.

This is one thing I'd not jam into the app if I was writing it, or maybe more, if some folks wanted that behavior I'd make it a Pro Tools user preference. I prefer the screen to eventually sleep if there is no activity, and I just set a very very long timeout.

Last edited by Darryl Ramm; 10-22-2022 at 02:40 AM.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pro Tools 2022.6 with Avid Control 2022.4 stargazer Pro Tools 2 07-01-2022 07:32 AM
Crash moving tracks to new Routing Folder in PT 2022.4 [FIXED 2022.5] Dizzi45Z Pro Tools 43 05-29-2022 03:59 AM
assertion .app and -6086 errors SOLVED in brooklyn! rogdigi 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) 1 02-25-2008 09:27 AM
You don't know what you got till it's gone Seller General Discussion 7 11-10-2002 12:18 AM


All times are GMT -7. The time now is 03:16 AM.


Powered by: vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Limited. Forum Hosted By: URLJet.com