NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 14 15 16 17 18 … 36 Next »
Why is NextPVR waking my Windows 10 system from sleep?

 
  • 0 Vote(s) - 0 Average
Why is NextPVR waking my Windows 10 system from sleep?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 103,926
Threads: 752
Joined: Nov 2003
#11
2021-03-06, 02:20 AM
You should be able to run the following to see what times NextPVR has requested the machine to be awake. It does this for the EPG update time, and around each recording.

Code:
C:\Windows\system32>powercfg /waketimers
Timer set by [PROCESS] \Device\HarddiskVolume5\Dev\NPVR5\NPVR5\bin\Debug\netcoreapp3.1\NextPVRServer.exe expires at 3:00:00 am on 7/03/2021.
Timer set by [PROCESS] \Device\HarddiskVolume5\Dev\NPVR5\NPVR5\bin\Debug\netcoreapp3.1\NextPVRServer.exe expires at 8:27:30 pm on 6/03/2021.
ie, this is the epg update time, and a couple of minutes before a recording at 8:30pm.

The nrecord.log would have matching info logged:
Code:
2021-03-06 15:17:19.702    [DEBUG][10]    Requesting wake up for 'EPG-UPDATE' [EPG Update] at 7/03/2021 3:00 am
...
2021-03-06 15:18:57.152    [DEBUG][9]    Requesting wake up for 'RecordingOID941' [Alexander] at 6/03/2021 8:27 pm
PapaJay
Offline

Junior Member

Posts: 31
Threads: 10
Joined: Oct 2017
#12
2021-03-08, 08:57 PM
Hi

NextPVR V5 is keeping my Windows 10 system from sleeping again - it has been keeping it awake since late last night.  After implementing a change in the properties of the Realtek GbE adapter to block all but Wake ON LAN magic packets on Friday March 5 later in the day, it slept as expected Saturday and Sunday - during the day when there is nothing to do the system sleeps unless I wake it up by pressing a mouse button.  NextPVR wakes it just before 7:05 PM for a EPG update from Schedules Direct and also for any scheduled recordings.  We wake the system to watch recorded shows.

The Windows 10 Sleep Study Report clearly shows that 'Timer - NextPVRService.exe' has been waking Windows continuously for many hours. NextPVR woke it up at 2021-03-07 at 22:37:39 and there has been a constant cycle of Windows sleeping and NextPVR waking it just over a minute later, except starting at 22:58:45 for 2 hours a 59 minutes when the two shows that recorded successful were being converted to mp4, after which the battle started again and continued until I started gathering PD and making this update which keeps the system awake.

I will upload the NextPVR logs in this post and in a second post I will upload the Sleep Study Report I gathered at 14:52:42 today.

I have no idea why NextPVR needs to keep Windows awake.  Perhaps there is some configuration that I have set incorrectly.

Thanks.  Jay.


Attached Files
.zip   logs-20210308-1457.zip (Size: 1.12 MB / Downloads: 3)
PapaJay
Offline

Junior Member

Posts: 31
Threads: 10
Joined: Oct 2017
#13
2021-03-08, 09:10 PM
Hi

Attached is the Sleep Study Report from this afternoon.

Sub, powercfg /waketimers will not run on this level of Windows 10 - no idea why as I has worked in the past.  Here is the command and the error:

---------------------------
C:\WINDOWS\system32>powercfg /waketimers

Unable to perform operation.  An unexpected error (0x65b) has occurred:  Function failed during execution.
------------------------------

The system was updated to a new Windows 10 service level in the last 2 or 3 weeks - perhaps this messed up /waketimers.  Hence I have been running the Sleep Study Report which works.  Also powercfg /lastwake works - I just ran it and here is what it reported at 4 PM this afternoon.

------------------------------
C:\WINDOWS\system32>powercfg /lastwake
Wake History Count - 1

Wake History [0]

  Wake Source Count - 1

  Wake Source [0]

    Type: Wake Timer
    Owner: [PROCESS] \Device\HarddiskVolume2\Program Files\NextPVR\NextPVRServer.exe


------------------------------

The wakes that occurred after midnight and until mid afternoon were not due to scheduled recordings or an EPG update as that should not occur until 7:05 PM

Thanks
PapaJay
Offline

Junior Member

Posts: 31
Threads: 10
Joined: Oct 2017
#14
2021-03-08, 09:17 PM
Hi

Maybe attaching the Sleep Study Report will work this time.  Thanks

PS.  Just discovered I can only upload ZIPed files.  Sorry.


Attached Files
.zip   sleepstudy-report Mar 8 14,52,42 PM.zip (Size: 41.58 KB / Downloads: 1)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 47,338
Threads: 889
Joined: May 2006
#15
2021-03-08, 09:22 PM
I am confident it is not Kodi so I am dropping out of this thread. Make sure your advanced power setting don't have the hard drive sharing option enabled.

I will say your system is acting oddly there is now way I can see that it should be issuing spurious Resumes while live TV is streaming.

