[mythtv-commits] Ticket #3189: Mythfrontend rescales themes every startup.

MythTV mythtv at cvs.mythtv.org
Fri May 4 18:06:42 UTC 2007

#3189: Mythfrontend rescales themes every startup.
 Reporter:  anonymous  |        Owner:  ijr    
     Type:  defect     |       Status:  closed 
 Priority:  major      |    Milestone:  0.21   
Component:  mythtv     |      Version:  head   
 Severity:  medium     |   Resolution:  invalid

Comment(by sphery <mtdean at thirdcontact.com>):

 KnoppMyth user: you are (like many of the people here probably are) seeing
 Myth checking to verify it already has pre-scaled images (and it does, or
 it would take much more than 10 seconds).  To prove this, shut down
 mythfrontend and remove the cache directories ("rm -r
 $HOME/.mythtv/{theme,osd}cache"), then restart mythfrontend.  You'll
 notice a /large/ difference in the time required to scale the images.

 anonymous who's seeing prescaling "3 times and several minutes in total":
 the graphics card has no effect on scaling speed, only the CPU, RAM, and
 I/O subsystem does (so, your Via processor is why it takes 3 minutes).
 The reason it's scaling every time is a configuration issue, probably like

 anonymous who's using bluetube: the user running mythfrontend doesn't have
 write permissions on $HOME/.mythtv/ or $HOME/.mythtv/{theme,osd}cache or
 some subdirectory.  You can probably fix it by a) verifying you've
 specified the proper "export HOME=/whatever" in the script that starts
 mythfrontend and b) "rm -r $HOME/.mythtv/{theme,osd}cache"

 anonymous who uploaded a log file (and who feel slighted because he
 doesn't get the support to which he's entitled): you are starting
 mythfrontend in an environment in which the HOME environment variable
 resolves to "/root", so mythfrontend is using /root/.mythtv for its image
 cache.  There is no possible way that any user (other than root) would
 have access to this directory on a properly-configured system.  You are
 running as root, so it works.  (But for others reading this ticket's
 comments, please keep in mind what I mentioned about HOME resolving to
 /root).  You'll also notice that your log only shows the generation of 2
 images and attempts to generate 4 (for files missing from the theme) and
 it only takes seconds.  Therefore, you're seeing the same as KnoppMyth
 user, above.

 All: this is not a discussion forum.  Please post questions to the -users
 mailing list or ask on #mythtv-users on freenode to verify that you're
 seeing a bug before creating tickets or adding comments to tickets.  Oh,
 and we don't need more "me too's."  Thanks.

Ticket URL: <http://svn.mythtv.org/trac/ticket/3189#comment:16>
MythTV <http://svn.mythtv.org/trac>

More information about the mythtv-commits mailing list