LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-27-2004, 04:00 PM   #1
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 46
ut2004 gnetoo missing function?


m running gentoo installed from astage 1, I am also trying to run ut2004, it worked fine on slackware when I used to use that, but I can't make it work here, I have tried both e game installer and the gentoo ebuild, both give me the same erro rwhen I try to run the game:


WARNING: ALC_EXT_capture is subject to change!
Xlib: extension "XiG-SUNDRY-NONSTANDARD" missing on display ":0.0".
Either GL_EXT_bgra or glDrawRangeElements not supported- bailing out.

History:

Exiting due to error

anyone know anything about this?
 
Old 07-27-2004, 05:14 PM   #2
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
one thing i noticed about gentoo's emerge, is it seems to want to install an anchant NVIDIA driver version.
try upgrading to the latest nvidia driver from nvidia.com

uninstall the emerge drivers and glx first.
 
Old 07-27-2004, 05:35 PM   #3
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Original Poster
Rep: Reputation: 46
I am already using the latest version, I installed it by hand, not through gentoo, and just to be sure I did an emerge -p nvidia to make sure it wouldn't also install some dependancies I would otherwise be missing.
 
Old 07-27-2004, 05:55 PM   #4
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Original Poster
Rep: Reputation: 46
I tried installing the newest version via emerge ans also the newest opengl-update an dused it to set nvidia as the gl to use, I started getting this error:

Could not load OpenGL library

History:

Exiting due to error


here is the ut2004 log:

Log: Log file open, Tue Jul 27 15:03:23 2004
Init: Name subsystem initialized
Log: Your locale: [ANSI_X3.4-1968].

Init: Version: 3186 (127.29)
Init: Compiled: Mar 4 2004 03:07:41
Init: Command line:
Init: (This is Linux patch version 3186.0)
Init: Character set: Unicode
Init: Base directory: /usr/local/games/ut2004/System/
Init: Ini:UT2004.ini UserIni:User.ini
Init: Build label: UT2004 Build UT2004_Build_[2004-03-03_02.42]
Init: Object subsystem initialized
Warning: Missing Class Class Editor.TransBuffer
Log: Initializing OpenGLDrv...
Log: binding libGL.so.1
Critical: Could not load OpenGL library
Exit: Executing UObject::StaticShutdownAfterError
Exit: Executing USDLClient::ShutdownAfterError
Exit: Exiting.
Log: FileManager: Reading 0 GByte 41 MByte 236 KByte 165 Bytes from HD took 0.59
4193 seconds (0.171202 reading, 0.422991 seeking).
Log: FileManager: 0.000000 seconds spent with misc. duties
Uninitialized: Name subsystem shut down
Uninitialized: Log file closed, Tue Jul 27 15:03:28 200

and here are the results of an - ls -la `find /usr -name libGL.so.1`

lrwxrwxrwx 1 root root 12 Jul 27 14:57 /usr/X11R6/lib/libGL.so.1 -> libMesaGL.so
lrwxrwxrwx 1 root root 17 Jul 27 14:57 /usr/lib/libGL.so.1 -> libGL.so.1.0.6106
lrwxrwxrwx 1 root root 17 Jul 27 14:55 /usr/lib/opengl/nvidia/lib/libGL.so.1 -> libGL.so.1.0.6106
lrwxrwxrwx 1 root root 12 Jul 27 09:54 /usr/lib/opengl/xorg-x11/lib/libGL.so.1 -> libGL.so.1.2
 
Old 07-27-2004, 06:51 PM   #5
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Original Poster
Rep: Reputation: 46
well, I go tthe game to work, in a gentoo forum I found someone was able to make it work by using this command:
LD_PRELOAD=/usr/lib/libGL.so.1 /opt/ut2004/ut2004
however the fix they offered (deleting a directory) did not work. (I only moved it and moved it back when it did not fix it)

any ideas? I am gonna check to see if that is in ld's path, otherwise I do not know.
 
Old 07-27-2004, 10:33 PM   #6
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
Quote:
lrwxrwxrwx 1 root root 12 Jul 27 14:57 /usr/X11R6/lib/libGL.so.1 -> libMesaGL.so
This may be the problem !
why do you have MesaGL installed ?
MesaGL is OpenGL for people who dont have OpenGL. its is insanely SLOW and is open source...
open source is not a bad thing, but Ut2004 uses closed souce texture compression algorithms... you MUST use the closed source nvidia driver. delete this symbolic link, and create a new one pointing to a Nvidia OpenGL library. (like the other symbolic links)

