From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: MIME-Version: 1.0 In-Reply-To: <201504161445.12751.jbe@pengutronix.de> References: <201504161445.12751.jbe@pengutronix.de> Date: Fri, 17 Apr 2015 11:12:57 +0200 Message-ID: From: =?UTF-8?Q?Alejandro_V=C3=A1zquez?= Subject: Re: [ptxdist] directFB mini2440 List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============0755248506==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --===============0755248506== Content-Type: multipart/alternative; boundary=089e0149c2fa7c7c1e0513e7fc4a --089e0149c2fa7c7c1e0513e7fc4a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 : > On Thursday 16 April 2015 13:28:34 Alejandro V=C3=A1zquez 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= / > | > --089e0149c2fa7c7c1e0513e7fc4a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi!
Thanks you.
Now work almost every exampl= es, but some fails e.g. df_palette
=C2=A0 =C2=A0~~~~~~~~~~~~= ~~~~~~~~~~~~~~| DirectFB 1.4.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~
=C2=A0= =C2=A0 =C2=A0 =C2=A0 (c) 2001-2009 =C2=A0The world wide DirectFB Open Sour= ce Community
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (c) 2000-2004 =C2=A0Conv= ergence (integrated media) GmbH
=C2=A0 =C2=A0 =C2=A0 ------------= ----------------------------------------------------

(*) 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&#= 39; (-1) [DEFAULT OTHER/OTHER 0/0] <8388608>...
(*) DirectF= B/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>...
(*) Di= rectFB/Input: S3C24XX TouchScreen (1) 0.1 (= directfb.org)
(*) Direct/Thread: Started 'Linux Input'= ; (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/In= put: pwm-beeper (2) 0.1 (directfb.org)<= /div>
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHE= R/OTHER 0/0] <8388608>...
(*) DirectFB/Input: gpio-keys (3)= 0.1 (directfb.org)
(*) Direc= t/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <83= 88608>...
(*) 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!
=C2=A0 = =C2=A0 =C2=A0-> Using default resolution.
(!) DirectFB/DirectF= BCreate: Setting desktop format failed!
=C2=A0 =C2=A0 =C2=A0->= Using default format.
(!) DirectFB/DirectFBCreate: Setting deskt= op buffer mode failed!
=C2=A0 =C2=A0 =C2=A0-> No virtual resol= ution support or not enough memory?
=C2=A0 =C2=A0 =C2=A0 =C2=A0 F= alling back to system back buffer.
df_palette.c <140>:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (#) DirectFBError [dfb->CreateSurface(= dfb, &sdsc, &primary )]: Not supported!
=C2=A0(!!!) =C2= =A0*** WARNING [Application exited without deinitialization of DirectFB!] *= ** [core.c:862 in dfb_core_deinit_check()]
=C2=A0(!!!) =C2=A0*** = WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in= fusion_object_pool_destroy()]
=C2=A0(!!!) =C2=A0*** WARNING [sti= ll objects in 'Layer Context Pool'] *** [object.c:241 in fusion_obj= ect_pool_destroy()]
=C2=A0(!!!) =C2=A0*** WARNING [still objects = in 'Surface Pool'] *** [object.c:241 in fusion_object_pool_destroy(= )]
Interface instances remaining (2):=C2=A0
=C2=A0 - &#= 39;IDirectFB' at 0x1dfdd8 (dfb) allocated in DirectFBCreate (directfb.c= : 197)
=C2=A0 - 'IDirectFBEventBuffer' at 0x1e1a00 (iface= ) allocated in IDirectFB_CreateInputEventBuffer (idirectfb.c: 1097)

Do I have to configure something else?

Thanks!
Rega= rds, Alex.

2015-04-16 14:45 GMT+02:00 Juergen Borleis <jbe@pe= ngutronix.de>:
On Thursday 16 April 2015 13:28:34 Alejandro V=C3=A1zquez wrote:
> Hi, I'm trying to use directfb in mini2440, but when I try to laun= ch
> dfbinfo gives me an error:
>
>
> =C2=A0 =C2=A0~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 |~~~~~~~~~~~~~= ~~~~~~~~~~~~~
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 (c) 2001-2009 =C2=A0The world wide DirectF= B Open Source Community
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 (c) 2000-2004 =C2=A0Convergence (integrate= d media) GmbH
> =C2=A0 =C2=A0 =C2=A0 -------------------------------------------------= ---------------
>
> (*) 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'!
> =C2=A0 =C2=A0 --> No such file or directory
> [...]

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

Regards,
Juergen

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

--089e0149c2fa7c7c1e0513e7fc4a-- --===============0755248506== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline LS0gCnB0eGRpc3QgbWFpbGluZyBsaXN0CnB0eGRpc3RAcGVuZ3V0cm9uaXguZGUK --===============0755248506==--