[mythtv-users] FE artwork periodically flashes away

Joseph Fry joe at thefrys.com
Tue Nov 4 03:46:31 UTC 2014


On Mon, Nov 3, 2014 at 8:07 PM, Hika van den Hoven <hikavdh at gmail.com>
wrote:

> Hoi Mark,
>
> Tuesday, November 4, 2014, 1:36:52 AM, you wrote:
>
> > Hi, trying to chase down a very minor glitch in a standalone remote
> Ubuntu
> > Frontend.
>
> > Basically every once in a while (say average of 10minutes or so) when
> idle
> > in the Watch Recordings screen (Mythbuntu Theme) I get the fanart /
> coverart
> > flashes away (reverse flashes, ie off-on rather than on-off) a number of
> > times (1 - 30 times) before stopping again for a while (5 - 20minutes). I
> > have not noticed a pattern in the number of flashes, or the time between
> > blocks of flashes.
>
> > I have turned on some additional logging and have found that the pictures
> > flashing away coincide with messages like these. For each flash (off-on)
> > there is a single repeat of this block of messages and the block might
> > repeat 1-30 times over a period of 1-30sec, once for each flash at a
> rate of
> > about 1 flash per second. Note that the file names referenced change
> > depending on what program I am idling at in the Watch Recordings Screen:
>
> > 2014-11-04 10:11:43.161964 D  PlaybackBox: Ignoring PREVIEW_SUCCESS,
> item no
> > longer on screen.
> > 2014-11-04 10:11:43.162422 I  PlaybackBox: Loading preview
> > /home/mythtv/.mythtv/remotecache/1010_20140721121700.mp4.png,
> >                         msg On Disk
> > 2014-11-04 10:11:43.363774 I  PlaybackBox: Loading preview
> > /home/mythtv/.mythtv/remotecache/1010_20140714121700.mp4.png,
> >                         msg On Disk
> > 2014-11-04 10:11:43.364050 I  PlaybackBox: Loading preview
> > /home/mythtv/.mythtv/remotecache/1010_20140707110700.mp4.png,
> >                         msg On Disk
> > 2014-11-04 10:11:43.364940 I  PlaybackBox: Loading preview
> > /home/mythtv/.mythtv/remotecache/1010_20140630111200.mp4.png,
> >                         msg On Disk
> > 2014-11-04 10:11:43.365837 I  PlaybackBox: Loading preview
> > /home/mythtv/.mythtv/remotecache/1010_20140623111200.mp4.png,
> >                         msg On Disk
> > 2014-11-04 10:11:43.366160 I  PlaybackBox: Loading preview
> > /home/mythtv/.mythtv/remotecache/1010_20140616110700.mp4.png,
> >                         msg On Disk
> > 2014-11-04 10:11:43.367055 I  PlaybackBox: Loading preview
> > /home/mythtv/.mythtv/remotecache/1010_20140609110700.mp4.png,
> >                         msg On Disk
> > 2014-11-04 10:11:43.367313 I  PlaybackBox: Loading preview
> > /home/mythtv/.mythtv/remotecache/1010_20140602110700.mp4.png,
> >                         msg On Disk
> > 2014-11-04 10:11:43.368189 I  PlaybackBox: Loading preview
> > /home/mythtv/.mythtv/remotecache/1010_20140526110200.mp4.png,
> >                         msg On Disk
>
> > I am assuming that the key is the 'Ignoring PREVIEW_SUCCESS' part and
> that
> > for some reason the FE thinks that the artwork is no longer on the screen
> > (when it is on the screen) so it reloads hence the brief flash. But as to
> > why I have no idea. Any suggestions on where to go next would be greatly
> > appreciated.
>
> > In case it helps, I see nothing unusual in the other menu screens and
> also
> > do not see any flashing during playback. It is only while idle on the
> Watch
> > Recordings screen. Also the flashing only occurs on the artwork and not
> the
> > mythtv generated preview file from the recording, or the text associated
> > with the recording. I can try and record the screen while it is
> happening if
> > anyone feels that would be of use.
>
> > Please attach all output as a file in bug reports.
> > MythTV Version : v0.27.1-14-g2720f45
> > MythTV Branch : fixes/0.27
> > Network Protocol : 77
> > Library API : 0.27.20140520-1
> > QT Version : 4.8.6
> > Options compiled in:
> >  linux profile use_hidesyms using_alsa using_oss using_pulse
> > using_pulseoutput using_backend using_bindings_perl using_bindings_python
> > using_bindings_php using_crystalhd using_dvb using_firewire
> using_frontend
> > using_hdhomerun using_ceton using_hdpvr using_ivtv using_joystick_menu
> > using_libcrypto using_libdns_sd using_libfftw3 using_libxml2 using_lirc
> > using_mheg using_opengl using_opengl_video using_qtwebkit using_qtscript
> > using_qtdbus using_taglib using_v4l2 using_x11 using_xrandr using_xv
> > using_profiletype using_bindings_perl using_bindings_python
> > using_bindings_php using_mythtranscode using_opengl using_vaapi
> using_vdpau
> > using_ffmpeg_threads using_mheg using_libass using_libxml2
>
> Just a thought, have you looked into issues concerning powersave? Also
> is the metadata on another physical disk, that for instance spins down.
>
>
The error doesn't point at a file being unavailable.

Looking at the code for playbackbox.cpp, it looks like the handlepreview
event is getting spawned multiple times... almost as though you moved away
and back to the item.

I don't know the code well enough to understand what would spawn that
event, other than moving up or down the list, but I suspect that it's not
related to your hdd spinning down or the file being otherwise inaccessible.

I suspect that it is related to powersaving.

Check your frontends  "FrontendIdleTimeout" value (you can see it in the
general setup screen (I think) or in mythweb (in the settings > mythtv page
after selecting the frontend from the dropdown).  I wonder if perhaps when
this timer expires it triggers something that takes the focus away from the
frontend briefly... setting off a new handlepreview event when the focus
returns?  Maybe it tries several times and gives up.

Perhaps you didn't disable xscreensaver as completely as you think, and
it's stealing the focus over and over before finally failing?  You could
try disabling xscreensaver by stopping the service altogether?

I could be way off base, this is just speculation, but something is
definitely triggering these events multiple times before giving up.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20141103/e13fd11f/attachment.html>


More information about the mythtv-users mailing list