Ville, I realize that my CPU load enormous but need to fix it if possible... Here is some additional statistics:
cat /proc/mtrr reg00: base=0x00000000 ( 0MB), size= 256MB: write-back, count=1 reg01: base=0xe0000000 (3584MB), size= 64MB: write-combining, count=1 reg02: base=0xe0000000 (3584MB), size= 64MB: write-combining, count=1 reg03: base=0xe4000000 (3648MB), size= 32MB: write-combining, count=1 dfbmga (on TV): Starting playback... VDec: vo config request - 720 x 576 (preferred csp: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO: [dfbmga] 720x576 => 768x576 Planar YV12 vo_dfbmga: Video surface 720x576 YV12 vo_dfbmga: CRTC2 using triple buffering vo_dfbmga: CRTC2 surface -1073752672x1076154603 YV12 vo_dfbmga: Sub-picture layer using triple buffering vo_dfbmga: Sub-picture surface 720x576 ALUT44 (Sub-picture layer) A:20810.5 V:20810.8 A-V: -0.290 ct: -0.313 444/444 11% 37% 0.7% 1 0 0%% BENCHMARKs: VC: 2.077s VO: 6.722s A: 0.118s Sys: 8.766s = 17.684s BENCHMARK%: VC: 11.7449% VO: 38.0122% A: 0.6696% Sys: 49.5733% = 100.0000% Exiting... (End of file) directfb (on main monitor): DirectFB: Config - looking for suitable layer DirectFB: Test format - layer 0 scale/pos 0 DirectFB: Test format - layer 1 scale/pos 8 DirectFB: Test format - added layer 1 scale/pos 8 DirectFB: Test format - layer 2 scale/pos 0 DirectFB: Test format - layer 3 scale/pos 0 DirectFB: Config - layer 1 DirectFB: Config - changing layer configuration (size) DirectFB: Layer reports format:200806 DirectFB: Desired pixelformat: 810060a DirectFB: Config - changing layer configuration (format) DirectFB: Config - flipping = 0 DirectFB: Config - surface size = 720x576 DirectFB: Frame is active. DirectFB: Config finished [10000x10000] - [720x576] A:20810.5 V:20810.8 A-V: -0.290 ct: -0.297 444/444 12% 41% 1.2% 5 0 0%% BENCHMARKs: VC: 2.209s VO: 7.401s A: 0.216s Sys: 7.896s = 17.722s BENCHMARK%: VC: 12.4643% VO: 41.7597% A: 1.2208% Sys: 44.5552% = 100.0000% DirectFB: Uninit entered DirectFB: Releasing frame DirectFB: Releasing layer DirectFB: Releasing primary DirectFB: Uninit done. Exiting... (End of file) Thank you, Andrei ----------------- On Mon, Apr 12, 2004 at 11:31:40AM +0400, Nauman, Andrey (DB) wrote: > The problem is that I have very heavy load of my CPU when I watch sat tv > (Skystar2, not fully featured card). > > And my computer is pretty modern - Athlon XP @2400+ > > > > My experiments with different movie playing and video out technologies show > that not MPEG decoding but rather video output itself gets most CPU power. > > > > The following is some MPlayer benchmarks. I played rather static MPEG2 - > recorded by vdr 'TV test table'. So the best load was ~50%. Hmm. My Duron 1300 decodes DivX videos with ~10% CPU usage (using dfbmga). MPEG1 videos don't take even that much CPU (I don't have any MPEG2 videos). 50% feels like a very high number for such a CPU. The only thing comes to mind right now is write-combining. Make sure you have it enabled for your framebuffer (cat /proc/mtrr). -- Ville Syrj�l� [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject. -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
