[WiP] madVR support in MP1 (18 Viewers)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,514
    10,467
    France
    Home Country
    France France
    Problem:
    1. MadVR displays fullscreen video in a window with a title bar and border.
    2. Need to alt+tab after starting video to watch the video.
    Been using madvr with mpc-hc as external player for sometime. Thought i'd try the new internal madvr renderer. I get a black screen. Video starts but I have to alt+tab to get to it. The video fullscreen size but is windowed, see attached I'm guessing the problem is one of the renderering settings is not compatible with MP. BTW I use Win10 and I don't use any refreshrate change. Running the standard version of MP 1.6 Final with no modifications, recently upgraded from 1.5 Final version.

    You can see in the 2nd video that MP is running 2x windows,


    View attachment 189228

    View attachment 189229

    This is me pressing alt+enter to show it's not an alt+enter fullscreen issue.

    View attachment 189230

    And of course full debug watchlog log is always good to have :p (first option to avoid incompatibility with some plugins) :p
     

    biship

    Portal Pro
    June 14, 2008
    98
    39
    I see a 10-15ms larger rendering time from MediaPortal than when using PotPlayer & Madvr. Anyone else seen this?

    Also, what is the "Use internal refresh rate" option?
     
    Last edited:

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,925
    5,723
    France - IDF
    Home Country
    France France
    Hello biship, i don't know nothing about the delay ,
    But the option internal refresh rate, mean than the refresh is done by MP itself, and not by madvr.

    Envoyé de mon D5803 en utilisant Tapatalk
     

    biship

    Portal Pro
    June 14, 2008
    98
    39
    Hello biship, i don't know nothing about the delay ,
    But the option internal refresh rate, mean than the refresh is done by MP itself, and not by madvr.

    Envoyé de mon D5803 en utilisant Tapatalk

    Ah ok, so either:
    Disable refresh rate switcher in MP, and disable Internal Refresh rate (let Madvr switch)
    Enable refresh rate switcher in MP, and enable Internal Refresh rate (Let MP set the rate for Madvr)

    Is there an advantage to either option?
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,925
    5,723
    France - IDF
    Home Country
    France France
    Yep, it's exactly the normal behavior, i think this option was included for solve issue on refresh rate not set by madvr, perso i use madvr refresh rate for video, and EVR for live tv.
    The best, you need to test by yourself with your hardware.
    Good luck

    Envoyé de mon D5803 en utilisant Tapatalk
     

    biship

    Portal Pro
    June 14, 2008
    98
    39
    Ok thanks, I'll test them out.

    For some reason, even when playing 1080p content that requires no upscaling or processing, my rending time in MP is 40ms.
    In Potplayer it is 10ms.

    For 720->1080, in MP render time is 85ms, regardless of upscaling type or other post processing, DIVX, NGU (low med high or VH).
    In Potplayer is it 20-40ms for those various settings... much much faster.

    I've tried so many madvr general settings (window mode, dx11 etc) and it makes no difference.

    I just can't work out why MP->Madvr adds 40ms to 75+ms, which is so slow the render queue is almost always zero.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,514
    10,467
    France
    Home Country
    France France
    It's surely because of OSD stuff rendering :( and i fear that it can be not done better or maybe with different GPU but not sure, can you post screenshot between MP and PotPlayer ?
     

    biship

    Portal Pro
    June 14, 2008
    98
    39
    I have a Core i7-6850K & Nvidia 1050 Ti - so plenty of processing power.

    720->1080
    PotPlayer -> Madvr
    2017-05-01 (1).png


    Media Portal w/MadVR:
    No idea why it's so bad. I get around 80ms regardless of any scaling options. Even if using DXVA.
    The only difference from MP is the deinterlacing text.
    2017-05-01.png
     

    daWooky

    MP Donator
  • Premium Supporter
  • April 3, 2012
    783
    871
    Home Country
    Germany Germany
    i'm afraid pot will always be a bit faster, but you have such a huge difference, they should differ only around 1-2 ms see..
    mepo:
    Screenshot (267).png Screenshot (166).png Screenshot (226).png

    pot:
    Screenshot (262).png Screenshot (165).png Screenshot (169).png


    @Sebastiii
    final 1.16 runs pretty great here, the only thing i miss is the new mediainfo.dll:p
    i dont need it anyway but the drc evr mepo users may...but evr mode also seems nice and stable(y)(y)(y)

    greetings
     

    Users who are viewing this thread

    Top Bottom