Click to See Complete Forum and Search --> : OpenGL drivers already in XFree86 4.1? Confused.


Floog
11-14-2001, 01:00 AM
Hi Group:

I just purchased my first commercial game for linux: Soldier of Fortune. I'm confused about how to get 3D accelerated rendering working so that I can play the game.

Here's what happens when I try to start the game:
bash-2.05# sof
execing default.cfg
execing default_sound.cfg
execing configs/default_keys.cfg
execing default_misc.cfg
execing default_video.cfg
execing menus/reset.cfg
execing config.cfg
----------- Cpu info -----------
Processor : AMD
Type : Original OEM processor
Speed : 809 MHz
Name : AMD Athlon(tm) Processor
MMX instructions supported
3DNow! instructions supported
RDTSC instruction supported
--------------------------------
Using default memory value--use +set cpu_memory <n> to change
65MB of physical memory
Hostname: icecream.time
Alias: icecream
IP #1: 127.0.0.1
=== Server Initalization ===
Console initialized.
------- Loading ./ref_gl.so -------
ref_gl version: GL 0.01
Initialzing OpenGL display
... setting mode 3: 640 480 FS
Xlib: extension "GLX" missing on display ":0.0".
GL_VENDOR: (null)
GL_RENDERER: (null)
GL_VERSION: (null)
GL_EXTENSIONS: (null)
GL_MAX_TEXTURE_SIZE: 0
Deferring video card definitions
...allowing CDS
------------------------------------
------- Loading ./liboasnd.so -------

------- sound initialization -------
------------------------------------
CDAudio_Init: found /dev/cdrom
CD audio initialized
No joysticks found

====== Soldier of Fortune Initialized ======

Fatal signal: Segmentation Fault (SDL Parachute Deployed)
bash-2.05#

Something is going wrong with the gl rendering--- it ain't happenin'. I thought that XFree86 4.1 came with all the necessary drivers to support 3D rendering for my videocard-- ATI Expert2000 --it uses the r128 ATI driver in linux. What do I need to do to get opengl working properly?

Also, it looks like the config file is defaulting to only 65 megs. of RAM, when in fact I have 256 megs of RAM and 32 megs. of video ram on the ATI Xpert 2000. How do I modify this to improve game performance?

Thank you for your time and help.

Mike
michael@floog.net

Jomboni
11-14-2001, 08:02 AM
I believe that the current ATI drivers don't support 3d, only 2d. It's part of the reason I bought a Geforce 2!

StarbuckZero
11-14-2001, 10:00 AM
Jomboni - There are 3D drivers for ATI cards out there.

Floog - You just have to have them installed right. If anything you might have not install them at all. I don't have a ATI card but you might want to check on ATI's website or one of the open source driver pages.

ph34r
11-15-2001, 09:07 PM
DRI is what you need to have going, and it requires a few files (sometimes) and a slight editing of your XF86Config file.
http://dri.sourceforge.net

Jomboni
11-17-2001, 09:58 AM
My mistake! :(

If I had an ATI card I'd feel like an even bigger idiot right now.