NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 419 420 421 422 423 … 1231 Next »
Black screen after resuming from standby

 
  • 0 Vote(s) - 0 Average
Black screen after resuming from standby
psicotron3
Offline

Member

Posts: 134
Threads: 17
Joined: Jan 2007
#21
2007-11-17, 04:32 AM
This problem is even worst now with PVRX2. After a schedulled resume PVRX2 gives an error message stating that the system don´t support VMR9.

I can playback an mpg via wmplayer and wake.cmd to make the pc go into fullpower state, but that´s really ugly Smile

Maybe sub could add an option to make PVRX2 send Windows the "message" to "finish" the system wake up (Powering on monitor and other devices) before starting the interface.
psicotron3
Offline

Member

Posts: 134
Threads: 17
Joined: Jan 2007
#22
2007-11-17, 04:39 AM
I just saw a post on HIP forums by ricky, that may help:

Here is the ms site link:

http://www.microsoft.com/technet/scriptc...x?mfr=true

And his post:
"From what i understand reading that page that i linked to, any scheduled task will trigger an 'event 18 - resume automatic'.

then once in this power state, any remote button pressed when using the ehome driver will trigger a 'event 7 - resume from suspend'

but using the alternative driver doesnt trigger this 'event 7'

If hip doesnt contain any commands which would trigger this, is it possible that a 'system resume' system key can be added which would generate this 'event 7'?"

Back then btmi couldn´t help him Sad

But I still have hope Smile
Nomad101
Offline

Member

Posts: 68
Threads: 1
Joined: Oct 2006
#23
2007-11-17, 06:03 PM
I had the same problem where an automatic resume wouldn't turn the video on and PVRX2 would then generate the "no VMR9 support" error. As a workaround I wrote a small command line utility which when run just tells Windows that the display is required (using SetThreadExecutionState). I run it from another application whenever Windows resumes automatically.

I've attached the exe if anybody wants to try using it from wake.cmd or calling it through a remote key.

Cheers
Tony

[ATTACHMENT NOT FOUND]
Nomad101

[SIZE="1"]Core2Duo 2.6GHz, 2GB Ram, 1.5TB HD, Asus HD3650, Nova-T PCI & Nova-T 500, Zalman HD160XT Case, GBPVR 1.4.7 ( + Weather and Music Library 2)[/SIZE]
psicotron3
Offline

Member

Posts: 134
Threads: 17
Joined: Jan 2007
#24
2007-11-18, 01:03 AM
Thanks. I´ll try it and post the results.
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#25
2007-11-18, 08:27 AM
look for kb923232 at microsoft. it may help.
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
Nomad101
Offline

Member

Posts: 68
Threads: 1
Joined: Oct 2006
#26
2007-11-18, 10:39 AM
pvruser Wrote:look for kb923232 at microsoft. it may help.

Thanks but that's not quite the same situation we have. In our situation the system still responds fine when it resumes but (by design) if it resumes automatically (like for a scheduled task) rather than through user interaction (like pressing the power button) Windows assumes the user isn't present so doesn't turn the video on. You have to press a key or move the mouse to get the video to come on.

Cheers
Tony
Nomad101

[SIZE="1"]Core2Duo 2.6GHz, 2GB Ram, 1.5TB HD, Asus HD3650, Nova-T PCI & Nova-T 500, Zalman HD160XT Case, GBPVR 1.4.7 ( + Weather and Music Library 2)[/SIZE]
K.S.
Offline

Senior Member

Posts: 526
Threads: 12
Joined: Oct 2006
#27
2007-11-19, 04:11 PM
Nomad101 Wrote:As a workaround I wrote a small command line utility which when run just tells Windows that the display is required (using SetThreadExecutionState). I run it from another application whenever Windows resumes automatically.

