<br><br>
<div class="gmail_quote">On Mon, Apr 21, 2008 at 6:20 PM, stuart &lt;<a href="mailto:stuart@xnet.com">stuart@xnet.com</a>&gt; 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&#39;m running mythtv 21 and can not get XVMC to work.<br><br>If I run the &quot;slim&quot; profile, I can watch live NTSC, ATSC 720p, and ATSC<br>
1080i. &nbsp;But the 1080i stutters (pauses about 1/4 a second for ever<br>second). &nbsp;So I am trying to invoke hardware decoding on a Nvidia 6000<br>card. &nbsp;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. &nbsp;BTW, the screen goes black and I have to kill the<br>front end through a telnet session. &nbsp;To envoke XVNC I switched to the<br>&quot;cpu--&quot; 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. &nbsp;Below<br>I cut and pasted my mythfrontend log during the start up of a 1080i live<br>TV session. &nbsp;Can anyone see a problem (yes, I see the sound problem, but<br>
this configuration was working while using the &quot;slim&quot; 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 &#39;/space/recordings/2051_20080420114612.mpg&#39;.<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 &#39;ivtv&#39; not<br>available.<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; codec &#39;None&#39; makes &#39;xv-blit,xshm,xlib,&#39;<br>
available, using &#39;xv-blit&#39; instead.<br>2008-04-20 11:46:19.842 VideoOutputXv: XVideo Adaptor Name: &#39;NV17 Video<br>Texture&#39;<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 &#39;none&#39;, no<br>
such filter exists<br>2008-04-20 11:46:20.398 Couldn&#39;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: &#39;NV17 Video<br>Texture&#39;<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 &#39;spdif&#39;. ch 2(2) sr 48000<br>2008-04-20 11:46:20.843 Opening ALSA audio device &#39;iec958:{ AES0 0x02 }&#39;.<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>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Check Mixer Name in Setup: &#39;/dev/mixer&#39;<br>2008-04-20 11:46:20.847 NVP: Enabling Audio<br>
2008-04-20 11:46:20.849 Opening audio device &#39;spdif&#39;. ch 2(2) sr 48000<br>2008-04-20 11:46:20.849 Opening ALSA audio device &#39;iec958:{ AES0 0x02 }&#39;.<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>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Check Mixer Name in Setup: &#39;/dev/mixer&#39;<br>2008-04-20 11:46:20.864 XvMC: picture structure FRAME<br>
--------------------------------------------------------------------<br><br>...that&#39;s it, now the CPU is running the mythfrontend about 92% of the<br>time. &nbsp;The other 8% are split between the X server and the mythbackend.<br>
<br>...thanks for any help</blockquote>
<div>&nbsp;</div>
<div>You&#39;ve got alot of errors in there including audio, etc.&nbsp; 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.&nbsp; <a href="http://www.mythtv.org/wiki/index.php/XvMC">http://www.mythtv.org/wiki/index.php/XvMC</a></div>

<div>&nbsp;</div>
<div>Audio issues can cause lots of additional overhead also</div>
<div>&nbsp;</div>
<div>Kevin</div></div>