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 … 5 6 7 8 9 101 Next »
No standby after update to Version 7

 
  • 0 Vote(s) - 0 Average
No standby after update to Version 7
Escape7
Offline

Member

Germany
Posts: 201
Threads: 17
Joined: Feb 2020
#131
2024-12-21, 06:02 AM
Hello sub and Martin.

I changed the devicehostwindows.exe back to the original one. The other files are still updated.

This morning: EPG did run, PC was standby.

Logs attached. I had this behavior previously. With the updated nshared.dll standby worked.

@Martin -> How messy do the tuners look with the original devicehost?

Peter


Attached Files
.zip   logs-20241221-0659.zip (Size: 1.32 MB / Downloads: 1)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,972
Threads: 956
Joined: May 2006
#132
2024-12-21, 02:28 PM
The closing is fine after a recording or EPG update. I don't understand the sync issue since I don't know the code just the logs, but on each frequency tune there is a brief time that DeviceHostWindows is reading from two frequencies, whether that is physical or just data buffers I am not sure.

Where I have seen the big problem (not in your recent logs) is if the first stream doesn't send data the tuner gets disconnected but then the second thread tries to read from the closed tuner. When it

Code:
2024-12-21 03:01:36.424    [DEBUG][4]    StartStream(): \\.\pipe\NPVR_fee27e2a-e912-43fa-81ed-97573d726d6a:pids=18
...
2024-12-21 03:01:36.785    [DEBUG][4]    pipe client connected (NPVR_fee27e2a-e912-43fa-81ed-97573d726d6a)
2024-12-21 03:01:37.271    [DEBUG][4]    Processed 83848 bytes
2024-12-21 03:02:37.868    [DEBUG][4]    Previous line repeated 1197 times
...
2024-12-21 03:02:37.898    [DEBUG][5]    StartStream(): \\.\pipe\NPVR_145fb6fc-da4e-4851-8a58-92a630379deb:pids=18
...
2024-12-21 03:02:38.153    [DEBUG][5]    pipe client connected (NPVR_145fb6fc-da4e-4851-8a58-92a630379deb)
2024-12-21 03:02:38.216    [DEBUG][4]    Processed 83848 bytes
2024-12-21 03:02:38.415    [DEBUG][5]    Processed 83848 bytes
2024-12-21 03:02:38.433    [DEBUG][4]    Processed 83848 bytes
2024-12-21 03:02:38.614    [DEBUG][5]    Processed 83848 bytes
2024-12-21 03:02:38.632    [DEBUG][4]    Processed 83848 bytes
2024-12-21 03:02:38.704    [DEBUG][5]    Processed 83848 bytes
2024-12-21 03:02:38.794    [DEBUG][5]    Processed 83848 bytes
2024-12-21 03:02:38.830    [DEBUG][4]    Processed 83848 bytes
2024-12-21 03:02:38.867    [DEBUG][5]    Processed 83848 bytes
2024-12-21 03:02:39.030    [DEBUG][5]    Previous line repeated 2 times
2024-12-21 03:02:39.047    [DEBUG][4]    Processed 83848 bytes
2024-12-21 03:02:39.101    [DEBUG][5]    Processed 83848 bytes
2024-12-21 03:02:39.247    [DEBUG][5]    Previous line repeated 2 times
2024-12-21 03:02:39.249    [DEBUG][4]    pipe client disconnected (NPVR_fee27e2a-e912-43fa-81ed-97573d726d6a)

I think this translates to these message on the server though, since the tail of the one thread [49] and the head of the other [36] are both using the same data.

Code:
2024-12-21 03:02:38.216    [ERROR][49]    TS continuity counter indicates missing packets
2024-12-21 03:02:38.415    [ERROR][36]    TS continuity counter indicates missing packets
2024-12-21 03:02:38.433    [ERROR][49]    TS continuity counter indicates missing packets
2024-12-21 03:02:38.614    [ERROR][36]    TS continuity counter indicates missing packets
2024-12-21 03:02:38.704    [ERROR][36]    TS continuity counter indicates missing packets
2024-12-21 03:02:38.831    [ERROR][49]    TS continuity counter indicates missing packets
2024-12-21 03:02:38.867    [ERROR][36]    TS continuity counter indicates missing packets
2024-12-21 03:02:39.063    [DEBUG][49]    DeviceHost stream has stopped

Martin
Escape7
Offline

Member

Germany
Posts: 201
Threads: 17
Joined: Feb 2020
#133
2024-12-21, 05:13 PM
OK, i also dont unterstand what that means.

But just for my head and thinking:

- This all startet, because with v7 there was the problem that standby was prevented after the EPG update.
- sub modded/changed the devicehostwindows.exe to get that problem fixed
- Then we had other things, like EPG detail data getting cut off -> sub changed the nshared.dll + as continued to modify the devicehostwindows.exe
- Problems with bluescreens came up
- From this point on i changed back to the original devicehost -> Bluescreen gone and standby worked
- So the initial standby problem seams to be caused bei the nshared.dll and not from devicehost -> am i getting that right?

