[WiP] madVR support in MP1 (16 Viewers)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Will grab one for you in a mo, I also got the 'looping audio' issue on zap from SD (stereo PCM) to HD (5.1 bitstream) a few times with 124.
    --- Post updated ---
    Ok, I put v124 back on, then performed a full restart. First play worked again! I really don't trust the drivers.. it still failed (no 3d and 50hz) changing film without stopping, I'll check with the 10 second version now that I have 3d. I guess it means any issue and I should restart before continuing. Logs attached for play/change film issue. Is there no event to tie into instead of a delay?

    In log we can see the delay between 2 lines of log, from your log it's :

    Code:
    [2016-07-06 22:11:27,835] [       0] [1310] - MPMadDshow::MadDeinit refCount(2) to release
    [2016-07-06 22:11:31,827] [       0] [1310] - MPMadDshow::MadInit 1
    Another example :
    [2016-07-06 22:11:45,709] [       0] [1310] - MPMadDshow::MadDeinit refCount(2) to release
    [2016-07-06 22:11:53,494] [       0] [1310] - MPMadDshow::MadInit 1

    I will add a new new line to really see it :)

    About the looping audio, i fear it comes from the rebuild graph when audio and/or video event is trigger from TsReader not handled anymore because it trigger the DXVA processing failed.
    I need to look again if we can do differently but didn't find for now lol.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hey :)
    Bot was able to build :)

    Added cleaned up log, so now for ex, the delay can be seen between MadInit 0 and 1.
    Code:
    [2016-07-07 09:28:26,601] [       0] [1e44] - MPMadDshow::MadInit 0
    [2016-07-07 09:28:29,602] [       0] [1e44] - MPMadDshow::MadInit 1
    [2016-07-07 09:28:29,602] [       0] [1e44] - MPMadPresenter::Constructor() - instance 0xc3a8e58
    [2016-07-07 09:28:29,602] [       0] [1e44] - MadSubtitleProxy::Constructor() - instance 0x1688f2f8
    [2016-07-07 09:28:29,693] [       0] [1e44] - MPMadDshow::MadInit 2
    [2016-07-07 09:28:29,693] [       0] [1e44] - MPMadDshow::MadInit 3
    [2016-07-07 09:28:30,595] [       0] [6658] - MadSubtitleProxy::SetDevice() device : 0x:16e64ea0
    [2016-07-07 09:28:30,826] [       0] [6658] - MadSubtitleProxy::SetDevice() device : 0x:0
    [2016-07-07 09:28:31,040] [       0] [55e4] - MadSubtitleProxy::SetDevice() device : 0x:30254120
    [2016-07-07 09:28:31,111] [       0] [55e4] - MadSubtitleProxy::Render() SetNewDevice for D3D and subtitle : 0x:30254120
    [2016-07-07 09:28:31,112] [       0] [55e4] - MPMadPresenter::OsdSetRenderCallback
    [2016-07-07 09:28:31,112] [       0] [55e4] - MPMadPresenter::SetDevice() pD3DDev : 0x:30254120
    [2016-07-07 09:28:32,775] [       0] [1e44] - MPMadDshow::MadDeinit shutdown start
    [2016-07-07 09:28:32,775] [       0] [1e44] - MadSubtitleProxy::SetDevice() device : 0x:0
    [2016-07-07 09:28:32,775] [       0] [1e44] - MadSubtitleProxy::Destructor() - instance 0x1688f2f8
    [2016-07-07 09:28:32,787] [       0] [1e44] - MPMadPresenter::SetDevice() pD3DDev : 0x:0
    [2016-07-07 09:28:32,787] [       0] [1e44] - MPMadPresenter::Destructor() - instance 0xc3a8e58
    [2016-07-07 09:28:32,787] [       0] [1e44] - MPMadDshow::MadDeinit reference counter to be released : (2)
    [2016-07-07 09:28:32,787] [       0] [1e44] - MPMadDshow::MadDeinit shutdown done
     
    Last edited:

    alexdepalma

    MP Donator
  • Premium Supporter
  • January 31, 2008
    541
    493
    Home Country
    Spain Spain
    3D Test on v124 and Intel HD4000

    MadVr detection perfect and 3D playback perfect on LAV intel Quicksync and DXVA (Native)
    Regarless of Madvr General setting (windowed, exclusive...) ALWAYS work


    On Lav Copy-back may fail 3D activation and may get blank screen but with Madvr Status (Ctrol J) in view and audio OK.

    So INTEL HD4000 is almost perfect but cant almost apply any filtering or image improvements in madvr.

    One important thing also, I can play 3D MVC videos one after the other WITHOUT waiting for madvr 3D mode release. it doesent fail in LAV quicksync and Lav native.
     

    kenwonders

    MP Donator
  • Premium Supporter
  • January 19, 2007
    791
    741
    Home Country
    England England
    Hmm invaliad file handle 32 message during install.. happens 3-4 times then install continues. Perhaps an issue backing up the non installed files? nothing in the install log about it, but i thought i'd mention in case it hasn't installed properly.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hmm invaliad file handle 32 message during install.. happens 3-4 times then install continues. Perhaps an issue backing up the non installed files? nothing in the install log about it, but i thought i'd mention in case it hasn't installed properly.

    It happen :)
    I have try to fix this issue but no way, just need to click OK OK OK OK OK lol :)
    It's happening when MP try to register font :)
     
    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    3D Test on v124 and Intel HD4000

    MadVr detection perfect and 3D playback perfect on LAV intel Quicksync and DXVA (Native)
    Regarless of Madvr General setting (windowed, exclusive...) ALWAYS work


    On Lav Copy-back may fail 3D activation and may get blank screen but with Madvr Status (Ctrol J) in view and audio OK.

    So INTEL HD4000 is almost perfect but cant almost apply any filtering or image improvements in madvr.

    One important thing also, I can play 3D MVC videos one after the other WITHOUT waiting for madvr 3D mode release. it doesent fail in LAV quicksync and Lav native.

    So HD4000 Full ok except in DXVA-CB. :)

    madVR works like this for 3D, first it try like it's 2D and then detect that it is not (it detect from upstream filter with LAV Video and recreate a new D3D device).
    That i don't know if it's the very first connection is done as non 3D MVC like DXVA/DXVA-CB etc and then when LAV Video switch to 3D mediasuptype it can failed somehow.

    I'm not sure for all of this lol.

    Like MPC-HC works lol
     

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    On Lav Copy-back may fail 3D activation and may get blank screen but with Madvr Status (Ctrol J) in view and audio OK.

    So INTEL HD4000 is almost perfect but cant almost apply any filtering or image improvements in madvr.

    I think this one is due to the way LAV Video fall-back is working.
    From DXVA Native ---> MVC SDK (Intel 3D Decoder) fall back is working, from DXVA CB ---> MVC SDK (Intel 3D Decoder) doesn't work always.

    This is not an issue of MP it is an issue of LAV Video fall-back logic.

    So up till now with latest Sebastiii build we got 3D working fine with/without stop on both AMD and Intel.

    Nvidia still has some issues for u @alexdepalma , i am not sure if @kenwonders is having exactly the same issues but i think he also has an NVidia card.

    Maybe there is some specific NVidia setting regarding 3D that we are not aware of? I am pretty sure it is something stupid and simple but hidden somewhere deep inside NVidia settings :)
     

    alexdepalma

    MP Donator
  • Premium Supporter
  • January 31, 2008
    541
    493
    Home Country
    Spain Spain
    New installer :)
    V127 : http://tinyurl.com/z76m23p
    This one has a rework for rebuild graph @kenwonders it should solve the loop audio issues but not display DXVA process failed.

    V127 same condition on Nvidia with mouse movement to apply.

    I'm testing several drivers versions and same condition. The only difference Between MP and MPC-HC is MPC always start de image in 3D although mouse movement stops 3D (video continues in 2D untill mouse removed and then 3D) in MP never (except first playback after computer restart) plays 3D. mouse movement is needed to recover. But MadVr always detects 3D MVC and activated TV 3D mode (in both).
     

    Users who are viewing this thread

    Top Bottom