[Interest] running directfb on desktop

Juha Vuolle juvuolle at gmail.com
Tue Aug 6 12:13:10 CEST 2013


Hi Mandeep,

I had a quick look at the wiki which says the DFBGL is not used. I can see
there is some related code in the DFB QPA but I don't see it being used.

I think The "other EGL - OpenGL integration" mentioned on the wiki would
require some tweaking into qdirectfb_egl.cpp or perhaps even at egl
library.  For now it doesn't even compile for me (seems my directfb libs
are a tad too old and missing an enum) but foremost the mesa egl API I'm
using doesn't appreciate the
m_eglSurface = eglCreateWindowSurface(dfbScreen->eglDisplay(), config,
dfbSurface(), NULL);
where the NativeWindowType is "IDirectFbSurface*".

thanks for the replies,
Juha



2013/8/6 Mandeep Sandhu <mandeepsandhu.chd at gmail.com>

> Some more info on the status of DirectFB with Qt5:
> http://qt-project.org/wiki/DirectFBAndQt
>
> -mandeep
>
>
>
> On Tue, Aug 6, 2013 at 2:30 PM, Mandeep Sandhu <
> mandeepsandhu.chd at gmail.com> wrote:
>
>> During Qt 4 days, you could use qvfb (Q Virtual Frambuffer) for running
>> applications built for Qt embedded. I'm not sure if it's still valid as Qt5
>> required openGL support.
>>
>> Maybe it's possible via the DirectFB openGL extension - DirectFBGL.
>>
>> HTH,
>> -mandeep
>>
>>
>>
>> On Tue, Aug 6, 2013 at 2:14 PM, Juha Vuolle <juvuolle at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> was wondering if it is possible to run qt applications with directfb QPA
>>> on deskop?
>>>
>>> I just tried it but I seem to get segfault at directfb qpa backingstore
>>> constructor
>>> IDirectFBWindow *dfbWindow = static_cast<QDirectFbWindow
>>> *>(window->handle())->dfbWindow();
>>> where window->handle() is null.
>>>
>>> Other than that there are not much errors in the startup logs (some
>>> joystick related warnings). I see a window flashing quickly.
>>> I was wondering if I'm missing some obvious stuff I need to setup for
>>> this to work?
>>>
>>> (My setup: lubuntu 13.04, self-compiled about 3 weeks old Qt 5)
>>>
>>> any hints appreciated,
>>>  Juha
>>>
>>> if its any use:
>>>
>>> > ./analogclock -platform directfb
>>>    ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.10
>>> |~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>         (c) 2001-2008  The world wide DirectFB Open Source Community
>>>         (c) 2000-2004  Convergence (integrated media) GmbH
>>>       ----------------------------------------------------------------
>>>
>>> (*) DirectFB/Core: Single Application Core. (2012-05-21 06:43)
>>> (*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0]
>>> <8388608>...
>>> (*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
>>> <8388608>...
>>> (*) DirectFB/Input: Power Button (1) 0.1 (directfb.org)
>>> (*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
>>> <8388608>...
>>> (*) DirectFB/Input: Sleep Button (2) 0.1 (directfb.org)
>>> (*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
>>> <8388608>...
>>> (*) DirectFB/Input: AT Translated Set 2 keyboard (3) 0.1 (directfb.org)
>>> (*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
>>> <8388608>...
>>> (*) DirectFB/Input: VirtualBox USB Tablet (4) 0.1 (directfb.org)
>>> (*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
>>> <8388608>...
>>> (*) DirectFB/Input: VirtualBox mouse integration (5) 0.1 (directfb.org)
>>> (*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
>>> <8388608>...
>>> (*) DirectFB/Input: ImExPS/2 Generic Explorer Mouse (6) 0.1 (
>>> directfb.org)
>>> (*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0]
>>> <8388608>...
>>> (*) DirectFB/Input: Keyboard 0.9 (directfb.org)
>>> (*) Direct/Thread: Started 'Joystick Input' (-1) [INPUT OTHER/OTHER 0/0]
>>> <8388608>...
>>>  (!!!)  *** ONCE [Joystick sends JS_EVENT_INIT events, make sure it has
>>> been calibrated using 'jscal -c'
>>> ] *** [../../../inputdrivers/joystick/joystick.c:99 in
>>> joystick_handle_event()]
>>> (*) DirectFB/Input: Joystick (1) 0.9 (directfb.org)
>>>  (!!!)  *** WARNING [out of memory] *** [../../../src/core/input.c:1133
>>> in init_axes()]
>>> (*) Direct/Thread: Started 'Joystick Input' (-1) [INPUT OTHER/OTHER 0/0]
>>> <8388608>...
>>> (*) DirectFB/Input: Joystick (2) 0.9 (directfb.org)
>>>  (!!!)  *** WARNING [out of memory] *** [../../../src/core/input.c:1133
>>> in init_axes()]
>>> (*) Direct/Thread: Started 'PS/2 Input' (-1) [INPUT OTHER/OTHER 0/0]
>>> <8388608>...
>>> (*) DirectFB/Input: IMPS/2 Mouse (1) 1.0 (directfb.org)
>>> (*) Direct/Thread: Started 'PS/2 Input' (-1) [INPUT OTHER/OTHER 0/0]
>>> <8388608>...
>>> (*) DirectFB/Input: IMPS/2 Mouse (2) 1.0 (directfb.org)
>>> (*) DirectFB/Genefx: MMX detected and enabled
>>> (*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
>>> (*) DirectFB/Core/WM: Default 0.3 (directfb.org)
>>> (*) FBDev/Surface: Allocated 640x480 32 bit LUT8 buffer (index 0) at
>>> offset 0 and pitch 2560.
>>> (!) [11851:    0.000] --> Caught signal 11 (at 0x10, invalid address) <--
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Interest mailing list
>>> Interest at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/interest
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130806/5377276a/attachment.html>


More information about the Interest mailing list