Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


crash after intro w/ Jaunty amd64.. but more interesting
plussign Offline
Junior Member

Posts: 3
Threads: 1
Joined: Jul 2009
Reputation: 0
#3
Solved: 8 Years, 10 Months, 1 Week ago RE: crash after intro w/ Jaunty amd64.. but more interesting

(07-17-2009, 07:59 PM)demirole Wrote: I just posted my problem which sounds very similar to yours: cg compiler crash, no core, clean hpl.log.

I tried setting LD_LIBRARY_PATH as you did and get exactly the same result: Now the intro runs (or a part of it, I don;t know) before it crashes. Furthermore, the crash message is much shorter, I only get:
(0) : fatal error C9999: *** exception during compilation ***
Cg compiler terminated due to fatal errorSegmentation fault

What I noticed is that with your LD_LIBRARY_PATH one library (libGLU) is linked from the system directory, while the default links to the games lib directory. Maybe this is a problem with the graphics card libs after all? I have a nvidia with the 185.18.14 drivers on a 64bit gentoo.

Cheers, Levent

Yep, same version of the nv drivers. Can you try installing the nvidia-cg-toolkit package for gentoo, then run the the game under gdb?

What my best guess is, the most current version of the nvidia drivers only like the newest version of the cg libs, so somehow gdb is allowing the lib64 cg libs to work with the game, which in turns lets you actually play the game...
(07-17-2009, 08:14 PM)plussign Wrote:
(07-17-2009, 07:59 PM)demirole Wrote: I just posted my problem which sounds very similar to yours: cg compiler crash, no core, clean hpl.log.

I tried setting LD_LIBRARY_PATH as you did and get exactly the same result: Now the intro runs (or a part of it, I don;t know) before it crashes. Furthermore, the crash message is much shorter, I only get:
(0) : fatal error C9999: *** exception during compilation ***
Cg compiler terminated due to fatal errorSegmentation fault

What I noticed is that with your LD_LIBRARY_PATH one library (libGLU) is linked from the system directory, while the default links to the games lib directory. Maybe this is a problem with the graphics card libs after all? I have a nvidia with the 185.18.14 drivers on a 64bit gentoo.

Cheers, Levent

Yep, same version of the nv drivers. Can you try installing the nvidia-cg-toolkit package for gentoo, then run the the game under gdb?

What my best guess is, the most current version of the nvidia drivers only like the newest version of the cg libs, so somehow gdb is allowing the lib64 cg libs to work with the game, which in turns lets you actually play the game...

[solution!]

ok.

go to:

http://developer.nvidia.com/object/cg_download.html

download the linux x86 gzipped tar, extract the two libCg files to your ./lib directory, and sure enough seems to work just fine. So there's a problem with the included libCg and newer graphics drivers.

Joy of joys.
07-17-2009, 08:14 PM
Find


Messages In This Thread



Users browsing this thread: 2 Guest(s)