LinHES Forums
http://forum.linhes.org/

"prescaling theme images" every single time
http://forum.linhes.org/viewtopic.php?f=17&t=5478
Page 1 of 2

Author:  msdemich [ Mon Jul 25, 2005 1:47 am ]
Post subject:  "prescaling theme images" every single time

I understand that "pre-scaling theme images" runs everytime myth detects a resolution change. However, my resolution never changes; is always 1024x768. Yet EVERY time I run Mythtv, I have to wait for it.

Is this normal?

Since I'm fiddeling with the mixer, I have to go out and back into myth a lot and this problem makes it take forever.

Author:  Xsecrets [ Mon Jul 25, 2005 8:20 am ]
Post subject: 

can't tell you why it's doing it, but no it's not normal.

Author:  linuxvirgin [ Mon Jul 25, 2005 10:55 am ]
Post subject: 

Hmm... i didn't realise this wasn't normal. Mine does it too... every time.

Author:  msdemich [ Mon Jul 25, 2005 11:00 am ]
Post subject: 

Perhaps there is some configuration file that is not being written for some reason. When I run mythtv, or mythtv-setup from the commmand prompt, it starts rightaway without the "prescaling"

Author:  elgordo123 [ Mon Jul 25, 2005 11:10 am ]
Post subject: 

Is this from knoppmyth install or from a compiled frontend (or rpm/package installed frontend)? Both of my compiled frontends do this everytime I start them. Probably because I am running as a normal user and most likely there is a file that a normal user can't write too. An RPM/package install would probably do the same.
On my knoppmyth box itself (which is ran as both backend and frontend in my living room) it doesn't do this.

Author:  msdemich [ Mon Jul 25, 2005 11:53 pm ]
Post subject: 

I reinstalled KnoppMyth R5A16 from scratch again.

I still get the "prescanning" progress bar, but it completes in about 2 seconds, where before it took almost a minute each time. I have no idea why it works now.

Author:  willem [ Mon Aug 01, 2005 6:43 am ]
Post subject: 

The prescaled images are stored in ~/.mythtv/themecache/ If this directory is not present or the user doesn't have sufficient privileges the images have to be scaled at every start since they cannot be cached.
Another reason could be selecting a new theme at each start. I believe there is an option where you have a random theme at every start of mythfrontend.

Author:  jams [ Mon Aug 29, 2005 11:00 pm ]
Post subject: 

Little late with an answer but for reference it most likely was a timestamp issue.

if the timestamp on a theme is newer then cache then it rescales the images. Normally this works fine but if somehow the clock is set incorrectly or the date on the theme is incorrect problems like this occur.

Author:  tjc [ Tue Aug 30, 2005 9:10 pm ]
Post subject: 

Yep. Good call. That's a likely candidate... Try this to find out...
Code:
TS_FILE=/tmp/timestamp.$$
touch $TS_FILE
find / -newer $TS_FILE -ls 2>/dev/null | sed -e '/ \/sys/d' -e '/ \/proc/d'
rm $TS_FILE

You should only see a couple /dev files for pseudo ttys or virtual consoles...

Author:  khrusher [ Wed Aug 31, 2005 5:45 am ]
Post subject: 

intresting, future dated files. would a

Code:
touch <future_dated_file>


pull the timestamp back?

Author:  jams [ Wed Aug 31, 2005 8:38 am ]
Post subject: 

yes touching the file would make the timestamp current

Author:  parkinpants [ Thu May 03, 2007 3:15 pm ]
Post subject:  pre-scaling theme images

I have always had this problem from R5A12 up to whatever we are up to these days.

Every time i start mythtvfrontend it does "pre-scaling theme images" 1-100% and it does it 2 or 3 times and it takes bloody ages, it is especially worse with the more graphical themes.

I presumed this was normal and it was just slow because of my low graphics card - 32mb built into motherboard.

I don't quite understand the solution though boys... incorrect clock? timestamps?

help, cheers!

___________________
VIA EPIA MII
Nova-T
512 RAM
SVIDEO TV OUT

Author:  borgednow [ Thu May 03, 2007 10:10 pm ]
Post subject: 

Mine does it too, but it didn't when I used the default theme. When I changed it, it started prescaling every time mythtv loads. I'm using Blue right now.

But for me, it zips along. It only takes 2 seconds, so I don't really mind.

Author:  slowtolearn [ Fri May 04, 2007 7:51 am ]
Post subject:  Re: pre-scaling theme images

parkinpants wrote:
I have always had this problem from R5A12 up to whatever we are up to these days.

Every time i start mythtvfrontend it does "pre-scaling theme images" 1-100% and it does it 2 or 3 times and it takes bloody ages, it is especially worse with the more graphical themes.

I presumed this was normal and it was just slow because of my low graphics card - 32mb built into motherboard.

I don't quite understand the solution though boys... incorrect clock? timestamps?
Check your theme image timestamps - http://svn.mythtv.org/trac/ticket/3189

Author:  borgednow [ Fri May 04, 2007 10:15 am ]
Post subject:  Re: pre-scaling theme images

slowtolearn wrote:
parkinpants wrote:
I have always had this problem from R5A12 up to whatever we are up to these days.

Every time i start mythtvfrontend it does "pre-scaling theme images" 1-100% and it does it 2 or 3 times and it takes bloody ages, it is especially worse with the more graphical themes.

I presumed this was normal and it was just slow because of my low graphics card - 32mb built into motherboard.

I don't quite understand the solution though boys... incorrect clock? timestamps?
Check your theme image timestamps - http://svn.mythtv.org/trac/ticket/3189


Everything in the blue directory on my system is dated 12/20/2006. In the default, it's mixed between 12/2/2006 and 12/20/2006.

So for me, at least, it's not a timestamp issue, as far as I can tell.

I can't seem to find the mythfrontend.log file that the ticket mentioned. I did a find / -iname mythfrontend.log and nothing came back.

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/