Niels,

Thanks again for the reply. I forgot to send my question to the server and 
instead it went directly to you, sorry about that.

Here's a few crazy, possibly eye-rolling questions: 
Is DVI sort-of hardwired to CRTC2, hence no accel? 
If negative, can it be mapped over to CRTC1?
My G550 is a single VGA/single DVI outputs card. IIRC the VGA output is the 
high-performance one.
Would matroxset, fbset (or outputs:XYZ in grub config file) be of any help here?

As mentioned before, being a newbie, I am confused by the dfb/matroxfb 
terminology.
Thanks in advance for any help.

Olek

----------------------------------------
> Date: Tue, 12 May 2009 11:51:31 +0200
> From: ni...@directfb.org
> To: kukur...@live.com
> Subject: Re: [directfb-users] Matrox G550 + DVI accelerated - how?
>
> Hi Olek,
>
> What I meant was if the CPU utilization is consumed by the directfb
> library, which I think it isn't.
> I assume that "top" will only say the VDR will consume all, but you
> might try.
> Basically, I have no idea what is going on, so I can only give you
> 'general' advise.
> There are a number of posibilities you might explore:
> - get the newest version and retry
> - recompile VDR with some profiler (-prof) and see where the bottleneck is
> - if, which I think is not the case, the problem is expected to be
> inside DirectFB: recompile DirectFB as suggested below and extract some
> debug data; these will contain timestamps and might help you to zoom in
> on the problem area.
>
> G550 is supported in 1.0.x.
>
> hth
> Niels
>
> Olek Grotowski wrote:
>> Niels,
>>
>> I typed a reply earlier but the email body turned out to be empty as 
>> Iceweasel and Hotmail seem to not play nice together.
>> Using Firefox now, hopefully with better results.
>>
>> Thank you for the reply.
>> As I may have mentioned before, I am a dfb newbie, so please bare with me.
>>
>> "60-70% looks a bit too high. Is this consumed by a DirectFB-process?"
>>
>> With VDR not running, the CPU utilization drops to low single digits, 
>> perhaps this means "yes" to your question?
>>
>> I am using Debian Lenny on the subject box, installed dfb from Debian 
>> repositories, maybe this explains why such old version was installed.
>> I am under impression that G550 ought to work with 1.0.1, correct?
>>
>> Please advise if any additional logs could be of help here, I'll post them 
>> upon request.
>>
>> Thanks again.
>> Olek
>>
>> ----------------------------------------
>>
>>> Date: Mon, 11 May 2009 14:04:29 +0200
>>> From: ni...@directfb.org
>>> To: kukur...@live.com
>>> CC: directfb-users@directfb.org
>>> Subject: Re: [directfb-users] Matrox G550 + DVI accelerated - how?
>>>
>>> Hi Olek,
>>>
>>> 60-70% looks a bit too high. Is this consumed by a DirectFB-process?
>>> I don't see any direct problems, but I also don't have a G550 to test
>>> myself :)
>>> You also say that video is kinda jerky, which is almost always not
>>> caused by DirectFB, so I get the impression that it has to do with other
>>> bits of your set-up.
>>>
>>> Note that DirectFB 1.0.1 is kinda old, 1.2.8 is current.
>>>
>>> To check if you are using your Matrox acceleration:
>>> Reconfigure (+compile install) DirectFB with --enable-debug and use the
>>> option --software-warn to print out all occurrences when acceleration is
>>> not being used.
>>>
>>> hth
>>> Niels
>>>
>>> Olek Grotowski wrote:
>>>
>>>> Hi guys,
>>>>
>>>> I am brand-new to directfb, this is my first post to this list (actually 
>>>> there are two more with similar subject lines, but the email body is 
>>>> missing the text, Hotmail and Iceweasel don't play nice)
>>>>
>>>> Is it normal that in standard resolution, the CPU utilization is about 
>>>> 60-70%?
>>>> Using G550 DVI output to a DLP TV digital input.
>>>> Video is somewhat jerky, lacks detail, audio is ahead of video by a 
>>>> fraction of a second.
>>>> For comparison, on the same TV set, the video coming out of an ATSC 
>>>> converter box, using composite cable is MUCH clearer.
>>>> Also, when VLC client is used under X, the CPU utilization drops by about 
>>>> a half and the video resolution is better.
>>>> The VGA output of G550 is not being used.
>>>> The CPU is Athlon 1300, 384 MB RAM, SB Live Value soundcard. Motherboard 
>>>> is Abit K7T.
>>>>
>>>> The app is VDR 1.6.0
>>>>
>>>> fbset -i output:
>>>> Code:mode "1280x720-60"
>>>> # D: 74.250 MHz, H: 45.000 kHz, V: 60.000 Hz
>>>> geometry 1280 720 1280 720 8
>>>> timings 13468 220 110 20 5 40 5
>>>> hsync high
>>>> vsync high
>>>> rgba 8/0,8/0,8/0,0/0
>>>> endmode
>>>>
>>>> Frame buffer device information:
>>>> Name : MATROX
>>>> Address : 0xe4000000
>>>> Size : 33554432
>>>> Type : PACKED PIXELS
>>>> Visual : PSEUDOCOLOR
>>>> XPanStep : 8
>>>> YPanStep : 1
>>>> YWrapStep : 0
>>>> LineLength : 1280
>>>> MMIO Address: 0xe6000000
>>>> MMIO Size : 16384
>>>> Accelerator : Matrox G400
>>>>
>>>>
>>>> /etc/fb.modes
>>>> Code:#
>>>> # DirectFB video modes, should be placed into "/etc"
>>>> #
>>>>
>>>> mode "1280x720-60"
>>>> # D: 74.250 MHz, H: 45.000 kHz, V: 60.000 Hz
>>>> geometry 1280 720 1280 720 32
>>>> timings 13468 220 110 20 5 40 5
>>>> hsync high
>>>> vsync high
>>>> accel true
>>>> rgba 8/16,8/8,8/0,8/24
>>>> endmode
>>>>
>>>>
>>>> mode "800x600-60"
>>>> # D: 40.000 MHz, H: 37.879 kHz, V: 60.317 Hz
>>>> geometry 800 600 800 600 32
>>>> timings 25000 88 40 23 1 128 4
>>>> hsync high
>>>> vsync high
>>>> rgba 8/16,8/8,8/0,8/24
>>>> endmode
>>>>
>>>>
>>>> mode "1280x1024-60"
>>>> # D: 108.003 MHz, H: 63.983 kHz, V: 60.021 Hz
>>>> geometry 1280 1024 1280 1024 32
>>>> timings 9259 248 48 38 1 112 3
>>>> hsync high
>>>> vsync high
>>>> rgba 8/16,8/8,8/0,8/24
>>>> endmode
>>>>
>>>> mode "640x480 75Hz 16bit"
>>>> # D: 31.50 MHz, H: 37.500 kHz, V: 75.00 Hz
>>>> geometry 640 480 640 480 16
>>>> timings 31747 120 16 16 1 64 3
>>>> endmode
>>>>
>>>> mode "720x576 50Hz 16bit"
>>>> geometry 720 576 720 576 16
>>>> timings 31208 144 40 32 10 128 3
>>>> endmode
>>>>
>>>> mode "768x576 75Hz 16bit"
>>>> # D: 49.188 MHz, H: 46.580 kHz, V: 75.008 Hz
>>>> geometry 768 576 768 576 16
>>>> timings 20330 128 32 32 8 128 5
>>>> endmode
>>>>
>>>>
>>>> mode "800x600 75Hz 16bit"
>>>> # D: 49.50 MHz, H: 46.875 kHz, V: 75.00 Hz
>>>> geometry 800 600 800 600 16
>>>> timings 20203 160 16 21 1 80 3
>>>> hsync high
>>>> vsync high
>>>> endmode
>>>>
>>>>
>>>> mode "1024x768 72Hz 16bit"
>>>> # D: 75.00 MHz, H: 58.230 kHz, V: 72.245 Hz
>>>> geometry 1024 768 1024 768 16
>>>> timings 13334 104 24 29 3 136 6
>>>> endmode
>>>>
>>>>
>>>> mode "1280x1024-75"
>>>> # D: 134.880 MHz, H: 79.905 kHz, V: 74.958 Hz
>>>> geometry 1280 1024 1280 3264 16
>>>> timings 7414 232 64 38 1 112 3
>>>> hsync high
>>>> vsync high
>>>> endmode
>>>>
>>>> mode "1280x1024 60Hz 16bit"
>>>> # D: 108.00 MHz, H: 63.981 kHz, V: 60.02 Hz
>>>> geometry 1280 1024 1280 1024 16
>>>> timings 9260 248 48 38 1 112 3
>>>> hsync high
>>>> vsync high
>>>> endmode
>>>>
>>>>
>>>> mode "1600x1200 60Hz 16bit"
>>>> # D: 156.00 MHz, H: 76.200 kHz, V: 60.00 Hz
>>>> geometry 1600 1200 1600 1200 16
>>>> timings 6411 256 32 52 10 160 8
>>>> endmode
>>>>
>>>>
>>>> mode "640x400 93Hz 16bit"
>>>> geometry 640 400 640 400 16
>>>> timings 28272 48 32 17 22 128 12
>>>> endmode
>>>>
>>>> mode "400x300 100Hz 16bit"
>>>> geometry 400 300 400 300 16
>>>> timings 31747 40 16 16 1 40 3
>>>> double true
>>>> endmode
>>>>
>>>>
>>>> mode "320x240 85Hz 16bit"
>>>> geometry 320 240 320 240 16
>>>> timings 51383 32 32 20 4 48 1
>>>> double true
>>>> endmode
>>>>
>>>> mode "320x200 85Hz 16bit"
>>>> geometry 320 200 320 200 16
>>>> timings 60440 32 32 20 4 48 1
>>>> double true
>>>> endmode
>>>>
>>>>
>>>> /etc/directfbrc
>>>>
>>>> Code:mode=1280x720
>>>> depth=32
>>>> fbdev=/dev/fb0
>>>> primary-layer=1
>>>> dma
>>>> hardware
>>>> agp=4
>>>> matrox-sgram
>>>> mmx
>>>> pixelformat = ARGB
>>>> #matrox-crtc1
>>>> #matrox-crtc2
>>>> #matrox-tv-standard=ntsc
>>>> #matrox-cable-type=composite
>>>> #disable-module = keyboard
>>>> disable-module = joystick
>>>> disable-module = mutouch
>>>> disable-module = ps2mouse
>>>> disable-module = sdlinput
>>>> disable-module = serial mouse
>>>> disable-module = sonypi
>>>>
>>>>
>>>> dfbinfo:
>>>>
>>>> Code: =======================| DirectFB 1.0.1 |=======================
>>>> (c) 2001-2007 The DirectFB Organization (directfb.org)
>>>> (c) 2000-2004 Convergence (integrated media) GmbH
>>>> ------------------------------------------------------------
>>>>
>>>> (*) DirectFB/Core: Single Application Core. (2008-08-18 12:36)
>>>> (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 3002)...
>>>> (!?!) *** BUG [offset is not page-aligned!] *** 
>>>> [../../../systems/fbdev/agp.c:170 in dfb_agp_bind()]
>>>> (*) Direct/Modules: suppress module 'ps2mouse'
>>>> (*) Direct/Modules: suppress module 'sonypi'
>>>> (*) Direct/Modules: suppress module 'joystick'
>>>> (*) Direct/Thread: Running 'Linux Input' (INPUT, 3005)...
>>>> (*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (directfb.org)
>>>> (*) Direct/Thread: Running 'Linux Input' (INPUT, 3006)...
>>>> (*) DirectFB/Input: Power Button (FF) (2) 0.1 (directfb.org)
>>>> (*) Direct/Thread: Running 'Linux Input' (INPUT, 3007)...
>>>> (*) DirectFB/Input: Power Button (CM) (3) 0.1 (directfb.org)
>>>> (*) Direct/Thread: Running 'Linux Input' (INPUT, 3008)...
>>>> (*) DirectFB/Input: Sleep Button (CM) (4) 0.1 (directfb.org)
>>>> (*) Direct/Thread: Running 'Linux Input' (INPUT, 3009)...
>>>> (*) DirectFB/Input: PC Speaker (5) 0.1 (directfb.org)
>>>> (*) Direct/Thread: Running 'Linux Input' (INPUT, 3010)...
>>>> (*) DirectFB/Input: PS/2 Generic Mouse (6) 0.1 (directfb.org)
>>>> (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 3011)...
>>>> (*) DirectFB/Input: Keyboard 0.9 (directfb.org)
>>>> (*) DirectFB/Genefx: MMX detected and enabled
>>>> (*) DirectFB/Graphics: Matrox G550 0.7 (directfb.org)
>>>> (*) DirectFB/Core/WM: Default 0.3 (directfb.org)
>>>>
>>>>
>>>> Screen (00) FBDev Primary Screen (primary screen)
>>>> Caps: VSYNC POWER_MANAGEMENT
>>>>
>>>> Layer (01) FBDev Primary Layer
>>>> Type: GRAPHICS
>>>> Caps: SURFACE BRIGHTNESS CONTRAST SATURATION
>>>>
>>>> Layer (00) Matrox Backend Scaler (primary layer)
>>>> Type: GRAPHICS VIDEO STILL_PICTURE
>>>> Caps: SURFACE SCREEN_LOCATION DEINTERLACING DST_COLORKEY BRIGHTNESS 
>>>> CONTRAST SCREEN_POSITION SCREEN_SIZE
>>>>
>>>>
>>>> Input (00) AT Translated Set 2 keyboard (primary keyboard)
>>>> Type: KEYBOARD
>>>> Caps: KEYS
>>>>
>>>> Input (01) PS/2 Generic Mouse (primary mouse)
>>>> Type: MOUSE
>>>> Caps: AXES BUTTONS
>>>> Max. Axis: 1
>>>> Max. Button: 2
>>>>
>>>> Input (14) Keyboard
>>>> Type: KEYBOARD
>>>> Caps: KEYS
>>>>
>>>>
>>>> Relevant part of /boot/grub/menu.lst:
>>>>
>>>> Code:title Debian GNU/Linux, kernel 2.6.26.1.2009-04-07.2
>>>> root (hd0,0)
>>>> kernel /boot/vmlinuz-2.6.26.1.2009-04-07.2 root=/dev/hda1 ro 
>>>> video=vesafb:disabled,matroxfb:vesa:0x115,mtrr,sgram,init
>>>> initrd /boot/initrd.img-2.6.26.1.2009-04-07.2
>>>>
>>>>
>>>> How can I configure directfb to take advantage of Matrox acceleration?
>>>> Thanks in advance for any helpful information.
>>>>
>>>> Hopelessly confused, Olek.
>>>>
>>>> _________________________________________________________________
>>>> Rediscover Hotmail®: Get quick friend updates right in your inbox.
>>>> http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Updates2_042009
>>>> _______________________________________________
>>>> directfb-users mailing list
>>>> directfb-users@directfb.org
>>>> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>>>>
>>>>
>>>>
>>> --
>>>
>>> .------------------------------------------.
>>> | DirectFB - Hardware accelerated graphics |
>>> | http://www.directfb.org/ |
>>> "------------------------------------------"
>>>
>>>
>>
>> _________________________________________________________________
>> Windows Live™: Keep your life in sync.
>> http://windowslive.com/explore?ocid=TXT_TAGLM_BR_life_in_synch_052009
>>
>
>
> --
>
> .------------------------------------------.
> | DirectFB - Hardware accelerated graphics |
> | http://www.directfb.org/ |
> "------------------------------------------"
>

_________________________________________________________________
Hotmail® has ever-growing storage! Don’t worry about storage limits.
http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage1_052009
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to