On Thu, Jan 8, 2009 at 9:27 PM, Mark <span dir="ltr">&lt;<a href="mailto:markhsa@shaw.ca">markhsa@shaw.ca</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Paulin wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jan 8, 2009 at 6:09 PM, Dean Harding<br>
</div><div class="Ih2E3d">&gt; &lt;<a href="mailto:dean.harding@dload.com.au">dean.harding@dload.com.au</a> &lt;mailto:<a href="mailto:dean.harding@dload.com.au">dean.harding@dload.com.au</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; &nbsp; &nbsp; &gt; Also, I am seeing 54% load on one CPU when mythfrontend is just<br>
&gt; &nbsp; &nbsp; sitting<br>
&gt; &nbsp; &nbsp; &gt; on the recordings page. &nbsp;Nothing playing. &nbsp;That seems excessive?<br>
&gt; &nbsp; &nbsp; &nbsp;3ghz<br>
&gt; &nbsp; &nbsp; cpu.<br>
&gt;<br>
&gt; &nbsp; &nbsp; Do you have the video preview running? That eats up a bit of CPU IIRC.<br>
&gt;<br>
&gt; &nbsp; &nbsp; Dean.<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; _______________________________________________<br>
&gt; &nbsp; &nbsp; mythtv-users mailing list<br>
</div>&gt; &nbsp; &nbsp; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a> &lt;mailto:<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>&gt;<br>
<div><div></div><div class="Wj3C7c">&gt; &nbsp; &nbsp; <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>
&gt;<br>
&gt; I had all of these problems and just got my myth frontend working<br>
&gt; about 1 hour ago...It&#39;s going through the Wife test right now.<br>
&gt;<br>
&gt; I have a 2.2 Dual core with an NVidia 8400 GS DVI hookup to a 1080i<br>
&gt; TV. &nbsp;And the NVidia 180.16 driver.<br>
&gt;<br>
&gt; First off 0.21 will not work. &nbsp;You have to compile it yourself. &nbsp; &nbsp;It<br>
&gt; took me a little bit but once I got the compiling figured out I<br>
&gt; started tweeking. &nbsp;The first few compiles I did I saw X and Myth FE<br>
&gt; taking ov er the CPU both 57/43%...So CPU was high always....Even when<br>
&gt; not playing video.<br>
&gt;<br>
&gt; First I started with Mythbuntu 8.10 which includes Myth 0.21. &nbsp; Got<br>
&gt; that working (db setup and all). &nbsp;Then I removed everything myth<br>
&gt; (plugins, thems, web, frontend, backend) &nbsp; I left the DB, and<br>
&gt; Mythbuntu scripts (init.d type stuff). &nbsp;So the /usr/lib,<br>
&gt; /usr/share/mythtv, /usr/bin didn&#39;t have anything myth (excluding<br>
&gt; mythbuntu items) in them.<br>
&gt;<br>
&gt; Next I started playing around with the compiler using SVN Trunk<br>
&gt; 19597. &nbsp;I compile write on this box. &nbsp; Here are the settings I<br>
&gt; eventually ended up using.<br>
&gt;<br>
&gt; MythTV<br>
&gt; ./configure --prefix=/usr --enable-proc-opt --disable-joystick-menu<br>
&gt; --disable-firewire --disable-hdhomerun --disable-xvmcw<br>
&gt; --enable-xvmc-opengl --enable-vdpau &nbsp;--disable-directfb<br>
&gt; --enable-opengl-vsync<br>
&gt;<br>
&gt; MythPlugins<br>
&gt; ./configure --prefix=/usr --enable-opengl --enable-mytharchive<br>
&gt; --disable-mythbrowser --disable-mythcontrols --disable-mythflix<br>
&gt; --enable-mythgallery --disable-mythgame --enable-mythmusic<br>
&gt; --disable-mythnews --disable-mythphone --enable-mythvideo<br>
&gt; --disable-mythweather --disable-mythzoneminder --disable-mythmovies<br>
&gt;<br>
&gt; Now I then used<br>
&gt; &nbsp; &nbsp; sudo checkinstall<br>
&gt; to create .deb packages (using mythbuntu 8.10 as my base). &nbsp;I then use<br>
&gt; &nbsp; &nbsp; &nbsp;dpkg -i &lt;package&gt;<br>
&gt; to install them.<br>
&gt;<br>
&gt; Then started testing... &nbsp;First you have to setup the playback profile<br>
&gt; to use the VDPAU settings. &nbsp;Next I try watching a recording. &nbsp;Still<br>
&gt; stuttered but my 100% CPU dropped to 9% for the frontend and 1% for<br>
&gt; X. &nbsp;So looks good but still stuttering. &nbsp;Next I moved on to looking at<br>
&gt; the logs....I ran with<br>
&gt;<br>
&gt; Now I started working on the interlacers.<br>
&gt;<br>
&gt; frontend -v playback &gt;&amp; /var/log/mythtv/frontend.log<br>
&gt;<br>
&gt; So I saw the deinterlacer wasn&#39;t working properly... So I kept<br>
&gt; tweaking that setting. &nbsp;Finally I settled on Advance (2x, HW) because<br>
&gt; of something I read on the wiki... &nbsp;(keep reading though before<br>
&gt; jumping on this one).<br>
&gt;<br>
&gt; Still stuttered but then I noticed in the log a lot of audio issues<br>
&gt; and buffer overrunds. &nbsp;That led me down an audio path. &nbsp;So I worked<br>
&gt; with that for a days trying to et digiital playback. &nbsp;Never got that<br>
&gt; to work and just set it to ALSA;hw:0,0<br>
&gt;<br>
&gt; So then I went back and worked on playback. &nbsp; I end up setting the<br>
&gt; deinterlacer to One Field (1x, Hw) and None for the secondary....<br>
&gt;<br>
&gt; Now everything is working perfectly.<br>
&gt;<br>
&gt; I hope that this helps and sorry it was so long.<br>
&gt;<br>
&gt; steve<br>
</div></div>&gt; ------------------------------------------------------------------------<br>
<div class="Ih2E3d">&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>
</div>Even with no preview running, the load is 90+%<br>
Now with VDPAU, mythfrontend is really low, and X is STILL really high.<br>
Ideas?<br>
<br>
29611 root &nbsp; &nbsp; &nbsp;20 &nbsp; 0 &nbsp;339m &nbsp;25m 9.8m R 98.1 &nbsp;1.3 &nbsp; 5:24.28 /usr/bin/X<br>
-br -nol<br>
30092 mythtv &nbsp; &nbsp;20 &nbsp; 0 &nbsp;581m 350m &nbsp;48m S &nbsp;2.7 17.3 &nbsp; 2:00.35 mythfrontend<br>
<div><div></div><div class="Wj3C7c"><br>
<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" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
<br>
</div></div></blockquote></div><br>1. Recompile and verify all parameters are correct<br>2. Check all configs in myth around playback<br>3. Check xorg.conf is configured write... (UseEvents is very important)<br><br>Best I can offer.<br>
<br>steve<br><br>