DirectFB sample program not running - Panning failed
I am new to DirectFB and running DirectFB sample program on linux device. Compiled Using arm-cortexa9-linux-gnueabi-g++ compiler.
While executing getting below error
DirectFB/Core: Single Application Core. (2019-07-18 15:42) [ DEBUG ][ TRACE ]
(*) Direct/Memcpy: Using libc memcpy()
(*) DirectFB/FBDev: Found 'DISP3 FG' (ID 0) with frame buffer at 0x25000000, 460 8k (MMIO 0x00000000, 0k)
(*) Direct/Thread: Started 'tslib Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>. ..
(*) DirectFB/Input: tslib touchscreen 0 0.1 (tslib)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>. ..
(*) DirectFB/Input: matrix-keypad 0.1 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!) DirectFB/FBDev: Panning display failed (x=0 y=0 ywrap=1 vbl=1)!
--> Invalid argument
(!) Core/LayerRegion: realize_region() in dfb_layer_region_flip_update() failed!
--> General failure!
(!) [Main Thread 0.000] (10169) *** Assertion [surface->num_buffers > 0] f ailed *** [../../src/core/surface.h:324 in dfb_surface_get_buffer()]
(!) [10169: 0.000] --> Caught signal 5 (unknown origin) <--
(!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusio n_object_pool_destroy()]
fbset -i output is
mode "1024x768-54"
# D: 52.002 MHz, H: 43.191 kHz, V: 53.587 Hz
geometry 1024 768 1024 2304 16
timings 19230 20 120 7 21 40 10
rgba 5/11,6/5,5/0,0/0
endmode
Frame buffer device information:
Name : DISP3 BG
Address : 0x24800000
Size : 4718592
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 1
YPanStep : 1
YWrapStep : 1
LineLength : 2048
Accelerator : No
Content of /etc/directfbrc
no-vt
no-vt-switch
no-vt-switching
no-graphics-vt
fbdev= /dev/fb1
Looks like problem is in first two lines of sample program itself
DFBCHECK(DirectFBInit (&argc, &argv));
DFBCHECK(DirectFBCreate (&dfb));
Am I missing anything in basic setup of directfb?
|