Live TV Stutter since Win 10 upgrade (2 Viewers)

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    I agree - this is painful.

    For me it's quite difficult to continue to offer advice for two reasons. The first reason is that I have no idea what's wrong; the second is that I don't have direct access to your environment, so it's much harder and slower to search for the clues and patterns that should lead to a solution.

    Please can you open Resource Monitor, reproduce the problem, wait for 30 seconds (or until the graphs fill), then provide screenshots of the CPU, memory, disk and network tabs in Resource Monitor. Please sort the processes and services by usage from most to least (ie. for the CPU tab, click on the CPU column) so that I can clearly see the top consumers. Please also make the window as large as possible so that I can see as many processes and services as possible.

    Second, please use LatencyMon to check the DPC/ISR latency on the system. In theory if the hardware and driver versions are truly identical to the other clients then LatencyMon shouldn't show a problem. However all assumptions need to be tested. If LatencyMon does identify a problem, please grab screenshots of each of the sections. Again, please make the window as large as possible, and where relevant apply sorting (eg. in the drivers section, sort by highest execution).
     

    Bernie_W

    Portal Member
    May 16, 2016
    26
    6
    Home Country
    Germany Germany
    Hi Groovemaze,

    sorry to hear that this didn't work for you. But as MM said, there are so many dependencies, so it was only one try out of so many. For me only a old VISTA driver made the difference, the latest ones caused stuttering.
    Actually I also remember now, that I had issues with my system when I had the supporting software for my SSD installed. Mine is a sandisk and this ssd dashboard caused plenty of problems. Not directly related to MP, but i caused my whole system sound to stutter. I read a couple of posts that uninstalling this SW - of course assuming you have an SSD - improved a lot as well.

    Sorry if this sounds like nonsense, I only remembered my problems with this SW as well.
     

    Groovemaize

    Portal Pro
    November 14, 2013
    53
    10
    Home Country
    United Kingdom United Kingdom
    Thanks for the continued input guys, please see attached screen shots for the first stage MM, working on the rest next...
     

    Attachments

    • Capture1.JPG
      Capture1.JPG
      281.5 KB
    • Capture2.JPG
      Capture2.JPG
      280.9 KB
    • CPU..JPG
      CPU..JPG
      284.2 KB
    • Disk.JPG
      Disk.JPG
      144.1 KB
    • Memory.JPG
      Memory.JPG
      235.1 KB
    • Network.JPG
      Network.JPG
      249.3 KB

    Groovemaize

    Portal Pro
    November 14, 2013
    53
    10
    Home Country
    United Kingdom United Kingdom
    Ok MM I've used the Latency Mon app and I think you are getting closer at it has identified issues. Its my first time looking at this so please forgive if I'm slightly naive but is appears that the driver for the network card is giving the biggest issues. I'm slightly confused as it was fully updated recently and manually. There are also other issues so I'll await your prognosis before diving in head first! Please see attached screen shots...
     

    Attachments

    • Latency Mon Drivers.JPG
      Latency Mon Drivers.JPG
      219 KB
    • Latency Mon CPUs.JPG
      Latency Mon CPUs.JPG
      73.9 KB
    • Latency Mon Main.JPG
      Latency Mon Main.JPG
      218.8 KB
    • Latency Mon Processes 1.JPG
      Latency Mon Processes 1.JPG
      225.6 KB
    • Latency Mon Processes 2.JPG
      Latency Mon Processes 2.JPG
      245.8 KB
    • Latency Mon Stats.JPG
      Latency Mon Stats.JPG
      168.5 KB

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    First, thank you for your patience and for collecting all that data - it's much appreciated. (y)

    If you're slightly confused, I'm very confused! :)
    Like I said in my previous reply, LatencyMon was intended to be a way to test the validity of the assumption that hardware, BIOS and drivers are identical. Anyhow, let's dive into the results.

    Starting with the task manager results...
    Memory and network look fine. Disk is a little more bursty than I'd have expected, but not greatly concerning. However my problem radar was well and truly going off the moment I saw the "system" process using so much CPU. I don't think that's normal at all.

    Coming to the LatencyMon results...
    Given the details in the "drivers" section, it certainly does appear like there's a network-related issue. When analysing I look first to the "highest execution" column. For a well behaving driver, that value shouldn't be over 500 us. nds.sys - part of the Windows networking stack - has definitely exceeded that... but then so has the NVidia GPU driver.

    Based on the DPC count and total execution time we can calculate an average DPC execution time. nvlddmdkm.sys comes out at ~0.03 ms, whereas nds.sys comes out with ~0.07 ms. Given that result and the fact that the nds.sys DPC count is more than 6 times the nvlddmkm.sys count (which implies it has a much higher influence overall), the natural conclusion would be that first priority should be looking at the NIC driver. That's not to say that the GPU driver is okay.

    Side-note for just a moment...
    The hard page-fault resolution time from the "main" section stands out like a sore thumb. I have to confess that I'm not exactly sure what it means, and I've never seen anything like that before. LatencyMon manual gives a little guidance:
    http://www.resplendence.com/latencymon_using

    Based on that, I'd suggest to focus on the DPC latency issues for now.
    ...though I did wonder whether your SSD might need a trim?
    According to your older log files you only had 13.6 GB free.

    Back to network-related stuff...
    Looking back at your older log files it appears like you have 2 NICs:
    Name: Realtek PCIe GBE Family Controller
    Device ID: PCI\VEN_10EC&DEV_8168&SUBSYS_816819DA&REV_07\4&314741E0&0&00E0
    Driver: n/a

    Name: Intel(R) Centrino(R) Wireless-N 2230
    Device ID: PCI\VEN_8086&DEV_0887&SUBSYS_40628086&REV_C4\4&3919A947&0&00E3
    Driver: n/a

    Do you use both NICs?
    If no, please disable the one you don't use. That alone can make a difference. Hopefully you don't use the WiFi one. WiFi drivers are notorious for causing problems.

    Which driver versions do you have for each NIC?
    Where did you get the drivers from?

    (Please answer for all your clients.)
    Normally I'd recommend to get the latest drivers direct from Realtek and Intel rather than using Microsoft Update or mobo/system vendor (ie. Zotac in your case) drivers. However in some cases the latest driver is actually not the best... and/or the driver from the mobo/system vendor can perform better.
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,335
    Home Country
    Germany Germany
    truly going off the moment I saw the "system" process using so much CPU. I don't think that's normal at all.
    A permanent system load of 20%+ is not normal at all. Something is happening in the background. This additional load can well explain the observed effects.

    Besides running a driverscan "(sfc /scannow) from an administrative command window, a look at some discussions around fixing NT kernel CPU and RAM usage issues might be helpful. For example at: http://www.ibtimes.co.uk/windows-10-how-fix-system-ntoskrnl-exe-memory-leak-high-cpu-usage-1514316
     

    Groovemaize

    Portal Pro
    November 14, 2013
    53
    10
    Home Country
    United Kingdom United Kingdom
    Have completed most of these things now, the nic drivers were the same across all clients (latest from intel). The graphics drivers on the problem client were the latest but I went back 3 releases to make them the same as the other clients. I have completed the suggestion in ibtimes from HTPCSourcer although not run sfc scan yet. I have cleaned up the drive and have about 30Gb (50%) free, and switched off the wifi adapter. There appears to be some improvement where streaming lasts about 15 mins before stuttering starts now. I noticed that recorded files suffer the same although other formats including mp4, avi and mkv play fine throughout. Should i be considering alternative graphics drivers other than LAV?
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,335
    Home Country
    Germany Germany
    Should i be considering alternative graphics drivers other than LAV?
    I don't believe that the codecs are to be blamed. Unless it's the system, which is overheating, which would be a consequence of LAV not using hardware decoding. You should be able to see this when checking the total CPU load. Does this change when you start observing stutteringh?

    There appears to be some improvement where streaming lasts about 15 mins before stuttering starts now. I noticed that recorded files suffer the same although other formats including mp4, avi and mkv play fine throughout
    Live TV is displayed through RTSP while video and music files are being played via a different mode, which is not time-critical.

    There appears to be some improvement where streaming lasts about 15 mins before stuttering starts now
    This makes me think about third party software. Did you exclude the MP directories from being scanned by Defender? Make also sure that the timeshift and recording paths are added to the list of exclusions.
     

    Groovemaize

    Portal Pro
    November 14, 2013
    53
    10
    Home Country
    United Kingdom United Kingdom
    Hi HTPCSourcer, cpu load does increase when stuttering starts, yes i excluded the MP directories in defender.
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,335
    Home Country
    Germany Germany
    cpu load does increase when stuttering starts
    It's rather the opposite: stuttering starts because CPU load is increasing.

    I think that we are narrowing the issue down here: Some process must be running on your machine, which, when launched, leads to increased CPU load. You could use the task manager to try to identify the programme. Alterantively have a look at Process Explorer (Microsoft Sysinternals), which allows you to continuesly log information about all process running. However, it's going to produce tons of logs.

    The one thing that you could also try is to see if there is any scheduled task that starts at the time of stuttering. Windows 10 has a multitude of tasks scheduled, some of them can be legacy from he previous WIndows version that you updated from (unless you made a frsh install of Windows 10).
     

    Users who are viewing this thread

    Similar threads

    Just did an update of my system from Win 7 / MP 1.25 to Win 10 / MP 1.31 on a single seat system and came across a problem with the tv server startup being erratic. Approx 50% of the time on PC reboot from scratch the tv server process was showing "starting" but would never start and consequently neither would MP or MP Server Config...
    Just did an update of my system from Win 7 / MP 1.25 to Win 10 / MP 1.31 on a single seat system and came across a problem with the...
    Just did an update of my system from Win 7 / MP 1.25 to Win 10 / MP 1.31 on a single seat system and came across a problem with the...
    Replies
    0
    Views
    732
    It's working after some hours search: the Auto3D plugin which I haven't used for years was corrupting the start of the TV live stream from server to MP. If anyone has a similar problem - disable all old plugins and then enable one after another :-)
    It's working after some hours search: the Auto3D plugin which I haven't used for years was corrupting the start of the TV live...
    After using MP for more than 10 years with regularly updates - this is the first time that after an update MP is not working...
    Replies
    3
    Views
    1K
    I had the same issue and found the executable under C:\ProgramData\Team MediaPortal\MediaPortal\skin\Titan\BasicHome.Editor\TitanEditor.exe Only the shortcut was missing.
    I had the same issue and found the executable under C:\ProgramData\Team...
    Hi all, Not a rant, more a sharing of experience (maybe hoping to get some clarification on which wrong turn I took) It has been...
    Replies
    9
    Views
    1K
    Hi, you can try the new installer from this post if you like.
    Hi, you can try the new installer from this post if you like.
    Hello, I came from MediaPortal 1.30 and wanted to Update on 1.32 x64 Edition. I cleanly uninstalled 1.30 first and then installed...
    Replies
    7
    Views
    796
    I have recently updated from MP 1.30 to 1.31 on a Win 11 PC slightly different to your software set up but given Win 10 is still supported I doubt there are many major differences regarding the ".NET Runtime Optimization Service". On my setup I am not seeing any significant CPU usuage MP takes around 3% and the TV Service is...
    I have recently updated from MP 1.30 to 1.31 on a Win 11 PC slightly different to your software set up but given Win 10 is still...
    Hi, I have a single seat setup with MP 1.31 on a Win10 machine. Since the last automated Windows update the TV-Service produces a...
    Replies
    7
    Views
    1K
    Top Bottom