MP drops frames on secondary display (MPC-HC does not)

Discussion in 'watch/edit Videos' started by mpurtone, September 22, 2013.

  1. mpurtone

    mpurtone Portal User

    Joined:
    September 16, 2007
    Messages:
    6
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Finland Finland
    Show System Specs
    Hi,

    The problem in short: At some point during playback, render time starts to grow and when it reaches a certain point, MediaPortal drops dozens of frames. After this the playback is fine for a while until the same happens again. This only seems to happen if I run MediaPortal on the secondary display (in my case the TV). I do not see any significant spikes in CPU or GPU usage during the frame drops. The problem does not appear to be frame rate or refresh rate dependent as it occurs with a variety of different material. I have also experimented with the dynamic refresh rate control but it made no difference.

    As a reference, I configured MPC-HC to use the same filters and decoders (Haali Media Splitter, ffdshow, AC3Filter, EVR custom presenter). It played back the same files full screen on the secondary display with basically no problems (a couple of frames were dropped at the beginning of playback). This makes me wonder, what exactly is the difference between the EVR implementations of MP and MPC-HC...



    The two sample video files I used while taking the logs can be found here:
    http://hfrmovies.com/avatar_60.mkv
    http://ge.tt/6Esr9oG/v/0?c

    Thanks in advance for your assistance.

    Mikko
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mpurtone

    mpurtone Portal User

    Joined:
    September 16, 2007
    Messages:
    6
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Finland Finland
    Show System Specs
    Anyone care to comment?
    Please let me know if you need more information or some additional tests.

    Mikko
     
  4. mpurtone

    mpurtone Portal User

    Joined:
    September 16, 2007
    Messages:
    6
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Finland Finland
    Show System Specs
    I did some further testing...
    The original test was done with my monitor as primary and TV as secondary display with MP on the secondary display. Both displays had their refresh rate set at 60Hz but naturally there are some minor differences between the real refresh rates.

    I switched the displays from control panel so that now the TV was primary and monitor secondary. MP was again on the secondary display (i.e. the monitor this time) and both displays were set at 60Hz. Now the avatar clip played almost without dropped frames but the render time did jump from ~2ms to ~14ms somewhere around midway of playback.

    I then changed the primary display (TV) refresh rate to 50Hz and ran the test again (with MP still on the secondary display i.e. the monitor which was still at 60Hz). This time MP was constantly dropping huge amounts of frames. For reference I ran the same test with MPC-HC and again it played back the clip with just a couple of frames dropped at the beginning.

    All this would indicate that MediaPortal is always synchronizing playback with the primary display refresh rate, even if it is running on the secondary display.

    Mikko
     
  5. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,537
    Likes Received:
    2,829
    Location:
    Cambridge
    Ratings:
    +4,131 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
  6. kiwijunglist
    • Team MediaPortal

    kiwijunglist Super Moderator

    Joined:
    June 10, 2008
    Messages:
    6,742
    Likes Received:
    1,417
    Occupation:
    Doctor
    Location:
    New Zealand
    Ratings:
    +1,846 / 9
    Home Country:
    New Zealand New Zealand
    Show System Specs
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!