[other] Problems with dropping frames with EVR (3 Viewers)

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Since the number of people using an ION board is increasing rapidly where in the range of low-end GPU -> high end GPU would you rate the ION?

    no clue what it has inside :)

    Mine is never using more than 64 % GPU even with HD so i would assume it's fast enough or can't the function the GPU offers just no be used for H 264/AVC-1 decoding and therefore it's still lagging for HD decoding?

    when render target is 75% after v-sync, 64% sounds bit too much.
     

    OnkelChris

    Retired Team Member
  • Premium Supporter
  • October 17, 2007
    764
    59
    Home Country
    Germany Germany
    AW: Re: Problems with dropping frames with EVR

    Code:
    if (*pNextSampleTime > (m_rtTimePerFrame/2))

    Please test following DLL. Should give more time for low end GPUs to render the fram (actaully 100% more time). Seems to work as well with the GT220 (with only quick testing...).



    testedthis one. Unfortunately, it's not reducing anything... I reverted my changes and did the following:

    Code:
    if (*pNextSampleTime > (m_rtTimePerFrame/2))

    and

    Code:
    if (*pNextSampleTime < -3500000 && m_bFrameSkipping && !m_bDVDMenu && !m_bScrubbing)

    So your posted dll with the second change is working on my ION. I'll attach this one for others with ION...
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: Problems with dropping frames with EVR

    This is also a more fine tuned version which adds a break when we are more than one frame too early
     

    nyt

    Retired Team Member
  • Premium Supporter
  • October 15, 2009
    199
    48
    Home Country
    United States of America United States of America
    Code:
    if (*pNextSampleTime > (m_rtTimePerFrame/2))

    Please test following DLL. Should give more time for low end GPUs to render the fram (actaully 100% more time). Seems to work as well with the GT220 (with only quick testing...).

    tested, terrible stutter still.

    not as bad with cuda accel enabled, but still noticable.
     

    OnkelChris

    Retired Team Member
  • Premium Supporter
  • October 17, 2007
    764
    59
    Home Country
    Germany Germany
    AW: Problems with dropping frames with EVR

    disaster123:
    I tested your patch. It works better if done like this (for me):

    Code:
    if (*pNextSampleTime > m_rtTimePerFrame/[B][COLOR="Red"]2[/COLOR][/B])
         {
         // Log("Sleeping: %.2f ms %.2f ms %.2f ms %.2f ms", (double)(*pNextSampleTime - (m_rtTimePerFrame/4))/10000, (double)*pNextSampleTime/10000, (double)hnsLastSleepTime/10000, (double)m_rtTimePerFrame/10000);
    	  Sleep( (*pNextSampleTime - (m_rtTimePerFrame/[B][COLOR="Red"]2[/COLOR][/B]))/10000 );
         }

    nyt:
    and this one? https://forum.team-mediaportal.com/575295-post223.html
     

    nyt

    Retired Team Member
  • Premium Supporter
  • October 15, 2009
    199
    48
    Home Country
    United States of America United States of America
    Re: AW: Re: Problems with dropping frames with EVR

    Code:
    if (*pNextSampleTime > (m_rtTimePerFrame/2))

    Please test following DLL. Should give more time for low end GPUs to render the fram (actaully 100% more time). Seems to work as well with the GT220 (with only quick testing...).



    testedthis one. Unfortunately, it's not reducing anything... I reverted my changes and did the following:

    Code:
    if (*pNextSampleTime > (m_rtTimePerFrame/2))

    and

    Code:
    if (*pNextSampleTime < -3500000 && m_bFrameSkipping && !m_bDVDMenu && !m_bScrubbing)

    So your posted dll with the second change is working on my ION. I'll attach this one for others with ION...

    This results in smooth playback on my ion.

    woops, was just testing both with cuda accel disabled. retesting now.

    This is also a more fine tuned version which adds a break when we are more than one frame too early

    I think you nailed this. I bet if you couple this with tourettes patch it should make just about everyone happy.
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: Problems with dropping frames with EVR

    I hope tourettes can say something about my patch. It is running for SD and HD absolutely smooth for me.
     

    Guzzi

    Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,161
    747
    AW: Problems with dropping frames with EVR

    One (maybe silly?) question: Do those changes also affect VMR9 playback or are those changes only relevant for EVR (and thus irrelevant for XP-users)?
     

    Users who are viewing this thread

    Top Bottom