Stutter after resume (1 Viewer)

MusicMan62

Portal Pro
November 2, 2010
53
6
Frome, UK
United Kingdom United Kingdom
MediaPortal Version: 1.4.0

Description
I've just upgraded to 1.4 from 1.3 and am experiencing a stutter problem after resume. Everything works fine from initial entry into MP but once I wake from standby all video streams (TV, Recorded TV and Video) all stutter. This can be fixed by restarting MP (reboot of PC not needed).

I have attached logs (using DEBUG mode) which shows a working stream, standby, resume, failing stream.

I also looked at the frame info using SHIFT-1 and noted the following differences:

Good stream: VMR9 49.71 jitter 1
Bad stream: VMR9 23.72 jitter 21

Why would my fps halve after a resume?

The immediate solution would be to set MP to reboot after resume but this option has been removed in 1.4.

Steps to Reproduce:
Watch live TV, enter standby, resume, Watch live TV and it then stutters.
 

MusicMan62

Portal Pro
November 2, 2010
53
6
Frome, UK
United Kingdom United Kingdom
Just wondering if anyone else is experiencing this problem or if the developers have managed to reproduce it?

It's a solid failure for me, happens every time I come out of standby. I have written a batch program to kill MP on sleep and restart MP on wakeup which fixes the problem, but it's not an elegant solution and extends my resume boot time. It's shown below for anyone that's interested.

Code:
@echo off
if %1 == wakeup goto wakeup
 
:standby
taskkill /f /im mediaportal.exe
goto end
 
:wakeup
c:
cd \Program Files\Team MediaPortal\MediaPortal
start MediaPortal.exe
 
:end
 

SciDoctor

Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    Country flag
    I reported this behaviour some years ago, it affected ATI cards I used and as most devs used NV cards nothing found

    https://forum.team-mediaportal.com/...r-powersave-s1-s3-and-turn-off-monitor.99965/

    Although if you read my last post in the thread you will see I found a fix with the new developing/testing dshowhelper

    EnableDWMQueuedMode=1; when set to 0 (ie to run as sandard ) the problem is there again.

    This is now standard in the 1.4 release so the reg setting shold be there to set I believe.
     

    MusicMan62

    Portal Pro
    November 2, 2010
    53
    6
    Frome, UK
    United Kingdom United Kingdom
    Thanks for the detailed background info SciDoctor, I do have an ATI MB. The reg entry is there and changing it with the released dshowhelper.dll didn't fix my problem. I also tried the v675 and v684 versions and they didn't fix it either (I did reboot after making the changes)

    Back to stopping/starting MP on sleep/resume I guess :(
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    Maybe it's related to XP, i'm not DWM work for it.
    Do you have possibility to test on Win7 ?
    Thanks :)
     

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    Country flag
    There is also a concern/idea that MP is initialising before the display drivers have reiinitiaised, especialy when coming out of suspend.

    From my experience hibernation is worse than standby.

    There is a thread looking at this for other reasons, it is beleived to be connected to manageddx

    https://forum.team-mediaportal.com/...eated-after-resume.119910/page-3#post-1013717

    @Scythe42 post at top of this page is a good read as is the rest of the thread.

    Your GPU is not the best i'm afraid, the minimum I would recommend from exstensive testing is ATI HD4650 and up in the range ( a legacy pci HD5450 gives excellent results running on a pci-x bus)
     

    MusicMan62

    Portal Pro
    November 2, 2010
    53
    6
    Frome, UK
    United Kingdom United Kingdom
    Yes I know my system is a little dated now and I'm thinking of upgrading. I'm also running XP (don't have win7) so I'm also running out of support which is another reason to spend some money and upgrade.
     

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    Country flag
    I have been doing a long term test on the absolute MINIMUM for single seat tv server mp.

    I have been happy for six months of test with an

    AGP 4X GPU ATI HD 4650 and single core single cpu AMD XP 2400 and VISTA32 80GB IDE. and USB DVB T/T2. Old shuttle SFF SK41G

    This outputs to 1080 monitor and SD and HD broadcast and blu ray plays back without any issues. LAV video and DIVX audio codec (LAV audio doesn't like non sse2 cpu's with monumental cpu usage, DIVX no problem)

    My electricity bill has been much much cheaper also.

    Your set up only needs about 20-30 GBP spent on a new GPU and it will be smooth a silk.
     
    Last edited:

    MusicMan62

    Portal Pro
    November 2, 2010
    53
    6
    Frome, UK
    United Kingdom United Kingdom
    Thanks for advice SciDoctor. I bought a budget Graphics card, a Radeon HD 6450 and updated the drivers to the latest but it still behaves the same. The framerate drops after a wakeup. Maybe it's an XP thing as Sebastiii suggests.

    I also tried changing the EnableDWMQueuedMode flag but it made no difference either.

    Are Developers looking into this?
     

    Owlsroost

    Development Group
  • Team MediaPortal
  • October 28, 2008
    5,539
    5,037
    Cambridge
    United Kingdom United Kingdom
    Country flag
    Are Developers looking into this?
    No, because support for XP ended with 1.4.0 - it's an 'unsupported OS' in the upcoming 1.5.0 release.

    Although 1.4.0 runs on XP, the changes to the video rendering and device handling code in 1.4.0 mean it probably isn't the 'best' version to run on XP - I'd stay with 1.3.0 if that works well for you.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    I Video Playback Stuttering General Support 45
    limpwhizkid 1.22.0 Stutter and or artifact problem when recording and watching the same live tv channel 1.22 2
    P [solved] Analog FM Radio stutter General 11
    W Playback stuttering after upgrade from MP1 on Windows 7 to MP2 on Windows 10 General 2
    AberDino 4k TV Stutter with RTSP General Support 7
    bta489 [solved] Stuttering playback of edited recordings watch/edit Videos 2
    M VPN: Mediaportal TV-Server ist not using all available bandwidth which results in TV stuttering Newcomers Forum 0
    D [solved] (Micro)Stutter when playing TV General 28
    Stephen O'Kane MP1.20 - Stuttering Recordings (EXP-Upgrage_555_MM_Owlsroost) Watch / Listen Media 1
    J Over the air chanenels stuttering General 0
    M Apollo Lake and Gemini Lake 4K HEVC HDR10 performance General 1
    P Video and audio stutters after playing TV recording for few minutes 1.19 0
    B Stuttering TV Watch / Listen Media 15
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 3
    F After resume, TV Server connection screen is shown General Support 4
    Dark Eyes TVService locks up or fails to restart on resuming from sleep, and crashes when grabbing EPG Installation, configuration support 7
    P MP2 Client Screen Flickering on Resume General 2
    HTPCSourcer [fixed] [MP2-815] User not logged in when resuming from standby MediaPortal 2 17
    J Resume from Standby Last Module TV Showing TV Server Settings Television (MyTV frontend and TV-Server) 2
    R Media portal resumes with wrong screen resolution General Support 3
    B resume from within a folder Watch / Listen Media 0
    joecrow No Audio after MP Start/Resume from Sleep General Support 0
    R Weird sleep/resume loop General Support 4
    joecrow Further problem on resume from sleep (MP Crash) 1.21 5
    joecrow Loss of Navigation Sounds on Resume from Sleep Mp 1.21 General Support 10
    Similar threads

























    Top Bottom