[mythtv] EPIA M10k - XvMC: Very high CPU (even when paused!!)

Terry Barnaby terry1 at beam.ltd.uk
Wed Jan 17 07:45:55 UTC 2007


Colin Guthrie wrote:
> Apologies if this is more a user (or in this case numptie) list
> question, but I'm a bit confused by the behaviour I'm noticing from this
> and wonder if there is a problem with the OSD display perhaps.
> 
> Using the viaXvMC playback and no interlace correction.
> 
> Playing recorded TV I get relatively smooth playback, but the CPU is
> faily high - around 60-70%. I'm beginning to thing this is more than it
> ought to be.
> 
> Turning on interlacing and I get pre-buffering pauses and the playback
> is jittery.
> 
> I thought that even the lower powered EPIA machines should be able to
> handle this kind of thing relatively simple.
> 
> I think I am using ChromaKey OSD but not sure if it's needed any more(?)
> 
> 
> The oddest thing about this tho', is that even when the video is paused,
> the machine will take up 40-50% CPU load!! This seems pretty strange to
> me. Can anyone think why this is?
> 
> I get the following info in the log (-v playback,important,libav,general)
> 
> stream: start_time: 72854.927 duration: 7586.681 bitrate=3833 kb/s
> 2006-12-28 13:32:37.954 AFD: Opened codec 0x896f3a0, id(MPEG2VIDEO)
> type(Video)
> 2006-12-28 13:32:37.954 AFD: Opened codec 0x896f9d0, id(MP3) type(Audio)
> 2006-12-28 13:32:37.955 AFD: Opened codec 0x8908e10, id(DVB_SUBTITLE)
> type(Subtitle)
> 0: start_time: 6556.979 duration: 682.765
> 1: start_time: 6556.943 duration: 682.731
> 2: start_time: 6556.943 duration: 682.801
> 3: start_time: 6556.943 duration: 682.801
> stream: start_time: 72854.927 duration: 7586.681 bitrate=3833 kb/s
> 2006-12-28 13:32:38.257 AFD: Opened codec 0x899d970,
> id(MPEG2VIDEO_XVMC_VLD) type(Video)
> 2006-12-28 13:32:38.257 AFD: Opened codec 0x899dce0, id(MP3) type(Audio)
> 2006-12-28 13:32:38.257 AFD: Opened codec 0x899e1c0, id(DVB_SUBTITLE)
> type(Subtitle)
> 2006-12-28 13:32:38.273 Opening OSS audio device '/dev/dsp'.
> [mpegts @ 0xb75f3a90]Parser not found for Codec Id: 94211 !
> 0: start_time: 6556.979 duration: 682.765
> 1: start_time: 6556.943 duration: 682.731
> 2: start_time: 6556.943 duration: 682.801
> 3: start_time: 6556.943 duration: 682.801
> stream: start_time: 72854.927 duration: 7586.681 bitrate=3833 kb/s
> 2006-12-28 13:32:38.826 AFD: Opened codec 0x8901b60, id(MPEG2VIDEO)
> type(Video)
> 2006-12-28 13:32:38.827 AFD: Opened codec 0x884b840, id(MP3) type(Audio)
> 2006-12-28 13:32:38.827 AFD: Opened codec 0x82d8400, id(DVB_SUBTITLE)
> type(Subtitle)
> 2006-12-28 13:32:39.944 VideoOutputXv: XvMCTex: Init failed
> 2006-12-28 13:32:39.946 VideoOutputXv: XvMC Adaptor Name: 'XV_SWOV'
> 2006-12-28 13:32:39.983 NVP: Forcing decode extra audio option on.
>                         XvMC playback requires it.
> 
> 
> 
> I'm not sure if this means that it is actually using the XVMC_VLD or
> not? It certainly seems to try, but then it fall back to standard again?
> Not sure if I'm interpreting this correctly tho'?
> 
> I also see these errors:
> 2006-12-28 13:32:40.325 OSDImgCache, Error:
> cache_+usr+local+share+mythtv+themes+isthmus+osd-mid.png at 1_1_-1_-1 wrong
> cache file size!167936 != 208008
> 2006-12-28 13:32:40.385 OSDImgCache, Error:
> cache_+usr+local+share+mythtv+themes+isthmus+osd-channel-edit.png at 1_1_-1_-1
> wrong cache file size!0 != 8
> 
> 
> Which could be related? Don't know.
> 
> I'm currently trying to see if I can get XvMC working with mplayer but
> it would appear to need patching first with openchrome patches...
> looking at that now.
> 
> Any help/advice appreciated.
> 
> Col.
> 
> 
> 

Note that there was a bug in MythTv 0.20 that caused the OSD to be on 
for Interactive TV. This caused 70% + CPU usage. This was fixed in the 
CVS version. There is an earlier thread on this issue but I can remember 
the name ...

Terry


More information about the mythtv-dev mailing list