Author Topic: Linux API error  (Read 1142 times)

Nate-n-Nator

  • PGP
  • Posts: 17
Linux API error
« on: June 03, 2006, 01:56:54 PM »
Lately, Paintball has stopped working for me under Linux. When I go to run it I get this error:

bassmannate@reyn-ubuntu:~/paintball2$ ./paintball2
Paintball 2 -- Version 3.21+r0.16
execing configs/default.cfg
Console initialized.

------- sound initialization -------
Initializing Linux sound.
sound sampling rate: 11025
------------------------------------
------- Loading ref_glx.so -------
LoadLibrary("./ref_glx.so")
ref_gl version: PB2GL 0.16
Using libGL.so for OpenGL...Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
[fglrx] API ERROR: could not register entrypoint for SelectTextureSGIS
[fglrx] API ERROR: could not register entrypoint for SelectTextureTransformSGIS
[fglrx] API ERROR: could not register entrypoint for ClientActiveVertexStreamATI[fglrx] API ERROR: could not register entrypoint for VertexBlendEnviATI
[fglrx] API ERROR: could not register entrypoint for VertexBlendEnvfATI
[fglrx] API ERROR: could not register entrypoint for VertexStream2sATI

There are many more of these API errors.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Linux API error
« Reply #1 on: June 04, 2006, 01:46:58 PM »
Sounds like something with your OpenGL libraries is screwed up.  Perhaps you need to reinstall Mesa?  I'm not actually using any of those extensions, so that shouldn't be a problem...

Nate-n-Nator

  • PGP
  • Posts: 17
Re: Linux API error
« Reply #2 on: June 09, 2006, 08:28:05 AM »
Ok, I did that and even broke X for a day. Got it working again. I can at least start the program now but it's REALLY slow. I don't know why when all my other OpenGL programs are running fine.

TinMan

  • Autococker
  • Posts: 1347
Re: Linux API error
« Reply #3 on: June 09, 2006, 10:23:55 AM »
That happened to me before too, you need to install your video card's linux drivers, nVidia ones are really easy, but ATI's can be a pain. I've got dpball running fine on my desktop, but my laptop has an evil little ATI IGP that the ATI drivers don't cover, thus it runs dpball in slow motion, yet Quake 3 will run fine. So lets hope you have nvidia, and go install your drievers.

Nate-n-Nator

  • PGP
  • Posts: 17
Re: Linux API error
« Reply #4 on: June 09, 2006, 02:44:22 PM »
Really? I had it working fine before and the ATI card on my laptop wasn't hard to install. The nVidia on my desktop was a real pain though. Well, I don't know if OpenGL is even working judging by how slow my screensaver runs.

Nate-n-Nator

  • PGP
  • Posts: 17
Re: Linux API error
« Reply #5 on: June 09, 2006, 03:40:21 PM »
Well, I think I figured out why I broke X earlier. For some reason when I change the driver in xorg.conf from "ati" to "fglrx" it doesn't like it when I reboot. I end up having to change it back before it will let me into X. I have the fglrx drivers installed and everything but it just doesn't seem to like it :P