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 … 72 73 74 75 76 … 433 Next »
NextPVR enters standby wake cycle repeatedly shortly after Windows reboot

NextPVR enters standby wake cycle repeatedly shortly after Windows reboot
PapaJay
Offline

Junior Member

Posts: 31
Threads: 10
Joined: Oct 2017
#1
2017-11-30, 02:07 AM
I rebooted my HTPC at about 14:25 this afternoon. I had updated the firmware level on my HDHomeRun and during that process HDHomeRun detected that NextPVR was using some of its function, and asked if it could stop the NextPRV service. To make sure that there were no problems, I decided to do a reboot of Windows which would restart the NPVR Recording Service cleanly.

With the HDHomeRun firmware change, I thought a test to make sure that NextPVR could still access the tuner was appropriate , so I scheduled a recording from 15:00 to 16:00. The recording was fine. However, after the recording the HTPC didn't enter sleep which I would have expected it to - by 18:05 it was obvious it was not going to sleep. The only thing running on the system is NextPVR and then MCEBuddy from 23:45 to whenever it finishes early in the morning.

Unfortunately, like many Windows 10 users I have encountered the screen flickering problem following Windows sleep after the forced update to the fall 2017 Creators release. Only with a reboot of the system can I again see information on my monitor. So I had to reboot at 16:05 to be able to examine the NextPVR log to see what was going on. Hence the logs containing the times of interest are xxxxxx.log.1

When I examined NPRV.log1 and NRecord.log.1, I discovered that starting at about 16:20 this afternoon the system was going into standby and then waking about 1 minute and 10 seconds later. This is not the first time I have encountered this problem - when I researched the problem earlier this month I discovered that a solution that would prevent the problem was to restart the NPVR Recording Service frequently which I have been doing by rebooting the system.

Today I checked the Windows event log again using a filter I created earlier this month. I found the system is entering sleep due to 'Sleep Reason: System Idle', followed by a system waking message just over 1 minute later. The source of the wake up is 'Wake Source: Timer - NRecord.exe'. This is a repeating pattern with time stamps that closely match the 'System is going into standby' messages in the NPVR.log.1 and the 'Resuming...' messages in NRecord.log.1.

Questions:
1) When examining the NPVR.log.1 it appears that NextPVR is busy processing when Windows thinks the system is idle. After the recording finished shortly after 16:00, I have no idea what NextPVR was doing but it is clearly doing something per the logs until the first standby message at 2017-11-29 16:20:08.723.
2) Why did NextPVR wake the system at 2017-11-29 16:21:16.846 (The event log clearly states that it was a NextPVR timer that woke it).
3) Why does NextPVR and Windows enter a battle of trying to sleep the system and wake it after this first sleep / wake event?
4) Is NextPVR doing useful processing just before the sleep and after the wake? I ask as I don't recall NextPVR doing this sort of processing in other NPVR.logs I have looked at. Is it in some sort of a loop?
5) Is there a setting or another solution to prevent this? This experience tells me that stopping and starting the NPVR Recording Service as suggested by others in the NexpPVR forum is not a long lasting solution - the sleep / wake cycle started to occur only 2 hours after my reboot of Windows and after only one recording had been done.

Note: I have added one file to the LOGS directory under USER/PUBLIC/NEXTPVR/LOGS before zipping it. It is called 'Sleep - wake events ....' and is an extract of the Event Log on Windows containing the sleep and wake events from this afternoon. It can be viewed, including details of each event, with the Event Viewer Snapin from Windows.

Environment: Windows 10 plus fall 2017 Creators Update, NextPVR" version="4.0.4" buildDate="171121"

Electricity has become expensive in the Toronto area, and sleeping the HTPC when there is nothing to do is very important. Today's events suggest the stopping and starting the NPVR Recording Service nightly is not a solution. Since many others have encountered this, finding the root cause and developing a solution is important.

Thank You
PapaJay
Offline

Junior Member

Posts: 31
Threads: 10
Joined: Oct 2017
#2
2017-11-30, 08:02 PM
Windows and NextPVR got into the sleep the wake cycle again last night and this continued until about 07:40 this morning.

