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

<div>&nbsp;</div>
<div>Well, one thing to confirm is, do you get a greyscale OSD when watching recordings?&nbsp; If not, XvMC may not be running yet.</div>
<div>&nbsp;</div>
<div>Kevin</div></div></div>