Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AMD64 and planeshift - one more time... :(
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
SchwarzerRabe
n00b
n00b


Joined: 31 May 2005
Posts: 37

PostPosted: Fri Jun 10, 2005 2:52 pm    Post subject: AMD64 and planeshift - one more time... :( Reply with quote

I know several similiar problems were posted often here but nowhere
I can find a solution for my problems.
Not in this Forum nor in the planeshift one nor with google.
And here we go:
I tried for days now to, get planeshift up and running on my AMD64 (2.6.11-gentoo-r9).
First with emerge planeshift... I get an error message while compiling.
Then two times like in the gentoo-tutorial. He always can't find "iSoundManager plugin" after the whole compiling process(Updater works correctly and looks much nicer after upgrading).
Two more times with CFLAGS=-fPIC option in all configure-calls.
Still the same problem.
Then I tried it with a script from so. who ment to be gentoo developer and posted it in the planeshift forums.
It still does not work.. I get an AMOUNT of errors trying to start psclient after compile process.
Any ideas?


Last edited by SchwarzerRabe on Fri Jun 10, 2005 4:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
xordan
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2004
Posts: 148

PostPosted: Fri Jun 10, 2005 3:10 pm    Post subject: Reply with quote

Seems wierd because it compiles with no problems on my AMD64. Can you post your 'emerge info' ?
Back to top
View user's profile Send private message
SchwarzerRabe
n00b
n00b


Joined: 31 May 2005
Posts: 37

PostPosted: Fri Jun 10, 2005 4:18 pm    Post subject: Reply with quote

Here it is:
Quote:

Gentoo Base System version 1.6.12 Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r9 x86_64) ================================================================= System uname: 2.6.11-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3200+ dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16-r1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mtune=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi aim alsa avi berkdb bitmap-fonts bzlib cdr crypt curl dedicated dvb dvd dvdr dvdread emul-linux-x86 encode esd ethereal fam flash font-server fortran ftp gif gnome gphoto2 gpm gstreamer gtk icq imap imlib ipv6 jabber java javascript jp2 jpeg kerberos libg++ lzw lzw-tiff mad mime ming mozilla mp3 mpeg msn mysql ncurses nls nmap nptl ogg oggvorbis opengl oss pam perl php png posix ppds python qt quicktime readline sockets ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd videos vorbis wifi wxgtk1 wxwindows xml xml2 xmms xpm xrandr xv yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
xordan
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2004
Posts: 148

PostPosted: Fri Jun 10, 2005 8:17 pm    Post subject: Reply with quote

hmm. I have -march=athlon64 in my cflags and not -mtune=athlon64
Other than that I don't see much difference. Can you paste the errors you're getting during compile?
Back to top
View user's profile Send private message
SchwarzerRabe
n00b
n00b


Joined: 31 May 2005
Posts: 37

PostPosted: Fri Jun 10, 2005 9:43 pm    Post subject: Reply with quote

I tried emerging cel with CFLAGS="-march=athlon64 -O2 -pipe -fPIC" emerge cel.
I still get the same errors.
Then I wanted to get the output of the emerge process with emerge cel > file.txt but I do not get the whole output there....
He tells me several times that he fails linking and just copies the files(for example: "failed LinkPlugin mgr_quests.so ... Copy mgr_quests.csplugin CelConfigGen cel-config"), while the compiling itself seems to work...
Ah and the first few files work linking...
If anybody can tell me how to get the WHOLE output copied I could load it up on my webserver and link it...
THX for help so far!
Back to top
View user's profile Send private message
SchwarzerRabe
n00b
n00b


Joined: 31 May 2005
Posts: 37

PostPosted: Sat Jun 11, 2005 9:26 am    Post subject: Reply with quote

I found out something interesting.
The comp did not automatically install crystalspace, so I tried it myself with emerge crystalspace,
because CEL needs it. He breaks up in configure-process and tells me, my c++-compiler wouldn't be able to create executables... That really fits to my problem with compiling cel!
Any ideas? Recompiling gcc maybe(compiled it once with multilib in useflag to get sth. other to run)?
Back to top
View user's profile Send private message
SchwarzerRabe
n00b
n00b


Joined: 31 May 2005
Posts: 37

PostPosted: Sat Jun 11, 2005 10:28 am    Post subject: Reply with quote

Well, I reemerged gcc and was able to install crystalspace.
But when I try to emerge cel I still have the same problems...
He just can't link some modules(with others it just works.... :()!
Back to top
View user's profile Send private message
SchwarzerRabe
n00b
n00b


Joined: 31 May 2005
Posts: 37

PostPosted: Sat Jun 11, 2005 12:10 pm    Post subject: Reply with quote

Maybe I found the solution now.
I searched around a bit about the 1000th time.
But I found something interesting:
https://bugs.gentoo.org/show_bug.cgi?id=93508
I am not the only one with those problems!
In the comments someone tells that he solved his problems emerging crystalspace with USE="debug" first before emerging cel. That worked for me, too! At the moment I am emerging planeshift itself and we will see...
Back to top
View user's profile Send private message
xordan
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2004
Posts: 148

PostPosted: Sat Jun 11, 2005 12:23 pm    Post subject: Reply with quote

hmm, that is wierd. The crystalspace devs are getting a 64-bit mac soon so hopefully problems like this should be fixed. Compiling in debug mode means that you get a perfomance hit, but it isn't too bad for now.
If you get any problems running the game (crashes) try compiling everything in debug mode so that you can get a backtrace on the crash in gdb. It'll help us to fix any bugs.
Back to top
View user's profile Send private message
SchwarzerRabe
n00b
n00b


Joined: 31 May 2005
Posts: 37

PostPosted: Sat Jun 11, 2005 1:36 pm    Post subject: Reply with quote

I got it all installed now. The updater is running at the moment...
But I have another question so far:

How do I add /usr/games/bin to the PATH environment variable,
so that it stays there even after reboot?

And at this point once again:
BIG THX for all your efforts! It is great that there are people like you taking the time to help others with their problems!!! :D
Back to top
View user's profile Send private message
SchwarzerRabe
n00b
n00b


Joined: 31 May 2005
Posts: 37

PostPosted: Sat Jun 11, 2005 4:03 pm    Post subject: Reply with quote

Damn it...
the startup screen appears for a moment and then the application crashes... :(
What to do now? :CRY:
Back to top
View user's profile Send private message
xordan
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2004
Posts: 148

PostPosted: Sun Jun 12, 2005 12:47 am    Post subject: Reply with quote

Ok, this was a possible problem.

First: Do you have a ATI card? If so, then things look grim :)
Second:

Make sure you have gdb installed. "emerge gdb" will install it if you don't.
Can you 'cd /opt/planeshift'
Next in another console open the file /usr/games/bin/planeshift
Paste the two exports into your first console, I can't remember what they are atm.
Next type: 'gdb psclient'
Then in gdb type 'run'
When it crashes type 'bt' and paste the output in here so I can have a look. :)
Back to top
View user's profile Send private message
SchwarzerRabe
n00b
n00b


