NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 20 21 22 23 24 … 101 Next »
Computer Won't Sleep After Upgrade to v6

 
  • 0 Vote(s) - 0 Average
Computer Won't Sleep After Upgrade to v6
Radar73
Offline

Junior Member

Posts: 15
Threads: 2
Joined: May 2018
#1
2022-10-06, 09:33 PM
Everything was fine on v5, after upgrading to v6 NextPVRServer.exe prevents the computer for going to sleep.  NextPVR isn't recording at the time or doing an EPG update, but it still keeps the computer awake.  A reboot fixes it for a short time.  Tuners are not primed, I toggled it to make sure it's off.  powercfg output is below and logs are attached.  Anything obvious I should check?  Thanks.


C:\WINDOWS\system32>powercfg -requests
DISPLAY:
None.

SYSTEM:
[PROCESS] \Device\HarddiskVolume2\Program Files\NextPVR\NextPVRServer.exe

AWAYMODE:
[PROCESS] \Device\HarddiskVolume2\Program Files\NextPVR\NextPVRServer.exe

EXECUTION:
None.

PERFBOOST:
None.

ACTIVELOCKSCREEN:
None.


Attached Files
.zip   logs-20221006-1718.zip (Size: 1.09 MB / Downloads: 2)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,825
Threads: 954
Joined: May 2006
#2
2022-10-06, 09:41 PM
Windows sleep is magic. There are other posts telling use that NextPVR v6 would sleep more than v5.

It looks like your PC is sleeping and on minute later waking which indicates an issue with your hidden sleep setting for unattended sleep mode.

Code:
2022-10-05 22:17:58.319    [DEBUG][50]    [Suspend]
2022-10-05 22:17:58.321    [DEBUG][50]    OnSleep...
2022-10-05 22:17:58.322    [DEBUG][50]    stopping device process
2022-10-05 22:18:11.518    [DEBUG][15]    <?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
<Status>
<Device oid="20" identifier="Hauppauge WinTV-7164 BDA ATSC/QAM Tuner     (ATSC)"> </Device>
<Device oid="22" identifier="Hauppauge WinTV-7164 BDA ATSC/QAM Tuner     (ATSC)     (#2)"> </Device>
</Status>
</rsp>

2022-10-05 22:18:17.939    [DEBUG][15]    [Resume]
2022-10-05 22:18:18.024    [DEBUG][15]    OnResume...
2022-10-05 22:18:18.730    [DEBUG][51]    [Resume]
2022-10-05 22:18:18.737    [DEBUG][51]    OnResume...


Martin
Radar73
Offline

Junior Member

Posts: 15
Threads: 2
Joined: May 2018
#3
2022-10-07, 01:02 PM
Thanks Martin, I'll check out windows sleep settings for unattended sleep mode and see if it helps.
Radar73
Offline

Junior Member

Posts: 15
Threads: 2
Joined: May 2018
#4
2023-01-07, 11:08 PM
So this issue persists for me, what you see in the previous log there may just have been when I was testing and restarting the computer after a sleep test.  I don't think it's tied to unattended sleep mode as the computer never tries to enter sleep due to NextPVRServer.exe blocking sleep as seen in C:\WINDOWS\system32>powercfg -requests posted above.  NextPVRServer shouldn't be doing anything to stay listed under powercfg ... EPG update is not happening, the NTray shows no active streams, client is not running, digital tuners are not primed, yet it doesn't relinquish it's hold on power settings.  If I restart the NextPVR service the computer sleeps as expected since NextPVRServer.exe is no longer present in powercfg -requests.  After some period of watching LiveTV and exiting the NexPVR Client, powercfg -requests will show a wakelock again for NextPVRServer.exe, preventing sleep.

New log is attached.

Thanks.


Attached Files
.zip   logs-20230107-1759.zip (Size: 15.59 KB / Downloads: 3)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,825
Threads: 954
Joined: May 2006
#5
2023-01-07, 11:30 PM
What do you want us to see in those logs? The server is awake because you are watching LiveTV and NextPVR does tell the server to stay awake during Live TV.

2023-01-07 17:22:18.033 [DEBUG][9] Active...staying awake

I am not sure if there is an corresponding message when NextPVR stops preventing sleep but there wasn't enough time after you stopped live tv for NextPVR to sleep.

Martin
Radar73
Offline

Junior Member

Posts: 15
Threads: 2
Joined: May 2018
#6
2023-01-08, 02:11 AM
Not sure what the log would or would not show about NextPVR not removing the wakelock after exiting the client, which is why I posted it.  What is responsible for removing the wakelock?  Is that done programmatically in NextPVRServer or does Windows do that by itself?  What would cause NextPVRServer to maintain a wakelock when it isn't doing anything after exiting a client?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,825
Threads: 954
Joined: May 2006
#7
2023-01-08, 02:18 AM
I would need to see it go long enough to actually sleep. I know my Windows test machine does sleep after live tv.

Martin
Radar73
Offline

Junior Member

Posts: 15
Threads: 2
Joined: May 2018
#8
2023-01-08, 02:33 AM
I don't think you'd see anything about sleeping in the log as once NextPVRServer gets into the state of not removing the wakelock, it stays like that indefinitely or until the service is restarted, the service must think it's still active for some reason.  Is there anyway to get more detailed logs that may say something about still being active after the client exits?

I realize this issue seems to only affect me ... I may have to go extreme and reformat and install from scratch.  This issue only started after upgrading to v6, currently on 6.1.1 (221106).

Thanks for your time.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,825
Threads: 954
Joined: May 2006
#9
2023-01-08, 02:37 AM
Sub probably needs to log when the lock is closed to help analyze this further.

Martin
Radar73
Offline

Junior Member

Posts: 15
Threads: 2
Joined: May 2018
#10
2023-01-08, 02:48 AM
I'll hold off on formatting to see if Sub has any insights.  It's good to know that you don't have sleep issues on your windows machine with v6, so at least in the eventuality I format, I might get back to normal.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Time for upgrade greg in kansas 1 198 2025-05-06, 03:55 PM
Last Post: mvallevand
  Standby/Sleep During Playback motocrossmann 46 3,962 2025-05-05, 05:40 PM
Last Post: gEd
  Video Issues after upgrade from 4.2.4 to 7.0.1.241229 lemmy999 5 454 2025-03-02, 02:10 AM
Last Post: lemmy999
  NextPVRServer.exe (Version 7) Preventing Sleep PVR_Convert 4 363 2025-02-18, 07:18 PM
Last Post: mvallevand
  Minimal EPG since upgrade to v7 hmc 19 998 2025-02-02, 02:12 AM
Last Post: sub
  npvr stopped returning computer to hibernate state when recording finished terry 3 410 2024-11-01, 02:54 PM
Last Post: terry
  Sleep WakeUp, PC shuts down instead FM5 3 475 2024-05-09, 09:52 PM
Last Post: mvallevand
  New Computer - NextPVR won't run whizptc 8 929 2024-02-06, 03:56 PM
Last Post: whizptc
  v6.1.2.230502 Will not Sleep after watching TV Channel Lao Pan 24 3,428 2023-05-13, 06:13 AM
Last Post: dawsonjw
  Upgrade from 4.2.5 beartlaoi 11 1,927 2023-05-01, 01:50 PM
Last Post: beartlaoi

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

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

Linear Mode
Threaded Mode