seems like that's no workaround but the only clean & workable way (designed by microsoft) beyond a hack like my "play a vid" workaround from above Wink
i've searched a way to send a system broadcast for WM_POWERBROADCAST messages (needless to say there ain't none) but somehow i've missed (or ignored?) SetThreadExecutionState
out of curiosity: which es_flags did you use? the ES_DISPLAY_REQUIRED?
seems like it's possible to call that from an autoit script (or other script languages as well?) using:
Code:
DllCall ("kernel32.dll","long","SetThreadExecutionState","long",0x00000002)
sub Wrote:Yep, what he said.

curiosity killed the cat Big Grin
Nomad101
Offline

Member

Posts: 68
Threads: 1
Joined: Oct 2006
#28
2007-11-19, 05:16 PM
K.S. Wrote:out of curiosity: which es_flags did you use? the ES_DISPLAY_REQUIRED?

Correct.

K.S. Wrote:seems like it's possible to call that from an autoit script (or other script languages as well?) using:
Code:
DllCall ("kernel32.dll","long","SetThreadExecutionState","long",0x00000002)

That's quite possible and would probably be a better solution if you were already using an autoit scripts. I haven't tried it though.

I also tried sending the WM_POWERBROADCAST messages as well as a few other things before I finally found this solution! I was really getting peeved at having to get up off the sofa to wiggle the mouse and click on "OK" for the VMR9 error before I could do anything else! Big Grin

Let us know if the autoit script works.

Cheers
Tony
Nomad101

[SIZE="1"]Core2Duo 2.6GHz, 2GB Ram, 1.5TB HD, Asus HD3650, Nova-T PCI & Nova-T 500, Zalman HD160XT Case, GBPVR 1.4.7 ( + Weather and Music Library 2)[/SIZE]
psicotron3
Offline

Member

Posts: 134
Threads: 17
Joined: Jan 2007
#29
2007-11-19, 11:44 PM
It worked.
Running from wake.cmd it turnned on the monitor. Now I´ll put it inside the batch file I use to call PVRX2, so the monitor will be turnned on only when it´s needed.

Thank you.
K.S.
Offline

Senior Member

Posts: 526
Threads: 12
Joined: Oct 2006
#30
2007-11-20, 10:16 AM
Nomad101 Wrote:Let us know if the autoit script works.

i've added the code snip from my previous post to gEd's startGBPVR au3 script (the part where he checks for PBT_APMRESUMESUSPEND) & done a quick test. it works like a charm Smile

psicotron3 Wrote:It worked.
Running from wake.cmd it turnned on the monitor.

did you use the attached FullResume.exe? or did you manage to call the dll from batch? if the later i'd like to know how you did it Wink
sub Wrote:Yep, what he said.

curiosity killed the cat Big Grin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Set Top Box Standby "press OK" to return to TV mrayle 8 7,085 2011-10-04, 05:17 PM
Last Post: zanders
  full screen mode on tv-out rocketman 3 2,717 2011-04-07, 06:55 PM
Last Post: imsohappy
  Black screen when playing back recordings gonzo90017 1 1,717 2011-01-19, 06:12 PM
Last Post: gonzo90017
  My HD recordings are black snowy picture with noise, but no sound dewchugr 14 5,554 2010-10-26, 01:45 AM
Last Post: dewchugr
  Getting black screen when I play recordings dalokgawd 11 4,150 2010-09-29, 01:22 AM
Last Post: dalokgawd
  EWA: Cannot set recordings from search screen Caligula 3 2,058 2010-09-06, 05:15 PM
Last Post: UncleJohnsBand
  Blue Screen & Static sound Sanman99 2 1,872 2010-08-04, 10:58 PM
Last Post: Sanman99
  black screen when viewing Live TV, new install, winxp hauppauge 250/350 darktrooper 10 4,038 2010-06-02, 08:55 PM
Last Post: sub
  Standby pvrx2 issue Squid 0 1,330 2010-06-02, 05:08 PM
Last Post: Squid
  newbie with an AVerTV Volar Black HD; live tv works only after runing avertv 6 app laberinto 1 1,467 2010-05-02, 03:58 AM
Last Post: laberinto

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode