no start on amd64 (was: "Nothing happens")
So I packed all my C knowledge into a little test program, and here it is:
int main(int argc, char* argv) {
SDL_Init(SDL_INIT_EVERYTHING);
SDL_SetVideoMode(640, 480, 0, SDL_ANYFORMAT);
SDL_Quit();
}
Without SetVideoMode, it will terminate correctly. With SetVideoMode, it needs to be kill9ed. I figured from the backtrace that it would be like that.
@Jocelyn: What are your use flags on libsdl? Mine are: +X +aalib +alsa -arts +dga -directfb -esd -fbcon -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo +opengl +oss -pic (-svga) +xinerama +xv What do you think might cause the problem?
Cheers,
Rudi
Hi,
Quoted 5 lines · Rudi Lippert
So I packed all my C knowledge into a little test program, and here it is:
int
main(int argc, char* argv){
SDL_Init(SDL_INIT_EVERYTHING);
SDL_SetVideoMode(640, 480, 0, SDL_ANYFORMAT);
You could try to use specific bit depths, i.e. instead of 0 try 16, 32, 24, 8 (maybe even in that order).
Quoted 2 lines
SDL_Quit();
}
I seem to recall that on my IRIX machine SDL could not find a video mode unless the depth was specified exactly.
Ciao,
Dscho
Quoted 10 lines · Rudi Lippert
So I packed all my C knowledge into a little test program, and here it is:
int
main(int argc, char* argv){
SDL_Init(SDL_INIT_EVERYTHING);
SDL_SetVideoMode(640, 480, 0, SDL_ANYFORMAT);
SDL_Quit();
}Without SetVideoMode, it will terminate correctly. With SetVideoMode, it needs to be kill9ed. I figured from the backtrace that it would be like that.
It just tried this program with no problem (except it misses one line:
#include <SDL/SDL.h> ;-) ).
Quoted 4 lines
@Jocelyn: What are your use flags on libsdl? Mine are: +X +aalib +alsa -arts
(quoted diff) +1
-1+dga -directfb -esd -fbcon -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo +opengl +oss -pic (-svga) +xinerama +xvWhat do you think might cause the problem?
Here are the USE flags for libsdl on my machine:
+X +aalib +alsa -arts +dga +directfb +esd +fbcon +ggi -libcaca +nas -noaudio -noflagstrip -nojoystick -novideo +opengl +oss +pic (-svga) +xinerama +xv
The only difference I can see that seem to be video related is 'ggi' support flag as I don't see why directfb and fbcon could influence the way it acts under X...
Hope this can help you...
Signature · 2 lines
J. Mayer <[email protected]> Never organized