Joined: 31 May 2005
Posts: 37

PostPosted: Sun Jun 12, 2005 11:22 am    Post subject: Reply with quote

Okay, I first of all:
I reemerged everything with debug-useflag.
The startupscreen did appear for a moment again...
But it was "molecular blue"... heh??? That is the version before the actual one!!!
And i ran updater be4!
So now I am reemerging everything again, crystalspace with "debug"-useflag and everything else normally.

1)Yes, I have a 9800 All-in-Wonder Pro. At the moment I am using the fglrx driver. But there has been released a new official Catalyst driver for Linux by ATI. Shall I install this one?

2)All right, after reemerge and update is finished I will do that.

You said, with a ATI card things look grim. Why? And is there a possibility to let them look better? ;)
This time I wanted to say "goodbye" to windows forever, but if i can't get this to run maybe I will have to setup a dual boot system again... But that would drive me really mad..

Would that game run maybe, if I'd install it as 32bit application?
Back to top
View user's profile Send private message
xordan
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2004
Posts: 148

PostPosted: Sun Jun 12, 2005 1:19 pm    Post subject: Reply with quote

You need to run planeshift-setup. Then click the skins button and set the skin to default for the proper slash screen to be displayed. Oh, and I assume you did run the updater yes? The game with crash if you don't do that.

And there's a bug in the 64-bit ati drivers which causes the game to crash.(I think so anyway, and if it's causing you to crash then it almost definatly is, and not just my machine.) I did try to report it to ati, but basically got told to get lost. There doesn't seem anywhere on their site which is for bug reports.

If you install it as a 32-bit app then it should work without problems.
Back to top
View user's profile Send private message
SchwarzerRabe
n00b
n00b


