Strange error on Ubuntu-Linux

All things BZFlag - no [OT] here please
Post Reply
lucky luke
Private First Class
Private First Class
Posts: 21
Joined: Tue May 24, 2005 12:20 pm

Strange error on Ubuntu-Linux

Post by lucky luke »

Hi, I've installed bzflag by apt-get and when i start it i get this strange message:

lex@ubuntu:~ $ bzflag
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 135 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0x40
Serial number of failed request: 123
Current serial number in output stream: 12

Had anyone of you the same problem?

Thx, lex (tbo)
User avatar
Teppic
Private First Class
Private First Class
Posts: 576
Joined: Mon Mar 07, 2005 10:00 pm
Location: The North Block

Post by Teppic »

Open the bzflag config file ( ~/.bzf/2.0/config.cfg ) and check what video resolution it is trying to run at, and change it to a valid resolution for your X setup.
lucky luke
Private First Class
Private First Class
Posts: 21
Joined: Tue May 24, 2005 12:20 pm

Post by lucky luke »

Reolution is allready set...
I think it may be a problem with OpenGL or/and Direct rendering!
Im usin a Ati Radeon 7000 series.
Does anyone of you know how to anable OpenGL and/or Direct rendering?

Thx
4
trepan
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm

Post by trepan »

try this, start your client in windowed mode:
bzflag -window

then set your resolution from the options menu:
options -> display -> change video format
lucky luke
Private First Class
Private First Class
Posts: 21
Joined: Tue May 24, 2005 12:20 pm

Post by lucky luke »

already done, but its unplayable....
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

for the 7000 series you need to have DRI installed, as ATI dosn't provide linux drivers for anything below an 8000
ImageJeffM
User avatar
Manu
Dev Monkey
Dev Monkey
Posts: 32
Joined: Wed Oct 27, 2004 1:42 pm
Location: Trujillo, Cáceres. Spain

Post by Manu »

Try this link: For testing if you have openGl 3D acceleration try to execute:

Code: Select all

glxgears -iaknowledgethisisnotabenchmark 
If it reports you more than 500 fps you have 3D acceleration
User avatar
bryjen
Brigadier General
Brigadier General
Posts: 60
Joined: Thu Dec 12, 2002 1:28 am
Location: IN, US

Post by bryjen »

In a terminal window do

Code: Select all

glxinfo
and look for a line near the top of the output that says "direct rendering: ". It should be yes if you've got it working. Otherwise, check in your X config file for

Code: Select all

    Load        "glx"
    Load        "dri"
in the Module section and

Code: Select all

Section "DRI"
    Mode        0666
EndSection
and maybe

Code: Select all

    Option      "AGPMode"  "4"
in the Device section that defines your video card. Use whatever AGP speed is appropriate for your card and motherboard.
Post Reply