Page 1 of 1

BZFlag troubles since upgrade to Ubuntu 8.04

Posted: Sat Jul 19, 2008 9:35 pm
by HalynR1500
Hello -

I can't play BZFlag! I have tried and tried. When trying to run it in the terminal, this message appears:

X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 134 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0x79
Serial number of failed request: 148
Current serial number in output stream: 150

It worked perfectly well with 7.10, so whats wrong and how do I fix it?

Thanks!

Posted: Sat Jul 19, 2008 9:42 pm
by JeffM
be sure that you reinstall your video drivers after doing your upgrades.

Posted: Sat Jul 19, 2008 9:45 pm
by HalynR1500
When giving me advice, it is always best to treat me as a small stupid child, as my knowledge of Linux is limited.

Posted: Sat Jul 19, 2008 9:55 pm
by JeffM
then I would not recommend you use linux.

Your video driver is probably a package, it will be based on your hardware. You should be able to reinstall it from your package manager. This isn't a linux support forum, so if you need more help in that, I recommend you check with your distributions support channel.

Posted: Sat Jul 19, 2008 10:01 pm
by HalynR1500
Ubuntu is so much better though that I would never go back to Windows.

As for your suggestion, it didn't work.

Posted: Sat Jul 19, 2008 10:15 pm
by JeffM
the problem is with your video driver, it can not change to the resolution that is requested.

try running bzflag from the command line like this

bzflag -window -geometry 800x600

Posted: Sat Jul 19, 2008 10:37 pm
by Peter
Hello, welcome to Linux, go to system > administration > hardware drivers and it is pretty straight forward from there.

Posted: Sun Jul 20, 2008 9:36 am
by ts
Please read the suggestions in this topic if Jeff's "bzflag -window -geometry 800x600" starts BZFlag but the resolution is not saved: http://my.bzflag.org/bb/viewtopic.php?t=12797

This is the 3rd case of problems using BZFlag running on Ubuntu I heard of within a few days. Probably it's never working out of the box.

Posted: Sun Jul 20, 2008 12:35 pm
by anomaly
This is from the README.Debian file in the Ubuntu source package:

Code: Select all

bzflag uses XFree86's VidMode extension to change resoultions
`on the fly'. Some people have reported problems with this but we have
not been able to identify the reason (yet). Please report a bug if you
are having problems.

Other people, have color map problems when the change of video
resolution occurs. If this happens to you as well please report it.
The workaround it to manually switch resoultions before running bzflag

bzflag, by default, will takeover your entire screen. By specifying
the `-window' option on the command line it will display inside of a
window.
There are not any major changes in the ubuntu bzflag package from 7.10 to 8.04. The issue is probably related to changes in xorg. I upgraded from 7.10 to 8.04 with zero issues. I also installed 8.04 on a new Dell 1720 right out of the box with zero issues.

Try Jeff's suggestion. Run bzflag in windowed mode. If that works you need to do what Peter suggested. Or better yet get EnvyNG if you have nVidia or ATI graphics hardware. Run System>Administration>Synaptic Package Manager and look for 'envyng'.

I have an nVidia video card and installed EnvyNG. That will install the latest proprietary nVidia or ATI drivers. I recommend using EnvyNg if you have nVidia or ATI graphics hardware.

Posted: Sun Jul 20, 2008 5:39 pm
by lol_u died
Well look if this is a video card problem like JeffM says, then how come you don't do this? Go and find out the Video Card company such as nVidia and ATI and also find what model number it is such as ATI Radeon 1200X. Then when you find the company and model number of the video card. go on there website and go to support or download drivers and find the right video card and download for the OS that you have. Usally if you have ATI it should be no problem finding the OS since ATI mostly supports all OS's. Good Luck

Posted: Mon Jul 21, 2008 12:01 am
by macsforme
lol_u died
Generally speaking, you install video drivers on Ubuntu using packages, not by downloading drivers from manufacturer's web sites.