DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm not sure what I'm missing or if there is a bug in unstable..
Several of my games will no longer run since my last update (such as bzflag)
when I attempt to launch them from the command line I get the following error
Quote:
default@debian:~$ bzflag
Could not initialize SDL Video subsystem: No available video device.
Any idea how to fix this ? I'm at a loss as to what is missing or broken here..
sdl is installed, as are my nvidia graphics drivers..
Code:
default@debian:~$ aptitude search sdl | grep -F 'i '
i libsdl-gfx1.2-4 - drawing and graphical effects extension fo
i libsdl-gfx1.2-dev - development files for SDL_gfx
i libsdl-image1.2 - image loading library for Simple DirectMed
i libsdl-image1.2-dev - development files for SDL 1.2 image loadin
i libsdl-mixer1.2 - mixer library for Simple DirectMedia Layer
i libsdl-net1.2 - network library for Simple DirectMedia Lay
i libsdl-net1.2-dev - Development files for SDL network library
i libsdl-sound1.2 - Decoder of several sound file formats for
i libsdl-sound1.2-dev - Development files for SDL_sound
i libsdl-ttf2.0-0 - ttf library for Simple DirectMedia Layer w
i libsdl-ttf2.0-dev - development files for SDL ttf library (ver
i libsdl1.2-dev - Simple DirectMedia Layer development files
i libsdl1.2debian - Simple DirectMedia Layer
i libsdl1.2debian-alsa - Simple DirectMedia Layer (with X11 and ALS
i vlc-plugin-sdl - SDL video and audio output plugin for VLC
p xmess-sdl - SDL binaries for the Multi Emulator Super
i A xpilot-ng-client-sdl - Client for XPilot NG
Code:
debian:/var/log# cat Xorg.0.log | grep WW
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Warning, couldn't open module type1
(WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-1
(WW) *** WARNING the legacy keyboard driver "keyboard" is deprecated
(WW) *** Using the new "kbd" driver for "Generic Keyboard".
debian:/var/log# cat Xorg.0.log | grep EE
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module "type1" (module does not exist, 0)
The error is in your first codesnippit: "No available video device". That means that SDL is installed and configured, but it's default link to video devices doesn't match those on your system. Figure out where these devices are on your system, where SDL expects them (docs!) and if possible, sym-link these locations. Otherwise, recompile SDL using the device nodes your system uses for video devices.
No, I won't rant about why Unstable is named Unstable
Can you respond which of these worked for you? (I am one of the developers of the game OpenLieroX which also uses SDL; and we could builtin some fallbacks if the default video mode doesn't work.)
Although the question is now nearly 2 yrs old and not even mine, you may want to check the video driver designated in xorg.conf to use as default. That way you know the driver is present and at a pre-defined location (provided the user did a standard install).
Wow. It's been so long I don't even recall how this got worked out. Probably was a bug I suffered from for a limited time between updates.
I've certainly played enough bzflag in the last two years, to know it's been addressed.
OpenLieroX - Worms like clone (sorta).. Looks interesting ,I see it's not in the Debian repositories, but there is a .deb available for Download.. I'll have to take a look
An SDL mailinglist user refered to this problem here, that's why I thought I'll post a possibility here. I didn't really noticed that it is that old. Anyway, perhaps it helps some other Google-user who stumbles to this entry.
And try to specify some environment variables. Most important for you (for this problem) is SDL_VIDEODRIVER. If you set it to x11, it should always work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.