Frictional Games Forum (read-only)
64 bit segfault - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-57.html)
+--- Forum: Technical Support - Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-31.html)
+---- Forum: Linux - ATDD (https://www.frictionalgames.com/forum/forum-32.html)
+---- Thread: 64 bit segfault (/thread-3785.html)



64 bit segfault - Prophet5 - 09-05-2010

I don't beleive this is an issue with the Amnesia demo and the Graphics test apps in themselves, but both these 64 bit versions segfaulted on my system without any error messages and nothing in the log files to suggest there is a problem. However the 32 bit versions work perfectly. If anyone else has had an issue running the 64 bit amnesia demo, run the installer again with the prefix "linux32" ie:

Code:
$ linux32 sh amnesia_tdd_demo_1.0.sh

That will make the installer install the 32 bit files on a 64 bit system. While taking advantage of a 64 bit system is preferable, this solution at least gets me to play the demo (until I can find out why the segfaults are happening).

Sabayon 5.3 64bit, Intel Core2duo, Nvidia gtx260 drv. ver. 256.53, 1Gig ram


RE: 64 bit segfault - superluser - 09-05-2010

(09-05-2010, 06:42 AM)Prophet5 Wrote: I don't beleive this is an issue with the Amnesia demo and the Graphics test apps in themselves, but both these 64 bit versions segfaulted on my system without any error messages and nothing in the log files to suggest there is a problem. However the 32 bit versions work perfectly. If anyone else has had an issue running the 64 bit amnesia demo, run the installer again with the prefix "linux32" ie:

Code:
$ linux32 sh amnesia_tdd_demo_1.0.sh

That will make the installer install the 32 bit files on a 64 bit system. While taking advantage of a 64 bit system is preferable, this solution at least gets me to play the demo (until I can find out why the segfaults are happening).

Sabayon 5.3 64bit, Intel Core2duo, Nvidia gtx260 drv. ver. 256.53, 1Gig ram

I'm running 64-bit here, and I didn't seem to have any trouble (other than the permissions issue). Could you post your hpl.log? (~/.frictionalgames/Amnesia/MainDemo/hpl.log)


RE: 64 bit segfault - Prophet5 - 09-05-2010

(09-05-2010, 07:04 AM)superluser Wrote: I'm running 64-bit here, and I didn't seem to have any trouble (other than the permissions issue). Could you post your hpl.log? (~/.frictionalgames/Amnesia/MainDemo/hpl.log)

Here's the log for the 64bit version. It seems to stop at openAl. What is also interesting is I had to run the .bin64 executable in order to even get a ~/.frictionalgames/Amnesia directory. The .desktop file didn't get a chance to create it.

I did not think the graphics test used openAl, being a "Graphics" test and all that; still the 64bit version of that segfaults too.


RE: 64 bit segfault - jens - 09-05-2010

Check so that you have openal installed on the system, the game is meant to use it's own openal lib if not found on system, but maybe for this particular setup it fails.

Also in general check so that you have working sound on the computer.


RE: 64 bit segfault - Urkle - 09-05-2010

After installing the 32bit and 64bit versions of the game. Can you check the installation directory, there is a "libs" or "libs64" folder in it.. Wat libraries are directly in that folder? There is a script called checklibs.sh that will re-symlink libs not installed on your system. MY guess is that your system openal is broke in someway, and you probably don't have the 32bit version of openal installed so the game is using the included version.. One option would be to force the 64bit version to use the included openal by doing this..

Code:
cd /game/install/dir/AmnesiaDemo/libs64
ln -s all/libopenal.so.1 .
cd ..
./Launcher.bin64



RE: 64 bit segfault - GroteBlup - 09-05-2010

Quote:
Code:
cd /game/install/dir/AmnesiaDemo/libs64
ln -s all/libopenal.so.1 .
cd ..
./Launcher.bin64

Hmmm, for me the magic incantation:
ard@antec:~/games/AmnesiaDemo64$ LD_LIBRARY_PATH=`pwd`/libs64/all ./Launcher.bin64
works to run it in 64 bits. 32 bits works already.

Hmmm, yes, it was just the libopenal that seems to be different.
Quote:Hmmm, yes, it was just the libopenal that seems to be different.
And that seems to be fixed with an aptitude update/install...


RE: 64 bit segfault - Urkle - 09-06-2010

The launch.bin and amnesia.bin are compiled with an path so they always look at ./libs or ./libs64. So creating a symlink in that folder for any lib will have that library used instead of the system libs.

So basically this looks like the system oppenal is quite broken. I tested on the latest version (1.12) of openal-soft.


RE: 64 bit segfault - Prophet5 - 09-06-2010

(09-06-2010, 02:54 AM)Urkle Wrote: The launch.bin and amnesia.bin are compiled with an path so they always look at ./libs or ./libs64. So creating a symlink in that folder for any lib will have that library used instead of the system libs.

So basically this looks like the system oppenal is quite broken. I tested on the latest version (1.12) of openal-soft.

Yeah it is Sad Other openal apps either had no sound or didn't start at all. The Penubra series all failed. A reinstall of openal didn't fix this. It's a good enough excuse to switch distros I guess... well not the only excuse... but the one that makes me commit Smile I'll probably go back to a 32bit system since I only have 1gig of ram.