Joined: 31 May 2005
Posts: 37

PostPosted: Sun Jun 12, 2005 1:20 pm    Post subject: Reply with quote

Here it is:
Quote:
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /opt/planeshift/psclient
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 31058)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 31058)]
0x00002aaaad969eab in csEngine::HandleEvent ()
from /opt/crystal/lib/crystalspace/engine.so
(gdb) bt
#0 0x00002aaaad969eab in csEngine::HandleEvent ()
from /opt/crystal/lib/crystalspace/engine.so
#1 0x00002aaaad978a71 in csEngine::EventHandler::HandleEvent ()
from /opt/crystal/lib/crystalspace/engine.so
#2 0x00000000006e1e9b in csEventQueue::Dispatch ()
#3 0x00000000006bdac9 in csInitializer::OpenApplication ()
#4 0x00000000005ff5c5 in psCSSetup::InitCS ()
#5 0x000000000050aadb in main ()
(gdb) quit
The program is running. Exit anyway? (y or n)


[edit]
Ah, u were faster than me...
Well i tried to start it with the standard-skin, sound off, lowest resolution and lowest screen depth...
Still the same problems!
Back to top
View user's profile Send private message
SchwarzerRabe
n00b
n00b


Joined: 31 May 2005
Posts: 37

PostPosted: Sun Jun 12, 2005 1:34 pm    Post subject: Reply with quote

And here is the complete output of planeshift:
Quote:
crystalspace.canvas.glx2d:
Opening GLX2D
Creating Context
Video driver GL/X version (direct renderer)
Visual ID: 0x0000000000000027, 24bit TrueColor
R8:G8:B8:A8,
level 0, double buffered

crystalspace.canvas.openglcommon.driverdb:
Applied: Work around broken ATI point sprites

crystalspace.canvas.openglcommon:
OpenGL renderer: RADEON 9800 Pro Generic (vendor: ATI Technologies Inc.)
version 1.3.5010 (X4.3.0-8.12.10)
Using windowed mode at resolution 800x600.
Pixel format: Color: 24 Alpha: 8 Depth: 24 Stencil: 8 AccumColor: 24
AccumAlpha: 8 MultiSamples: 0
Multisample: disabled

planeshift.application.client:
PlaneShift Crystal Blue
This game uses Crystal Space Engine created by Jorrit and others
0.99 r0 [Unix-x86-GCC]
Warning: Cannot initialize iSoundManager
LOG_ANY flag deactivated.
LOG_WEATHER flag deactivated.
LOG_SPAWN flag deactivated.
LOG_CELPERSIST flag deactivated.
LOG_PAWS flag deactivated.
LOG_GROUP flag deactivated.
LOG_CHEAT flag deactivated.
LOG_LINMOVE flag deactivated.
LOG_SPELLS flag deactivated.
LOG_NEWCHAR flag deactivated.
LOG_SUPERCLIENT flag deactivated.
LOG_EXCHANGES flag deactivated.
LOG_ADMIN flag deactivated.
LOG_STARTUP flag deactivated.
LOG_CHARACTER flag deactivated.
LOG_CONNECTIONS flag deactivated.
LOG_CHAT flag deactivated.
LOG_NET flag deactivated.
LOG_LOAD flag deactivated.
LOG_NPC flag deactivated.
LOG_TRADE flag deactivated.
LOG_SOUND flag deactivated.
LOG_COMBAT flag deactivated.
LOG_SKILLXP flag deactivated.
LOG_QUESTS flag deactivated.
LOG_SCRIPT flag deactivated.
Skipping 'InfoButton' because it's already loaded
Skipping 'InfoButton_over' because it's already loaded
Skipping 'InfoButton_active' because it's already loaded
Skipping 'Splash Background' because it's already loaded
Skipping 'Login Background' because it's already loaded
Skipping 'Charpick Background' because it's already loaded
Skipping 'charborder' because it's already loaded
Skipping 'mainfemale' because it's already loaded
Skipping 'Charbirth Background' because it's already loaded
Skipping 'Charparents Background' because it's already loaded
Skipping 'Childhood Background' because it's already loaded
Skipping 'Lifeevent Background' because it's already loaded
Skipping 'Summary Background' because it's already loaded
Skipping 'Paths Background' because it's already loaded
Skipping 'radiooff' because it's already loaded
Skipping 'radioon' because it's already loaded
Skipping 'Down Arrow' because it's already loaded
Skipping 'Up Arrow' because it's already loaded
Skipping 'Left Arrow' because it's already loaded
Skipping 'Right Arrow' because it's already loaded
Skipping 'ScrollBar Thumb' because it's already loaded
Skipping 'ScrollBar Thumb Moving' because it's already loaded
Skipping 'YesNo' because it's already loaded
Skipping 'OkBackground' because it's already loaded
Skipping 'Standard Mouse Pointer' because it's already loaded
Couldn't create Resource 'sound.standardButtonClick'
Couldn't create Resource 'gui.toolbar'
Couldn't create Resource 'gui.cancel'
Couldn't create Resource 'gui.ok'
Couldn't create Resource 'gui.scrolldown'
Couldn't create Resource 'gui.scrollup'
Couldn't create Resource 'gui.shortcut'
Couldn't create Resource 'gui.quit'
psEngine initialized.
Creating psnetconnection ea3990!
Using fontsize 14 for resolution 800x600

<src/common/paws/pawstexturemanager.cpp:360> CreateTexture
:
Could not open image: >/paws/skin/backdrop/charborder.png<

<src/common/paws/pawswidget.cpp:2374> SetMaskingImage
:
Could not locate masking image charborder for widget PaperDollView
*** glibc detected *** free(): invalid pointer: 0x00000000008d50a0 ***
./planeshift: line 8: 17765 Aborted ./psclient $@
Back to top
View user's profile Send private message
SchwarzerRabe
n00b
n00b


Joined: 31 May 2005
Posts: 37

PostPosted: Sun Jun 12, 2005 1:37 pm    Post subject: Reply with quote

How to install the game in 32bit? ACCEPT_KEYWORDS="x86" emerge cal3d crystalspace cel planeshift?
linux32 emerge cal3d crystalspace cel planeshift?
Back to top
View user's profile Send private message
xordan
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2004
Posts: 148

PostPosted: Sun Jun 12, 2005 1:50 pm    Post subject: Reply with quote

hmm, you'd need a chroot to install a 32-bit version, or you can get the binary of www.planeshift.it if there is one.

That crash isn't what I'm having;

Have you run 'planeshift-updater -auto' ?
Back to top
View user's profile Send private message
SchwarzerRabe
n00b
n00b


Joined: 31 May 2005
Posts: 37

PostPosted: Sun Jun 12, 2005 1:53 pm    Post subject: Reply with quote

Yes, I did run it! Here is the proof:
Quote:

Warning, can't find paths for win or mac or linux updater application! (Server only)
Critical files (<critical>) not found (Server only)
NOTIFY: psUpdaterEngine initialized.
Downloading registry...
0%....25%....50%....75%....100%
Loaded registry
Checking for updates.. This may take a while
Warning: Couldn't find module 'other_os' in registry.
All files are up-to-date!
Please wait while saving files..
==== Update complete ====
SCF WARNING: 1 unreleased instances of class crystalspace.documentsystem.tinyxml
!
SCF WARNING: 1 unreleased instances of class crystalspace.kernel.vfs!

Humm, u seem to have very similiar computer to mine.. Can u play it?

[edit]
"Warning: Couldn't find module 'other_os' in registry. ": That seems a bit strange to me. He seems not to get that I have a Linux OS.
Back to top
View user's profile Send private message
SchwarzerRabe
n00b
n00b


Joined: 31 May 2005
Posts: 37

PostPosted: Sun Jun 12, 2005 5:42 pm    Post subject: Reply with quote

All right, I installed the 32bit version now. I can play, but... I can't really...
My framerate always stays under 2 fps!!!! That is really driving me mad....
Back to top
View user's profile Send private message
xordan
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2004
Posts: 148

PostPosted: Sun Jun 12, 2005 10:44 pm    Post subject: Reply with quote

Yeah, here's what to do:

I assume that you're using a wrapper script for the game? (like /usr/games/bin/planeshift)
Edit this file and add the line:

export LIBGL_DRIVERS_PATH=/usr/lib32/modules/dri

Then save and run it. It should make your fps normal :)

And no I can't run the game in 64-bit mode :) I'm the only PlaneShift dev with a 64-bit PC and I'm not a programmer so we don't have very good support for the platform. It will get better eventually, but it's pretty unstable atm. (As you can see :) )

And that 'other_os' stuff and various warnings is server side only. That message is normal on the client.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum