[Bug] Tvservice cpu usage increase problem while .ts playback fullscreen (1 Viewer)

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Re: AW: Tvservice cpu usage increase problem while .ts playback fullscreen

    Hi.
    There are some:

    Code:
    2011-08-13 01:21:42.271153 [EPG Update thread(11)]: Exception in Program.Persist() with Message insert into Program ( idChannel, startTime, endTime, title, description, genre, state, originalAirDate, seriesNum, episodeNum, episodePart, episodeName, starRating, classification, parentalRating ) values ( ?idChannel, ?startTime, ?endTime, ?title, ?description, ?genre, ?state, ?originalAirDate, ?seriesNum, ?episodeNum, ?episodePart, ?episodeName, ?starRating, ?classification, ?parentalRating ); select LAST_INSERT_ID();
    2011-08-13 14:32:15.691618 [EPG Update thread(28)]: Exception in Program.Persist() with Message insert into Program ( idChannel, startTime, endTime, title, description, genre, state, originalAirDate, seriesNum, episodeNum, episodePart, episodeName, starRating, classification, parentalRating ) values ( ?idChannel, ?startTime, ?endTime, ?title, ?description, ?genre, ?state, ?originalAirDate, ?seriesNum, ?episodeNum, ?episodePart, ?episodeName, ?starRating, ?classification, ?parentalRating ); select LAST_INSERT_ID();

    I can provide a full set of logs, if necessary...

    I would say it is completely unrelated.

    1) I have seen same issue on random basis
    2) EPG grabbing is not affected at all by the patch

    The error in the log is most likely related to the EPG data content. Some chars could break the SQL query.
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,554
    3,936
    Lehmden
    Home Country
    Germany Germany
    AW: Tvservice cpu usage increase problem while .ts playback fullscreen

    Hi.
    Agree.
    New Logs (in Debug Mode) applied one post later did not show any of this. But the issue itself (as seen on screen shot) is related to this patch, as this has never happen with other versions.
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    guys, can u try the v7 patch :)

    timing related stuff has been changed, see if those OSD strings are not fixed now. eg. channel name.

    binary based on current svn.

    /gibman
     

    Attachments

    • tvfullscreen_highcpu_fix_v7.patch
      27 KB
    • v7_Debug.rar
      364.6 KB

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,554
    3,936
    Lehmden
    Home Country
    Germany Germany
    AW: Tvservice cpu usage increase problem while .ts playback fullscreen

    Hi.
    Do you need something special? Log files or so?

    First try of V7 seems EPG data is always one step behind. I start watching Channel 1. zap to channel 7, EPG shows channel 1. Zap to channel 4, EPG shows channel 7, zap to channel 19, EPG shows channel 4 and so on... I can correct this by calling the Mini EPG (press "OK" during live-tv playback) , This will show correct EPG Data and if I go back to full EPG after calling MiniEPG, the full EPG is correct too until next zapping.

    If I use "channel up/down" or 1-9 numbers on remote to change channels, EPG data stays correct. The issue only happens if I change channel via full EPG view.

    Edit:
    If I use "EPG" button on remote to go to full EPG, the data is correct too. Only if I use the "back" remote button, as I always did before I get this issue.
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    didn't see the EPG problem before now.. sorry
    try v8.

    Ive repro'ed the issue and hopefully fixed it :)

    dont bother with logs as of now.

    /gibman
     

    Attachments

    • Debug_v8.rar
      375.3 KB
    • tvfullscreen_highcpu_fix_v8.patch
      27.6 KB

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    AW: Tvservice cpu usage increase problem while .ts playback fullscreen

    Can I use this patch with SVN 28127 or do I need to switch back to 28126?
    Thanks!


    EDIT: Well it seems there are enough people to test. I'll wait until its committed to SVN. =)
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    AW: Tvservice cpu usage increase problem while .ts playback fullscreen

    Lehmden
    thanks for the info, I didn't know what you were talking about before :p but tourettes already answered^^
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,554
    3,936
    Lehmden
    Home Country
    Germany Germany
    AW: Tvservice cpu usage increase problem while .ts playback fullscreen

    Hi.
    Will try soon, but now there is "Sportschau" to watch... ;)
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Re: AW: Tvservice cpu usage increase problem while .ts playback fullscreen

    Can I use this patch with SVN 28127 or do I need to switch back to 28126?
    Thanks!


    EDIT: Well it seems there are enough people to test. I'll wait until its committed to SVN. =)

    Hi more people to test more is better :) don't give up lol, you need to apply the patch on 28126 : look explanation from SilentEception : https://forum.team-mediaportal.com/775809-post50.html

    Or just replace binary :) on your SVN 28127. I can't test myselft, i'm not @ home.
    Thanks.
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,554
    3,936
    Lehmden
    Home Country
    Germany Germany
    AW: Tvservice cpu usage increase problem while .ts playback fullscreen

    Hi.
    I've done some tests during "Sportschau"... The EPG issue seems to be solved.
    But there is another issue, I think it was in V7 also. (Maybe I have to test V7 again.) If I want to stop Live- TV the Picture goes to pause, but did not disappear. Seems the patch mess up something with tsreader... I can start another timeshift stream (or a record) by pushing "Back" button, but then MP hangs. error.log attached.
     

    Attachments

    • error.zip
      3.2 KB

    Users who are viewing this thread

    Top Bottom