SDL without X and with framebuffer

Hi again,

I get good result with framebuffer for game animation, it up from 24fps to
61fps!!! but, when animation is running some times i have lags. It make
animation too poor.
I think we can get a better result without using X.

What do you think about runing sdl without X?
is it possible?
is it better?
how i can do it?

ty,

R?ben–
Linux user #433535

Hi,

X is just the window manager under Linux. You can bypass X by using (if
needed) other window manager like DirectFB, or GTK.
You can see which one is better by trying these out and compare.

csOn 10/23/06, R?ben L?cio wrote:

Hi again,

I get good result with framebuffer for game animation, it up from 24fps to
61fps!!! but, when animation is running some times i have lags. It make
animation too poor.
I think we can get a better result without using X.

What do you think about runing sdl without X?
is it possible?
is it better?
how i can do it?

ty,

R?ben


Linux user #433535


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

2006/10/23, Carlos Santa <santa.cm at gmail.com>:

X is just the window manager under Linux. You can bypass X by using (if
needed) other window manager like DirectFB, or GTK.
You can see which one is better by trying these out and compare.

Neither of these three are window manager.
X is a server that allows window managers and applications to interact
(either on local machine or via network) using special protocols.
There’s no hardware acceleration in plain X. There are several
extensions that provide it, however. I don’t know if SDL 1.2 makes any
use of hardware acceleration under X, SDL 1.3 will show better
results, I suppose.

DirectFB is an abstraction layer that allows to use graphics in Unix
without X. It provides hardware acceleration, but I don’t know if this
is implemented in SDL 1.2. SDL 1.3 haven’t updated directfb driver
yet.

There’s also fbcon driver in SDL, but AFAIK fbcon is less powerful
than DirectFB.

GTK is only GUI framework, that can be used on top of X or DirectFB.

I get good result with framebuffer for game animation, it up from 24fps to
61fps!!! but, when animation is running some times i have lags. It make
animation too poor.
I think we can get a better result without using X.

What do you think about runing sdl without X?
is it possible?
is it better?
how i can do it?

You can use directfb, fbcon, svgalib or ggi driver. You can select
driver with environment ariable in SDL 1.2 and with new API in SDL
1.3. IIRC svgalib and ggi support may be dropped in SDL 1.3–
Roman Kyrylych (??? ???)

Thank you very mutch guys, i will find more about fbcon, svgalib and ggi.
i’m trying directfb at this moment.

best regards,

R?benOn 10/23/06, Roman Kyrylych <roman.kyrylych at gmail.com> wrote:

2006/10/23, Carlos Santa <santa.cm at gmail.com>:

X is just the window manager under Linux. You can bypass X by using (if
needed) other window manager like DirectFB, or GTK.
You can see which one is better by trying these out and compare.

Neither of these three are window manager.
X is a server that allows window managers and applications to interact
(either on local machine or via network) using special protocols.
There’s no hardware acceleration in plain X. There are several
extensions that provide it, however. I don’t know if SDL 1.2 makes any
use of hardware acceleration under X, SDL 1.3 will show better
results, I suppose.

DirectFB is an abstraction layer that allows to use graphics in Unix
without X. It provides hardware acceleration, but I don’t know if this
is implemented in SDL 1.2. SDL 1.3 haven’t updated directfb driver
yet.

There’s also fbcon driver in SDL, but AFAIK fbcon is less powerful
than DirectFB.

GTK is only GUI framework, that can be used on top of X or DirectFB.

I get good result with framebuffer for game animation, it up from
24fps to
61fps!!! but, when animation is running some times i have lags. It make
animation too poor.

I think we can get a better result without using X.

What do you think about runing sdl without X?
is it possible?
is it better?
how i can do it?

You can use directfb, fbcon, svgalib or ggi driver. You can select
driver with environment ariable in SDL 1.2 and with new API in SDL
1.3. IIRC svgalib and ggi support may be dropped in SDL 1.3


Roman Kyrylych (??? ???)


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Linux user #433535
Linux because we are freedon.