Here are the events after I rebooted the HTPC at about 18:05 last night.
* I investigated the problem and eventually opened this thread in Support Forum.
* We started to watch a recording about 21:50 which continued until about 22:50.
* NextPVR recorded Designated Survivor from 21:57 until 23:00.
* NextPVR recorded the CTV National News from 23:00 until 23:31.
* MCEBuddy processed the Designated Survivor recording to convert it from .ts to .mp4 and remove commercials - this ran from 23:34 until 00:47 this morning per the MCEBuddy logs.

Per the Windows Event Log, Windows and NextPVR started the sleep and then wake battle at 12:48:20 AM (00:48:20) when Windows put the system to sleep due to System Idle. Then NextPVR woke the system up at 12:49:23. This sleep then wake cycle continued until 07:40:01 when NextPVR woke the system - last entry in the event logs for sleep or wake.

Just about 07:40 we performed a Wake on LAN from the Raspberry PI running Kodi - the PI is media device attached to our TV and read recorded shows from the HTPC. Normally it takes about 8 seconds for Wake on LAN to wake the HTPC, but this morning it completed in 2 seconds - checking the event log there is no evidence that the Wake on LAN was the reason the HTPC woke - if Wake on LAN had woken the HTPC, the wake source would be Unknown (I have seen this in the event log before). Immediately following waking up the HTPC we watched the CTV National News which was recorded last night.

About 25 minutes after watching the news, I checked the HTPC and it was sleeping and continued to sleep until I rebooted it this afternoon to determine what went on from 00:47 until 07:40. My power settings on Windows 10 state that the system should sleep after 20 minutes of idle.

Now I am not sure what event stopped the sleep then wake cycle. Could be 1) the watching of a recorded show 2) the Wake on LAN that was run from the Raspberry PI. I am also not sure what NextPVR is doing on the server - it seems to be cycling through the same code again and again based on what I can see in the NPVR.logs - more investigation needed.

I have not uploaded logs from last night through my reboot this afternoon as there is nothing new in them that cannot be seen in the logs I uploaded for yesterday afternoon when I opened this thread last night.

Thanks.
gEd
Offline

Posting Freak

London
Posts: 3,515
Threads: 100
Joined: Jan 2005
#3
2017-11-30, 08:17 PM
a search of the forums for "'Wake Source: Timer" reveals quite a few reports of the same issue but without resolution.

just make sure you have unticked allow mouse / keyboard to wake pc (esp if wireless) as this could be waking the pc but windows attributing the wakeup to the nextpvr gui? doesn't hurt to try ..
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR - EPG Setup - XML/XMLTV EPG - Zap2it & Zap2xml Erdrick 126 141,550 2024-01-29, 01:07 AM
Last Post: stoenjes44
  NextPVR VOD through Kodi unmich 2 1,257 2023-06-18, 03:54 AM
Last Post: sub
  Can NextPVR switch graphics mode to best match content ? madbrain 2 2,171 2021-09-25, 02:25 AM
Last Post: madbrain
  NextPVR and Remote viewing MaxiBelas 2 1,687 2021-09-07, 05:29 PM
Last Post: sub
  Help with NextPVR evinahmad86 1 1,432 2021-07-23, 07:01 PM
Last Post: sub
  Wake - Sleep Interaction -> Failed Recordings mikeh49 48 14,617 2021-03-21, 11:21 PM
Last Post: careads
  Epg setting SD token NextPvr 4.2.4 casimir@zyxu.ca 1 1,572 2021-03-05, 01:38 PM
Last Post: mvallevand
  NextPVR hangs when tuning to offline channel? CormacBaptiste 2 1,943 2021-02-03, 01:29 PM
Last Post: Graham
  NextPVR V4 Web Issue meccano 3 1,895 2021-01-30, 04:20 AM
Last Post: meccano
  Lights-Out for Windows Home Server 2011? TuckerDean 1 1,337 2021-01-28, 01:52 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode