<div dir="ltr">I, too, was having problems with audio stuttering during ATSC playback using XvMC on both an NVidia 5200 FX and 6200.&nbsp; The stuttering only occurred when the OSD was shown: selecting a new channel, and searching forwards or backwards.&nbsp; I had been using the AGPGART AGP driver included in the Linux 2.6.xx kernel.<br>
<br>Last weekend I switched to the propritary AGP driver provided by NVidia.&nbsp; This required adding the &#39;agp=off&#39; argument to the kernel in the &#39;grub.conf&#39; file and re-installing the kernel with grub.&nbsp; Since then, I&#39;ve been able to play ATSC content without XvMC just fine by chosing the &#39;Normal&#39; or &#39;High Quality&#39; playback profiles in the MythTV front-end.&nbsp; There&#39;s a higher load placed on the CPU (P4 3.0 GHz Hyper-threaded), but it&#39;s only around 70% of an otherwise idle machine.&nbsp; So, my suggestion might be to try using the NVidia AGP driver.&nbsp; More info on configuring the AGP driver is available on the NVidia site (<a href="http://us.download.nvidia.com/XFree86/Linux-x86_64/169.04/README/chapter-12.html">http://us.download.nvidia.com/XFree86/Linux-x86_64/169.04/README/chapter-12.html</a>).<br>
<br>Regards,<br>Scott Kidder<br><br><div class="gmail_quote">On Mon, Jul 28, 2008 at 7:21 AM, Allen Edwards <span dir="ltr">&lt;<a href="mailto:allen.edwards@oldpaloalto.com">allen.edwards@oldpaloalto.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">On Sun, Jul 27, 2008 at 11:25 PM, &nbsp;&lt;<a href="mailto:ojw@weilerfamily.com">ojw@weilerfamily.com</a>&gt; wrote:<br>

