Hello,
I am new to SDL. I am developing SDL application for ARM platform which has
a LCD display. Until now i was using SDL with Fbcon (Linux Frame buffer
Console) driver which is “/dev/fb0” and it was working fine. Here i was
using a single SDL application.
When i tried to run Multiple SDL Applications simultaneously, (SDL with
FBcon) the second application failed to start. It has got stucked in
SDL_SetVideoMode() Function. When i stop the first application, the Second
one Starts working… I think with SDL we can’t run multiple
applications… and i figred out it was stucked in some tty
device…Can we disable the input device in any chance…
Please comment on the Above understanding…
But my new requirement is to run multiple SDL applications simultaneously…
Since DirectFB supports integrated windowing system, i thought of using SDL
with DirectFB support.
Is that Option Correct (SDL with DirectFB support for running multiple SDL
applications at the same time. )???
I have done the following steps:
-
Build the SDL with --enable-video-directfb option
-
Set the Environment Variable SDL_VIDEODRIVER=directfb
-
DirectFB Library building with
–enable-sdl --disable-x11 --enable-fbdev
–with-inputdrivers=none --enable-jpeg --enable-png --enable-zlib
–enable-freetype --disable-sysfs --disable-vnc --disable-video4linux
–disable-video4linux2 --enable-fusion --enable-debug --enable-multi
In the Above config options the use of “–enable-sdl” is correct??? i think
that is used if the DirectFB applications runs over SDL. Please correct me
on this understanding…
With the Above settings , when i tried to run the SDL application, i am
getting the Error saying, the pixel format is not supported…
Please anyone help me on this, since its an urgent requirement…
Or anyone please Suggest me an alternative option for running multiple SDL
applications on ARM platform (without X11).
Thanks in advance …,
Ansa Najeeb.