[WiP] madVR support in MP1 (106 Viewers)

Kotik

MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    Latest build.

    Important things to keep in mind:

    1. This is on Crimson drivers on my test PC.
    2. This is with DXVA Native

    Giving me black screen + sound in the background on 1st channel tune.

    EDIT: Same thing with DXVA CB
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,523
    10,466
    France
    Home Country
    France France
    @Kotik for sure first thing wrong :
    [2016-11-15 19:58:53,105] [ 0] [ af8] - MPMadPresenter::confused:topping() m_pMediaControl stop 1
    It stop here on stop, we should have more log, so something is wrong here lol.

    So it can be related because no video is running or something get stuck (maybe related to my latest loadskin change)

    Did you level is set to debug ? i can only see warn/info. :)
     

    alexdepalma

    MP Donator
  • Premium Supporter
  • January 31, 2008
    541
    493
    Home Country
    Spain Spain
    Latest build.

    Important things to keep in mind:

    1. This is on Crimson drivers on my test PC.
    2. This is with DXVA Native

    Giving me black screen + sound in the background on 1st channel tune.

    EDIT: Same thing with DXVA CB

    I had thouse problems with very dark screen but no black. In my setup the problem was a combination of the following.
    Error diffusion dithering 1 or 2.... select ordered or random. And
    Windowed mode without selecting GPU D11 on general. Select exclusive or windowed with GPU DX11
    Also was more probably to have this problem with Present several frames in advance on Madvr general tab. Just disable.

    Give a try if helps to you.
     

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    Thats strange, i have exactly the same issue BUT on AMD and only with Crimson drivers, if i revert to Catalyst everything is working.

    Your solution works for Crimson but i wonder why? I am running Catalyst on both my PCs now and got no issues to report regarding the latest build.

    Sent from my GT-I9100 using Tapatalk
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,523
    10,466
    France
    Home Country
    France France
    Now i remember the dark screen issue, it's not a blackscreen but looks like a different blankscreen, if i'm not wrong, MP didn't run at max memory on @alexdepalma computer like your @Kotik :)
    It looks like a memory leak but why only in fullscreen.

    We need to find if it's really a bug in crimson or crimson vs madVR or crimson vs MP etc. still like it works on catalyst, we can have a solution for the moment :)

    Or maybe a LAV Video issue (maybe we can try another video codec for the test) :p
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,523
    10,466
    France
    Home Country
    France France
    I remember you explain that you have change something to works on single thread on plugin side otherwise we get null reference or something like, are you able to revert that part on plugin for testing ?

    Yep had that with a yet to be released extension but can make it the same for AudioSwitcher as that one is lightweight and easy to mod, it showed the wrong dialog entirely while in thread "Select album" as header with no items for context menu items.
    Basically have to make it so that the actual dialog (yes/no | context menu etc..) is in a Thread however I just tried that again with latest MadVR release and it works now in thread as well which it definitely didn't before so might be fixed now :)

    Attached test .dll for AudioSwitcher and what is does is start the context menu in Thread as well as the "Change playback device" option upon selection, code overview for changes with explanation at top:

    https://gist.github.com/RickDB/6f590d2d841c55ffc54d35eb48d518a6

    I have tested it and can confirm that dialog comes with no issue, so it seems that it works good, need more testing but that nice, so infoservice / eventghost etc. shouldn't trigger a crash now :)
    Btw @Rick164 does clicking on item in dialog menu etc. works always now (always handled) too ? on my side it is :) (will try to find your post about it :p)
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,523
    10,466
    France
    Home Country
    France France
    Noticed a new oddity while running V225:

    - Context menus while video is playing in fullscreen or while in GUI only allow for the first top level menu to open, an example:

    AudioSwitcher -> Click button assigned to its context menu -> Will show the top level menu -> Select menu item there like for example "Change Playback Device" -> Should show new menu but nothing happens

    If I stop playback it works fine, also affects MP-TVseries and not just dialogs but also navigation between views (All -> Recently aired does nothing for instance) or opening series.
    No errors in logs and since it works while stopped suspect something cancelling out those actions as it used to work in earlier versions :)

    For the rest it has been pretty solid so far, crashes have been rare and found something interesting about multi-monitor setups and madVR but not 100% sure this is something Mediaportal related:

    - If Mediaportal is on the 2nd (secondary) screen and you have madVR handing refresh rate changes it will not revert back to original refresh rate on playback stop (gets "stuck" at 24P for instance)

    Got it :)

    I didn't manage to reproduce the refresh rate changes issue, can be nice if you can test with mpc-hc for ex :) (when you wrote a second screen, you mean not the primary one right ?)
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,332
    1,009
    Home Country
    Netherlands Netherlands
    Btw @Rick164 does clicking on item in dialog menu etc. works always now (always handled) too ? on my side it is :) (will try to find your post about it :p)

    Yeah that works fine now although had a few hard crashes (no log) when doing that sometimes (switching views in MP-TVseries), not sure if Mediaportal issue though but will try to get some debug info out of it :)

    I didn't manage to reproduce the refresh rate changes issue, can be nice if you can test with mpc-hc for ex :) (when you wrote a second screen, you mean not the primary one right ?)

    Yep not primary, will test with MPC-HC as well however with Zoom Player + MadVR it seems to work.
     

    Users who are viewing this thread

    Top Bottom