[mythtv-users] Sluggish watch recordings list after 0.27 upgrade.

Bryan Bennetts bryan.bennetts at gmail.com
Tue Dec 10 10:48:28 UTC 2013


Slowly getting time to look a this.  One thing I notice from the logs is :

Dec 10 10:40:19 peroni mythfrontend.real: mythfrontend[1400]: I CoreContext
mythuihelper.cpp:1483 (LoadCacheImage) MythUIHelper:
LoadCacheImage(/home/myth/.mythtv/remotecache/1071_20131101085400.mpg.png,-home-myth-.mythtv-remotecache-1071_20131101085400.mpg.png--492x277.png)
Dec 10 10:40:19 peroni mythfrontend.real: mythfrontend[1400]: I ImageLoad
mythuihelper.cpp:1483 (LoadCacheImage) MythUIHelper:
LoadCacheImage(/home/myth/.mythtv/remotecache/1071_20131101085400.mpg.png,-home-myth-.mythtv-remotecache-1071_20131101085400.mpg.png--492x277.png)
Dec 10 10:40:19 peroni mythfrontend.real: mythfrontend[1400]: I ImageLoad
mythuihelper.cpp:663 (RemoveFromCacheByURL) MythUIHelper:
RemoveFromCacheByURL removed
:/home/myth/.mythtv/themecache/Mythbuntu.1920.1080/-home-myth-.mythtv-remotecache-1071_20131101085400.mpg.png--492x277.png:
from cache
Dec 10 10:40:19 peroni mythfrontend.real: mythfrontend[1400]: I ImageLoad
mythuiimage.cpp:275 (LoadImage)
ImageLoader::LoadImage(-home-myth-.mythtv-remotecache-1071_20131101085400.mpg.png--492x277.png)
NOT Found in cache. Loading Directly
Dec 10 10:40:19 peroni mythfrontend.real: mythfrontend[1400]: I ImageLoad
mythuihelper.cpp:1299 (LoadScaleImage) MythUIHelper:
LoadScaleImage(/home/myth/.mythtv/remotecache/1071_20131101085400.mpg.png)

I may be misreading but isn't that saying 'I need these images', 'Remove
the image form the Cache', 'Oh no the image isn't in the cache I need to
load it from source'?

Unfortunately I didn't get the file time stamp prior to the messages, but
certainly it has been updated :

myth at peroni:~$ ls -l
/home/myth/.mythtv/themecache/Mythbuntu.1920.1080/-home-myth-.mythtv-remotecache-1071_20131101085400.mpg.png--492x277.png
-rw-rw-r-- 1 myth myth 98248 Dec 10 10:40
/home/myth/.mythtv/themecache/Mythbuntu.1920.1080/-home-myth-.mythtv-remotecache-1071_20131101085400.mpg.png--492x277.png

Cheers, Bryan.


On 3 December 2013 19:18, Bryan Bennetts <bryan.bennetts at gmail.com> wrote:

>
> On Dec 3, 2013 6:35 PM, "Stuart Morgan" <stuart at tase.co.uk> wrote:
> >
> > On Tuesday 03 Dec 2013 10:06:04 Jim Stichnoth wrote:
> > > On Tue, Dec 3, 2013 at 7:13 AM, Bryan Bennetts
> > <bryan.bennetts at gmail.com>wrote:
> > > > Hi all,
> > > >
> > > > I've upgraded to mythbuntu 13.10/mythtv 0.27 and am now finding that
> one
> > > > of my frontend's Watch Recordings view is somewhat sluggish.
> > > >
> > > > That machine is a Acer Revo 3700 (with 4G of ram IIRC) so not hugely
> > > > over-powered but on 0.26 there was no perceivable issue.  I have
> tried
> > > > creating my own MythBuntu theme with the fanart turned off, but that
> has
> > > > not improved performance.
> > > >
> > > > It *seems* to be related to the length of the episodes list as when
> > > > scrolling down the left hand panel it is noticably faster for, say,
> films
> > > > (split second scrolling) than children's programs (of which we have
> > > > plenty,
> > > > can take a good 3-4 seconds to populate the right hand panel).  This
> > > > implies that the menu *may* be doing an operation per episode.
> > > >
> > > > Anyone have any thoughts on how to diagnose/resolve this?
> > >
> > > I have this same issue on my ION frontends.  I believe it has to do
> with a
> > > 0.27 change where the frontend now asks the backend to generate preview
> > > images at full resolution before scaling locally to the theme-specified
> > > resolution, instead of generating smaller preview images on the backend
> > > which are rescaled again on the frontend.
> >
> > The scaling is done in a background thread, therefore wouldn't affect
> > responsiveness unless threading wasn't enabled. Moreover, since the
> preview
> > image is cached locally after scaling, it wouldn't affect scrolling
> through the
> > list unless there were always new recordings which required new preview
> > images. Which isn't to say that the issue isn't preview related somehow,
> just
> > that it's not related to the scaling.
> >
> > --
> > Stuart Morgan
> > MythTV
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://www.mythtv.org/mailman/listinfo/mythtv-users
>
> Hmm, well I'll try paring down the theme more to see if affects the
> behaviour.  I would hope that the code isn't generating a preview for each
> episode just as the  main tile is selected in the left hand list.
>
> Cheers, Bryan.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20131210/cbb4829c/attachment.html>


More information about the mythtv-users mailing list