[WiP] madVR support in MP1 (6 Viewers)

Rick164

MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Do you have an example ? (screenshot maybe)
    I didn't find a way to trigger Yes/No (except when resuming a video) (I just try with TVS)

    Will re-test against a clean V75 install and post a a screenshot :) , it happens on these kind of calls as I had with my own extension as well:

    Code:
      var dlgYesNo = (GUIDialogYesNo)GUIWindowManager.GetWindow((int)Window.WINDOW_DIALOG_YES_NO);
      if (null != dlgYesNo)
      {
      dlgYesNo.SetHeading("Restore last view");
      dlgYesNo.SetDefaultToYes(true);
    
      dlgYesNo.DoModal(GUIWindowManager.ActiveWindow);
    
      if (dlgYesNo.IsConfirmed)
      {
      _restorelastView = true;
      }
      }
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    hmmm in fact on my own version, the crash didn't happen but on MP1-4781 build it does !!!!
    no clue what happen or i have really something different.
     

    alexdepalma

    MP Donator
  • Premium Supporter
  • January 31, 2008
    541
    493
    Home Country
    Spain Spain
    Playing H264 4k can be done in Lav setting DXVA2 (native) sometimes crash some times no.
    Here crashed on H265 playback after playing 2 H264 videos.

    It crash in LAVVideo.ax :
    Code:
     tipo 1 Nombre de evento: APPCRASH Respuesta: No disponible Identificador de archivo CAB: 0  Firma del problema: P1: MediaPortal.exe P2: 1.14.0.0 P3: 57422ada P4: LAVVideo.ax P5: 0.68.1.0 P6: 572b1ded P7: c0000005 P8: 00088207 P9:  P10:   Archivos adjuntos: C:\Users\Alex\AppData\Local\Temp\WER8493.tmp.WERInternalMetadata.xml  Es posible que estos archivos estén disponibles aquÃ: C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_MediaPortal.exe_52baa792292df850e830ceafec92cea04d68807d_0cffe3b7_02bba77d  SÃmbolo de análisis:  Nueva búsqueda de una solución: 0 Identificador de informe: 68fdcc4b-1eef-46dd-97bf-251f31112abf Estado del informe: 0 Depósito con algoritmo hash: 68542de7290417566fd38af69c7d385c";"1001"

    But in EVR it's working right ? from your previous log you said yes and i can confirm it crash also on LAVVideo.ax.

    Does the first play works and it crash randomly on few next (the second or later) ?


    Yes I can confirm all H264 H265 4K play fine on EVR (I've an ASTRA 4k H265 demo Test 2 with slow playback but doesn't crash)

    ON LAV DVXA2 (native) all is ok on EVR and all H264 4K videos also. Crash on H265.

    On LAV DXVA 2 (copy-back) all of them crash (may be there was something in logs from previous test).

    I don't really know the difference between both DXVA2 sets.o_O

    I've Intel HD4000 on i7 processor
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Can't reproduce the UI dialog issue consistently :( , it's almost like the dialogs gets detached from the actually code at some point and not filled properly (affects other dialogs like below as well)
    For instance if I call it like so it should fill it with category items and a header called "Category items":

    Code:
      CategoryList.Clear();
      CategoryList = _Db.ReadCategories();
    
      _dialogIsOpen = true;
      var dlg = (GUIDialogMenu) GUIWindowManager.GetWindow((int) Window.WINDOW_DIALOG_MENU);
      dlg.Reset();
      dlg.SetHeading("Category items");
      dlg.Add(new GUIListItem("ALL"));
    
      char[] charSeparator = {';'};
      var hashSet = new HashSet<string>();
    
      foreach (var item in CategoryList)
      {
      var locationSplit = item.Location.Split(charSeparator);
    
      foreach (var location in locationSplit)
      {
      hashSet.Add(location);
      }
    
      dlg.Add(new GUIListItem(item.Name));
      }
    
      dlg.SelectedLabel = 0;
      dlg.DoModal(GUIWindowManager.ActiveWindow);
    
      if (dlg.SelectedLabel >= 0)
      {
      LoadCategories(dlg.SelectedLabelText);
      }
      _dialogIsOpen = false;

    However currently it shows it like below with the default values of the StreamedMP skin while with 1.14 / 1.15 pre-release it displays it with the header and category items consisently, with this extension it needs a server component to function but can make a modded AudioSwitcher version if you want which has the same dialog functions for testing :)

    test_dialog.JPG
     

    alexdepalma

    MP Donator
  • Premium Supporter
  • January 31, 2008
    541
    493
    Home Country
    Spain Spain
    Alex do you have a video anywhere online I could test that does this on yours? I'm happy to try out a 4k vid but I've not got any here. I'll check out my 1 H265 vid though it's just 1080p
    Yes! here you have
    H264
    http://demo-uhd3d.com/fiche.php?cat=uhd&id=120
    Same page there are several more

    This one is H265 as far as I remember
    http://4ksamples.com/elysium-2013-2160p-1-minute-sample-footage/

    So you can try all.

    They are demos. You have some with really high bit rate, HRD and so...
    My computer is only HDMI 1.4a so can't try without downscale the image. I'm waiting for HDMI 2.0a graphics card. :(
    Incidentally I have the reverse situation with a HDMI 2 card, want to swap TVs? :)
    Some tests:

    Star Wars trailor (2160p H264):
    MP result: Worked well after a little madVR reconfig (jerky with DXVA strangly but smooth with SoftCubic downscaling). Third run attempt however crashed MP during playback. I cleared logs, and after a few attempts MP crashed at starting the video. I have attached logs if they're of interest.
    MPC-HC result (same madVR profile in use, lav 68.1 configured external): Worked well with profile above, but was using less resources.

    Elysium trailor (2160p H265):
    MP result: Worked but was so slow it was worse than a slideshow, MP returned to a broken GUI after.
    MPC-HC: Worked perfectly.

    HDR Sony demo (2160p H265 HDR):
    MP result: Slowly went white, jerky, then crashed MP/madVR after 10 seconds
    MPC-HC: Slowly went white and too was jerky .

    The first two I think are a concern, the HDR video likely suffers what the other ones do, but has the added pain of HDR load on top.

    Seb, what do you think? (apart from '$^^#!##%$!')




    I could partially play Elysium trailer after changing almost all MadVt parameters to most basic ones.
    I can start playing but crash some seconds after.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    @Rick164 : yep i enable layer to be rendered by checking if item if OSD pause etc. etc. and it seems not ok because time issue i fear !!!

    The goal, will be to tell MP Skin engine that there is OSD/Topbar2 to render only when OSD should be displayed and Topbar2, i have try to doing it but it seems that it's not ok, and adding a lock or something should be not good too.
     

    The_Stig

    Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    Uff...was (and still being) ill. Now I lost track. Seb, shall I test the extra version you made for me?

    And seeing regression in EVR: no OSD when jumping forwards/backwards in videos and LiveTV.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    I will upload a bin against testing for sample that crash, it seems related to not enough continuous RAM.
    For ex it's needed for BD-J to have 2Gb enable : (Make MediaPortal 2GB LARGEADDRESSAWARE...)
    So i have that on my own build and maybe it is why it didn't crash, EVR handle it differently and didn't take the same amount of memory.
    MPC-HC / Graphstudio is pure C++ so it's different too.
     

    Users who are viewing this thread

    Top Bottom