On 2/21/06, <b class="gmail_sendername">Steve Meyers</b> &lt;<a href="mailto:steve-lists-mythtv@spamwiz.com">steve-lists-mythtv@spamwiz.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jerry Rubinow wrote:<br>&gt; On 2/18/06, Steve Meyers &lt;<a href="mailto:steve-lists-mythtv@spamwiz.com">steve-lists-mythtv@spamwiz.com</a>&gt; wrote:<br>&gt;<br>&gt;&gt;I've got a Pentium 4 2.8GHz with an nVidia FX 5500 in my frontend
<br>&gt;&gt;machine.&nbsp;&nbsp;I'm having a little bit of trouble playing HDTV on it.<br>&gt;&gt;<br>&gt;&gt;If I don't enable XvMC, but use libmpeg2, I can play 720p without many<br>&gt;&gt;problems, but 1080i stutters every 1-2 seconds.&nbsp;&nbsp;Even 720p stutters once
<br>&gt;&gt;every 10-15 seconds or so.<br>&gt;<br>&gt;<br>&gt; This sounds like a bandwidth or CPU problem.&nbsp;&nbsp;What's your CPU usage on<br>&gt; the frontend when you're playing back?&nbsp;&nbsp;Are the FE/BE on separate<br>&gt; computers, and if so, how are they connected?&nbsp;&nbsp;Are your drives using
<br>&gt; DMA?&nbsp;&nbsp;Is your video card PCI or AGP?<br><br>Since it works fine with XvMC, I don't think it's a network bandwidth<br>problem.&nbsp;&nbsp;For the record, it's a separate FE/BE with 100Mbit ethernet<br>connection, the drives (on the BE) use DMA, and the video card is AGP.
<br><br>My CPU usage with pure ffmpeg (no XvMC) is about 95%, with stuttering<br>every second.&nbsp;&nbsp;With libmpeg2, it is about 85%, with stuttering every 2<br>seconds.&nbsp;&nbsp;With ffmpeg + XvMC, it is 30-40%.<br><br>&gt;&gt;If I turn off libmpeg2 and enable XvMC, it plays back with no
<br>&gt;&gt;stuttering.&nbsp;&nbsp;However, within a 1-5 minutes, it goes berserk.&nbsp;&nbsp;The vast<br>&gt;&gt;majority of the screen (90-95%) becomes a blocky purple or green.&nbsp;&nbsp;If I<br>&gt;&gt;let that continue, it completely freezes X within 30 seconds.&nbsp;&nbsp;A
<br>&gt;&gt;ctrl-alt-backspace will get me out of X, so the computer isn't<br>&gt;&gt;completely frozen.<br>&gt;<br>&gt; This I have no idea on.<br><br>I made some other changes over the weekend, and this doesn't happen<br>
anymore.&nbsp;&nbsp;The tweaks I made were from this thread:<br><br><a href="http://www.gossamer-threads.com/lists/mythtv/users/133727?search_string=%2Bxvmc%20%2Bnvidia%20%2Bagpgart">http://www.gossamer-threads.com/lists/mythtv/users/133727?search_string=%2Bxvmc%20%2Bnvidia%20%2Bagpgart
</a>;<br><br>I'm still tweaking it a little bit, but it's working well for now.&nbsp;&nbsp;I'm<br>going to try some of these suggestions to get the picture quality up:<br><br><a href="http://www.gossamer-threads.com/lists/mythtv/users/84507?search_string=%2Bxvmc%20%2Bdeint%20%2Bkernel">
http://www.gossamer-threads.com/lists/mythtv/users/84507?search_string=%2Bxvmc%20%2Bdeint%20%2Bkernel</a>;<br>_______________________________________________<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">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br>I'm working against this myself now with some odd results.
<br><br>Distro: FC4 x86_64<br>Kernel: 2.6.15<br>CPU: AMD64 3800<br>Myth: 0.19<br>Video: nVidia 6600GT w/ driver 81(78?)<br>ALSA: 1.0.11<br><br>what else....<br><br>Anyway - I'm finally getting sound after upgrading ALSA to 
1.0.11.&nbsp; However, using xvmc (which was working quite well under 0.18.1) video freezes and sound craps out - eventually, using my pvr 350 and, nearly immediately using my hd3000-qam.&nbsp; What's more, xvmc wasn't reducing the cpu usage for hd and even sdtv was running it around 95%.&nbsp; My best results seem to currently be with Bob 2x deint and ffmpeg.&nbsp; Even though the cpu is pushed to 95% it's been running fine for half an hour now with out sound skippping out.
<br><br>I should preface this by saying I realize the position I'm putting myself in by running:<br><br>Bleeding-Edge:<br>&nbsp;&nbsp; Kernel<br>&nbsp;&nbsp; ALSA<br><br>Latest<br>&nbsp;&nbsp; MythTV<br>&nbsp;&nbsp; nVidia<br><br>and really, I'm just hoping this data point will move us towards a &quot;fix&quot;, but I'm sure this can work better.&nbsp; Good job to all thus far.
<br>