[mythtv-users] Issue exiting to main menu and extremely high cpu usage for the frontend

Matthew Anderson muss3000 at gmail.com
Mon Jan 3 07:35:13 UTC 2011


Hi All,

I took your advice (Thanks Jean-Yves Avenard) and downloaded and installed
mythtv (fixes/0.24) using git and this seems to have resolved my ability to
watch tv without it freezing however I am having troubles no when I exit
from a channel to the main menu or occasionally when I switch channels. I
look at the console running the mythfrontend in the background and I still
see something similar to what I saw with my initial issue of it just locking
up. See below: -

2011-01-03 17:30:48.816 Player(0): Waited 100ms for video buffers
UUAAUAALAALAAAAAAAAAUUAUUAUUUUU
2011-01-03 17:31:10.920 Player(0): Waited 100ms for video buffers
AUAAUAAuAALAAAAAAAAAUUAUUAUUAuU
2011-01-03 17:31:33.024 Player(0): Waited 100ms for video buffers
AUAAUAAUAAuAALAAAAAAUUAUUAUUAuA
2011-01-03 17:31:42.389 TV: Attempting to change from WatchingLiveTV to None

Has anyone seen this? Am I missing a particular config?

This is the version that I checked out: -

matt at mythbackend-test:/root$ mythfrontend --version
Please attach all output as a file in bug reports.
MythTV Version   : v0.24-97-g3ec48f2
MythTV Branch    : fixes/0.24
Network Protocol : 63
Library API      : 0.24.20101129-1
QT Version       : 4.7.0
Options compiled in:
 linux release using_alsa using_jack using_oss using_pulse using_pulseoutput
using_backend using_bindings_perl using_bindings_python using_dvb
using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv
using_joystick_menu using_lirc using_mheg using_opengl_video
using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11
using_xrandr using_xv using_bindings_perl using_bindings_python
using_mythtranscode using_opengl using_ffmpeg_threads using_live using_mheg



Issue 2: -

I have noticed something I have not seen before where the mythfrontend is
taking up 100% CPU usage. With my setup I have a backend PC (I7 Quad Core,
4Gb Ram) to do all the recordings and I have smaller PC (single core
1.73Ghz) to do the play back only. Now when I am watching tv on the frontend
it seems its taking up 100% of the cpu (no io) and the playback isn't that
crisp anymore. I thought the frontend was lightweight and effectively
rendered the recordings/stream sent via the backend? Is there some sort of
config that will help alleviate this issue?

*Note - this didn't occur in my previous version which was 0.21

This is the output from top (when watching tv): -
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 8101 matt      20   0  432m 107m  49m R 94.8 22.0   8:23.51 mythfrontend
  978 root      20   0 82344  31m  25m S  1.9  6.5   5:16.78 Xorg
    1 root      20   0  3288  720  452 S  0.0  0.1   0:00.95 init

This is the output from iostat (when watching tv): -
avg-cpu:  %user   %nice %system %iowait  %steal   %idle
          82.59    0.00   17.41    0.00    0.00    0.00


Thanks again for reading this and hopefully someone can point me in the
right direction

With Regards,
Matt Anderson



More information about the mythtv-users mailing list