anways... run these commands for me and tell me what they say.
'glxinfo'
and 'glxgears'

this will give a better idea of what the problem is (but hopefully, fixing the stray Mesa library above will fix the problem)

ohh.. and you DID remember to change the xorg config file from "Driver nv" to "Driver nvidia" didnt you ?
also, made sure "Load GLX" is NOT commented out


for me, getting this working was as simple as ' sh ./NVIDIA*.run' yes yes yes
then making the correct updates to xorg.conf.

oh... if you guys are using XFree86.. the config file will be called somthing different, but the gits of the config file need to be chaged same as xorg's.

Last edited by qwijibow; 07-27-2004 at 10:35 PM.
 
Old 07-28-2004, 02:45 AM   #7
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Original Poster
Rep: Reputation: 46
I did not install mesa, it is a link gentoo put in, but I noticed it when I posted th emessage and changed it and forgot to mention it, as fo rglx gears it has worked since the begining, glxinfo also works fine, and like I sai dthe game runs when I tell it to use the library with that variable.

as for the xorg stuff I am very sure it is correct

let me tell you my experiance, it might help you figure out where the problem isn't

been using linux close to 6 years, started with slackware and have been compiling my own kernel and using nvidia since day 1 (though ti took me 3 weeks to get nvidia working at that time I hacve used it ever since reformatting an average of every 5 months partly cause of OS updates and partly from experimentation stupidity.
so I am very familar with nvidia drivers now having done them for many years on 3 different systems with both twinview and laptop settings.

I am also familiar with kernels 2.2.x through 2.6.x compiling my own always.

I have always compiled everything myself because I hate packages and package distro's

recently I switched to gentoo first doing a stage 3 to see if it was ok, then a stage 2 to get familiar with it, and now I am running it off of a stage 1 (bootstrap and compile everything from begginging to install over a couple of days)

I know the system inside and out with exception of a few unexpected diff's between gentoo and slack otherwise I have it covered.

my problem: I am not familiar with where the game and programs look for libraries, or more importantly why they seem to want to load one not there when ldconfig has the proper one in it's path and I used both nvidia's tools and gentoo's tools seperately and together on several changes to make sure their were not conflicts.

it uses the proper one when I give it that system variable ahead of time.. anyone know why? and how can I fix it?
 
Old 07-28-2004, 02:48 AM   #8
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Original Poster
Rep: Reputation: 46
P.S. I would like to appologize fo rmy typeo's it is mosly because my english skills suck (21 english native/only spoken language) also I just got back from a long day, and to top it off I have a wireless keyboard that has a delay for some keys but not others, so I will tpye one character then another and the second will appear first.
 
Old 07-28-2004, 08:57 AM   #9
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
i too have compiled from stage1...
i too am using a custom configured and compiled kernel...
i too am migrating to gentoo from slack

anyways....

your error messages (just incase you forgot,, lol)
[code[WARNING: ALC_EXT_capture is subject to change!
Xlib: extension "XiG-SUNDRY-NONSTANDARD" missing on display ":0.0".
Either GL_EXT_bgra or glDrawRangeElements not supported- bailing out.
[/code]

EVERY1 who is running Xorg or XFree86 gets the Xlib error. This error is documented in the read-me. its just a message that Xlib spews out while Ut200X is rpobing for what X server you are using... this error can be ignored.

as for the other 2 error messages...
Quote:
glxinfo also works fine
well thats just great.... but i wanted to know what glxinfo said about GL_EXT_bgra or ACL_EXT_capture

and just to be extra overkill... what does
Code:
strace -o /home/user/Error.log /path/to/ut200X
cat /home/user/Error.log | less
say ?
look for any attempts to open a library that fail.

and to finish this off... perform the last desperate attempt protocol...
if you are doing this, you are pretty much admitting defeat.. (its the software version of checking if its plugged in)

upgrade to the latest OpenGL and Nvidia drivers from nvidia.com
apply the latest Ut200X Linuc patch.

so... any luck ?
 
Old 07-28-2004, 10:48 AM   #10
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Original Poster
Rep: Reputation: 46
every library fails to load several times from several locations befor eit finally loads it from a location where the library actuall exists:
open("./tls/i686/sse2/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./tls/i686/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./tls/sse2/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)4
open("./tls/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./i686/sse2/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./i686/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./sse2/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./tls/i686/sse2/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./tls/i686/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./tls/sse2/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./tls/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./i686/sse2/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./i686/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./sse2/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/opt/ut2004/System/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/i686/sse2/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/i686/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/sse2/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/sse2/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("sse2/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/opengl/nvidia/lib/libGL.so.1", O_RDONLY) = 148
open("./tls/i686/sse2/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./tls/i686/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./tls/sse2/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./tls/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./i686/sse2/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./i686/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./sse2/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./tls/i686/sse2/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./tls/i686/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./tls/sse2/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./tls/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./i686/sse2/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./i686/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./sse2/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/opt/ut2004/System/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/i686/sse2/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/i686/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/sse2/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/sse2/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("sse2/libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("libGLcore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/opengl/nvidia/lib/libGLcore.so.1", O_RDONLY) = 148

as you can see it does eventually find it.


as for the glx stuff
ACL_EXT_capture is not found anyware in the glxinfo output (glxinfo | grep ACL_EXT_capture)
but:
glxinfo | grep GL_EXT_bgra
GL_S3_s3tc, GL_EXT_texture_env_add, GL_EXT_abgr, GL_EXT_bgra,

as I mentioned before I have tried the newest nvidia drivers, and I have tried both the nvidia installer and the ebuild.

I also tried an older version of the driver
 
Old 07-28-2004, 11:21 AM   #11
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
and have you patched Ut2004 to the latest version ?

this may sound stupid, but you DID install ut2004 uing the OS install you are using now right ?
once i changed distro, but backed up the ut2004 directory, it would not run, seems the ut installed adds other things around your system.

are there any other library's missing ?

earlyer, you said you THING xorg.conf is setup correctly... go check it properly... GLX should be loaded, and driver set to nvidia.

while in X, hit ctrl +alt + F1 and have a look at X's console output. any info about failing to load GLX ?

All i can think, is that your gentoo ebuild nvidia Driver, and your Nvidia.com driver install are conflicting.

remove all traces of anything OpenGL (except GLU and GLUT) and re-install from nvidia's shell script.
 
Old 07-28-2004, 03:49 PM   #12
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Original Poster
Rep: Reputation: 46
I purposly uninstalle done befor einstalling th eother to avoid conflicts, also I have tried both an install of the game direct from the disk's and the install through ebuilds, that is not the problem, I have also tried the cd version and the upgrade version.
 
Old 07-28-2004, 06:51 PM   #13
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
WOW !

im new to gentoo. im being totally blown away by what emerge can install !!!

so... i can use emerge to unstall ut2004 ?
how does that work ?
ut2004 is not Free !

anyways, about your problem, sorry, im out of idea's.

has your system run ut2004 on any other distro ? i know it is highly hardware specific.
 
Old 07-28-2004, 07:26 PM   #14
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Original Poster
Rep: Reputation: 46
yes, slackware ran it fine, and I think once I got debian to us eit, but I only dabbled with debian for a week ro so, slackware 5-6 years, gentoo about a week now and gonna keep it, gentoo has ebuilds to install a lot of non-free stuff to like ut2k4, but it does nto compile it and it requires the cd, it can also do cedega (formerly wineX) if you have the package

Last edited by exodist; 07-28-2004 at 07:31 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
UT2004 ut2004.ini? ub3rj3phf Linux - Hardware 10 11-07-2004 09:01 PM
UT2004 Missing Symbols - Crashes jwoair23 Linux - Games 40 08-08-2004 07:33 PM
what are the Hexadecimal function and ASCII function in Perl Bassam Programming 1 06-03-2004 02:44 AM
A main can be changed by a function local without passing anything to the function? ananthbv Programming 10 05-04-2004 02:31 PM
Perl exec function in linux (and system-function) nazula Programming 1 04-19-2004 01:21 PM


All times are GMT -5. The time now is 08:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration