[WiP] madVR support in MP1 (5 Viewers)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Same crash.

    OK i fear that i can't do nothing :(
    The code change in V2 dll is do render the stream without preferred codec.
    Video renderer is added manually but after that all is added based on codec merit.
    Need to look about the sound but the crash is in video driver so !!!

    Did you try other drivers ? :)
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    The code is really reduced :) and it failed at .RenderFile(filename, null); no clue :(

    Code:
    _vmr9 = VMR9Util.g_vmr9 = new VMR9Util();
                bool AddVMR9 = VMR9Util.g_vmr9.AddVMR9(_graphBuilder);
                if (!AddVMR9)
                {
                  Log.Error("TSReaderPlayer:Failed to add VMR9 to graph");
                  return false;
                }
                VMR9Util.g_vmr9.Enable(false);
               _graphBuilder.RenderFile(filename, null);
     

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    Now it crashes for a different reason, it is not atiumdva.dll now I upload u logs, this is after I replaced atiumdva.dll from another PC to the HTPC.
     

    daWooky

    MP Donator
  • Premium Supporter
  • April 3, 2012
    783
    871
    Home Country
    Germany Germany
    Can you upload your settings.bin ?
    settings attached (maybe u must lower them a bit, they from my 1060:p)
    and i toyed a bit with the screenshots, so additional some with mepo osd and some different madvr settings:p
    each zip with settings and 2 screens taken on pause... always first screen with video playing - second on mepo home screen with video still paused:sneaky:
     

    Attachments

    • madsceeen-zoom set800.zip
      2.5 MB
    • madsceeen-all gadgets but no zoom^^.zip
      357.5 KB
    • madsceeen-set-video-size.zip
      139.4 KB
    • settings.zip
      43.9 KB

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Now it crashes for a different reason, it is not atiumdva.dll now I upload u logs, this is after I replaced atiumdva.dll from another PC to the HTPC.

    Effectively, it doesn't give the dll name but the same callstack :
    Code:
    Application: MediaPortal.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.AccessViolationException
       at DirectShowLib.IGraphBuilder.RenderFile(System.String, System.String)
       at MediaPortal.Player.TSReaderPlayer.GetInterfaces(System.String)
       at MediaPortal.Player.BaseTSReaderPlayer.Play(System.String)
       at MediaPortal.Player.g_Player.Play(System.String, MediaType, System.IO.TextReader, Boolean, Int32, Boolean, Boolean)
       at MediaPortal.Player.g_Player.Play(System.String, MediaType, System.String, Boolean)
       at TvPlugin.TVHome.StartPlay()
       at TvPlugin.TVHome.ViewChannelAndCheck(TvDatabase.Channel)
       at TvPlugin.TVHome.OnClicked(Int32, MediaPortal.GUI.Library.GUIControl, ActionType)
       at MediaPortal.GUI.Library.GUIWindow.OnMessage(MediaPortal.GUI.Library.GUIMessage)
       at TvPlugin.TVHome.OnMessage(MediaPortal.GUI.Library.GUIMessage)
       at MediaPortal.GUI.Library.GUIWindowManager.SendMessage(MediaPortal.GUI.Library.GUIMessage)
       at MediaPortal.GUI.Library.GUIWindowManager.DispatchThreadMessages()
       at MediaPortalApp.FrameMove()
       at MediaPortal.D3D.OnIdle(System.Object, System.EventArgs)
       at System.Windows.Forms.Application+ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32)
       at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
       at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
       at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
       at System.Windows.Forms.Application.Run(System.Windows.Forms.Form)
       at MediaPortalApp.Main(System.String[])

    Really weird :(
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    settings attached (maybe u must lower them a bit, they from my 1060:p)
    and i toyed a bit with the screenshots, so additional some with mepo osd and some different madvr settings:p
    each zip with settings and 2 screens taken on pause... always first screen with video playing - second on mepo home screen with video still paused:sneaky:

    Great Thanks :) It confirm the same as me :p
     

    daWooky

    MP Donator
  • Premium Supporter
  • April 3, 2012
    783
    871
    Home Country
    Germany Germany
    There is no older version that worked. The moment that LAV introduced D3D11 decoding MP was crashing for me. I had to revert back to DXVA and then it is working again
    that lav d3d11 stuff is still pretty new and also beta so bugs can be expected.... if the rest is still ok and working as before i wouldn't care to much right now
     

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    Its ok Sebastiii, don't waste ur time on it. It is probably something with my system only. I will wait until there is a stable LAV release and MadVR deinterlacing fix for D3D11, until then I will use DXVA CB, it is working fine.

    Thanx for the effort :)
     

    Users who are viewing this thread

    Top Bottom