NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 317 318 319 320 321 … 433 Next »
System went to sleep in stead of a wake up

System went to sleep in stead of a wake up
Sheik Yerbouti
Offline

Posting Freak

Posts: 922
Threads: 77
Joined: Jul 2006
#1
2012-01-24, 08:40 PM
I had a failed recording last night. "Recording service not running at recording time". I looked in the windows logs and I see something strange:

[ATTACHMENT NOT FOUND]
[ATTACHMENT NOT FOUND]

So there's a power event from the recording service and at the exact same time the system goes to sleep? I should mention I'm no expert in reading Windows logs Smile. The npvr logs show "Requesting wake up for 'RecordingOID3968' at 23-1-2012 22:53".

Chris
[SIZE="1"]i5 750 4GB RAM, Windows 10 Home, HDHomeRun HDHR3-4DC, Digital Devices Cine CT, OSCam on a Raspberry Pi with a Smargo Smartreader+, Raspberry Pi 2 OpenElec Kodi client, Gigabyte Brix 2807 OpenElec Kodi client[/SIZE]
Sheik Yerbouti
Offline

Posting Freak

Posts: 922
Threads: 77
Joined: Jul 2006
#2
2012-01-25, 06:39 PM
Maybe I should translate the screens: the first picture says: "PowerEvent is processed by the service", the second picture: "The system is put to sleep, reason: System inactive". As you can see, the times are exactly the same.

