[mythtv-users] Trying to get XVMC to work.

Kevin Kuphal kkuphal at gmail.com
Tue Apr 22 13:42:55 UTC 2008


On Mon, Apr 21, 2008 at 6:20 PM, stuart <stuart at xnet.com> wrote:

>
> Hi...
>
> I'm running mythtv 21 and can not get XVMC to work.
>
> If I run the "slim" profile, I can watch live NTSC, ATSC 720p, and ATSC
> 1080i.  But the 1080i stutters (pauses about 1/4 a second for ever
> second).  So I am trying to invoke hardware decoding on a Nvidia 6000
> card.  But, I am sure I am doing something wrong as trying to watch a
> live 1080i pegs the processor w/the mythfrontend taking about 92% of the
> processing power.  BTW, the screen goes black and I have to kill the
> front end through a telnet session.  To envoke XVNC I switched to the
> "cpu--" profile.
>
> As I have not been able to find an example of a mythfrontend log where
> XVMC was properly launched, I can only guess at what is going on.  Below
> I cut and pasted my mythfrontend log during the start up of a 1080i live
> TV session.  Can anyone see a problem (yes, I see the sound problem, but
> this configuration was working while using the "slim" profile.)
>
> --------------------------------------------------------------------
> 2008-04-20 11:46:11.803 ~OpenGLVideoSync() -- begin
> 2008-04-20 11:46:11.803 ~OpenGLVideoSync() -- middle
> 2008-04-20 11:46:11.804 ~OpenGLVideoSync() -- end
> 2008-04-20 11:46:12.003 Using protocol version 40
> 2008-04-20 11:46:19.812
> RingBuf(/space/recordings/2051_20080420114612.mpg): Invalid file (fd -1)
> when opening '/space/recordings/2051_20080420114612.mpg'.
> 2008-04-20 11:46:19.828 NVP: Disabling Audio, params(-1,2,44100)
> 2008-04-20 11:46:19.839 VideoOutputXv: Desired video renderer 'ivtv' not
> available.
>                         codec 'None' makes 'xv-blit,xshm,xlib,'
> available, using 'xv-blit' instead.
> 2008-04-20 11:46:19.842 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video
> Texture'
> 2008-04-20 11:46:19.907 OSD Theme Dimensions W: 640 H: 480
> 2008-04-20 11:46:20.398 FilterManager: failed to load filter 'none', no
> such filter exists
> 2008-04-20 11:46:20.398 Couldn't load deinterlace filter none
> 2008-04-20 11:46:20.399 Realtime priority would require SUID as root.
> 2008-04-20 11:46:20.496 OpenGLVideoSync()
> 2008-04-20 11:46:20.536 Video timing method: SGI OpenGL
> 2008-04-20 11:46:20.573 VideoOutputXv: XvMC Adaptor Name: 'NV17 Video
> Texture'
> 2008-04-20 11:46:20.829 VideoOutputXv: ProcessFrameXvMC: Tried to reuse
> frame but failed
> 2008-04-20 11:46:20.829 VideoOutputXv: ProcessFrameXvMC: Called without
> frame
> 2008-04-20 11:46:20.837 AFD: Opened codec 0x993a290, id(MPEG2VIDEO_XVMC)
> type(Video)
> 2008-04-20 11:46:20.838 AFD: codec AC3 has 6 channels
> No accelerated IMDCT transform found
> 2008-04-20 11:46:20.839 AFD: Opened codec 0x99ac190, id(AC3) type(Audio)
> 2008-04-20 11:46:20.843 Opening audio device 'spdif'. ch 2(2) sr 48000
> 2008-04-20 11:46:20.843 Opening ALSA audio device 'iec958:{ AES0 0x02 }'.
> ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL /dev/mixer
> 2008-04-20 11:46:20.846 AudioOutput Warning: Mixer attach error -2: No
> such file or directory
>                         Check Mixer Name in Setup: '/dev/mixer'
> 2008-04-20 11:46:20.847 NVP: Enabling Audio
> 2008-04-20 11:46:20.849 Opening audio device 'spdif'. ch 2(2) sr 48000
> 2008-04-20 11:46:20.849 Opening ALSA audio device 'iec958:{ AES0 0x02 }'.
> ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL /dev/mixer
> 2008-04-20 11:46:20.852 AudioOutput Warning: Mixer attach error -2: No
> such file or directory
>                         Check Mixer Name in Setup: '/dev/mixer'
> 2008-04-20 11:46:20.864 XvMC: picture structure FRAME
> --------------------------------------------------------------------
>
> ...that's it, now the CPU is running the mythfrontend about 92% of the
> time.  The other 8% are split between the X server and the mythbackend.
>
> ...thanks for any help


You've got alot of errors in there including audio, etc.  I would start one
by one to fix them and as far as XvMC, the process and caveats (including
the CPU one) are listed on the XvMC page on the wiki.
http://www.mythtv.org/wiki/index.php/XvMC

Audio issues can cause lots of additional overhead also

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080422/5c22f7ef/attachment.htm 


More information about the mythtv-users mailing list