- Now we have the newest nahared.dll + newest npvrtsmon.ax + newest devicehostwindows.exe -> Bluescreen because tuners do not get released
- newest nahared.dll + newest npvrtsmon.ax + original devicehostwindows.exe -> Some strange things in the logs, but everythings is working fine -> standby works, EPG works and is not cut of

So the original devicehostwindows.exe is not the problem for standby (i know i repeat) -> Perhaps only the strange logs need to get "cleared" / fixed and the rest of devicehostwindows.exe is absolutly ok?

I am no programmer, but all started with the standby problem, and that was fixed by nshared.dll (in my head).
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,972
Threads: 956
Joined: May 2006
#134
2024-12-21, 05:45 PM
There never was a standby problem. NextPVR doesn't even tell the PC to go to standby but it does tell Windows not to sleep during recordings. That pipe: message in the recording list was the issue, NextPVR was telling Windows it was recording because of a sync error. I am sure that the changes in NShared help but work is needed in DeviceHostWindows too.

The BSOD is related to the sync issue, you just never experienced it others did, so your tuners acts differently. The fact that many of us including sub don't have the sync issue makes it hard to diagnose. EPG detail truncation is not related.

What is clear from your logs is as soon as the graph is not begin used the tuner is closed.

2024-12-21 03:35:34.054 [DEBUG][15] pipe client disconnected (NPVR_87dad01a-41c5-49af-a573-cf8a9dbead63)
2024-12-21 03:35:34.055 [DEBUG][15] About to request async graph stop

I feel the missig piece for sub is ensuring that the tuner doesn't get closed during the entire EPG update for everyone.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,729
Threads: 767
Joined: Nov 2003
#135
2024-12-22, 02:28 AM
I just spent the last couple of hours looking at this, and really couldn't see any sign of an issue here. Everything looked like it was working correctly, so difficult to understand what the problem might be.

I've attached the latest version of the relevant files, which are in the state they'll be in future releases unless we can identify a specific issue. I'd suggest you try these new versions, because other you'll be stuck if you're relying on old versions of files.


Attached Files
.zip   latest.zip (Size: 514.43 KB / Downloads: 10)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,729
Threads: 767
Joined: Nov 2003
#136
2024-12-22, 05:17 AM
If it still has the issue, we might need to try getting you to create a c:\temp directory, and set HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\NPVR\LogTSFlow=1 (DWORD) in the registry, then restart your server. It'll create a c:\temp\mon.txt log file with some more low level logging info.
Escape7
Offline

Member

Germany
Posts: 201
Threads: 17
Joined: Feb 2020
#137
2024-12-22, 08:36 AM
Hello sub. I will start testing right now.

Extra Logging is enabled. Old Loggs cleared.
Escape7
Offline

Member

Germany
Posts: 201
Threads: 17
Joined: Feb 2020
#138
2024-12-22, 10:00 AM
So here are the test results:

As mentioned i updated the 3 files. Cleared old logs. Restarted PC.

- Did an EPG Update -> worked fine
- Did (for testing) recordings. And used KODI for watching a recorded show
- As soon as "Terra X" recording ended -> Bluescreen


Logs attached, i reverted back to the old devicehostwindows.exe -> the 2 other files keep new.


Attached Files Thumbnail(s)
       

.zip   mon.zip (Size: 651.29 KB / Downloads: 2)
.zip   logs-20241222-1053.zip (Size: 738.91 KB / Downloads: 3)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,729
Threads: 767
Joined: Nov 2003
#139
2024-12-22, 06:34 PM
Does your windows event viewer show any details about the BSOD?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,729
Threads: 767
Joined: Nov 2003
#140
2024-12-22, 06:38 PM
I'm kind of running out of options really. I'm not even really sure there is a problem beyond your device.

Have you tried running with 'keep digital devices primed'? This at least avoids the stopping the device, which is the time your machine has issues.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (17): « Previous 1 … 12 13 14 15 16 17 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  EPG not found for some channels - DVB/ATSC (NextPVR version 7) Nimoder 25 1,626 Yesterday, 12:47 AM
Last Post: sub
  EPG not found for some channels via DVB-T2 (version 7) Kotoka 80 5,157 2025-05-17, 12:24 PM
Last Post: Kotoka
  Standby/Sleep During Playback motocrossmann 46 4,414 2025-05-05, 05:40 PM
Last Post: gEd
  Schedulesdirect will not update.. shortputt 8 547 2025-04-11, 07:39 PM
Last Post: BrettB
  Version 7 HDPVR Changes bigstusexy 2 266 2025-02-24, 12:42 AM
Last Post: bigstusexy
  NextPVRServer.exe (Version 7) Preventing Sleep PVR_Convert 4 439 2025-02-18, 07:18 PM
Last Post: mvallevand
  Transcoding Problem Version: 7.0.1.241229 Metroid 1 320 2025-01-25, 12:44 AM
Last Post: mvallevand
  NextPVR version 7 no EPG ManicsMan 27 2,059 2025-01-23, 02:28 PM
Last Post: mvallevand
  Updating NextPVR from a very old version lemmy999 13 1,065 2025-01-04, 06:51 AM
Last Post: sub
  [FIXED!] NPVRSetup.exe fails to install the latest version Pete (NZ) 5 1,078 2024-12-27, 03:08 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