VAP not allowing monitor to turn off in Win 7 and 10

#1
I finally figured out that it is VAP keeping my monitor from turning off. It was happening in Windows 7 then 10 after I upgraded the computer. Is there a way to fix this?
 
#2
Please provide more detail. What exactly do you mean by the monitor not "turning off"? For example, does this mean not entering power saving mode of the monitor? Or the computer not going to sleep? or What? Also please describe the sequence of events that leads to the issue, i.e., how or when do you see it?

There are a lot of particulars involving settings in Windows and features of particular monitors, and probably also the connection to the monitor (HDMI?, or ?) that get involved here. I will review the code looking for things that might affect the PC going to sleep but the fact that other users are not complaining about this suggests it may be particular to your setup.
 
#3
I have the monitor set to Power Off after 10 minutes. With VAP running the monitor stays on 24/7. If I stop VAP from running the monitor will power off after 10 minutes.

The monitor is connected via an hdmi cable.

It doesnt matter if I start VAP via task scheduler, start menu or from a shortcut.

What I have checked settings:
Do Ad Scan
Use Comskip Ad Scans
Delete processed Inputs

VAP is monitoring a network folder and not a drive letter.
 
Last edited:
#4
What specific setting are you using to set the 10 minutes? Is this in Windows or on the monitor itself? Is VAP processing videos or just running?
 
#5
What specific setting are you using to set the 10 minutes? Is this in Windows or on the monitor itself? Is VAP processing videos or just running?
Im using the Windows "Power & Sleep Settings", then under Screen "When plugged in, turn off after" setting. VAP is just running and not processing any videos.
 
#6
OK, try the test VAP executable, Ver. 1.36T3, contained in the zip file from this download link:

https://vap.videoredo.net/VapExe136T3.zip

NOTE: This is just a replacement executable file NOT an installer.

I made a change that looks promising in my tests at least. To invoke the fix you need to use command-line option -allowDisplayOff (not cap sensitive). I'm thinking this may be the preferable default mode of operation so in the next release version I may change it so you have to use a CL Option to prevent the screen turning off.
 
#7
Yeah, I can reply again.

I tested your change out and it worked fine on my home computer. The monitor now shuts off when its supposed to.

Thanks!
 
#11
Great! Do you or anyone have an opinion as to whether this should become the default behavior of VAP?
It depends on what your fix does. I would think that allowing the monitor to turn off would be the desired outcome. I know I had the issue for over a year and only decided to track down the cause after upgrading the machine to Windows 10 and having the issue stay around. Its possible that nobody knows that VAP is the cause because I spent a week tracking it down because NONE of the tools were pointing at VAP and I only realized it after stopping it from running.
 
#12
I have the same issue. My computer sleeps and wakes fine repeatedly without any issues.

Then I only start VAP 1.40 and it will not sleep. Tried -allowDisplayOff from command line but that didn’t work.

Can you please repost the link to v136T3 so I can try that version?
 
#13
I have the same issue. My computer sleeps and wakes fine repeatedly without any issues.

Then I only start VAP 1.40 and it will not sleep. Tried -allowDisplayOff from command line but that didn’t work.

Can you please repost the link to v136T3 so I can try that version?
I admit to not fully understanding all the details about programming sleep in Windows but here is my best understanding of the situation:

VAP does not intend to actually let your processor sleep, because it is always checking for new (or deleted) video files in the monitored folder any time it is running. What VAP attempts to control is whether the display can turn off after the inactivity time specified for Screen (not Sleep) in Windows 10 power management settings (Settings … System … Power & Sleep). The default in VAP Ver. 1.40 is to allow the display to go off, unless prevented by the CL option -keepDisplayOn. (There is no CL option -allowDisplayOff in 1.40, since that is the default.)

A copy of VAP 136T3 no longer exists. It could be reconstructed from my Git repo but I would rather not go to that trouble since I am confident that 1.40 in default mode duplicates the functionality of 136T3 with the -allowDisplayOff CL option, with respect to this issue.

If you want your PC to actually sleep, I think you will have to exit VAP.
 
#15
My monitor is turning off without a problem with 1.40. I didnt remove the -allowDisplayOff just in case I had to revert back but that shouldnt matter.
 
Top