Author Topic: slow under linux  (Read 3766 times)

Luddrigo

  • Traveller
  • *
  • Posts: 32
    • View Profile
(No subject)
« Reply #15 on: February 24, 2005, 11:37:09 am »
Well, I found a slackware HOWTO on this forum and tried it out, but I got lots of errors and random crashes.

I downloaded the new installer and installed it instead and voila! The game actually runs smooth! It\'s not very fast and it\'s not very pretty - but I can play! Weeee!

Another Planeshift-related question. What should I get first when I\'m upgrading my computer. RAM or CPU? Both is pretty cheap nowadays, but I\'m unemployed ATM and suffer of severe lack of funds.  :(

A.K.A Thrydwulf Bigge, Crimson Order[/url]

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #16 on: February 24, 2005, 12:41:47 pm »
256MB Ram is the lowest amount to run PS. Get at least another 256MB stick (or a 512MB one if you can afford it) and it should run much better. If you want to upgrade your CPU you may need a new mainboard aswell, and it could sum up to an amount which you can\'t afford. Just get the ram and if it\'s not enough get a new gfx card, like Geforce FX 5500 or 5700LE, they are pretty cheap (~75?)
« Last Edit: February 24, 2005, 12:42:24 pm by Karosh_Steinkatz »


Back to Planeshift again \\o/

Luddrigo

  • Traveller
  • *
  • Posts: 32
    • View Profile
(No subject)
« Reply #17 on: February 24, 2005, 01:37:08 pm »
My mptherboard is a socket A one which supports up to 333MHz FSB. The fastest standard AMD-processor I can use should be the Athlon XP 3000+ Barton.

I will go for the extra RAM. I can probably but a PC3200 512BM for about 600SEK (About 85$ USD).

Hmm, Ithink this is about to go offtopic.

Anyway, thank you very much for your help. Now I finally have someting fun to do with my Linuxbox.  :P

A.K.A Thrydwulf Bigge, Crimson Order[/url]

John_Thazer

  • Hydlaa Notable
  • *
  • Posts: 590
  • From the ivory tower, I gaze upon thee
    • View Profile
    • Chaotic Warriors
(No subject)
« Reply #18 on: February 24, 2005, 02:37:15 pm »
Quote
Originally posted by fida
Hi, I\'m new here and I downloaded, installed and updated Planeshift under Linux, but I have serious problem- game is very slow. It takes 10 or more minutes to run a game. I have FC3, AMD 2000 XP+,256 Ram, Geforce4 MX440, please don\'t say that I have to play Planeshift under Wind... Thanks


The only time I get this kind of thing is when I have 2 or more open accounts on Linux, it seems that permisions for Video Acceleration are messed up, although this problem is mainly for ATI Cards rather than nVideo...
Basically these symptoms are of not having \"3D Acceleration\" on...
« Last Edit: February 25, 2005, 12:57:40 pm by John_Thazer »


You can try, but you shall fail! Seek us not, we shall find you.

fida

  • Traveller
  • *
  • Posts: 26
    • View Profile
(No subject)
« Reply #19 on: February 24, 2005, 03:15:08 pm »
hi I finnaly instaled driver for graphic card, but loading time is still really high. Somebody told me, that I can build game from cvs, but I\'m quite new in linux, so I don\'t know, how to do this. I have fedora core 3, thanks Fida

fida

  • Traveller
  • *
  • Posts: 26
    • View Profile
(No subject)
« Reply #20 on: February 24, 2005, 08:18:53 pm »
anybody? thanks

Tharizdun

  • Hydlaa Resident
  • *
  • Posts: 168
    • View Profile
(No subject)
« Reply #21 on: February 26, 2005, 02:31:57 am »
http://laanx.fragnetics.com/

Pick the appropriate \"Build\" link in the left hand box. For Fedora Core I would suggest using the gentoo build process, its generic enough that once you get the basics installed ( cvs, curl and so on ) it should apply just as well to redhat or fedora core.

fida

  • Traveller
  • *
  • Posts: 26
    • View Profile
(No subject)
« Reply #22 on: February 26, 2005, 07:12:21 am »
ok, I have several questions- what is \"emerge\", is this working in fc3? and jam is special for gentoo, or it can be used in fedora core? thanks

Tharizdun

  • Hydlaa Resident
  • *
  • Posts: 168
    • View Profile
(No subject)
« Reply #23 on: February 26, 2005, 07:52:12 am »
\'emerge\' is the gentoo-specific way of installing software. You will need to install the bits the fedora way using rpm.

You can probably get the rpm packages from your install media, or download them from redhat for curl and cvs. They might be installed already on your system.. try looking in /usr/bin for these programs.

There are some jam rpms available from a few 3rd party sources, see

http://rpmfind.net/linux/rpm2html/search.php?query=jam&submit=Search+...

