mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] directFB mini2440
@ 2015-04-16 11:28 Alejandro Vázquez
  2015-04-16 12:45 ` Juergen Borleis
  0 siblings, 1 reply; 4+ messages in thread
From: Alejandro Vázquez @ 2015-04-16 11:28 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 2354 bytes --]

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

sh: nm: not found

sh: nm: not found

sh: nm: not found

sh: nm: not found

(-) [  427: -STACK- ]

  #0  0xb6c6fc7c in dfb_vt_initialize () from
/usr/lib/directfb-1.4-0/systems/l]
  #1  0xb6c68f24 in ?? () from
/usr/lib/directfb-1.4-0/systems/libdirectfb_fbde]
  #2  0xb6ef6ecc in ?? () from /usr/lib/libdirectfb-1.4.so.0 [0xb6e3b000]

  #3  0xb6eb01a0 in dfb_core_part_initialize () from
/usr/lib/libdirectfb-1.4.s]
  #4  0xb6eaf554 in ?? () from /usr/lib/libdirectfb-1.4.so.0 [0xb6e3b000]

  #5  0xb6eaf83c in ?? () from /usr/lib/libdirectfb-1.4.so.0 [0xb6e3b000]

  #6  0xb6cccc40 in fusion_arena_enter () from /usr/lib/libfusion-1.4.so.0
[0xb]
  #7  0xb6eaebe0 in dfb_core_create () from /usr/lib/libdirectfb-1.4.so.0
[0xb6]
  #8  0x00008648 in DirectFBCreate () from /usr/bin/dfbinfo [0x8000]

  #9  0x000086cc in ?? () from /usr/bin/dfbinfo [0x8000]



(!) DirectFB/Core: Could not initialize 'system_core' core!

    --> Initialization error!

(-) [  427: -STACK- ]

  #0  0xb6eb01a0 in dfb_core_part_initialize () from
/usr/lib/libdirectfb-1.4.s]
  #1  0xb6eaf554 in ?? () from /usr/lib/libdirectfb-1.4.so.0 [0xb6e3b000]

  #2  0xb6eaf83c in ?? () from /usr/lib/libdirectfb-1.4.so.0 [0xb6e3b000]

  #3  0xb6cccc40 in fusion_arena_enter () from /usr/lib/libfusion-1.4.so.0
[0xb]
  #4  0xb6eaebe0 in dfb_core_create () from /usr/lib/libdirectfb-1.4.so.0
[0xb6]
  #5  0x00008648 in DirectFBCreate () from /usr/bin/dfbinfo [0x8000]

  #6  0x000086cc in ?? () from /usr/bin/dfbinfo [0x8000]



(#) DirectFBError [DirectFBCreate() failed]: Initialization error!

----------------------------------
I use : OSELAS.BSP-Pengutronix-Mini2440-2013.10.0.
someone has used directfb and have saved your settings or you know how you
can fix the error?

[-- Attachment #1.2: Type: text/html, Size: 4405 bytes --]

[-- Attachment #2: ptxdist menuconfig_046.png --]
[-- Type: image/png, Size: 37497 bytes --]

[-- Attachment #3: ptxdist menuconfig_045.png --]
[-- Type: image/png, Size: 51254 bytes --]

[-- Attachment #4: ptxdist menuconfig_044.png --]
[-- Type: image/png, Size: 39274 bytes --]

[-- Attachment #5: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] directFB mini2440
  2015-04-16 11:28 [ptxdist] directFB mini2440 Alejandro Vázquez
@ 2015-04-16 12:45 ` Juergen Borleis
  2015-04-17  9:12   ` Alejandro Vázquez
  0 siblings, 1 reply; 4+ messages in thread
From: Juergen Borleis @ 2015-04-16 12:45 UTC (permalink / raw)
  To: ptxdist; +Cc: Alejandro Vázquez

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] directFB mini2440
  2015-04-16 12:45 ` Juergen Borleis
@ 2015-04-17  9:12   ` Alejandro Vázquez
  2015-04-17 10:05     ` Juergen Borleis
  0 siblings, 1 reply; 4+ messages in thread
From: Alejandro Vázquez @ 2015-04-17  9:12 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 3928 bytes --]

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
0x33980000, 150k (MMIO 0x00000000, 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 <jbe@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/
> |
>

[-- Attachment #1.2: Type: text/html, Size: 5411 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] directFB mini2440
  2015-04-17  9:12   ` Alejandro Vázquez
@ 2015-04-17 10:05     ` Juergen Borleis
  0 siblings, 0 replies; 4+ messages in thread
From: Juergen Borleis @ 2015-04-17 10:05 UTC (permalink / raw)
  To: ptxdist; +Cc: Alejandro Vázquez

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-04-17 10:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-16 11:28 [ptxdist] directFB mini2440 Alejandro Vázquez
2015-04-16 12:45 ` Juergen Borleis
2015-04-17  9:12   ` Alejandro Vázquez
2015-04-17 10:05     ` Juergen Borleis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox