[SDL] A basic problem of SDL confb...
upender at md2.vsnl.net.in
Thu Sep 21 10:27:00 PDT 2000
> I'm a newbie of SDL. Actually, I'm a newbie of Linux programmer, too.
> I downloaded SDL-1.0.8, compiled and installed it succefully.
> But I can't run the test program in the console's framebuffer.
> Everytime I try to execute test program (ex: test/testbitmap), it will tell
> "No available video device", but it can work well under my X-window.
> I have set the environment variable SDL_VIDEODRIVER=fbcon, but it
> still can't find the correct video device. I had tried to use
> "./configure --disable-video-x11" and rebuild the library to avoid the
> inference of X11's video driver, but it still can't run on confb mode. (of
> course it can't run on x11, meanwhile).
> Can somebody tell me how to run a SDL program without X11?
> Or what documents should I read first?
It's possible that you have fbcon enabled in your kernel but you are not
starting your Linux kerenel with it.Try the command "fbset".It might say
"open /dev/fb0: No such device".
Read /usr/src/linux/Documentation/fb/matroxfb.txt to see how to start your
console in graphics mode using lilo parameters so that you can have a
And compiling SDL with X11 will not interfere if X11 is not running.
More information about the SDL