Try the RPM built for Mandrake Linux 10.1 perhaps, they ought to be similar enough to be fairly interchangable.

Jam is the tool that planeshift and its related software components ( cal3d, cs and cel ) use to build its code. Its an alternative to GNU make, which 99% of other Linux source-based software uses, and has nothing to do with specific distrubutions. Unlike rpm, emerge, apt-get and the like.

fida

  • Traveller
  • *
  • Posts: 26
    • View Profile
(No subject)
« Reply #24 on: February 27, 2005, 12:25:20 pm »
where should I put
export CRYSTAL=/home/path/CS
in my .bashrc:

# .bashrc

# User specific aliases and functions

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi
and I have to run this command
export LD_LIBRARY_PATH=/home/path/cal3d/src/cal3d/.libs/:$LD_LIBRARY_PATH
in terminal?

building Crystal space told me, that it cannot update one file, I hope it doesn\'t matter

fida

  • Traveller
  • *
  • Posts: 26
    • View Profile
(No subject)
« Reply #25 on: February 27, 2005, 12:38:17 pm »
i tried cel configure and it said

configure: WARNING: Can not find cs-config in path you provided
no
configure: error:
*** Crystal Space could not be found. The latest version is always available
*** from http://www.crystalspace3d.org/
*** Also, be sure that you have either installed Crystal Space or set the
*** CRYSTAL environment variable properly.

so where should I put that export commands?

Tharizdun

  • Hydlaa Resident
  • *
  • Posts: 168
    • View Profile
(No subject)
« Reply #26 on: February 27, 2005, 01:54:05 pm »
Anywhere in .bashrc is good, put them at the end after whatever the last line is now. Here are the relevant export statements I\'m using in my .bashrc:

export CRYSTAL=/home/myhomedir/planeshift-cvs/CS
export CEL=/home/myhomedir/planeshift-cvs/cel
export CSCONFPATH=/home/myhomedir/planeshift-cvs/cel
export LD_LIBRARY_PATH=/home/myhomedir/planeshift-cvs/cal3d/src/cal3d/.libs/:$LD_LIBRARY_PATH

Once they are in your .bashrc they will always be set properly after you first login, so there will be no need to manually export things via terminal.

You can test that they are set, for example:

echo $CRYSTAL

should return

/home/myhomedir/planeshift-cvs/CS

\'env\' and \'set\' also give you dumps of current environment variables.

Building cs-config is the last step you take in building CrystalSpace, once libs and plugins have been compiled. cel wont be able to locate this if the environment variable is not set, or if cs-config has not been compiled.

fida

  • Traveller
  • *
  • Posts: 26
    • View Profile
(No subject)
« Reply #27 on: February 27, 2005, 08:53:39 pm »
i tried to compile planeshift cvs and
...failed updating 32 target(s)...
...skipped 11 target(s)...
...updated 301 target(s)...
so I thought, that is normal and i tried to run updater, but it wasn\'t nowhere!

Here is some reprt:

C++ ./out/linuxx86/debug/src/server/adminmanager.o
In file included from ./src/common/util/eventmanager.h:26,
                 from src/server/spawnmanager.h:35,
                 from src/server/adminmanager.cpp:35:
./src/common/util/heap.h: In member function `void Heap::Insert(T*)\':
./src/common/util/heap.h:51: error: there are no arguments to `Get\' that depend on a template parameter, so a declaration of `Get\' m ust be available
./src/common/util/heap.h:51: error: (if you use `-fpermissive\', G++ will accept your code, but allowing the use of an undeclared nam e is deprecated)

    g++ -c -o ./out/linuxx86/debug/src/server/adminmanager.o     -DCS_DEBUG -g3 -I/home/internet/work/vyvoj/CS/include      -I/home/ internet/work/vyvoj/cel/include -fexceptions  -I. -I./include -I./src/common -I./src/client -I./src/server src/server/adminmanager.c pp

...failed C++ ./out/linuxx86/debug/src/server/adminmanager.o ...

thanks

kmare

  • Traveller
  • *
  • Posts: 10
    • View Profile
(No subject)
« Reply #28 on: February 27, 2005, 11:54:05 pm »
you\'re using gcc 3.4 right? those errors won\'t show up with gcc 3.3 (check your gcc version with \"gcc --version\" ).
I\'m not a planeshift developer but I hope to fix those bugs tomorrow if I have some time, and will come back with a patch. Can\'t promise anything right now though.. :(
« Last Edit: February 27, 2005, 11:54:33 pm by kmare »

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #29 on: February 28, 2005, 12:00:51 am »
Just edit the heap.h file with an editor and change all \'Get\' to \'this->Get\', the \'*Get\' to \'*this->Get\' and the one \'Top\' to \'this->Top\'.


Back to Planeshift again \\o/