[WiP] madVR support in MP1 (10 Viewers)

Freuli

Portal Pro
October 31, 2007
391
77
Hi Sebastiii,

with v430 I had already 2 crashes after starting a mkv with AVR on and DRR. Unfortunately I don't have a log for the first one. I got a madvr crash window. For the second, I have the log attached.

Regards
Markus
 

Attachments

  • MediaPortalLogs_v430.zip
    210.5 KB

Freuli

Portal Pro
October 31, 2007
391
77
Hi, with EVR I had no real crash. With DRR sometimes the behavoiur is quite strange. I can see the Windows desktop flickering and then the video starts. Logs are attached.

regards
Markus
 

Attachments

  • MediaPortalLogs_v430 DRR off EVR.zip
    228 KB
  • MediaPortalLogs_v430 DRR on EVR.zip
    245.2 KB

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,514
    10,467
    France
    Home Country
    France France
    Hi :)
    I have maybe an idea, the new option for blackscreen is maybe not enable and then the fix is not handled :p
    Will look at your last log to confirm it :p
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,514
    10,467
    France
    Home Country
    France France
    Ok the option is enable, so something wrong happen :( the flickering is the workaround to fix the blackscreen, it's the flickering we can see when the option is ON on HTPC that doesn't need the fix like mine lol.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,514
    10,467
    France
    Home Country
    France France
    @Freuli
    Can you test all files one by one and tell if one of them works ?

    With madVR :
    Option FCU ON
    Option FCU OFF
    DRR ON
    DRR OFF

    Ofc you can try EVR to see if there is a diff :p
    Thanks.
     
    Last edited:

    joecrow

    Test Group
  • Team MediaPortal
  • August 9, 2012
    2,714
    2,077
    Home Country
    Germany Germany
    Good that always the same issue, can it be related to DXVA Native (D3D9 or D3D11) ?
    Maybe, I was using the D3D11 hardware decoder in LAV up until I reinstalled the 0.70.02 released version some while back, which does not have it, I then used DXVA Native. Both these decoders will play the 4K/HDR demos that I use in the test suite, with DXVA Copy-back I get only audio with a black screen or extreme video stutter. CP is OK for everything else including the 4K Elysium demo so could try for a crash with it if you want me too.
    Let me know if you have something for me to test and how.:p
    UPDATE:-
    I gave DXVA-Copy Back a try and quite quickly got a Madvr crash, while playing a vid, it happened when in Windowed mode I double clicked the Madvr icon on the task bar to bring up the settings, coincidence???. I did get the setting menu and the vid continued playing but with the Madvr crash notification on screen, strange. Crash report and logs are attached.
     

    Attachments

    • madVR - crash report.txt
      63.1 KB
    • MediaPortalLogs_10_01_18__10_05.zip
      1 MB
    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,514
    10,467
    France
    Home Country
    France France
    Hi @joecrow

    Same crash :)

    Code:
    Application: MediaPortal.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.NullReferenceException
       at Microsoft.DirectX.Direct3D.Surface.Dispose()
       at Microsoft.DirectX.Direct3D.Surface.Finalize()

    So madVR crash windows happen when the above crash is trigger.

    Will try a bin for you to see how it goes :p
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,514
    10,467
    France
    Home Country
    France France
    @joecrow
    Attached is to test :)

    It seems that on togglescreen, the D3D is kind of reset for the backbuffer etc. and after a while, code need to free/dispose memory to something already disposed or something else and then lead to the crash. I think it's related to GC (Garbage collector).

    Can you try also to reproduce with EVR ?
    Thanks.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom