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

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    you can try
    MP config general increase process priority. and enable smooth video in ccc

    if still problem

    lav ; dxva none , software deinterlace
    ccc ; deinterlace never.

    if still problem disable all image enhancement in ccc

    if still problem use different codec suggest either ffdshow non dxva or coreavc . it's important that you enable software deinterlace[DOUBLEPOST=1372114210][/DOUBLEPOST]another way to force software deinterlace is to change MP render to vmr 9
     
    Last edited:

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Multi-display setups are something that I don't know a lot about, but I know enough to know that it can be problematic. For the benefit of those reading this thread (including me :)), could the experts specify exactly what the difference is from a GPU, driver, Windows, MP, DXVA, <whatever> perspective. This information could be collected into the wiki.

    I'll kick it off (and I could be completely wrong here :p)...
    I think I've read that DXVA can't be applied on non-primary displays.
    I think I've also read that there are limitations with regard to refresh rates, but I don't recall the exact details.

    [edit: suppose I should tag @Owlsroost @Scythe42 @tourettes ]
     
    Last edited:

    Zuzler

    Portal Pro
    May 18, 2010
    88
    11
    Home Country
    Germany Germany
    I... I think that did it. Setting MPs priority to "above normal" got rid of the drops. All of them.
    Will report back tomorrow after I've watched a good amount of TV!

    edit: Just a small "pulse" of the red line is visible now on movies (liveTV is a straight line now!), I suppose that's a different story, is it? Maybe it was visible before already, I honestly can't remember. Does not cause lag or drops in any way. The two dropped frames here result of skipping to a random scene.

    movies.png
     
    Last edited:

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    If you are running 1.4.0, try enabling DWM 'queued mode' support for dshowhelper - see the top of this post - https://forum.team-mediaportal.com/threads/mp-1-3-x-dshowhelper-development.113014/#post-921629 - for info on the registry settings.

    I suggest using settings:

    EnableDWMQueuedMode = 1
    NumDWMBuffers = 4

    Multi-monitor setups can be difficult-to-impossible to get smooth video playback on - as a minimum you should run all the monitors at the same refresh rate, have the TV as the primary display, and start up MP on that display.

    Tony
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    I... I think that did it. Setting MPs priority to "above normal" got rid of the drops. All of them.
    Will report back tomorrow after I've watched a good amount of TV!

    edit: Just a small "pulse" of the red line is visible now on movies (liveTV is a straight line now!), I suppose that's a different story, is it? Maybe it was visible before already, I honestly can't remember. Does not cause lag or drops in any way. The two dropped frames here result of skipping to a random scene.

    View attachment 131444


    I think the red line moving is because video is 23.976fps and display is 50 hz . so they periodically have to catch up to each other. if your tv was 24hz while playing back the movie the red line would be more stable .

    sounds like you amight be re stuck in software mode for video decoding .if you are, the least CPU intensive codec for deinterlacing used to be coreavc . not sure if it is still the best. ...
     
    Last edited:

    Zuzler

    Portal Pro
    May 18, 2010
    88
    11
    Home Country
    Germany Germany
    Disregard what I said about elevating process priority.
    Apparently playback remains smooth as long as I don't tab away from MP or click at another running application (like the web browser).
    It immediately starts dropping frames when doing so. And also remains when putting MP back to the active state.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    disable drr. try other suggestions earlier. MP is not designed for multi monitor so maybe impossible and not in focus at same time. also use vsync with triple buffer under 3d settings in CCC.
     
    Last edited:

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hmmm... another useless 2 cents from me... :)
    I know the CPU you're using is really powerful, but I've seen reports decoding h.264 decoding on the CPU with CPU power saving features enabled can cause micro-stutters when the CPU steps up/down. Maybe a myth, or maybe not relevant here due to the regular pattern?
     

    Zuzler

    Portal Pro
    May 18, 2010
    88
    11
    Home Country
    Germany Germany
    Ok, disabled DRR again, DXVA back on native. It seems to work with elevated process priority as long as I don't tab out of MP.
    Doesn't work every time, but still the closest I've ever gotten to drop free live TV.

    I'll wait until I.F.C. gets fixed for 1.4.0, maybe the plugin (even if disabled) does something to MP... Any thoughts?
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    I would trouble shoot with single primary multitasking then expand to multi monitor, need to establish whether dxva is working as optimised approach for non dxva is different. as per all above post .trouble shoot with recorded TV first to eliminate TV server related (unlikely )issues . make system as simple as possible then expand complexity . ifc if disabled is not the problem. if non dxva have to eliminate CPU throttling as suggested by mm.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom