Issues running Darwinia under Ubuntu Hardy 64bit

Problems with the Linux version of Darwinia

Moderators: jelco, bert_the_turtle, Chris, andy, John

eldrick
level0
Posts: 4
Joined: Tue Aug 19, 2008 7:23 pm

Issues running Darwinia under Ubuntu Hardy 64bit

Postby eldrick » Tue Aug 19, 2008 7:39 pm

I have been trying to get Darwinia (1.4.0.b9 release) to run for the best part of the last 2 hours. I hope someone is able to help me fix this.

My laptop specs are: Intel Core 2 Duo T7700, 2gb Ram, 120gb HDD and Intel 965GM gfx.

All the necessary libraries are installed via the command getlibs thus I've removed any library files from /lib in the Darwinia directory. The game loads but I cant access the garden level as the game crashes with the following error in terminal:

_________________

warning: Lowest section in system-supplied DSO at 0xffffe000 is .hash at ffffe0b4

Darwinia has unexpectedly encountered a fatal error.
A full description of the error can be found in the file
blackbox.txt in the current working directory
_________________

The content of blackbox.txt is shown below:

_________________

=========================
DARWINIA BLACK BOX REPORT
=========================

VERSION : linux-full-1.4.0b9
ERROR : 'Got a fatal signal: 11
'

=========================
====== PREFERENCES ======
=========================

ServerAddress = 127.0.0.1
BypassNetwork = 1
IAmAServer = 1
TextLanguage = english
TextSpeed = 15
HelpEnabled = 1
SoundLibrary = software
SoundMixFreq = 22050
SoundMasterVolume = 255
SoundChannels = 32
SoundHW3D = 0
SoundSwapStereo = 0
SoundMemoryUsage = 1
SoundBufferSize = 512
SoundDSP = 1
ScreenWidth = 1280
ScreenHeight = 800
ScreenWindowed = 0
ScreenZDepth = 24
ScreenColourDepth = 32
ScreenRefresh = 60
RenderLandscapeDetail = 1
RenderWaterDetail = 1
RenderBuildingDetail = 1
RenderEntityDetail = 1
RenderCloudDetail = 1
RenderPixelShader = 1
ControlMouseButtons = 3
ControlMethod = 1
RenderLandscapeMode = 2
ManuallyScaleTextures = 0
BootLoader = random
UserProfile = NewUser
RenderSpecialLighting = 0

=========================
====== STACKTRACE =======
=========================

retAddress = 0xf7ececdd
retAddress = 0xf7ece3c0
retAddress = 0x8087a63
retAddress = 0x8087fa2
retAddress = 0x80b4f8f
retAddress = 0x80c417a
retAddress = 0x80c3cd1
retAddress = 0x80bd36d
retAddress = 0x80bdf1d
retAddress = 0x80a9631
retAddress = 0xf7bed450
retAddress = 0x804cbc1


gdb stack trace:

GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
(gdb) Reading symbols from /home/dan/darwinia/lib/darwinia.bin.x86...(no debugging symbols found)...done.
(gdb) Attaching to program: /home/dan/darwinia/lib/darwinia.bin.x86, process 17109
Reading symbols from /usr/lib32/libSDL-1.2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libSDL-1.2.so.0
Reading symbols from /usr/lib32/libGL.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libGL.so.1
Reading symbols from /usr/lib32/libGLU.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libGLU.so.1
Reading symbols from /usr/lib32/libvorbisfile.so.3...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libvorbisfile.so.3
Reading symbols from /usr/lib32/libstdc++.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libstdc++.so.5
Reading symbols from /lib32/libm.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib32/libm.so.6
Reading symbols from /usr/lib32/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libgcc_s.so.1
Reading symbols from /lib32/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib32/libc.so.6
Reading symbols from /lib32/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0xf7827a20 (LWP 17109)]
[New Thread 0xf66ddb90 (LWP 17110)]
Loaded symbols for /lib32/libpthread.so.0
Reading symbols from /usr/lib32/libasound.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libasound.so.2
Reading symbols from /lib32/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib32/libdl.so.2
Reading symbols from /usr/lib32/libdirectfb-1.0.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libdirectfb-1.0.so.0
Reading symbols from /usr/lib32/libfusion-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libfusion-1.0.so.0
Reading symbols from /usr/lib32/libdirect-1.0.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libdirect-1.0.so.0
Reading symbols from /usr/lib32/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libX11.so.6
Reading symbols from /usr/lib32/libXext.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libXext.so.6
Reading symbols from /usr/lib32/libXxf86vm.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libXxf86vm.so.1
Reading symbols from /usr/lib32/libXdamage.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libXdamage.so.1
Reading symbols from /usr/lib32/libXfixes.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libXfixes.so.3
Reading symbols from /usr/lib32/libdrm.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libdrm.so.2
Reading symbols from /usr/lib32/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libstdc++.so.6
Reading symbols from /usr/lib32/libvorbis.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libvorbis.so.0
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib32/libxcb-xlib.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libxcb-xlib.so.0
Reading symbols from /usr/lib32/libxcb.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libxcb.so.1
Reading symbols from /usr/lib32/libXau.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libXau.so.6
Reading symbols from /usr/lib32/libogg.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libogg.so.0
Reading symbols from /usr/lib32/libXdmcp.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libXdmcp.so.6
Reading symbols from /usr/lib32/libXrender.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libXrender.so.1
Reading symbols from /usr/lib32/libXrandr.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libXrandr.so.2
Reading symbols from /usr/lib32/libXcursor.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libXcursor.so.1
Reading symbols from /lib32/libnss_compat.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib32/libnss_compat.so.2
Reading symbols from /lib32/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib32/libnsl.so.1
Reading symbols from /lib32/libnss_nis.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib32/libnss_nis.so.2
Reading symbols from /lib32/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib32/libnss_files.so.2
Reading symbols from /usr/lib32/alsa-lib/libasound_module_rate_speexrate.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/alsa-lib/libasound_module_rate_speexrate.so
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()
(gdb) 2 Thread 0xf66ddb90 (LWP 17110) 0xffffe410 in __kernel_vsyscall ()
1 Thread 0xf7827a20 (LWP 17109) 0xffffe410 in __kernel_vsyscall ()
(gdb)
Thread 2 (Thread 0xf66ddb90 (LWP 17110)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xf7ca5d77 in poll () from /lib32/libc.so.6
#2 0xf7b47964 in snd_pcm_wait_nocheck ()
from /usr/lib32/libasound.so.2
#3 0xf7b47b4f in snd_pcm_wait () from /usr/lib32/libasound.so.2
#4 0xf7b49b7d in snd_pcm_write_areas ()
from /usr/lib32/libasound.so.2
#5 0xf7b53d3c in snd_pcm_mmap_writei ()
from /usr/lib32/libasound.so.2
#6 0xf7b41de5 in snd_pcm_writei ()
from /usr/lib32/libasound.so.2
#7 0xf7f36279 in ?? () from /usr/lib32/libSDL-1.2.so.0
#8 0xf7f0562e in ?? () from /usr/lib32/libSDL-1.2.so.0
#9 0xf7f0d1ab in ?? () from /usr/lib32/libSDL-1.2.so.0
#10 0xf7f59bbd in ?? () from /usr/lib32/libSDL-1.2.so.0
#11 0xf7bc44fb in start_thread () from /lib32/libpthread.so.0
#12 0xf7cb008e in clone () from /lib32/libc.so.6

Thread 1 (Thread 0xf7827a20 (LWP 17109)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xf7c6d83b in waitpid () from /lib32/libc.so.6
#2 0xf7c0f8f3 in ?? () from /lib32/libc.so.6
#3 0xf7c0fcb2 in system () from /lib32/libc.so.6
#4 0x080900e4 in ?? ()
#5 0x080903de in ?? ()
#6 0x080901fc in ?? ()
#7 <signal handler called>
#8 0xf7c4b54c in memcpy () from /lib32/libc.so.6
#9 0xf7ece438 in ?? () from /usr/lib32/libGL.so.1
#10 0xf7ececdd in ?? () from /usr/lib32/libGL.so.1
#11 0xf7ece3c0 in ?? () from /usr/lib32/libGL.so.1
#12 0x08087a63 in ?? ()
#13 0x08087fa2 in ?? ()
#14 0x080b4f8f in ?? ()
#15 0x080c417a in ?? ()
#16 0x080c3cd1 in ?? ()
#17 0x080bd36d in ?? ()
#18 0x080bdf1d in ?? ()
#19 0x080a9631 in ?? ()
#20 0xf7bed450 in __libc_start_main () from /lib32/libc.so.6
#21 0x0804cbc1 in ?? ()
#0 0xffffe410 in __kernel_vsyscall ()
(gdb) The program is running. Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]
Detaching from program: /home/dan/darwinia/lib/darwinia.bin.x86, process 17109
eldrick
level0
Posts: 4
Joined: Tue Aug 19, 2008 7:23 pm

one more thing

Postby eldrick » Tue Aug 19, 2008 7:51 pm

I'm using the latest kernel : 2.6.24.21
User avatar
briceman2
level2
level2
Posts: 123
Joined: Wed Dec 12, 2007 4:30 am

Postby briceman2 » Wed Aug 20, 2008 3:18 am

Hi, I'm going on no sleep for 48hrs, so if some of this makes no sense... :)

Darwinia has probs with dual core procs... you can search the forums for posts about it in any ol' OS.

Basically you need to assign the game process to only one core. I don't know how you do this under linux -- my old athlon64 box is still running well on a Venice proc -- but I'll joke w' ya and tell you to type "man..."

If you can't find the answer here or elsewhere, PM John -- he's the linux port guy and he replies to PMs pretty fast -- very nice guy!
eldrick
level0
Posts: 4
Joined: Tue Aug 19, 2008 7:23 pm

running on a single core on a dual core cpu

Postby eldrick » Thu Aug 21, 2008 1:14 pm

Found taskset is the command to tell a program to run on a specific core.

So I tried running the game using the following commands: taskset -c 1 ./darwinia without any success.

The same error crops up when I try it.

Any suggestions?

** Edit** I even tried taskset -c 0 ./darwinia without any success too.
User avatar
briceman2
level2
level2
Posts: 123
Joined: Wed Dec 12, 2007 4:30 am

Postby briceman2 » Thu Aug 21, 2008 8:33 pm

Well I haven't moved to 2.6 or to 64b yet so I don't have any experience. But there are several threads about getting darwinia to run under 64b linux. You may hve a library conflict somewhere -- as far as darwinia is concerned. It was NOT written with 64b in mind. But I think some people have gotten it working. You probably have to make sure all the libs being loaded are the 32b versions.

Try searching the 64b threads, then maybe PM John, although they're all rushing to get Multiwinia ready for the launch next month. A last ditch option is to get / make a bootable 32b linux CD/DVD and run darwina from that. The only tricky part there is getting your proprietary video drivers into the mix. I think shinygerbil is a power linux user, so you could try PM'ing him. Very few people read the darwinia forums now...
eldrick
level0
Posts: 4
Joined: Tue Aug 19, 2008 7:23 pm

Postby eldrick » Sat Aug 23, 2008 6:06 pm

I've been trying to resolve this but not had much luck. I have installed the 32bit dependencies using getlibs without luck.

I think I'll be doing one of the following 3 options:

1 : try sending a PM to the people you mentioned.
2 : run it under a VM as suggested or perhaps under a 32bit emulation layer if there is one available to be installed under Ubuntu..
3 : perhaps attempt to run it under wine.

Thanks Briceman2 for your help.
User avatar
briceman2
level2
level2
Posts: 123
Joined: Wed Dec 12, 2007 4:30 am

Postby briceman2 » Sat Aug 23, 2008 10:33 pm

There are a few distros which refuse to follow the gnu Path of Purity.

There's a tiny one called SAM linux which supposedly includes both ATI & nVidia proprietary drivers. It's based on PClinuxOS, but the docs are horrible. I'd feel safer if I could read German.

There's also Mandriva One which can be booted in Live mode. It also have both proprietary drivers, but maybe not the latest ones. In your shoes I'd give it a try: http://www.mandriva.com/en/product/mandriva-linux-one

There also used to be a knoppix based bootable distro dedicated to games (incl. both proprietary drivers), but my quick search suggests it might be dead now. Knoppix-Games was the name.
Nefrin
level0
Posts: 5
Joined: Sun May 11, 2008 4:43 am

Postby Nefrin » Fri Feb 06, 2009 10:13 pm

Hello all

I am currently working on getting the Darwinia Demo to work on my install of Ubuntu 8.04 (64 bit dual core). I may have some solutions that will work for the 64 bit architecture, that I used when installing Uplink (same issue, 32 bit game on a 64 bit system). Basically, you have to hard search (i.e. internet, not the Package Manager) for the 32 repositories you need and install those.

Here is a link to the Wikki that I used to install Uplink under those circumstances, and it has worked perfectly for me for many months now,

http://whynotwiki.com/How_I_installed_N_on_64-bit_Linux

This may or may not solve the dual core problem that I have read in these forums, but I would imagine that Uplink is not a dual core built game as well. Let me know how this works, I can't currently test it as I have other commitments I have to meet right now.

Return to “Linux Issues”

Who is online

Users browsing this forum: No registered users and 7 guests