[mythtv-users] Sluggish Frontend on 4k TV
Michael T. Dean
mtdean at thirdcontact.com
Thu Dec 3 17:01:04 UTC 2015
On 12/03/2015 11:48 AM, Duncan Brown wrote:
> Bit of a fudge, but I've set it so the gui runs at 1080 and only
> switches up to 4k during playback
>
> that works well enough for now
Are you sure your theme cache is usable/used properly? Sounds like
mythfrontend was wasting time scaling images every time it needed them.
In $HOME/.mythtv/ should have a themecache and remotecache directories,
and they must be usable by the user running mythfrontend. Note, too,
that it's important you find the right .mythtv directory (it may not be
in your $HOME or even in a mythtv user's $HOME, depending on how your
distro configures things). Look for a line in the frontend log that says:
Using configuration directory = /home/mythtv/.mythtv
or similar.
If you have properly configured your $HOME/.mythtv to allow the user
running mythfrontend to write to it, you can simply shut down
mythfrontend, then:
sudo rm -r .mythtv/{theme,remote,thumb}cache .mythtv/Cache*
and then restart mythfrontend. When you do, you'll see a message about
pre-scaling theme images, at which point if those directories you
deleted are re-created, you should have a valid image cache. (Note, too,
that some other images will be scaled on the fly--slow the first time,
then faster after--for things like banners and fanart and such).
If that doesn't help, it's likely I/O issues--i.e. like storing a 4k
image cache on a network-mounted file system or some slow-to-read
storage system.
Mike
More information about the mythtv-users
mailing list