Stutter after resume (1 Viewer)

MusicMan62

Portal Pro
November 2, 2010
53
6
Frome, UK
Home Country
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
Home Country
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
    Home Country
    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,570
    10,390
    France
    Home Country
    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
    Home Country
    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
    Home Country
    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,540
    5,038
    Cambridge
    Home Country
    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

    Similar threads

    @joecrow: Thanks a million for this! I have had this weird issue for ages and with one simple uncheck, it's gone! Never understood what the option was for, like AlunS. And I still don't... It's probably something else, but when starting a video the audio doesn't start IMMEDIATELY along with the video. So maybe a second or two are...
    @joecrow: Thanks a million for this! I have had this weird issue for ages and with one simple uncheck, it's gone! Never understood...
    I'm having a strange one here ... it seems to have started after getting a new Sony 4k TV, and manifests itself by refusing to...
    Replies
    6
    Views
    931
    Well it's been a couple of days and we've had no more unable to play errors .
    Well it's been a couple of days and we've had no more unable to play errors .
    I've just upgraded the motherboard, CPU, ram, boot drives and PSU in my TV Server (always on), and am now having intermittent...
    Replies
    8
    Views
    902
    Thanks for that but it does seem to me that Madvr is the issue here, I guess it is not as robust as the EVR or does not get shut down as elegantly, I also suspect, though I have not tried it, that the result would be the same for playback of any video, i.e. not just TV. Given that German TV is now all transmitted as full HD, the need...
    Thanks for that but it does seem to me that Madvr is the issue here, I guess it is not as robust as the EVR or does not get shut...
    When I finish watching TV I always stop the playback and exit to the home gui before putting the HTPC to sleep and have no...
    Replies
    2
    Views
    3K
    Many people found the Lentoid decoder better optimised than LAV for software decoding. If you want to try it, download it from the link below, run reg.bat as an admin to install it and change the HEVC Video settings in MediaPortal Configuration/Codecs and Renderer...
    Many people found the Lentoid decoder better optimised than LAV for software decoding. If you want to try it, download it from the...
    For some unknown reason I can't play HEVC encoded video with MP1 on my system. I have tried every trick I know, but nothing works...
    Replies
    10
    Views
    351
    @Owlsroost do you have time to look to this, @HTPCSourcer seems have issue on MP 1.23 too.
    @Owlsroost do you have time to look to this, @HTPCSourcer seems have issue on MP 1.23 too.
    MediaPortal Version: 1.22 Description I Always thought i had this sometimes and never could pinpoint it, but now its clear to me...
    Replies
    2
    Views
    910
    Top Bottom