MP2-Setup-10th_AE_Update_1 LAV/DXVA2 performance problem (1 Viewer)

morpheus_xx

Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Thanks to nevcairiel I could fix the issue with our EvrPresenter: it had a check to expose not all services, but one required for DXVA2 was missing. After a one-line-change it is now working here.

    Please test the attacheed binary, copy it to MP2-Client\Plugins\VideoPlayer
     

    Attachments

    • EVRPresenter.7z
      17.6 KB

    RonD

    Test Group
  • Team MediaPortal
  • December 20, 2011
    911
    278
    SillyValley CA
    Home Country
    United States of America United States of America
    so what am I doing wrong, downloaded EVR.7z file in previous message, used 7zip to extract to local folder on a win7 system that has 7zip

    stop MP2 Service, even though I don't think it is needed.

    made a backup copy of
    C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\VideoPlayers\EVRPresenter.dll
    this version has USA date/time 20/7/2014 4:22PM, 48KB

    deleted file from above folder, copied new EVRPresenter.dll to plugins folder
    this version has USA date/time 22/9/2014 9:16AM, 46 KB

    start MP2 Service. run MePo2 Cleint , and get an en error running test file

    copy the original EVRPresenter.dll to Plugins folder, run MePo2, works fine.

    repeat download, 7zip, do copy, etc, get exact same EVRPresenter.dll date, time, size etc, run test and get the same error message. error message pasted below, uploaded MePo2 client logs from 2nd run

    System.DllNotFoundException: Unable to load DLL 'EVRPresenter.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
    at MediaPortal.UI.Players.Video.VideoPlayer.EvrDeinit(IntPtr presenterInstance)
    at MediaPortal.UI.Players.Video.VideoPlayer.FreeCodecs()
    at MediaPortal.UI.Players.Video.TsVideoPlayer.FreeCodecs()
    at MediaPortal.UI.Players.Video.BaseDXPlayer.Shutdown(Boolean keepResourceAccessor)
    at MediaPortal.UI.Players.Video.BaseDXPlayer.SetMediaItem(IResourceLocator locator, String mediaItemTitle)
    at MediaPortal.UI.Players.Video.VideoPlayerBuilder.GetPlayer(MediaItem mediaItem)
    [2014-09-22 14:03:35,698] [17963 ] [Thread14 ] [ERROR] - Unable to create media player for media item 'The Big Bang Theory'

    UPDATE COMMENT, did reboot same problem

    doing google for the following

    windows 8 Unable to load DLL The specified module could not be found. (Exception from HRESULT: 0x8007007E)

    maybe this version is of EVRPresenter.dll looking for another DLL I don't have installed, or maybe version compatibility. somebody wrote a tool "Dependency Walker" for this type of problem. I really don't want to play with that if there is a simple way to clear up the problem

    http://www.dependencywalker.com/
     
    Last edited:

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    I guess the issue is, that I now have compiled the EVRpresenter by VS2013 using the latest VC redist. The former version was still compiled by VS2012.
    Please check if you have the VC2013 redists installed.
     

    RonD

    Test Group
  • Team MediaPortal
  • December 20, 2011
    911
    278
    SillyValley CA
    Home Country
    United States of America United States of America
    I had vc2010/08 x64/x86 redists installed, downloaded, installed 2013 x86 from the following link, On win8.1x64 OS should I install both? Never sure which I really need.

    http://www.microsoft.com/en-us/download/details.aspx?id=40784

    With vc2013/x86redist, LAV/dxva2(native) works with new EVRpresenter and HW acceleration is active, much lower CPU overhead, looks like MePo2 is still a bit higher CPU power than MePo1. dxva2(copyback) is still bad, much higher CPU overhead on my win8.1 test system.

    I don't have time to collect numbers and try different options. Will do this later today, but adding vc2013/x86redis fixes error and enables LAV/dxva2(native).
     

    RonD

    Test Group
  • Team MediaPortal
  • December 20, 2011
    911
    278
    SillyValley CA
    Home Country
    United States of America United States of America
    Some CPU/GPU performance numbers with new EVRPresenter.dll and VC2013x86redist. LAV Status is "old/rectangle" format, not "newer" format I see with MePo1, not sure why or if it is important.

    Play BigBang.ts, 1920x1080, 29.97fps 17.1 Mbps, file = 3.4 GB
    MePo2, CPU = 20-25%, GPUz = 80%, ProcExpGFx Eng5 = 80%, Eng6 = 8%, LAV = DXVA2(native) active!!
    MePo2, CPU = 75-80%, GPUz = 97%, ProcExpGFx Eng5 = 97%, Eng6 = 12%, LAV = DXVA2(copyback)
    MePo2, CPU = 50-55%, CPUz = 96%, ProcExpGFx Eng5 = 96%, Eng6 = 15%, LAV = DXVA2(quicksync)
    quicksync has Audio/Video sync problem

    Play LastMan.ts, 1280x720, 59.94fps 7.4 Mbps, file = 2.0 GB
    MePo2, CPU = 15-20%, GPUz = 60%, ProcExpGFx Eng5 = 60%, Eng6 = 8%, LAV = DXVA2(native) active!!

    Tried to switch to Mepg2 code to Cyberlink/SP Decoder (DVD10) that works with MePo1 Used
    Home > Settings > Players > Codecs > VideoCodecs, selected CyberlinkSP

    Play test video, but LAV Video shows up in Win8 StatusTray, LAV/DXVA(native). Exit MePo2, start MePo2 confirmed Settings>Codecs still shows CyberlinkSP, play video and LAV is still video codec.

    Any idea what is defaulting to LAV even if I switch MePo2 settings to CyberlinkSP? Looked in MePo2 client logs, nothing obvious about which codecs MePo2 tried.
     

    RonD

    Test Group
  • Team MediaPortal
  • December 20, 2011
    911
    278
    SillyValley CA
    Home Country
    United States of America United States of America
    Still unhappy with dual HDHR tuner PIP. Run 1 channel, video plays fine, start PIP on 2nd channel, main video window video/audio plays in stop/starts with pauses. Pause or stop PIP window, main video plays cleanly, no pauses.

    Moved MePo2 timeshiftbuffer to external USB3 HDD (not flash/thumb drive), same problem.

    CPU activity about 34-40%, see expected ethernet traffic 34 mbps = 2*17 mbps of 1 USA HDTV/ATSC. ResourceMonitor shows 4-5 MB/sec disk traffic, response time 15-18 millisec, no long queue lengths, no obvious disk problems. Disabled WindowsDefender realtime scan, makes no difference. Win8 StatusBar shows 2 LAV video/audio, open both LAV status windows and see DVXA2 active in both.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom