[WiP] madVR support in MP1 (54 Viewers)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,523
    10,466
    France
    Home Country
    France France
    Ok i will surely need your input there :)
    Maybe talking on IRC this evening ? lol

    It's possible that we run into a deadlock, i'm really not good in thread code way so need help for sure :)
     

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    So after a bit more testing and searching i am able to reproduce the black screen on MPC-HC aswell, this got me searching for bug reports and i eventually found this one, it seems latest Crimson drivers are breaking "DX9 windowed present in advance" in madVR and it is a known issue.

    This explains why i never noticed the issue on my main HTPC, i was always running Catalyst there :)

    The solution for now is either running madVR in Direct3D 11 mode or disabling the "present several frames in advance" option in windowed mode settings.
     

    joecrow

    Test Group
  • Team MediaPortal
  • August 9, 2012
    2,721
    2,074
    Home Country
    Germany Germany
    v229
    TV, SD&HD vids, 3D and OLVs all seem to play OK with the GTX 1050Ti:)(y). It was just a quick check though as 2 of my plugins (TuneIn and Show Times) are not compatible yet with this version and I will definetly neeed TuneIn at least later.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,523
    10,466
    France
    Home Country
    France France
    tried v226, fullscreen on start seems fixed and in general it runs even more smoothly in comparison to the previous ones. (y)(y)
    only the toggle between fullscreen and windowed still seems busted somehow.
    did some better screens (without a black pic on desk^^) and one with mphc as sanity check :D

    Hi :)

    I have tested something for this bug :)
    So in current madVR version, going to video fullscreen to windowed on HD channel most of the time didn't always work so i have introduce something that trigger resolution change but trigger also another issue based on your finding, so i have try something else (attached dll).
    Can you test ? (this bin is to be copied on top of based V230).

    @HomeY need to talk about testing it (the original issue fullscreen to windowed on HD channel) :p
     

    Attachments

    • Core_WIP_V231.zip
      2.6 MB

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,332
    1,009
    Home Country
    Netherlands Netherlands
    Working great so far with V230 (y), only thing I noticed is that odd refresh rate changer bug while Mediaportal is on secondary screen:

    - Setup MadVR refresh rate changer* and disable Mediaportal's internal one

    Mad_AR.PNG


    * also tried when playback starts / stop in those settings with same results

    - Now start Mediaportal on the secondary screen (non-primary), first (primary) is LCD panel 3440x1440@100Hz while second is TV 1080P@60Hz which Mediaportal will use.
    - Start 24P video, will switch to refresh rate correctly.
    - Now stop video and will notice it will remain at 24P and not switch back to the previous 60Hz
    - Only way to get it back is to close Mediaportal, so at this point MadVR renderer detects a leaving fullscreen or player closed state.

    When doing the same with just 1 screen it works fine so what happens is that MadVR is somehow isn't getting a signal back if it isn't running on primary screen.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,523
    10,466
    France
    Home Country
    France France
    Thanks ;) and we are agree that after a stop, there is no more instance of Mediaportal detected (right click on madVR icon in systray)

    upload_2016-11-18_13-38-38.png


    If mediaportal stay here, it means that madVR filter is not properly release and it will create GPU memory leak etc. lol
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,332
    1,009
    Home Country
    Netherlands Netherlands
    Thanks ;) and we are agree that after a stop, there is no more instance of Mediaportal detected (right click on madVR icon in systray)

    Yep no Mediaportal instance in MadVR tray after stop so properly released :)

    We could could ask Madshi for feedback as one would expect if released it should revert the resolution, since it only happens on secondary screen it might just be a bug on MadVR end however can't duplicate with other players so far.
     

    Users who are viewing this thread

    Top Bottom