I have little experience with SDL, in fact I honestly know very little about
it, however, I do know that you can use SDL for apps that do not need
X-windows to run.
I am currently doing this using the linux kernel’s VESA frame buffer
console. This works adequately for many SDL applications, but I would
assume some lesser function by doing this for the following reasons.
From what I know, disadvantages of using the VESA fbcon are;
you cannot change video mode without rebooting,
you do not get any video acceleration - poor video performace - poor text
performance at 32-bit color depth,
you cannot run Mesa GL / GLUT apps,
you cannot correctly use SVGALIB function.
From what I know, advantages of using the VESA fbcon are;
you can access high resolution video modes at the linux console,
you can run X-windows on top of this fbcon so you can have a GUI for
non-supported, but VESA 2.0 compliant video adapters,
you can run SDL without needing X-windows libraries.
By the way, I have attempted to run SDL apps on top of the ATI frame buffer
console using an ATI Xpert 98 AGP and have had poor results, in fact as of
kernel 2.4.17, ATI console frame buffer support in my opinion is crap. In
X, however, all is well with this adapter.
Please correct me anybody if I am not accurate in any of what I have said
P.S. When I try to initialize SDL from the linux console, with no fbcon
device, I get the message no video device found. Does SDL work on top of
SVGAlib ?> ----- Original Message -----
From: email@example.com (tony Tong)
Sent: Saturday, January 26, 2002 9:53 AM
Subject: [SDL] Can SDL stand alone without x-windows librarys?
Can sdl stand alone without x-windows?
Here, I mean that without links with x-window librarys
, can a sdl application work ?
in the test directory , i use "ldd ./testwin"
the output is :
libSDL-1.2.so.0 => /usr/local/lib/libSDL-1.2.so.0
libpthread.so.0 => /lib/i686/libpthread.so.0
libc.so.6 => /lib/i686/libc.so.6 (0x400b6000)
libm.so.6 => /lib/i686/libm.so.6 (0x401e6000)
libdl.so.2 => /lib/libdl.so.2 (0x4020a000)
libartsc.so.0 => /usr/lib/libartsc.so.0 (0x4020e000)
libesd.so.0 => /usr/lib/libesd.so.0 (0x40214000)
libaudiofile.so.0 => /usr/lib/libaudiofile.so.0
libX11.so.6 => /usr/X11R6/lib/libX11.so.6
libXext.so.6 => /usr/X11R6/lib/libXext.so.6
libXxf86dga.so.1 => /usr/X11R6/lib/libXxf86dga.so.1
libXv.so.1 => /usr/X11R6/lib/libXv.so.1 (0x40321000)
libvga.so.1 => /usr/local/lib/libvga.so.1
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
why exit so many links to the x11r6 librarys?
i looked into the source code of testwin. but i cannot
find any include Xfiles.
is there any possibility to write a sdl application
depending only on the svgalib?
btw, i am doing some application for embbed enviroment
.so i cant bear the overhead of Xlibs.
If someone can give me some advice, here i give my
appreciation in advance.
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
SDL mailing list
SDL at libsdl.org