Reducing color depth certainly affects picture quality from a technical
standpoint, but it sounds like you are in a position where you may need
choose the lesser of several picture degrading evils.&nbsp; <br>
<br>
720p is 30 frames/s. 1080i is 60 1920x540 fields/s.&nbsp; Consider
trying out your FX5200 with reduced color depth, the bandwidth needs
should be significant;y reduced.&nbsp; <br><br><div><span class="gmail_quote">On 1/28/06, <b class="gmail_sendername">Jerry Rubinow</b> &lt;<a href="mailto:jerrymr@gmail.com">jerrymr@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 1/28/06, Kevin Kuphal &lt;<a href="mailto:kuphal@dls.net">kuphal@dls.net</a>&gt; wrote:<br>&gt; Jerry Rubinow wrote:<br>&gt; &gt; On 1/28/06, Kevin Kuphal &lt;<a href="mailto:kuphal@dls.net">kuphal@dls.net</a>&gt; wrote:
<br>&gt; &gt;<br>&gt; &gt;&gt; Jerry Rubinow wrote:<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;&gt; I'm running myth with separate front/back end computers.&nbsp;&nbsp;The frontend<br>&gt; &gt;&gt;&gt; is a 2.8GHz P4 with 512MB ram, trying to display 720p HD, but I'm
<br>&gt; &gt;&gt;&gt; maxing out the CPU - myth ~65+%, X around 30+%.&nbsp;&nbsp;The video is at times<br>&gt; &gt;&gt;&gt; choppy when there's a lot of stuff changing in the frame.&nbsp;&nbsp;What can I<br>&gt; &gt;&gt;&gt; do to reduce CPU usage?
<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Here's what I've done so far:<br>&gt; &gt;&gt;&gt; -compiled myth with --enable-proc-opt (using SVN from less than a week ago)<br>&gt; &gt;&gt;&gt; -using ratpoison for window manager
<br>&gt; &gt;&gt;&gt; -not using any deinterlacing<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Note: XvMC is not an option.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; I'm running FC4.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; mythfrontend -v playback reports that it's using Xvideo, format I420,
<br>&gt; &gt;&gt;&gt; using realtime priority, video timing method: RTC (glx vsync not<br>&gt; &gt;&gt;&gt; supported in my driver).&nbsp;&nbsp;Then I get a lot of video ahead of audio<br>&gt; &gt;&gt;&gt; dropping frames messages, and then a lot of audio ahead of video
<br>&gt; &gt;&gt;&gt; messages.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; /proc/meminfo says there's 100MB free while running myth, so I guess<br>&gt; &gt;&gt;&gt; it's not swapping.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; What might be causing the high CPU?&nbsp;&nbsp;I've read about people with
<br>&gt; &gt;&gt;&gt; 2.4Ghz P4s not having a problem with HD, so it seems like there should<br>&gt; &gt;&gt;&gt; be something I can do.&nbsp;&nbsp;Would compiling my own kernel help?&nbsp;&nbsp;With what<br>&gt; &gt;&gt;&gt; options?&nbsp;&nbsp;Anything else I can try first?
<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt; Try using libmpeg2 for your playback.&nbsp;&nbsp;I'd suggest looking into<br>&gt; &gt;&gt; hyperthreading support in your kernel to see if it is enabled.&nbsp;&nbsp;I<br>&gt; &gt;&gt; believe this means using an SMP kernel.&nbsp;&nbsp;I'm not sure if that will make
<br>&gt; &gt;&gt; a difference but it might.&nbsp;&nbsp;And lastly, your video card and drivers do<br>&gt; &gt;&gt; help alot.&nbsp;&nbsp;I've struggled with my choice of ATI on one of my frontends<br>&gt; &gt;&gt; and as I'm moving to HD, I'm biting the bullet and spending the $40 on
<br>&gt; &gt;&gt; an Nvidia FX card and it will be one of the best $40 I've spent on my<br>&gt; &gt;&gt; system as it means HD playback on my 2.4ghz Celeron with XvMC.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Kevin<br>&gt; &gt;&gt;
<br>&gt; &gt;<br>&gt; &gt; Sorry, I left out that I'm using libmpeg2.&nbsp;&nbsp;Hyperthreading - hmm,<br>&gt; &gt; unfortunately I just checked and my CPU doesn't support hyperthreading<br>&gt; &gt; (it's a 533MHz bus 2.8GHz P4).&nbsp;&nbsp;I tried going the FX 5200 route, only
<br>&gt; &gt; to discover that I I can't achieve the transfer speeds I need over PCI<br>&gt; &gt; (my motherboard only has two slots, both PCI).&nbsp;&nbsp;1280x720x(24 or 32)<br>&gt; &gt; bits, 30 frames a second (or 60, even worse) - PCI's max throughput is
<br>&gt; &gt; 600 to 700 Mbits/sec.&nbsp;&nbsp;I tried XvMC on the 5200 but it was always a<br>&gt; &gt; bit glitchy.&nbsp;&nbsp;The onboard graphics is AGP, but now instead of being<br>&gt; &gt; limited by bus speed, it's by CPU speed.&nbsp;&nbsp;Very frustrating, since it's
<br>&gt; &gt; soooo close to working properly.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; Hmm.&nbsp;&nbsp;I'm about to buy an FX5500 PCI for use in my frontend.&nbsp;&nbsp;Are you<br>&gt; saying that you can't drive HD content to the PCI card because it is
<br>&gt; PCI, not AGP?&nbsp;&nbsp;I'm using XvMC on my MX440 AGP and it works great with<br>&gt; Myth and the 7676 Nvidia drivers on the SVN.&nbsp;&nbsp;You might want to give<br>&gt; XvMC with that driver version another shot when 0.19 is released on your
<br>&gt; FX5200.&nbsp;&nbsp;I've found it to be very solid.<br>&gt;<br>&gt; Kevin<br><br>When I was trying to do HD over the PCI FX5200, I consistently had<br>slowness/skipped frames/stuttering.&nbsp;&nbsp;I eventually did some<br>calculations, and 720p at 24bits and 30 frames per second is 632
<br>Mbits/sec.&nbsp;&nbsp;I saw in the list archives that PCI's maximum transfer<br>speed ranges between 600-700 Mbits/sec.&nbsp;&nbsp;However, I think 24 bit video<br>is actually using 32 bips per pixels (alpha), and isn't HD refreshing<br>
at 60 frames/sec?&nbsp;&nbsp;So I must not be figuring something right, or else<br>I wouldn't be getting anything approaching viewable, but I was<br>actually getting something pretty close, so I'm not entirely sure<br>what's going on.&nbsp;&nbsp;But in any case, it seems like at a minimum, it's
<br>close to PCI's capacity.<br><br>As far as XvMC, I have no idea how the bandwidth of what's being<br>pushed to the card for XvMC compares that of non-XvMC (although I<br>would really like to know).&nbsp;&nbsp;I do know I had various problems with
<br>XvMC displaying correctly.&nbsp;&nbsp;Maybe due to bandwidth issues also, but I<br>don't know.&nbsp;&nbsp;But I will give it another shot at some point before I<br>throw in the towel on this computer and relegate it to an SD frontend<br>
for the tv upstairs.<br><br>-Jerry<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>