&gt; Quoting Kevin Kuphal &lt;<a href="mailto:kkuphal@gmail.com">kkuphal@gmail.com</a>&gt;:<br>
&gt;<br>
&gt;&gt; On Sat, Jul 26, 2008 at 11:56 PM, &lt;<a href="mailto:ojw@weilerfamily.com">ojw@weilerfamily.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;m having what seems to be an XvMC problem. &nbsp;Perhaps someone<br>
&gt;&gt;&gt; here can give me a sanity check...<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;m running a P4 1.8Ghz (400Mhz FSB) with 640MB of RAM on a Dell<br>
&gt;&gt;&gt; Dimension 4400. &nbsp;I&#39;m using a nvidia 6200 AGP based card (specifically,<br>
&gt;&gt;&gt; this one:<br>
&gt;&gt;&gt; <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16814130233" target="_blank">http://www.newegg.com/Product/Product.aspx?Item=N82E16814130233</a>)<br>
&gt;&gt;&gt; I&#39;m recording only mpeg2 streams from an ATSC tuner. &nbsp;When I try<br>
&gt;&gt;&gt; to playback 1080i based recordings, I&#39;m averaging in the mid 70%<br>
&gt;&gt;&gt; range on my cpu meter as reported by top and about every 5 seconds,<br>
&gt;&gt;&gt; the video stutters. &nbsp;Based on what I&#39;ve heard on this list, this<br>
&gt;&gt;&gt; sounds like this card should be able to offload some of that cpu<br>
&gt;&gt;&gt; and that maybe I don&#39;t have XvMC set up correctly.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;m pretty sure I followed all the instructions at<br>
&gt;&gt;&gt; <a href="http://www.mythtv.org/wiki/index.php/XvMC" target="_blank">http://www.mythtv.org/wiki/index.php/XvMC</a>.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Here are some of the things I have checked:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &quot;dmesg | grep nvidia&quot; produces this:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; nvidia: module license &#39;NVIDIA&#39; taints kernel.<br>
&gt;&gt;&gt; NVRM: loading NVIDIA UNIX x86 Kernel Module &nbsp;173.14.05 &nbsp;Mon May 19<br>
&gt;&gt;&gt; 00:06:12 PDT 2008<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The kernel version is <a href="http://2.6.25.4" target="_blank">2.6.25.4</a> compiled from sources from <a href="http://kernel.org" target="_blank">kernel.org</a>.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &quot;/sbin/lspci | grep -i nvidia&quot; produces:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 01:00.0 VGA compatible controller: nVidia Corporation NV44A [GeForce<br>
&gt;&gt;&gt; 6200] (rev a1)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &quot;/sbin/lsmod | grep -i nvidia&quot; produces:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; nvidia &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 7091236 &nbsp;36<br>
&gt;&gt;&gt; i2c_core &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 20756 &nbsp;12<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; lgdt330x,qt1010,mt2060,mt352,zl10353,xc3028_tuner,tvp5150,tuner,nvidia,em28xx,i2c_i801,tveeprom<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The video card section of my xorg.conf looks like this:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Section &quot;Device&quot;<br>
&gt;&gt;&gt; &nbsp; &nbsp; Identifier &nbsp; &nbsp; &quot;Videocard0&quot;<br>
&gt;&gt;&gt; &nbsp; &nbsp; Driver &nbsp; &nbsp; &nbsp; &nbsp; &quot;nvidia&quot;<br>
&gt;&gt;&gt; &nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; &quot;UseEvents&quot; &quot;true&quot;<br>
&gt;&gt;&gt; &nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; &quot;XvmcUsesTextures&quot; &quot;false&quot;<br>
&gt;&gt;&gt; &nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; &quot;NVAGP&quot; &quot;1&quot;<br>
&gt;&gt;&gt; EndSection<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; When I do this &quot;grep Motion /var/log/Xorg.0.log&quot;, I get this:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; (II) Loading extension XVideo-MotionCompensation<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Running &quot;mythfrontend --version&quot; produces this:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Please include all output in bug reports.<br>
&gt;&gt;&gt; MythTV Version &nbsp; : exported<br>
&gt;&gt;&gt; MythTV Branch &nbsp; &nbsp;: tags/release-0-21<br>
&gt;&gt;&gt; Library API &nbsp; &nbsp; &nbsp;: 0.21.20080304-1<br>
&gt;&gt;&gt; Network Protocol : 40<br>
&gt;&gt;&gt; Options compiled in:<br>
&gt;&gt;&gt; &nbsp;linux release using_oss using_alsa using_backend using_dbox2<br>
&gt;&gt;&gt; using_dvb using_frontend using_hdhomerun using_iptv using_ivtv<br>
&gt;&gt;&gt; using_joystick_menu using_v4l using_x11 using_xrandr using_xv<br>
&gt;&gt;&gt; using_xvmc using_xvmcw using_xvmc_vld using_bindings_perl<br>
&gt;&gt;&gt; using_bindings_python using_opengl using_ffmpeg_threads using_live<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I created a playback profile that only uses xvmc. &nbsp;The<br>
&gt;&gt;&gt; &quot;playback&quot; setting screen (3 of 9) has only one line that<br>
&gt;&gt;&gt; looks like this:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; if rez &gt; 0 0 -&gt; XvMC<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; So I&#39;m kinda at a loss. &nbsp;I&#39;m a newbie to MythTV so feel<br>
&gt;&gt;&gt; free to point out the obvious. &nbsp;I&#39;m a competent linux admin<br>
&gt;&gt;&gt; so if I need to run some more diagnostics from the command<br>
&gt;&gt;&gt; line, I&#39;d be happy and able to do that.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Any thoughts?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Also make sure you have the Composite extension disabled (double check the<br>
&gt;&gt; XvMC page as I&#39;m sure it mentions this)<br>
&gt;<br>
&gt; I checked this and I am indeed disabling the Composite extension. &nbsp;In<br>
&gt; another post, william_munson at comcast suggested I check the contents<br>
&gt; of /etc/X11/XvMCconfig to make sure it has one line that says<br>
&gt; &quot;libXvMCNVIDIA_dynamic.so.1&quot; which it does, though I used a capital C<br>
&gt; in Config when I created the filename. &nbsp;Just in case, I made a<br>
&gt; symbolic link from XvMCconfig to XvMCConfig. &nbsp;None of that helped.<br>
&gt;<br>
&gt; I did a little bit more searching and found that I probably should<br>
&gt; have built myth with the following config options:<br>
&gt;<br>
&gt; --enable-opengl-video --xvmc-lib=XvMCNVIDIA<br>
&gt;<br>
&gt; I did that, then remake&#39;d the source and installed and still didn&#39;t<br>
&gt; affect cpu utilization.<br>
&gt;<br>
&gt; I suppose now would be a good time to ask:<br>
&gt;<br>
&gt; 1. &nbsp;Did I get the wrong card?<br>
&gt;<br>
&gt; 2. &nbsp;If #1 is no, am I expecting too much out of my poor little old P4 1.8Ghz?<br>
&gt;<br>
&gt; 3. &nbsp;Do I need to run nvidia-xconfig or nvidia-settings to help with<br>
&gt; this situation?<br>
&gt;<br>
&gt; 4. &nbsp;In the XvMC samples page<br>
&gt; (<a href="http://www.mythtv.org/wiki/index.php/XvMC:Example_CPU_Savings" target="_blank">http://www.mythtv.org/wiki/index.php/XvMC:Example_CPU_Savings</a>), one<br>
&gt; note said that to get XvMC working, one had to turn on NvAGP. &nbsp;I&#39;m<br>
&gt; guessing I have it on based on my settings posted above but how do I<br>
&gt; know what to set it to or am I barking up the wrong tree?<br>
&gt;<br>
&gt; Any other helpful hints to get XvMC working would be greatly appreciated.<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; mythtv-users mailing list<br>
&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
&gt; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
&gt;<br>
<br>
</div></div>I could not get acceptable playback with ATSC with my 2.4GHz P4. &nbsp;It<br>
would stutter about once every half hour. &nbsp;My wife couldn&#39;t stand it.<br>
I bought a new AMD 5400+ and it works great. &nbsp;But, it even it<br>
stuttered when OSD was on with XvMC so I don&#39;t use it. &nbsp;The install<br>
instructions encourage no XvMC but with your 1.8G machine, I don&#39;t<br>
think you will get anything to work without it.<br>
<font color="#888888"><br>
Allen<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br></div>