Darwinia on AMD64 architectures

Problems with the Linux version of Darwinia

Moderators: jelco, bert_the_turtle, Chris, andy, John

User avatar
John
Introversion Staff
Introversion Staff
Posts: 509
Joined: Sun Dec 10, 2000 6:22 pm
Location: London, UK

Darwinia on AMD64 architectures

Postby John » Wed Apr 13, 2005 11:23 pm

Hi

We are getting ready to release a patch. It would be nice if we could sort out the installation issues with the AMD64 linux distributions. Please could anybody with suggestions/fixes please email/personal message me.

Thanks

John
genneth
level0
Posts: 2
Joined: Sun Jul 24, 2005 2:02 pm

Postby genneth » Sun Jul 24, 2005 2:03 pm

I've got an AMD64 and the latest patch isn't installing... :( Any pointers on how to proceed?
User avatar
John
Introversion Staff
Introversion Staff
Posts: 509
Joined: Sun Dec 10, 2000 6:22 pm
Location: London, UK

Postby John » Mon Jul 25, 2005 5:48 pm

What linux distribution are you using? I believe that with SUSE there is a 32bit execution environment, that you should use.

Please post any information you can (e.g. failure messages written to the terminal), thanks.
genneth
level0
Posts: 2
Joined: Sun Jul 24, 2005 2:02 pm

Postby genneth » Mon Jul 25, 2005 8:56 pm

I use Gentoo, with a 32 bit emulation environment, not inside a chroot. Believe me when I say that this isn't the problem: I can run other 32 bit binaries like Doom3 fine. The following happens:

Code: Select all

genneth@enlil ~/Desktop % sh darwinia-full-1.2.1b.sh
Verifying archive integrity... All good.
Uncompressing Darwinia full 1.2.1b......................................................................
genneth@enlil ~/Desktop %


No other messages. Also:

Code: Select all

genneth@enlil ~/Desktop % sh darwinia-full-1.2.1b.sh --keep
Creating directory darwinia
Verifying archive integrity... All good.
Uncompressing Darwinia full 1.2.1b......................................................................
genneth@enlil ~/Desktop % cd darwinia
genneth@enlil ~/Desktop/darwinia % ./setup.sh
genneth@enlil ~/Desktop/darwinia % ls
bin/  darwinian.png  lib/  LICENSE  README  setup.data/  setup.sh*
genneth@enlil ~/Desktop/darwinia %


Maybe the following helps?

Code: Select all

genneth@enlil ~/Desktop % sh darwinia-full-1.2.1b.sh --confirm
Verifying archive integrity... All good.
About to extract 10424 KB in /tmp/selfgz308422178 ... Proceed ? [Y/n] y
Uncompressing Darwinia full 1.2.1b......................................................................
OK to execute: ./setup.sh   ? [Y/n] y
The program './setup.sh' returned an error code (1)
genneth@enlil ~/Desktop %
Omnifarious
level0
Posts: 1
Joined: Sun Aug 14, 2005 12:02 pm
Contact:

I have a dual CPU AMD64

Postby Omnifarious » Sun Aug 14, 2005 12:12 pm

And I installed the game (version 1.2) just fine.

I suspect though that many people will have problems. I have the 32 bit versions of many libraries installed on my system. If someone doesn't have those, they will encounter all kinds of weird issues in installing.

What would be really fantastic is if you compiled an AMD64 binary. The Vendetta Online people did it and discovered that they're code recieved a significant boost because of all the extra registers the AMD64 has. I suspect there would be a lot fewer install problems as well.

Here is a sample of the output of ldd to help people:

[root@bats games]# ldd /usr/local/games/darwinia/lib/darwinia.bin.x86
linux-gate.so.1 => (0xffffe000)
libSDL-1.2.so.0 => /usr/local/games/darwinia/lib/../lib/libSDL-1.2.so.0 (0xf7f4e000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x00434000)
libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x038df000)
libvorbisfile.so.3 => /usr/local/games/darwinia/lib/../lib/libvorbisfile.so.3 (0xf7f2c000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x00359000)
libm.so.6 => /lib/tls/libm.so.6 (0x00bc3000)
libgcc_s.so.1 => /usr/local/games/darwinia/lib/../lib/libgcc_s.so.1 (0xf7f22000)
libc.so.6 => /lib/tls/libc.so.6 (0x00a97000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00c0e000)
libdl.so.2 => /lib/libdl.so.2 (0x00c08000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00d05000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x0058b000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x054fc000)
libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0x00a5a000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00c22000)
libvorbis.so.0 => /usr/local/games/darwinia/lib/../lib/../lib/libvorbis.so.0 (0xf7ef9000)
libogg.so.0 => /usr/local/games/darwinia/lib/../lib/../lib/libogg.so.0 (0xf7ef3000)

Here are the packages that own those libraries on my system...
glibc-2.3.5-0.fc3.1
libstdc++-3.4.4-2.fc3
xorg-x11-libs-6.8.2-1.FC3.13
xorg-x11-Mesa-libGL-6.8.2-1.FC3.13
xorg-x11-Mesa-libGLU-6.8.2-1.FC3.13

In case it isn't obvious from the package names, I'm running Fedora Core 3. I also have the nVidia drivers installed, and I told the installer for that to also install the 32-bit version of the userspace libraries.

Return to “Linux Issues”

Who is online

Users browsing this forum: No registered users and 1 guest