ubgraded to Gutsy now Bzflag won't launch

Help with Setup, Hardware, Performance or other Issues...Or just pimp your rig.
Post Reply
SkyW
Private
Private
Posts: 4
Joined: Sun Jan 23, 2005 8:42 pm

ubgraded to Gutsy now Bzflag won't launch

Post by SkyW »

I recently upgraded to Ubuntu 7.10 (Gutsy) and now I received this error when I try to launch BZflag:

Code: Select all

Could not initialize SDL Video subsystem: No available video device
I tried upgrading to the latest Nvidia driver, tried re-installing the SDL packages to avail.

Any ideas where to look?
anomaly
Private First Class
Private First Class
Posts: 220
Joined: Tue Jul 26, 2005 10:32 pm
Location: Gainesville Florida

Post by anomaly »

If BZFlag did not upgrade as well, you may need to re-install it too.
SkyW
Private
Private
Posts: 4
Joined: Sun Jan 23, 2005 8:42 pm

Post by SkyW »

anomaly wrote:If BZFlag did not upgrade as well, you may need to re-install it too.
yeah i thought of that too and tried it to no avail..
I even tried to try upgrading to bzflag 2.0.10 and I get the same error
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

the error is not with bzflag, it is with X11 and your video drivers.

SDL can not create a display at the resolution you are asking for.

try to run in a window.

Code: Select all

bzflag -window -geometry 800x600
if that fails, then there is a problem with your video drivers.
ImageJeffM
SkyW
Private
Private
Posts: 4
Joined: Sun Jan 23, 2005 8:42 pm

Post by SkyW »

JeffM wrote:the error is not with bzflag, it is with X11 and your video drivers.

SDL can not create a display at the resolution you are asking for.

try to run in a window.

Code: Select all

bzflag -window -geometry 800x600
if that fails, then there is a problem with your video drivers.
$ bzflag -window -geometry 800x600
Could not initialize SDL Video subsystem: No available video device

unfortunately same error.I've been looking into the video drivers and X11, I just don't know where to look...
SkyW
Private
Private
Posts: 4
Joined: Sun Jan 23, 2005 8:42 pm

Solution found:

Post by SkyW »

It looks at though I needed to recompile the SDL library:

Process:

1. Download SDL source from http://www.libsdl.org/download-1.2.php

2. navigate to package directory

Code: Select all

 sudo ./configure

sudo make

sudo make install 
launch bzflag... let destruction begin!!!
F687/s
Private First Class
Private First Class
Posts: 369
Joined: Sun Dec 31, 2006 8:30 pm

Post by F687/s »

Did you do that already, or is that your process you'll be taking? If you got it to work, congratulations, and I look forward to blowing you up shortly.

If not, you may want to open Synaptic (or similar) and do a search for SDL. The packages you need may be available, and you'll be saved one more source build. You can never have too many .deb files.

(P.S. Running ./configure and make as root is generally a bad idea If ./configure (or make files) were to contain something like rm -rf / , you would be in much pain. I know it's Linux, but let's be secure, people.)
Post Reply