Can SDL run without X?

Hi
Can SDL run without X on PC? I mean on linux
framebuffer?
If not any plan for framebuffer support in near
future?

thanks
shamju joseph__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

shamju joseph wrote:

Hi
Can SDL run without X on PC? I mean on linux
framebuffer?

Yes it runs on fbdev.

If not any plan for framebuffer support in near
future?

I don’t know about SDL1.3 but SDL1.2 works. The
real question is how SDL1.3 is going to have
multiwindow support in single buffer environments
like fbdev?

     .bill

shamju joseph wrote:

Hi
Can SDL run without X on PC? I mean on linux
framebuffer?

Yes it runs on fbdev.

If not any plan for framebuffer support in near
future?

I don’t know about SDL1.3 but SDL1.2 works. The
real question is how SDL1.3 is going to have
multiwindow support in single buffer environments
like fbdev?

It isn’t. You only get multiple windows on systems that support multiple
windows. Otherwise you pretty much have to provide a complete windowing
system in SDL and that is not going to happen.

The question is a lot like asking “how is SDL going to provide sound on
a system that doesn’t have a sound card?” Answer, it isn’t going to do
that. SDL can only provide access to services that are already available
on the target system.

	Bob PendletonOn Wed, 2006-10-04 at 19:04 +0300, Vassilis Virvilis wrote:
     .bill

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


±-------------------------------------+

— Bob Pendleton wrote:> On Wed, 2006-10-04 at 19:04 +0300, Vassilis Virvilis wrote:

shamju joseph wrote:

Hi
Can SDL run without X on PC? I mean on linux
framebuffer?

Yes it runs on fbdev.

If not any plan for framebuffer support in near
future?

I don’t know about SDL1.3 but SDL1.2 works. The
real question is how SDL1.3 is going to have
multiwindow support in single buffer environments
like fbdev?

It isn’t. You only get multiple windows on systems
that support multiple
windows. Otherwise you pretty much have to provide a
complete windowing
system in SDL and that is not going to happen.

The question is a lot like asking “how is SDL going
to provide sound on
a system that doesn’t have a sound card?” Answer, it
isn’t going to do
that. SDL can only provide access to services that
are already available
on the target system.

  Bob Pendleton

Is fbdev the xfree86 driver for framebuffer? If there
is no X, how come fbdev driver available? Can SDL work
on framebuffer device /dev/fb0 directly? I have fb0
available in my system, but how I enable fbdev or
check its availability?

thanks
shamju joseph


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

shamju joseph wrote:

Is fbdev the xfree86 driver for framebuffer? If there
is no X, how come fbdev driver available? Can SDL work
on framebuffer device /dev/fb0 directly? I have fb0
available in my system, but how I enable fbdev or
check its availability?

$>fbset -i
This should print your current framebuffer settings,
or it will complain if not.

If you have /dev/fb0 and udev chances are you have
framebuffer support. Try to run testsprite from
the SDL distribution in the linux console. If you
still can’t make SDL display anything try
the SDL environments variables.

Be prepared for several reboots if you don’t have
a networked second machine so you can bring the
graphics in a sane state after trials. Other
staff that may help you get your console back
are mode3, SVGATextmode.

   .bill

2006/10/4, Bob Pendleton :> On Wed, 2006-10-04 at 19:04 +0300, Vassilis Virvilis wrote:

shamju joseph wrote:

Hi
Can SDL run without X on PC? I mean on linux
framebuffer?

Yes it runs on fbdev.

If not any plan for framebuffer support in near
future?

I don’t know about SDL1.3 but SDL1.2 works. The
real question is how SDL1.3 is going to have
multiwindow support in single buffer environments
like fbdev?

It isn’t. You only get multiple windows on systems that support multiple
windows. Otherwise you pretty much have to provide a complete windowing
system in SDL and that is not going to happen.

The question is a lot like asking “how is SDL going to provide sound on
a system that doesn’t have a sound card?” Answer, it isn’t going to do
that. SDL can only provide access to services that are already available
on the target system.

AFAIK DirectFB supports multiple windows. Quote from the top of their site:
“DirectFB is a thin library that provides hardware graphics
acceleration, input device handling and abstraction,
integrated_windowing_system with support for translucent windows and
multiple display layers, not only on top of the Linux Framebuffer
Device. It is a complete hardware abstraction layer with software
fallbacks for every graphics operation that is not supported by the
underlying hardware. DirectFB adds graphical power to embedded systems
and sets a new standard for graphics under Linux.”

:wink:


Roman Kyrylych (??? ???)