Code:
2021-03-07 22:08:50.812    [DEBUG][150]    Request had range request
2021-03-07 22:08:50.813    [DEBUG][150]    Requested Range: bytes=146516484- (4371381452 bytes)
2021-03-07 22:08:51.143    [DEBUG][7]    Client has disconnected
2021-03-07 22:08:51.143    [DEBUG][7]    Sent total of 1748400 bytes
2021-03-07 22:09:37.852    [DEBUG][61]    [Resume]
2021-03-07 22:09:37.855     [DEBUG][61]    OnResume...
2021-03-07 22:09:38.086    [DEBUG][61]    [Resume]
2021-03-07 22:09:38.087    [DEBUG][61]    OnResume...
2021-03-07 22:09:43.463    [DEBUG][150]    Client has disconnected
2021-03-07 22:09:43.463    [DEBUG][150]    Sent total of 14607600 bytes
2021-03-07 22:09:45.151    [DEBUG][150]    Got request [192.168.2.102]: /live

Martin
PapaJay
Offline

Junior Member

Posts: 31
Threads: 10
Joined: Oct 2017
#16
2021-03-08, 09:29 PM
Sub

I do know that I need to run the command 'powercfg /waketimers'  from an Administrator Command Prompt window.  The common reason for the command to file with 'An unexpected error (0x65b) has occurred' is that people try to run it without administrator authority.  Somehow the security for the /waketimer option is messed up; all the other powercfg options work fine and most of them require administrator.

Thanks.
PapaJay
Offline

Junior Member

Posts: 31
Threads: 10
Joined: Oct 2017
#17
2021-03-08, 11:12 PM
Hi

Whatever NextPVR was trying to do while it was battling with Windows putting the system to sleep and NextPVR waking it up, finished while I was collecting PD data and updating this post.  The work NextPVR was doing finished somewhere between 2021-03-08 at 14:42:36 and 16:44:03

I can upload another set of NextPVR logs if needed.  Let me know.  Thanks.

PS.  I stopped and restarted the NextPVR Service as there are serval recordings scheduled for tonight.
Ludron
Offline

Member

Posts: 83
Threads: 9
Joined: Jan 2011
#18
2021-03-08, 11:48 PM
We will add this on list for further investigation....

sub Wrote:I'm not aware of any NextPVR limits on this stuff, and given there is thousands of people using it regularly - I'm pretty sure I'd have heard about this type of problem before.
Almost like something we hear from SES Astra Undecided
Graham
Offline

Posting Freak

UK
Posts: 4,059
Threads: 102
Joined: Dec 2005
#19
2021-03-09, 11:11 AM
(2021-03-08, 11:12 PM)PapaJay Wrote: The work NextPVR was doing finished somewhere between 2021-03-08 at 14:42:36 and 16:44:03

I can upload another set of NextPVR logs if needed.

Please upload logs that show the period ... between 2021-03-08 at 14:42:36 and 16:44:03 ... Thanks
PapaJay
Offline

Junior Member

Posts: 31
Threads: 10
Joined: Oct 2017
#20
2021-03-09, 12:00 PM
Hi

Here are the logs covering the requested time period.  I stopped and restarted NextPVR Service around 6 PM local time on March 8.  Therefore, I believe it is log1 that covers the time period.

There server where NextPVR Server runs was awake when I got up at 6:20 AM this morning - it should have been asleep as it should have had nothing to do.  I immediately ran the powercfg -lastwake command with the following results:

-------------------------------------------
C:\WINDOWS\system32>powercfg -lastwake
Wake History Count - 1
Wake History [0]
  Wake Source Count - 1
  Wake Source [0]
    Type: Wake Timer
    Owner: [PROCESS] \Device\HarddiskVolume2\Program Files\NextPVR\NextPVRServer.exe

-------------------------------------------

I just ran powercfg - sleepstudy and the same as last night Windows and NextPVR were in a battle all night over sleeping the system.  I can upload this sleep study report if needed.

Thanks.


Attached Files
.zip   logs-20210309-0629.zip (Size: 1.06 MB / Downloads: 1)
« 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
  What"s the username and password in Nextpvr Login Required ? HITFM885 3 222 2023-07-01, 02:48 AM
Last Post: HITFM885
  Looking for a full offline Windows install RedDawg 6 317 2023-06-29, 02:29 PM
Last Post: RedDawg
  Kodi NextPVR client continuous stopping/buffering Victor Garcia 3 325 2023-04-04, 05:35 PM
Last Post: mvallevand
  NextPVR - Docker - Synology - Kodi Harison 13 634 2023-03-31, 06:34 PM
Last Post: sub
  LibreElec NextPVR Server jcjefferies 4 385 2023-01-31, 11:45 PM
Last Post: jcjefferies
  Windows 11 - Blank EPG and no ch icons ? PVRbuff 12 474 2023-01-30, 06:59 PM
Last Post: mvallevand
  Possible to filter channels to KODI but have them in NextPVR? markosjal 3 393 2022-12-11, 07:10 AM
Last Post: sub
  NextPVR Not Detecting Specific Channel MarkieMark96 4 586 2022-11-17, 05:51 PM
Last Post: sub
  NextPVR Releases sub 44 213,494 2022-11-06, 04:17 AM
Last Post: sub
  Can we tell NextPVR to rebuild the recording list? kamhouse 15 1,900 2022-10-26, 12:29 AM
Last Post: mlb

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

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

Linear Mode
Threaded Mode