HI.
DirectFB using the current Linux-A20 will be configured from the GUI.
However, only one layer is made in creating a Layer DirectFB.
Below is a debug message when running the arm-linux-dfbinfo's provided in directFB.
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.6.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2012 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2014-12-29 02:49)
(*) Direct/Memcpy: Using libc memcpy()
(*) DirectFB/FBDev: Found '' (ID 0) with frame buffer at 0x44000000, 2700k (MMIO 0x00000000, 0k)
(*) Direct/Modules: suppress module 'keyboard'
(*) Direct/Modules: suppress module 'ps2mouse'
(*) DirectFB/Input: Hot-plug detection enabled with Input Hub Driver
(*) DirectFB/Graphics: Generic Software Rasterizer 0.7 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Setting 720x480 RGB32
(*) FBDev/Mode: Switched to 720x480 (virtual 720x480) at 32 bit (RGB32), pitch 2880
(*) FBDev/Mode: Setting 720x480 RGB32
(*) FBDev/Mode: Switched to 720x480 (virtual 720x480) at 32 bit (RGB32), pitch 2880
Screen (00) FBDev Primary Screen (primary screen)
Caps: VSYNC POWER_MANAGEMENT
Layer (00) FBDev Primary Layer (primary layer)
Type: GRAPHICS
Directfbrc file is shown below.
module-dir=/usr/lib/directfb-1.6-0
no-vt
software
fbdev=/dev/fb0
disable-module=keyboard
disable-module=ps2mouse
#debug
Below is directfb Cross compilation settings.
./configure --prefix=/home/bluearea/samba/player/DirectFB/release --target=arm-linux --disable-x11 --disable-network --enable-static --enable-png --disable-jpeg --enable-freetype --enable-fbdev FREETYPE_CFLAGS=-I/home/bluearea/samba/MerriiLinux/buildroot/target/dragonboard/sysroot/usr/include/freetype2 FREETYPE_LIBS=-L/home/bluearea/samba/MerriiLinux/buildroot/target/dragonboard/sysroot/usr/lib LIBPNG_CFLAGS=-I/home/bluearea/samba/MerriiLinux/buildroot/target/dragonboard/sysroot/usr/include/libpng14 LIBPNG_LIBS=-L/home/bluearea/samba/MerriiLinux/buildroot/target/dragonboard/sysroot/usr/lib CFLAGS=-I/home/bluearea/samba/MerriiLinux/buildroot/target/dragonboard/sysroot/usr/include LDFLAGS=-L/home/bluearea/samba/MerriiLinux/buildroot/target/dragonboard/sysroot/usr/lib --host=arm-linux-gnueabi LIBS=-ldl
When I tried to get the Layer again after obtaining the Primary layer results in an error as shown below.
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.6.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2012 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2014-12-29 02:49)
(*) Direct/Memcpy: Using libc memcpy()
(*) DirectFB/FBDev: Found '' (ID 0) with frame buffer at 0x44000000, 2700k (MMIO 0x00000000, 0k)
(*) Direct/Modules: suppress module 'keyboard'
(*) Direct/Modules: suppress module 'ps2mouse'
(*) DirectFB/Input: Hot-plug detection enabled with Input Hub Driver
(*) DirectFB/Graphics: Generic Software Rasterizer 0.7 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Setting 720x480 RGB32
(*) FBDev/Mode: Switched to 720x480 (virtual 720x480) at 32 bit (RGB32), pitch 2880
(*) FBDev/Mode: Setting 720x480 RGB32
(*) FBDev/Mode: Switched to 720x480 (virtual 720x480) at 32 bit (RGB32), pitch 2880
hdmitester.c <408>:
(#) DirectFBError [dfb->GetDisplayLayer( dfb,1,&layer1)]: No resource has been found by the specified id
(!!!) *** WARNING [Application exited without deinitialization of DirectFB!] *** [core.c:1401 in dfb_core_deinit_check()]
(!!!) *** WARNING [zombie 0x252c0 [1], refs 1 (in Layer Region Pool)] *** [object.c:251 in fusion_object_pool_destroy()]
(!!!) *** WARNING [zombie 0x24ab8 [1], refs 2 (in Layer Context Pool)] *** [object.c:251 in fusion_object_pool_destroy()]
(!!!) *** WARNING [zombie 0x1be68 [2], refs 1 (in Layer Context Pool)] *** [object.c:251 in fusion_object_pool_destroy()]
(!!!) *** WARNING [zombie 0x25e58 [1], refs 1 (in Surface Pool)] *** [object.c:251 in fusion_object_pool_destroy()]
Do you also have to use GFX_Dirver used to directFB which one?
Below is a GFX_Driver supported by DirectFB.
ati128, cle266, cyber5k, davinci, ep9x, gl, gles2, glx, i810, i830, mach64, matrox, neomagic, nsc, nvidia, omap, pvr2d, egl, pxa3xx, radeon, savage, sh772x, sis315, tdfx, unichrome, vdpau, vmware,
Please help me!