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