AnsweredAssumed Answered

DirectFB on iMX53

Question asked by Steve Green on Feb 2, 2012
Latest reply on Oct 15, 2012 by Steve Green

I’m looking to get directFB running on the iMX53 QSB. I extracted the package and the samples and built them in ltib. When I run any of the samples I get an error, with some samples a system lockup, sometimes I can get out of the sample using ctrl-c. Always though the display monitor goes into ‘sleep’ mode like it no longer has a signal. Below is the dump of running “dbinfo”, the text shown for this is the same as when running all samples too. I notice there is an error:

(!) Direct/Modules: Could not open module directory `/usr/lib/directfb-1.1-0/gfxdrivers'!

Maybe this is this a clue for why it just gives a sleeping blank monitor? - would I need to get that missing gfxdrivers (from where)? Many thanks.

 

root@freescale ~$ dfbinfo

=======================| DirectFB 1.1.0 |=======================
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2012-02-02 10:23)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 2250)...
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 2251)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 2253)...
(*) DirectFB/Input: gpio-keys (1) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 2254)...
(*) DirectFB/Input: da9052-tsi (2) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 2255)...
(*) DirectFB/Input: da9052-onkey (3) 0.1 (directfb.org)
(*) Directmxc_ipu mxc_ipu: Channel already disabled 9
mxc_ipu mxc_ipu: Channel already uninitialized 9
/Thread: Running 'Linux Input' (INPUT, 2257)...
(*) DirectFB/Input: mma8450 (4) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 2258)...
(*) DirectFB/Input: USB Optical Mouse (5) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 2259)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(!) Direct/Modules: Could not open module directory `/usr/lib/directfb-1.1-0/gfxdrivers'!
--> No such file or directory
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Testing 640x480 RGB16
(*) FBDev/Mode: Preparing switch to 640x480 RGB16
(*) FBDev/Mode: Testing 640x480 RGB16
(*) FBDev/Mode: Preparing switch to 640x480 RGB16
(*) FBDev/Mode: Testing 640x480 RGB16
(*) FBDev/Mode: Preparing switch to 640x480 RGB16
(*) FBDev/Mode: Testing 640x480 RGB16
(*) FBDev/Mode: Preparing switch to 640x480 RGB16
(*) FBDev/Mode: Testing 640x480 RGB16
(*) FBDev/Mode: Preparing switch to 640x480 RGB16
(*) FBDev/Mode: Switched to 640x480 (640x1440) at 16 bit RGB16 (wanted RGB16).
(*) FBDev/Surface: Allocated 640x1440 16bit RGB16 buffer at offset 0 and pitch 1280.
(*) FBDev/Mode: (Post)Setting 640x480 RGB16
(*) FBDev/Mode: Testingmxc_ipu mxc_ipu: Channel already disabled 9
mxc_ipu mxc_ipu: Channel already uninitialized 9
mxc_ipu mxc_ipu: Channel already disabled 9
mxc_ipu mxc_ipu: Channel already uninitialized 9
640x480 RGB16
(*) FBDev/Mode: Preparing switch to 640x480 RGB16
(*) FBDev/Mode: (Post)Setting 640x480 RGB16

Screen (00) FBDev Primary Screen (primary screen)
Caps: VSYNC POWER_MANAGEMENT
Layer (00) FBDev Primary Layer (primary layer)
Type: GRAPHICS
Caps: SURFACE BRIGHTNESS CONTRAST SATURATION
Input (01) IMPS/2 Mouse (primary mouse)
Type: MOUSE
Caps: AXES BUTTONS
Max. Axis: 2
Max. Button: 2
Input (11) da9052-tsi
Type: MOUSE
Caps: AXES
Max. Axis: 1
Input (13) mma8450
Type:
Caps: AXES
Max. Axis: 2
Input (14) USB Optical Mouse
Type: MOUSE
Caps: AXES BUTTONS
Max. Axis: 3
Max. Button: 2
Input (00) Keyboard (primary keyboard)
Type: KEYBOARD
Caps: KEYS

Outcomes