<div dir="ltr"><div class="gmail_quote">On Mon, Jul 28, 2008 at 1:25 AM, <<a href="mailto:ojw@weilerfamily.com">ojw@weilerfamily.com</a>> 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 <<a href="mailto:kkuphal@gmail.com">kkuphal@gmail.com</a>>:<br><br>> On Sat, Jul 26, 2008 at 11:56 PM, <<a href="mailto:ojw@weilerfamily.com">ojw@weilerfamily.com</a>> wrote:<br>
><br>>><br>>> I'm having what seems to be an XvMC problem. Perhaps someone<br>>> here can give me a sanity check...<br>>><br>>> I'm running a P4 1.8Ghz (400Mhz FSB) with 640MB of RAM on a Dell<br>
>> Dimension 4400. I'm using a nvidia 6200 AGP based card (specifically,<br>>> this one:<br>>> <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16814130233" target="_blank">http://www.newegg.com/Product/Product.aspx?Item=N82E16814130233</a>)<br>
>> I'm recording only mpeg2 streams from an ATSC tuner. When I try<br>>> to playback 1080i based recordings, I'm averaging in the mid 70%<br>>> range on my cpu meter as reported by top and about every 5 seconds,<br>
>> the video stutters. Based on what I've heard on this list, this<br>>> sounds like this card should be able to offload some of that cpu<br>>> and that maybe I don't have XvMC set up correctly.<br>
>><br>>> I'm pretty sure I followed all the instructions at<br>>> <a href="http://www.mythtv.org/wiki/index.php/XvMC" target="_blank">http://www.mythtv.org/wiki/index.php/XvMC</a>.<br>>><br>>> Here are some of the things I have checked:<br>
>><br>>> "dmesg | grep nvidia" produces this:<br>>><br>>> nvidia: module license 'NVIDIA' taints kernel.<br>>> NVRM: loading NVIDIA UNIX x86 Kernel Module 173.14.05 Mon May 19<br>
>> 00:06:12 PDT 2008<br>>><br>>> 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>>><br>
>> "/sbin/lspci | grep -i nvidia" produces:<br>>><br>>> 01:00.0 VGA compatible controller: nVidia Corporation NV44A [GeForce<br>>> 6200] (rev a1)<br>>><br>>> "/sbin/lsmod | grep -i nvidia" produces:<br>
>><br>>> nvidia 7091236 36<br>>> i2c_core 20756 12<br>>><br>>> lgdt330x,qt1010,mt2060,mt352,zl10353,xc3028_tuner,tvp5150,tuner,nvidia,em28xx,i2c_i801,tveeprom<br>
>><br>>> The video card section of my xorg.conf looks like this:<br>>><br>>> Section "Device"<br>>> Identifier "Videocard0"<br>>> Driver "nvidia"<br>
>> Option "UseEvents" "true"<br>>> Option "XvmcUsesTextures" "false"<br>>> Option "NVAGP" "1"<br>>> EndSection<br>
>><br>>> When I do this "grep Motion /var/log/Xorg.0.log", I get this:<br>>><br>>> (II) Loading extension XVideo-MotionCompensation<br>>><br>>> Running "mythfrontend --version" produces this:<br>
>><br>>> Please include all output in bug reports.<br>>> MythTV Version : exported<br>>> MythTV Branch : tags/release-0-21<br>>> Library API : 0.21.20080304-1<br>>> Network Protocol : 40<br>
>> Options compiled in:<br>>> linux release using_oss using_alsa using_backend using_dbox2<br>>> using_dvb using_frontend using_hdhomerun using_iptv using_ivtv<br>>> using_joystick_menu using_v4l using_x11 using_xrandr using_xv<br>
>> using_xvmc using_xvmcw using_xvmc_vld using_bindings_perl<br>>> using_bindings_python using_opengl using_ffmpeg_threads using_live<br>>><br>>> I created a playback profile that only uses xvmc. The<br>
>> "playback" setting screen (3 of 9) has only one line that<br>>> looks like this:<br>>><br>>> if rez > 0 0 -> XvMC<br>>><br>>> So I'm kinda at a loss. I'm a newbie to MythTV so feel<br>
>> free to point out the obvious. I'm a competent linux admin<br>>> so if I need to run some more diagnostics from the command<br>>> line, I'd be happy and able to do that.<br>>><br>>> Any thoughts?<br>
><br>><br>> Also make sure you have the Composite extension disabled (double check the<br>> XvMC page as I'm sure it mentions this)<br><br></div></div>I checked this and I am indeed disabling the Composite extension. 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>"libXvMCNVIDIA_dynamic.so.1" which it does, though I used a capital C<br>
in Config when I created the filename. Just in case, I made a<br>symbolic link from XvMCconfig to XvMCConfig. 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'd the source and installed and still didn't<br>affect cpu utilization.<br><br>I suppose now would be a good time to ask:<br><br>1. Did I get the wrong card?<br>
<br>2. If #1 is no, am I expecting too much out of my poor little old P4 1.8Ghz?<br><br>3. Do I need to run nvidia-xconfig or nvidia-settings to help with<br>this situation?<br><br>4. 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. I'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> </div>
<div>Well, one thing to confirm is, do you get a greyscale OSD when watching recordings? If not, XvMC may not be running yet.</div>
<div> </div>
<div>Kevin</div></div></div>