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 2 3 4 5 6 … 433 Next »
Wake - Sleep Interaction -> Failed Recordings

Wake - Sleep Interaction -> Failed Recordings
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#21
2015-05-30, 01:22 AM
I can't really help with your sleep problem - I'm a 24/7 servers in the attic with (silent) NMT extenders at each TV sort of chap (100% WAF) but I'm hoping that the following is not a portent for the future...

jksmurf Wrote:Was hoping there was a brute force solution (a BFH).

jksmurf Wrote:Replacement Wife not an option at this time]

Alex Smile
jam_zhou
Offline

Senior Member

Posts: 632
Threads: 179
Joined: Sep 2005
#22
2015-05-31, 08:37 PM
to keep the computer awake during auto wake (like when transcoding overnight) I use a program called insomnia. Maybe you can write a batch file that will keep insomnia running for 15 minutes at wake to ensure that the recording starts and the sleep timer doesn't cut back in.

http://dlaa.me/Insomnia/
E6400, 2 GB RAM ,500 GB + 250 GB HD, PVR150+ Adaptec 3610, RW 2 + HIP, Antec 2480 w/ mini ninja ...still using v 0.99
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#23
2015-05-31, 09:29 PM
You're misunderstanding the problem. It's not that it wakes up for the recording and then goes back to sleep before it starts, it's that it's already awake at the scheduled wakeup time, but then sleeps between that time and the time the recording actually begins. (or in rare cases the computer will be just heading to sleep when the wakeup is scheduled, and it can't wakeup until it gets fully to sleep by which point the wakeup time has passed)

If Windows weren't so %$#^%^$%-ing stupid, this wouldn't happen. First, any scheduled wakeup event should automatically reset the sleep timer if the computer was already awake. Second, before going to sleep Windows should check whether there are any scheduled wakeups in the next couple of minutes and cancel the sleep if so. But hey, sleep states are really new, Microsoft has only had 25 years or so to figure this stuff out.

Without changes to NPVR to deal with this (setting two wakes per recording), I suggest setting <WakeupPreRecodingSeconds> a small as possible (preferably 0) and using 1 or more minutes of pre-padding.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,659
Threads: 767
Joined: Nov 2003
#24
2015-05-31, 11:02 PM
Here is a version that schedules two wakeups per recording. The second one is 30 seconds later.
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#25
2015-06-01, 01:16 PM
Awesome - thanks sub - can't wait to try - will try with 120 secs <WakeupPreRecordingSeconds> just to be sure.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#26
2015-06-01, 03:33 PM (This post was last modified: 2015-06-01, 03:43 PM by johnsonx42.)
jksmurf Wrote:Awesome - thanks sub - can't wait to try - will try with 120 secs <WakeupPreRecordingSeconds> just to be sure.
Actually I wouldn't set it longer than 30 seconds, or you'll defeat the purpose of the second wakeup.

@sub - rather than setting the second wake to 30 seconds after the first, it'd be better to set it to the actual recording start time, or perhaps 5 seconds before it. The problem is the window of time between the wakeup request and the actual start of the recording when NRecord starts hitting that ES_SYSTEM_REQUIRED call. <WakeupPreRecordingSeconds> defaults to 90; adding a second wakeup 30 seconds later merely reduces the time window down to 60 seconds.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#27
2015-06-03, 03:29 AM
Just reporting that so far, touch wood, I have had 3 recordings WORK without the dreaded "recording service was not running" message. Awesome.

I can supply logs if needed, but if this continues to function as it has, it is a MAJOR item for me and the WAF. No longer do I live in fear of having to bin the whole NPVR experience and return to the dark days of the DVR. Liberated from the shackles of tyranny! (etc etc).... thanks sub.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,833
Threads: 954
Joined: May 2006
#28
2015-06-04, 12:24 AM
johnsonx42 Wrote:@sub - rather than setting the second wake to 30 seconds after the first, it'd be better to set it to the actual recording start time, or perhaps 5 seconds before it.

+1 for zero. I don't use pre-padding and I'd rather lose the 10 seconds or so wake takes on my backend then the entire recording.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,659
Threads: 767
Joined: Nov 2003
#29
2015-06-04, 12:45 AM
johnsonx42 Wrote:@sub - rather than setting the second wake to 30 seconds after the first, it'd be better to set it to the actual recording start time, or perhaps 5 seconds before it. The problem is the window of time between the wakeup request and the actual start of the recording when NRecord starts hitting that ES_SYSTEM_REQUIRED call.
I'm not sure there is any remaining scenario when the machine could sleep through a recording. I think the problem was when the machine was in the process of going to sleep when machine was due to wake for the start of pre-padding.

I think if it has the second wakeup 30 seconds later, you'll start seeing "Keeping machine from entering standby due to pending recording" messages in the log, and it wont go to sleep.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,833
Threads: 954
Joined: May 2006
#30
2015-06-04, 01:13 AM
sub Wrote:I'm not sure there is any remaining scenario when the machine could sleep through a recording. I think the problem was when the machine was in the process of going to sleep when machine was due to wake for the start of pre-padding.

I think if it has the second wakeup 30 seconds later, you'll start seeing "Keeping machine from entering standby due to pending recording" messages in the log, and it wont go to sleep.


In my use-case with no pre-padding, what I regulary do is use wol to check recordings or watch a bit of live sports. When it don't pay attention if I disconnect with less then 7 minutes and with the new change 5.5 minutes before the recording sleep cuts in after 5 minutes. The sleep time is irrelevant but I hope that explains. Even if it is 1 second, I'd have to pay attention. 5m 1s before the recording.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Failed recordings won't delete Spid4567 3 2,364 2023-07-14, 10:13 PM
Last Post: ZeDoZ
  All my recordings start 90 sec early ncsercs 2 1,298 2022-03-19, 03:28 AM
Last Post: sub
  PC not going to sleep after recording LeoL 7 3,166 2021-04-01, 07:17 PM
Last Post: Handy.Man
  Most recordings are zero bytes virtualpaul 4 1,958 2021-01-29, 12:55 PM
Last Post: virtualpaul
  Recordings with Next PVR 4.2.5 (CL0116) have background music but no voice in record DavidF 4 2,004 2021-01-07, 08:47 AM
Last Post: sub
  Recordings not playing in browser FamilyGuyFan 1 1,389 2020-10-22, 10:18 PM
Last Post: mvallevand
  Recordings 1 minute off BobbyDing 7 2,706 2020-10-11, 08:07 PM
Last Post: mvallevand
  easy tools to remove adverts in recordings? V_J 6 3,889 2020-10-06, 02:37 AM
Last Post: Ehrlichia
  Black screen, no audio, & zero bit recordings mattman1968 1 1,523 2020-09-15, 12:19 AM
Last Post: mattman1968
  Recordings Date Format NumberFive 3 1,994 2020-05-14, 11:08 PM
Last Post: NumberFive

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

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

Linear Mode
Threaded Mode