[WiP] madVR support in MP1 (7 Viewers)

joecrow

Test Group
  • Team MediaPortal
  • August 9, 2012
    2,649
    1,994
    Home Country
    Germany Germany
    V364 looking quite good, all major functions work for me including OV but I do get the occaisional hang on stop, the video freezes, back and other buttons stop working but as soon as I hit CAD on the KB to bring up the Task Manager MP springs to life in the background and after closing TM continues on OK.

    PS any news on when the D3D11 TV zapping/Madvr problem may get fixed?
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Thanks :)
    No news about D3D11 and live TV.
    About the CAD, i was able to reproduce it, are you able to have it always or you have a way to reproduce it easily ?
    If yes you can try a bin where i'm testing something for this case :p
     

    daWooky

    MP Donator
  • Premium Supporter
  • April 3, 2012
    783
    871
    Home Country
    Germany Germany
    Yep lav dxva2 native seems ok but not so sure about dxva2 copy back but overall it looks good and thanks again for fixing the 3dmvc stuff. 3d fp switched right again. not always right but mostly;) 3d with auto3d also running good too with old htpc now...win1703, new mad/lav, old nvdriver with fse enabled and dx9 lav cb..(y)(y)
    Sync was ok and no additionly black screen...so good so far ;)

    on my others fall creators htpcs in general it seemed also ok with dx9 cb except on the first video it always opens like in the backround with sound allready started and after some seconds it finally appears.:(...see capture :) additional starts worked, only on first its bad somehow. same with dx11 with 2 other htpcs with win1709 and sadly it's also quite same with insider too : )

    Gesendet von meinem Nexus 7 mit Tapatalk
     

    Attachments

    • MediaPortal - Filme 12.11.2017 16_53_56.avi
      24.9 MB
    Last edited:

    daWooky

    MP Donator
  • Premium Supporter
  • April 3, 2012
    783
    871
    Home Country
    Germany Germany
    Yep tried that first ;)
    X won't work, alt enter also refused, windows key and task works sometimes but I realised I just have to wait some seconds and bling picture:)
    same as in the capture ;)

    Gesendet von meinem Nexus 7 mit Tapatalk
     
    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    This sample trigger a D3D device reset, mostly happen when resolution has changed or 3D MVC :p

    Code:
    [2017-11-12 19:13:17,429] [       0] [ 1cc] - MPMadDshow::MadInit
    [2017-11-12 19:13:17,429] [       0] [ 1cc] - MPMadPresenter::Constructor() - instance 0x1dbbc390
    [2017-11-12 19:13:17,445] [       0] [ 1cc] - MPMadPresenter::Constructor() Store Device Surface
    [2017-11-12 19:13:20,859] [       0] [1f1c] - MPMadPresenterH::SetDeviceSub() device 0x:3366eae0
    [2017-11-12 19:13:20,861] [       0] [1f1c] - MPMadPresenter::SetDeviceSub() send subtitle device to C# 0x:3366eae0
    [2017-11-12 19:13:20,864] [       0] [1f1c] - MPMadPresenterH::SetDeviceOsd() device 0x:3366eae0
    [2017-11-12 19:13:20,865] [       0] [1f1c] - MPMadPresenter::SetDeviceOsd : ForceOsdUpdate
    [2017-11-12 19:13:20,865] [       0] [1f1c] - MPMadPresenter::SetDeviceOsd : reduce madVR frame to : 0
    [2017-11-12 19:13:20,964] [       0] [1f1c] - MPMadPresenter::ReinitOSD : ReinitOSD for : 1920 x 1080
    [2017-11-12 19:13:57,799] [       0] [1f1c] - MPMadPresenterH::SetDeviceOsd() device 0x:0
    [2017-11-12 19:13:57,799] [       0] [1f1c] - MPMadPresenter::ReinitD3DDevice : ReinitOSDDevice for : 1920 x 1080
    [2017-11-12 19:13:57,799] [       0] [1f1c] - MPMadPresenter::SetDeviceOsd() release m_pMadD3DDev
    [2017-11-12 19:13:57,807] [       0] [1f1c] - MPMadPresenterH::SetDeviceSub() device 0x:0
    [2017-11-12 19:13:57,810] [       0] [1f1c] - MPMadPresenter::SetDeviceSub() send subtitle device to C# 0x:0
    [2017-11-12 19:13:58,192] [       0] [ 9dc] - MPMadPresenterH::SetDeviceSub() device 0x:394a52e0
    [2017-11-12 19:13:58,193] [       0] [ 9dc] - MPMadPresenter::SetDeviceSub() send subtitle device to C# 0x:394a52e0
    [2017-11-12 19:13:58,196] [       0] [ 9dc] - MPMadPresenterH::SetDeviceOsd() device 0x:394a52e0
    [2017-11-12 19:13:58,197] [       0] [ 9dc] - MPMadPresenter::SetDeviceOsd : ForceOsdUpdate
    [2017-11-12 19:13:58,197] [       0] [ 9dc] - MPMadPresenter::SetDeviceOsd : reduce madVR frame to : 0
    [2017-11-12 19:13:58,429] [       0] [ 9dc] - MPMadPresenter::ReinitOSD : ReinitOSD for : 1920 x 1080
    [2017-11-12 19:14:20,761] [       0] [ 1cc] - MPMadDshow::MadStopping start

    In above log :
    You can see that madVR supply a device : device 0x:3366eae0 (MPMadPresenterH::confused:etDeviceSub() device 0x:3366eae0)
    Then, it reset it : MPMadPresenterH::confused:etDeviceSub() device 0x:0
    Then, the new device happen : MPMadPresenterH::confused:etDeviceSub() device 0x:394a52e0

    And the video start but appear after a while lol. but we can see that madVR window is present on the whole screen (from the madVR stats visible).
    So could be nice to know if all video on the first start has the same device reset :p

    And from the timestamp, it seems that when the final device appear then i suppose that it's when the video happen.

    You can test with baretail, it follow tail, so you need to share the log folder on another PC and look how it does or put baretail always on top on the same PC to confirm that video movie is displayed when the second final device is present.

    Does MPC-HC does the same ? (starting a video with setting fullscreen) ?
    Thanks (we can't know if the device is resetted with MPC-HC but still we can see if the video are also long to appear :p
     

    daWooky

    MP Donator
  • Premium Supporter
  • April 3, 2012
    783
    871
    Home Country
    Germany Germany
    Yep. 19.14 h timestamp video appears;)
    seems independent from file and also a bit similarly it is with native dxva2 although there it's pretty short but noticeable and also only on the first playing... not compared with mphc so far ;)


    Gesendet von meinem Nexus 7 mit Tapatalk
     

    Users who are viewing this thread

    Top Bottom