l l schrieb:
> Hi,
>
> I have installed gtk-directfb on mipsel board(au1200),
> But when i test directfb example binary, it failed
> I guess the problem is au1200fb.c of the kernel and the board interaction.
> I don't know where to start,
>
>
> ./df_andi
>
> =======================| DirectFB 1.0.0 |=======================
> (c) 2001-2007 The DirectFB Organization (directfb.org
> <http://directfb.org>)
> (c) 2000-2004 Convergence (integrated media) GmbH
> ------------------------------------------------------------
>
> (*) DirectFB/Core: Single Application Core. (2007-03-27 09:02)
> (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 1813)...
> (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 1814)...
> (*) DirectFB/Input: Keyboard 0.9 (directfb.org <http://directfb.org>)
> (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 1815)...
> (*) DirectFB/Input: IMPS/2 Mouse 1.0 ( directfb.org <http://directfb.org>)
> (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org
> <http://directfb.org>)
> (*) DirectFB/Core/WM: Default 0.3 (directfb.org <http://directfb.org>)
> (!) DirectFB/FBDev: Panning display failed!
> --> Invalid argument ./fbset -i
I wonder why it tries to pan.
> mode "640x480-11"
> # D: 4.700 MHz, H: 5.875 kHz, V: 11.085 Hz
> geometry 640 480 640 480 16
> timings 212765 40 24 39 9 96 2
> rgba 5/11,6/5,5/0,0/0
> endmode
>
> Frame buffer device information:
> Name : AU1200
> Address : 0x1200000
> Size : 614400
> Type : PACKED PIXELS
> Visual : TRUECOLOR
> XPanStep : 1
> YPanStep : 1
> YWrapStep : 0
> LineLength : 1280
> Accelerator : No
[EMAIL PROTECTED] calc 1280*480
614400
The frame buffer can't old more than just the front buffer.
What about other demos, e.g. df_dok?
Does df_andi run at all?
Otherwise, what happens with line 477 changed to this?
dsc.flags = DSDESC_CAPS;
- dsc.caps = DSCAPS_PRIMARY | DSCAPS_TRIPLE;
+ dsc.caps = DSCAPS_PRIMARY | DSCAPS_DOUBLE | DSCAPS_SYSTEMONLY;
err = dfb->CreateSurface( dfb, &dsc, &primary );
--
Best regards,
Denis Oliver Kropp
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users