Page 1 of 5 123 ... LastLast
Results 1 to 10 of 41

Thread: Computer not sleeping

  1. #1
    Join Date
    Feb 2018
    Location
    UK
    Posts
    43

    Computer not sleeping

    Hi,

    Its not going to sleep since the recent update of NPVR.

    I've seen this before with previous versions and its been fixed. It just seemed to reappear again. I've rebooted etc and set the sleep timeout to 1 min to check.

    powercfg is showing:

    DISPLAY:
    None.

    SYSTEM:
    [DRIVER] Legacy Kernel Caller

    AWAYMODE:
    None.

    Even when no recording are going. Legacy kernel caller is keeping it awake. Since the computer had nothing but NPVR on it its most likely it.

    Zip file included.

    Rob
    Attached Files Attached Files

  2. #2
    Join Date
    Feb 2018
    Location
    UK
    Posts
    43
    Maybe i should retro grade the program and see what happens, as its keeping the pc awake continuously.

  3. #3
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,155
    I think you need to diagnose why this error is occurring during the EPG scan

    2019-03-29 12:07:16.813 [ERROR][10] Unexpected error getting dynamic event list: System.Runtime.Remoting.RemotingException: Failed to write to an IPC Port: The pipe is being closed.

    I'd restart and do an EPG scan and see if those errors continue

    Martin

  4. #4
    Join Date
    Oct 2016
    Location
    Niagara Falls, Canada & USA
    Posts
    115
    Samething happened with my unit. 2nd time in about 1.5 years. I took the easy way out this time and reinstalled windows 10. works fine after.

  5. #5
    Join Date
    Feb 2018
    Location
    UK
    Posts
    43
    I'm comparing and checking.

    Have done lots of restarts.

    Will check EPG redownload.

    This PC is solely used for media playing so does not have anything else on it which can confuse the issue.

    I'll report back when i have more conclusions - but this started with the 4.2.4 version

    rob

  6. #6
    Join Date
    Jan 2005
    Location
    London
    Posts
    3,261
    I;d also check the windows event viewer for app or system errors.
    “If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”

  7. #7
    Join Date
    Feb 2018
    Location
    UK
    Posts
    43
    So, its started working again correctly..

    As you said, there was an EPG error. I wonder if some data that was being broadcast in the EPG was crashing something. And now its gone from the EPG, its fine.

    Will continue to monitor.

    thanks

  8. #8
    Join Date
    Oct 2016
    Location
    Niagara Falls, Canada & USA
    Posts
    115
    Seems I stumbled across another PC wont sleep type issue. A month ago or so I installed a fresh start version of Windows 10 on a PC and then put NPVR on it with an external USB tuner. Everything worked fine.

    Yesterday evening I pulled out an Apple Ipad, turned on the chrome browser and went to the NPVR Web server on windows 10 home PC on my LAN to set up a recording and watch a few minutes of something else I had recorded. The recording set up went fine. However the attempt to play another recording kept failing when the display would say playing but nothing was playing. Anyhow I closed the tab, put away the seldom used IPAD and thought nothing more.

    About an hour later I walked by the PC and noticed it had not gone to sleep. So I sat around a bit and noticed that it does go to sleep and after a count of about 7 seconds or so wakes up again and this cycle just keeps going. I checked "powercfg /lastwake" and it said the network/ethernet card was waking things up.

    So figuring the only reason the network card is in the picture is because I used the IPAD to access it over the LAN I went to the NPVR settings panel, disabled the NPVR web server and sat around ten minutes. Result PC sleeps fine again.

    This is actually the second occurence like this. The last time it happened -after much ado I figured I had messed up windows 10 and just reinstalled the OS and NPVR and the problem went away. This was a lucky break to catch that the web server is hanging somehow. The odd thing is that I could swear I accessed the web server in the prior month with an android device and had no sleep issues after.

    But I do recall using the IPAD the first time this happened and before I decided to reinstall the OS.. is it possible the IPAD has something to do with causing the PC to keep the circuit open even when it is not being used? I am not a programmer just a guy that thinks he knows more than he does So I am passing this on to those that know better to ponder.

    Edward

  9. #9
    Join Date
    Feb 2018
    Location
    UK
    Posts
    43
    Its started again - not sleeping due to Kernal legacy caller, caused by a crash in the service I guess?

    here is the log


    you'll see in Nrecord.log on 23rd

    58 seconds remaining...
    2019-04-23 12:09:00.374 [ERROR][10] Unexpected error getting dynamic event list: System.Runtime.Remoting.RemotingException: Failed to read from an IPC Port: The pipe has been ended.


    Server stack trace:
    at System.Runtime.Remoting.Channels.Ipc.IpcPort.Read( Byte[] data, Int32 offset, Int32 length)
    at System.Runtime.Remoting.Channels.Ipc.PipeStream.Re ad(Byte[] buffer, Int32 offset, Int32 size)
    at System.Runtime.Remoting.Channels.SocketHandler.Rea dFromSocket(Byte[] buffer, Int32 offset, Int32 count)
    at System.Runtime.Remoting.Channels.SocketHandler.Rea d(Byte[] buffer, Int32 offset, Int32 count)
    at System.Runtime.Remoting.Channels.SocketHandler.Rea dAndMatchFourBytes(Byte[] buffer)
    at System.Runtime.Remoting.Channels.Tcp.TcpSocketHand ler.ReadAndMatchPreamble()
    at System.Runtime.Remoting.Channels.Tcp.TcpSocketHand ler.ReadVersionAndOperation(UInt16& operation)
    at System.Runtime.Remoting.Channels.Ipc.IpcClientHand ler.ReadHeaders()
    at System.Runtime.Remoting.Channels.Ipc.IpcClientTran sportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
    at System.Runtime.Remoting.Channels.BinaryClientForma tterSink.SyncProcessMessage(IMessage msg)

    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleRe turnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateI nvoke(MessageData& msgData, Int32 type)
    at NShared.Visible.IEPGDataSource.GetDynamicEventList ()
    at NShared.DigitalRecorder.GetDynamicEventList()
    at NShared.EPGManager.UpdateEPG(IEPGUpdateCallback callback)
    2019-04-23 12:09:00.374 [DEBUG][10] Scanning Freq:586000 SID:100000
    57 seconds remaining...

    Any ideas? NPVR is really unstable for me the last few months.
    Attached Files Attached Files

  10. #10
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    89,929
    Quote Originally Posted by robbyp View Post
    58 seconds remaining...
    2019-04-23 12:09:00.374 [ERROR][10] Unexpected error getting dynamic event list: System.Runtime.Remoting.RemotingException: Failed to read from an IPC Port: The pipe has been ended.
    It looks like it encountered some issue extracting listing from one of your DVB frequencies.

    Do you have a c:\temp\crash.mdmp file?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •