[SOLVED] LiveTV "micro lags" (1 Viewer)

Zuzler

Portal Pro
May 18, 2010
88
11
Home Country
Germany Germany
EDIT: PROBLEM SOLVED. SEE MY POST HERE:
https://forum.team-mediaportal.com/threads/livetv-micro-lags.119933/page-3#post-1007992

--- ORIGINAL POST BELOW ---

Whenever I watch TV, playback is smooth first but soon starts to lag or stutter a bit. Expecially noticeable on the scrolling news text on the bottom. After a few seconds it's smooth again, and the cycle starts over again.

1.png
Here everything is normal. The picture is smooth and the text also scrolls smoothly.

2.png
Here, it starts to stutter. When the red (or basically all) lines are jagged, a huge amount of frames gets dropped. Audio seems to be out of sync after the first stutter as well.

Furthermore, the whole frame starts to twitch up and down by one line, I suppose it's the half frames getting dropped? It's only TV, no videos on my HDD show this behavior.

Hopefully some of you can help me out, I have no clue whether it's my setup of filters, the drivers or something else.
 
Last edited:

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    dropped frames. I suspect not using hardware accelerationand a background process is stealing CPU time . also you will get a better picture at 50hz refresh rate, although that is not cause of your problem. please provide system spec and screenshot of lav codex settings
     

    Zuzler

    Portal Pro
    May 18, 2010
    88
    11
    Home Country
    Germany Germany
    Here you go:

    LAV Settings
    lav.png

    My TV is already set to 50hz
    monitor.png

    System Specs:
    Intel Xeon E31240
    16GB RAM on a Samsung SSD with 128GB
    Gigabyte Radeon HD7870
    Hauppauge WinTV Nova HD-S2
    Gigabyte GA-H77-D3H

    Antivirus is NOD32v6, here's what's excluded from scanning:
    exclusions.png

    As I mentioned: It's only LiveTV. As soon as I watch timeshift or a movie stored on a hard drive, everything runs as smooth as it gets.
     
    Last edited:

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    try following in order

    use native instead of copy back.

    trial disable antivirus .

    trial using the micro soft audio codecodec instead of ac3

    google graph studio direct show download standalone32but version. run mp in window mode, watch TV, run graph, connect remote graph, post screenshot.

    run no window mode, task manager or performance manager sort process order by CPU usage, watch for Spike during stutter

    apologies spelling I'm typing in Swype[DOUBLEPOST=1372012193][/DOUBLEPOST]also are you running multiple monitors in which case this may break hardware acceleration, may need to disable dxva , not sure how solid dxva support is for multi monitor and 1440p
     
    Last edited:

    Zuzler

    Portal Pro
    May 18, 2010
    88
    11
    Home Country
    Germany Germany
    - Native: same problem, actually I was on native before and tried copy-back with your guide.
    - Antivirus off: no change
    - Microsoft DTV decoder: no change
    - No apparent spikes or CPU load changes in Task Manager

    I couldn't get the "connect to remote graph" to list MP, I just got a blank entry. Even after following this guide http://wiki.team-mediaportal.com/1_...Testing_and_Bug_Reports/Graph_Debugging_Tools
    How do I connect it to MP? I tried Graphstudio, Graphstudionext and also Graphedit

    See post below!

    edit: checking DXVA off, will report here soon

    - DXVA totally off: no change
    I do have a three-monitor setup, but MP runs on the 720p TV. So that shouldn't be a biggie, right?
     
    Last edited:

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Graph looks fine. (I wanted to test no other codecs were getting in the way)

    It maybe the 3 monitor setup, but if it was I would expect playback to be continuously shitty not intermittently shitty.

    How long is the tv smooth before it starts dropping frames?

    Try disable refresh rate changer and retry, I have heard of problems with DRR changer + multimonitor. The fact that your TV is running at 50hz yet MP has 60hz listed is strange. Try set TV to same Hz as your desktop (as a test).
     
    Last edited:

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    1. When skipping occurs, if you skip backwards 30 seconds and replay does the skipping still occur?
    2. Are you able to test if there is any difference playing on the primary screen?
    3. Does this only occur with specific channels?
    4. What's happening with CPU and disk utilisation when playing TV?

    It does look like a client side issue...

    PS: I'd stick with AC3Filter or LAV. MS DTV-DVD audio is not allowed to decode certain audio formats outside WMC.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    2. Are you able to test if there is any difference playing on the primary screen?

    I think this is most important.

    I said earlier that it might be external process stealing cpu time, but I think I was mistaken. He tested with performance monitor earlier and didn't see any increased activity associated with the stutter.

    If you look at the graph it has a regular pattern (Looks like Ventricular Tachycardia :) ), it is not the irregular pattern you see when an external process is stealing CPU/Disk/GPU time from MePo. I think the problem relates to multi-monitor/DRR. Need to disable all other displays, set TV as primary display, set primary display to 50hz, disable DRR, post screenshot again if micro stutter occurs.
     
    Last edited:

    Zuzler

    Portal Pro
    May 18, 2010
    88
    11
    Home Country
    Germany Germany
    @mm1352000:
    1. Yes, also dropping frames then.
    2. Yes, a huge difference, I've tried playing on the primary in fullscreen and window mode. No dropping then.
    3. No, on all channels
    4. Basically no change, at least nothing obvious going on in the Task Manager.

    Timeshift is using my C drive, which is an SSD and has 30GB free space
    The dropping takes 5seconds, followed by 2seconds of clean playback. Then the cycle starts all over.

    If I set the TV to 60hz, it switches back to 50hz automatically when starting to watch TV.

    @kiwijunglist:
    The stutterfree part is 4-10 seconds, varies a bit each time.

    Disabled Dynamic Refresh Rate Changer:
    No change in behaviour.

    Disabled DRR + TV as primary:
    Got better. As soon as I click at another application (web broweser, ATI CCC etc) dropping starts. When I select MP again dropping stops after ~1sec.

    ---

    So it's working on the primary screen, but not on extended ones. And also only affects LiveTV.

    Well, I cannot have the TV as primary as a solution to that. So we have to find a workaround/fix for that.
    Any ideas?
     
    Last edited:

    Users who are viewing this thread

    Top Bottom