Chris
[SIZE="1"]i5 750 4GB RAM, Windows 10 Home, HDHomeRun HDHR3-4DC, Digital Devices Cine CT, OSCam on a Raspberry Pi with a Smargo Smartreader+, Raspberry Pi 2 OpenElec Kodi client, Gigabyte Brix 2807 OpenElec Kodi client[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#3
2012-01-25, 06:59 PM
I cant explain that. There is definitely no code in NextPVR that will ask the machine to go to sleep.

There is calls to request the machine is awake at a specific time, but these are entirely different calls than you'd use to put a machine to sleep.
Sheik Yerbouti
Offline

Posting Freak

Posts: 922
Threads: 77
Joined: Jul 2006
#4
2012-01-25, 07:44 PM
I've read it wrong. The system is going to sleep and the first picture just means that the recording service has processed the system call. I noticed other services showed the same message, sorry for the confusion. But it's still weird the machine went to sleep, while it should be awake to record. It's the second time this weird thing happened and I've never had these problems before 2.3.6. But you probably hear that every release Smile

Chris
[SIZE="1"]i5 750 4GB RAM, Windows 10 Home, HDHomeRun HDHR3-4DC, Digital Devices Cine CT, OSCam on a Raspberry Pi with a Smargo Smartreader+, Raspberry Pi 2 OpenElec Kodi client, Gigabyte Brix 2807 OpenElec Kodi client[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#5
2012-01-25, 07:45 PM
I'll keep an eye out for other reports of it going to sleep during a recording. I dont think anything has changed with that stuff.
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#6
2012-01-25, 08:13 PM
You're not running the MCE Standby Tool are you? Check it doesn't have its "ignore applications that try to prevent sleep" checkbox selected.

Iain
Sheik Yerbouti
Offline

Posting Freak

Posts: 922
Threads: 77
Joined: Jul 2006
#7
2012-01-25, 09:16 PM
imilne Wrote:You're not running the MCE Standby Tool are you? Check it doesn't have its "ignore applications that try to prevent sleep" checkbox selected.

Iain
No, but thanks for thinking with me. I tried powercfg -waketimers and it gave an error. So I rebooted my machine and tried again and I got output. So maybe something wasn't fresh in my powerconfig. I now output this command after an EPG update, so I can check some more if the problem should occur again.

Chris
[SIZE="1"]i5 750 4GB RAM, Windows 10 Home, HDHomeRun HDHR3-4DC, Digital Devices Cine CT, OSCam on a Raspberry Pi with a Smargo Smartreader+, Raspberry Pi 2 OpenElec Kodi client, Gigabyte Brix 2807 OpenElec Kodi client[/SIZE]
pds
Offline

Junior Member

Posts: 10
Threads: 3
Joined: Apr 2011
#8
2012-01-28, 01:07 PM
I have noticed this issue as well using XP, and put it down to Windows deciding to go to sleep just before NPVR asks for it to wake, and is therefore a bug in the Windows sleep scheduler, one which still persists in Win7 apparently. The wake event will have already passed by the time windows has completed its sleep processing, causing it to be missed. This is worse if using hibernate as the process can take over a minute to complete.

A simple fix would be for NPVR to request 2 wake events seperated by a couple of minutes, or the recording service to stop the sleep event if a pending operation is waiting within a few minutes.

I have been working around this for some time by making sure one recording+post pad+sleep timeout <> next recording-pre pad time.
Sheik Yerbouti
Offline

Posting Freak

Posts: 922
Threads: 77
Joined: Jul 2006
#9
2012-01-29, 08:41 AM
Thanks, pds. I'm not 100% sure this is what happened on my system, but it's good to know should it occur again.

Chris
[SIZE="1"]i5 750 4GB RAM, Windows 10 Home, HDHomeRun HDHR3-4DC, Digital Devices Cine CT, OSCam on a Raspberry Pi with a Smargo Smartreader+, Raspberry Pi 2 OpenElec Kodi client, Gigabyte Brix 2807 OpenElec Kodi client[/SIZE]
WKleeven
Offline

Senior Member

Posts: 522
Threads: 40
Joined: Dec 2006
#10
2012-01-29, 10:08 AM (This post was last modified: 2012-01-29, 10:13 AM by WKleeven.)
I have 2.2.6 and have had 2 similar issues.
I posted it in this thread: http://forums.nextpvr.com/showthread.php...post430021

The first issue: programmed a running show and one half an hour later. In between the pc should and has gone to sleep. The second recording wasn't recorded, I am not sure anymore but I think the first recording (of the running show) also failed (computer went asleep while recording).

I think pds might be wright in post 8: "The wake event will have already passed by the time windows has completed its sleep processing."


Second issue: programmed a running show. No waketimer was set. Probably not necessary. But I noticed that my pc goes asleep when some programs are running, but not with other programs. I read that some "applications and services make system availability requests by calling the SetThreadExecutionState or PowerCreateRequest function". I hope Sub can tell if NextPVR has this built-in.

We can also make a requestoverride ourselves for a process, for example: POWERCFG -REQUESTSOVERRIDE PROCESS wmplayer.exe System
Is it possible to have NextPVR run a batch-file wehen starting a recording? We could in this way easily prevent the pc from going to sleep. EDIT: ParallelProcessing.bat.
Server: Core2Duo 3,16GHz| Windows 7 Ultimate 64 bit | NPVR 3.2.9 | Analogue: Hauppauge PVR-150 | Digital dvb-c: Technisat CableStar HD 2 | No plugins
Clients: Laptop Windows 7 Home 64 bit via Wifi | Android tablet via Wifi | Androidbox s89-H via Lan
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  PC not going to sleep after recording LeoL 7 3,305 2021-04-01, 07:17 PM
Last Post: Handy.Man
  Wake - Sleep Interaction -> Failed Recordings mikeh49 48 14,782 2021-03-21, 11:21 PM
Last Post: careads
  Constant Sleep Resume Cycle mikeh49 2 1,273 2020-02-02, 07:57 PM
Last Post: mikeh49
  Mac adress wake on lan spudjg1 0 862 2019-10-02, 11:13 AM
Last Post: spudjg1
  system requirements MaxOne72 1 1,642 2019-09-19, 06:49 AM
Last Post: mvallevand
  Sleep/Wake issue and Yahoo fccgrant 8 2,605 2019-09-04, 03:18 PM
Last Post: Graham
  "Important wake timers" - will NPVR wake on these ? jksmurf 1 1,043 2019-02-26, 01:13 AM
Last Post: sub
  How do I rebuild a database after a system rebuild pc44062 4 2,119 2018-12-15, 02:49 PM
Last Post: pc44062
  Computer is not waking up from sleep to record via schedule ajc1616 13 5,682 2018-10-29, 07:05 PM
Last Post: mvallevand
  Sleep PC during recording Stanno 5 2,071 2018-10-17, 11:39 AM
Last Post: Stanno

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

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

Linear Mode
Threaded Mode