[SDL] Urgent help : Couldn't initialize SDL: No available video device

Vishal K. Singh vishal.kr.singh at gmail.com
Wed Apr 4 16:36:59 PDT 2007


Hello everyone,

I encountered the following problem after download and compiling SDL
sources. I am pretty new to development on Linux and do not have much
system knowledge.

>From ./configure  see the following excerpt

checking for X... no
checking for framebuffer console support... yes
checking for directfb-config... no
checking for pkg-config... /usr/bin/pkg-config
checking for DirectFB 0.9.15 support... no
checking for PlayStation 2 GS support... no
checking for SVGAlib (1.4.0+) support... no
checking for libVGL support... no
checking for wscons support... no
checking for OpenGL (GLX) support... no

The above says its has framebuffer support so I should be able to run
SDL. I set the SDL_VIDEODRIVER=fbcon and I tried and no sucess same
result.

Before the above, i was trying randomly with anything I was finding on
google that is setting the display, setting the SDl_VIDEODRIVER to
different values.

The output of xdpyinfo is:
name of display:    :0.0
version number:    11.0
vendor string:    The XFree86 Project, Inc
vendor release number:    40300000
XFree86 version: 4.3.0
maximum request size:  4194300 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7


Lot of postings on lists suggested to install X11 libraries and header
files, but I dont know how to go about it and from where to obtain the
sources/packages.

I have red hat linux 2.4.21-20.ELsmp  installed.

Thanks a lot for your time and help.

Regards,
Vishal


More information about the SDL mailing list