LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-20-2020, 12:32 AM   #1
BhLo
LQ Newbie
 
Registered: Oct 2020
Posts: 1

Rep: Reputation: Disabled
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is /sbin/initscript.sample not /etc/initscript.sample ? Lockywolf Slackware 4 06-16-2018 06:47 AM
DirectFB slackbuild make failed arubin Slackware 2 09-09-2007 03:13 AM
Panning with middle ouse button dotancohen Linux - Newbie 0 01-18-2005 06:29 AM
Red Hat9, ATI 9700 Pro, panning.... riskadh Linux - Hardware 1 11-05-2003 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration