Discussion:
[directfb-users] still objects in ‘Layer Region Pool’
Pravinkumar Chavan
2012-02-03 08:35:22 UTC
Permalink
Hi Every one,

Has trouble because of following error…
Can any one guide me how do i resolved this..
My system details are..

System Details:

Host: Ubuntu 11.04
Target: Db-1200 board with Au-1250on board
Target OS: Debian Lenny 5.0
Toolchain:
A. binutils-2.15.tar.bz2 B. crosstool-0.43.tar.gz C. gcc-3.4.4.tar.bz2
(provided by vendor) D. glibc-2.3.2.tar.bz2 E.
glibc-linuxthreads-2.3.2.tar.bz2 F. Linux-2.6.28.tar.gz (sourse code
provided by vendor)

what this error means and have anyone work on this and have a solution..
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~ ©
2001-2009 The world wide DirectFB Open Source Community © 2000-2004
Convergence (integrated media) GmbH ————————————————————————————————

(*) DirectFB/Core: Single Application Core. (2010-04-27 18:24)
(*) Direct/Thread: Started ‘VT Switcher’ (143) [CRITICAL OTHER/OTHER 0/0]
<2093056>…
(*) Direct/Thread: Started ‘VT Flusher’ (144) [DEFAULT OTHER/OTHER 0/0]
<2093056>…
(*) DirectFB/FBDev: Found ‘AU1200’ (ID 0) with frame buffer at 0×08000000,
1500k (MMIO 0×00000000, 0k)
(*) Direct/Thread: Started ‘tslib Input’ (145) [INPUT OTHER/OTHER 0/0]
<2093056>…
(*) DirectFB/Input: tslib touchscreen 0 0.1 (tslib)
(*) Direct/Thread: Started ‘Keyboard Input’ (146) [INPUT OTHER/OTHER 0/0]
<2093056>…
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org) (!!!) *** ONCE [no mode
found for 800×480] *** [fbdev.c:1288 in dfb_fbdev_find_mode()] (!!!) ***
WARNING [letting unprivileged IDirectFBDisplayLayer::GetSurface() call pass
until cooperative level handling is finished] ***
[idirectfbdisplaylayer.c:174 in IDirectFBDisplayLayer_GetSurface()]

(!) [ 137: 0.000] —> Caught signal 10 (sent by the kernel) <—
(!!!) *** 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
fusion_object_pool_destroy()]
--
**
_________________________

Pravinkumar Chavan
Software Engineer
+919867107370
En Route Media Pvt. Ltd.


**
*_________________________*
*
*
Kirubha Shankar MURUGESAN
2012-03-08 05:06:34 UTC
Permalink
Hi All,
I've attached the example code which reproduces the tearing effect in the graphics. I use DSFLIP_WAITFORSYNC flag during Flip and vsync-after in directfbrc.

But still I get the tearing effect when I introduce more blitting operation just before Flipping. When there are lesser blitting operations I see the graphics running fine without any artifacts and it looks in sync with vertical retrace.

I'm doing below steps in the example code:


1. Clear the screen to blue by calling FillRect to cover the entire screen.

2. Draw 4 groups of 4 vertical stripes (16 in all). Each stripe is positioned at the top of the display and is 20 pixels wide, 1080 pixels high. Each group of 4 stripes should be coloured red / white / blue / white. Each group should start 500 pixels to the right of the previous group. Successive frames move all four groups 20 pixels to the right.

3. Wait a bit (I use more blitting operations to introduce some delay. Instead we can use usleep as well

4. Flip on vsync.

Please give me some inputs to resolve this.
BTW I use DirectFB 1.4.12 version.

Thanks & Regards
Kirubha

Loading...