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