[WiP] madVR support in MP1 (3 Viewers)

alexdepalma

MP Donator
  • Premium Supporter
  • January 31, 2008
    541
    493
    Home Country
    Spain Spain
    No changes on mine :(


    Force MP windows refresh (for 3D) didn't help. I couldn't see that refresh visually.
     

    joecrow

    Test Group
  • Team MediaPortal
  • August 9, 2012
    2,649
    1,994
    Home Country
    Germany Germany
    Hi
    I've been playing with the DVBT2 HEVC package over the last few days, which is now looking very good, and have somewhat lost track of where things are here. I'm still on V123/4 (working great) and it looks like most newer versions are relating to problems with nvidia and 3D. Please let me know if there is still anything I can test (amd graphics) etc:unsure:
     

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    Something strange regarding a start up of a NON 3D movie.

    If I set LAV Video to DXVA Native then I get no Audio and a black screen, if I set LAV Video to DXVA Copy Back then everything is fine.

    TV is working fine no matter the settings.

    Tests were done with V134.

    Attached are logs with (1) DXVA Native and logs with (2) DXVA Copy Back.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi :)

    From DXVA Native :
    Code:
    [2016-07-12 01:38:57,271] [       0] [1318] - MadSubtitleProxy::SetDevice() device : 0x:1072b160
    [2016-07-12 01:38:57,784] [       0] [1318] - MadSubtitleProxy::Render() SetNewDevice for D3D and subtitle : 0x:1072b160
    [2016-07-12 01:38:59,255] [       0] [1318] - MadSubtitleProxy::SetDevice() device : 0x:0
    [2016-07-12 01:39:00,139] [       0] [  58] - MadSubtitleProxy::SetDevice() device : 0x:0
    [2016-07-12 01:39:05,181] [       0] [ 300] - MPMadPresenter::OsdSetRenderCallback
    [2016-07-12 01:39:05,181] [       0] [ 300] - MPMadPresenter::SetDevice() pD3DDev : 0x:1072b160
    [2016-07-12 01:39:05,360] [       0] [13e0] - MadSubtitleProxy::SetDevice() device : 0x:0
    [2016-07-12 01:39:05,502] [       0] [ d40] - MadSubtitleProxy::SetDevice() device : 0x:0
    [2016-07-12 01:39:05,642] [       0] [ ecc] - MadSubtitleProxy::SetDevice() device : 0x:0
    [2016-07-12 01:39:05,772] [       0] [1198] - MadSubtitleProxy::SetDevice() device : 0x:0
    [2016-07-12 01:39:05,897] [       0] [ 888] - MadSubtitleProxy::SetDevice() device : 0x:0

    We can see here that madVR reset the D3D device (SetDevice() device : 0x:0) but i didn't succeed to react on this (it reset it because it's needed and because something is not ready etc.)

    From DXVA Copy Back :
    Code:
    [2016-07-12 01:40:10,600] [       0] [ 9fc] - MadSubtitleProxy::SetDevice() device : 0x:10a97880
    [2016-07-12 01:40:10,698] [       0] [ 9fc] - MadSubtitleProxy::Render() SetNewDevice for D3D and subtitle : 0x:10a97880
    [2016-07-12 01:40:10,704] [       0] [ 150] - MPMadPresenter::OsdSetRenderCallback
    [2016-07-12 01:40:10,704] [       0] [ 150] - MPMadPresenter::SetDevice() pD3DDev : 0x:10a97880
    This is correct because madVR didn't need to reset something.

    The reset happen for sure when it's 3D movie or when going from 3D to 2D for ex.

    If we can react to that it's would be great.

    From what i'm thinking, when madVR reset the device, we need to render something (black or whatever) to let madVR recreate the device. But we already set the OSD callback and then a second callback in the same instance lead to crash. So don't know how to do :(
     

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    But i also got some good news. Yesterday all evening i was zapping TV (more than 100 different zaps) and i was using DXVA Native and i could not reproduce DXVA Failed.
    So right now TV for me is very stable.
    It is actualy so stable that i am sometimes not sure if i use EVR or madVR :)
    So good job Sebastiii.
    Regarding DXVA Native and the black screen, i dont remember that i had this issue before. It is fresh, cause i remember with older builds Video was stable but TV was not.
     

    joecrow

    Test Group
  • Team MediaPortal
  • August 9, 2012
    2,649
    1,994
    Home Country
    Germany Germany
    Now running v134 and have run into a problem with OV. An ITV catchup vid plays in small window in upper left corner, see screenshot, please note it failed consistently with this vid. others worked OK as did all live and bbc catchup content I tried. I could recover by going to windowed mode where, video was playing, hit stop, blackscreen, switch to fullscreen mode and I come back to menu. Also attached are logs for 2 failed attempts to play this video with a sucessfull playing of another vid. in this rubrick, in between the 2 failures, also madvr freeze report.
    itvov.jpg
     

    Attachments

    • madVR - freeze report (1).txt
      70.8 KB

    daWooky

    MP Donator
  • Premium Supporter
  • April 3, 2012
    783
    871
    Home Country
    Germany Germany
    hi guys
    had a bit time for testing again but didn't came far

    17-27-22.png
    seems like tv deinterlacing don't gets detected right anymore:(

    the not interlacing problem occurs if tv starts on a not interlaced programm first tune and switch to a channel with deinterlacing -> deinterlacing goes off (framerate) and stays off on all following channels with deinterlaced streams -only restart tv helps.
    the funny thing is if started on a deinterlaced channel first the detection is working right if zapping non interlaced to deinterlaced :confused:

    i reverted back to v115 - interlacing works in both directions as before ;) (btw. my favourite version so far, even with 3d after i fixed my selfmade detection problems)
    v116 seems unaffected, but all other versions after the v117 Core change are affected.

    @alexdepalma about your mouse wiggle 3d toggle problem imma getting curious: what manufacturer is the mouse from? ya set up drivers for it? do u use input aids (maybe some accidental set windows features)?

    cheers guys and thanks anyway seb:)
     

    edterbak

    Portal Pro
    March 4, 2008
    2,114
    1,176
    Home Country
    Netherlands Netherlands
    [offtopic]
    Lol...
    based on the image, I see something gets detected.... :ROFLMAO:
    Of all the screenshots in the universe, you choose this one to attach. Ghehehe...
     

    alexdepalma

    MP Donator
  • Premium Supporter
  • January 31, 2008
    541
    493
    Home Country
    Spain Spain
    mouse wiggle 3d toggle problem imma getting curious: what manufacturer is the mouse from? ya set up drivers for it? do u use input aids (maybe some accidental set windows features
    Yes, I already tried with kb and mouse disconnected. That's driven me crazy... MPC-HC happens the same.
     

    Users who are viewing this thread

    Top Bottom