Re: [ptxdist] directFB mini2440

2015-04-17 Thread Juergen Borleis
Hi Alejandro,

On Friday 17 April 2015 11:12:57 Alejandro Vázquez wrote:
 Now work almost every examples, but some fails e.g. df_palette
 [...]
 (!) DirectFB/DirectFBCreate: Setting desktop resolution to 0x0 failed!
  - Using default resolution.
 (!) DirectFB/DirectFBCreate: Setting desktop format failed!
  - Using default format.
 (!) DirectFB/DirectFBCreate: Setting desktop buffer mode failed!
  - No virtual resolution support or not enough memory?
 Falling back to system back buffer.
 df_palette.c 140:
 (#) DirectFBError [dfb-CreateSurface( dfb, sdsc, primary )]: Not
 supported!

Do you know what it tries to do here?

BTW: you can't change the screen resolution (it is fixed to the attached LCD 
unit) and you can't change the colour depth as well: it is fixed to 16 or 32 
bit per pixel when the kernel gets compiled.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions        | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] directFB mini2440

2015-04-17 Thread Alejandro Vázquez
Hi!
Thanks you.
Now work almost every examples, but some fails e.g. df_palette
   ~~| DirectFB 1.4.3 |~~
(c) 2001-2009  The world wide DirectFB Open Source Community
(c) 2000-2004  Convergence (integrated media) GmbH
  

(*) DirectFB/Core: Single Application Core. (2015-04-17 07:43) [ DEBUG ][
TRACE ]
(*) Direct/Memcpy: Using armasm_memcpy()
(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0]
8388608...
(*) Direct/Thread: Started 'VT Flusher' (-1) [DEFAULT OTHER/OTHER 0/0]
8388608...
(*) DirectFB/FBDev: Found 's3c2410fb' (ID 0) with frame buffer at
0x3398, 150k (MMIO 0x, 0k)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
8388608...
(*) DirectFB/Input: S3C24XX TouchScreen (1) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
8388608...
(*) DirectFB/Input: pwm-beeper (2) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
8388608...
(*) DirectFB/Input: gpio-keys (3) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
8388608...
(*) DirectFB/Input: Dell Dell USB Mouse (4) 0.1 (directfb.org)
(*) Direct/Thread: Started 'tslib Input' (-1) [INPUT OTHER/OTHER 0/0]
8388608...
(*) DirectFB/Input: tslib touchscreen 0 0.1 (tslib)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!) DirectFB/DirectFBCreate: Setting desktop resolution to 0x0 failed!
 - Using default resolution.
(!) DirectFB/DirectFBCreate: Setting desktop format failed!
 - Using default format.
(!) DirectFB/DirectFBCreate: Setting desktop buffer mode failed!
 - No virtual resolution support or not enough memory?
Falling back to system back buffer.
df_palette.c 140:
(#) DirectFBError [dfb-CreateSurface( dfb, sdsc, primary )]: Not
supported!
 (!!!)  *** WARNING [Application exited without deinitialization of
DirectFB!] *** [core.c:862 in dfb_core_deinit_check()]
 (!!!)  *** 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()]
Interface instances remaining (2):
  - 'IDirectFB' at 0x1dfdd8 (dfb) allocated in DirectFBCreate (directfb.c:
197)
  - 'IDirectFBEventBuffer' at 0x1e1a00 (iface) allocated in
IDirectFB_CreateInputEventBuffer (idirectfb.c: 1097)

Do I have to configure something else?

Thanks!
Regards, Alex.

2015-04-16 14:45 GMT+02:00 Juergen Borleis j...@pengutronix.de:

 On Thursday 16 April 2015 13:28:34 Alejandro Vázquez wrote:
  Hi, I'm trying to use directfb in mini2440, but when I try to launch
  dfbinfo gives me an error:
 
 
 ~~| DirectFB 1.4.3 |~~
  (c) 2001-2009  The world wide DirectFB Open Source Community
  (c) 2000-2004  Convergence (integrated media) GmbH

 
  (*) DirectFB/Core: Single Application Core. (2015-04-16 11:05) [ DEBUG
 ][TRACE]
  (*) Direct/Memcpy: Using armasm_memcpy()
  (!) DirectFB/core/vt: Couldn't open neither `/dev/tty0' nor `/dev/vc/0'!
  -- No such file or directory
  [...]

 Enable TTY and virtual terminal support in the kernel for this target.

 Regards,
 Juergen

 --
 Pengutronix e.K.  | Juergen Borleis
   |
 Industrial Linux Solutions| http://www.pengutronix.de/
 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] directFB mini2440

2015-04-16 Thread Juergen Borleis
On Thursday 16 April 2015 13:28:34 Alejandro Vázquez wrote:
 Hi, I'm trying to use directfb in mini2440, but when I try to launch
 dfbinfo gives me an error:


    ~~| DirectFB 1.4.3 |~~
         (c) 2001-2009  The world wide DirectFB Open Source Community
         (c) 2000-2004  Convergence (integrated media) GmbH
       

 (*) DirectFB/Core: Single Application Core. (2015-04-16 11:05) [ DEBUG 
 ][TRACE]
 (*) Direct/Memcpy: Using armasm_memcpy()
 (!) DirectFB/core/vt: Couldn't open neither `/dev/tty0' nor `/dev/vc/0'!
     -- No such file or directory
 [...]

Enable TTY and virtual terminal support in the kernel for this target.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions        | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de