Author Topic: Tremulous with Dual Core  (Read 15657 times)

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Tremulous with Dual Core
« Reply #30 on: April 22, 2007, 06:30:54 pm »
Quote from: "durand"
So, I've installed the libXxf86dga-dev package, and recompiled it. That command u gave me earlier (USE_SDL=0) shouldnt that be 1 instead to enable sdl?


SDL is enabled by default and blocks r_smp. You want to turn it off.
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

durand

  • Posts: 201
  • Turrets: +0/-0
Tremulous with Dual Core
« Reply #31 on: April 22, 2007, 06:34:34 pm »
Quote from: "next_ghost"
Quote from: "durand"
So, I've installed the libXxf86dga-dev package, and recompiled it. That command u gave me earlier (USE_SDL=0) shouldnt that be 1 instead to enable sdl?


SDL is enabled by default and blocks r_smp. You want to turn it off.


Oh.

durand

  • Posts: 201
  • Turrets: +0/-0
Tremulous with Dual Core
« Reply #32 on: April 22, 2007, 06:58:22 pm »
Is there any chance that one of you who has SMP working can send me your tremulous-smp.x86 binary so I can use that instead of compiling? Thanks!

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Tremulous with Dual Core
« Reply #33 on: April 22, 2007, 07:17:23 pm »
It won't work without that library and when you install it, you can as well just compile the client yourself.
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

durand

  • Posts: 201
  • Turrets: +0/-0
Tremulous with Dual Core
« Reply #34 on: April 22, 2007, 07:26:43 pm »
Huh, I don't get it. When I compile it, I just copy over the tremulous-smp.x86 binary from the build folder so I don't think the library makes any difference as long as you have it installed on your computer and me on my computer.

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Tremulous with Dual Core
« Reply #35 on: April 22, 2007, 07:40:26 pm »
Why don't you compile it then? You're far enough to do it by a single command.
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

durand

  • Posts: 201
  • Turrets: +0/-0
Tremulous with Dual Core
« Reply #36 on: April 22, 2007, 07:44:42 pm »
Havent you been reading the previous posts, I've been getting an error when I compile it.

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Tremulous with Dual Core
« Reply #37 on: April 22, 2007, 07:48:30 pm »
Quote from: "durand"
Havent you been reading the previous posts, I've been getting an error when I compile it.


Yes I have. The error means you do NOT have the library installed so binary from anybody else won't work until you install it. And when you do that, there'll be nothing keeping you from compiling it yourself.
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

durand

  • Posts: 201
  • Turrets: +0/-0
Tremulous with Dual Core
« Reply #38 on: April 22, 2007, 07:52:39 pm »
yes but the error isn't because I haven't installed the library because now that I have, i still get the same error and SMP still doesn't work.

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Tremulous with Dual Core
« Reply #39 on: April 22, 2007, 07:57:16 pm »
Ok, run this command then and post here the output:
Code: [Select]
find /usr/lib/ -name libXxf86dga*.so*
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

durand

  • Posts: 201
  • Turrets: +0/-0
Tremulous with Dual Core
« Reply #40 on: April 22, 2007, 08:00:46 pm »
Code: [Select]
durand@Electrostatic:~/Tremulous$ find /usr/lib/ -name libXxf86dga*.so*
/usr/lib/libXxf86dga.so.1.0.0
/usr/lib/libXxf86dga.so.1
/usr/lib/libXxf86dga.so

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Tremulous with Dual Core
« Reply #41 on: April 22, 2007, 08:08:18 pm »
Is it really
Code: [Select]
/usr/bin/ld: cannot find -lXxf86dga
Or is it something else this time?
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

durand

  • Posts: 201
  • Turrets: +0/-0
Tremulous with Dual Core
« Reply #42 on: April 22, 2007, 08:13:04 pm »
Code: [Select]
-lopenal -ldl -lm -m32
/usr/bin/ld: cannot find -lXxf86vm
collect2: ld returned 1 exit status
make[1]: *** [build/release-linux-x86/tremulous.x86] Error 1
make[1]: Leaving directory `/home/durand/Tremulous'
make: *** [build_release] Error 2


Oh, just realised, its vm now. Ill install that library and try again.

durand

  • Posts: 201
  • Turrets: +0/-0
Tremulous with Dual Core
« Reply #43 on: April 22, 2007, 08:28:08 pm »
Nevermind what I said, I've installed libxxf86vm-dev which added a few other dependencies and recompiled it with:
Code: [Select]
make USE_SDL=0 BUILD_CLIENT=1 BUILD_CLIENT_SMP=1 and moved tremulous-smp.x86 to the tremulous directory and ran it and it finally worked!
Annoyingly enough though, sound has stopped working, maybe because of disabling sdl, Im not sure. Thanks next_ghost and everyone else for the SMP thing.

rdizzle

  • Posts: 187
  • Turrets: +1/-1
Tremulous with Dual Core
« Reply #44 on: April 23, 2007, 03:49:45 am »
for us not so leet code gurus, who play on dual core macs, can you please upload a binary for us???

pretty please?

durand

  • Posts: 201
  • Turrets: +0/-0
Tremulous with Dual Core
« Reply #45 on: April 23, 2007, 05:13:36 pm »
Well, apparently I don't think you can upload a binary because the binary is compiled just for your own system, for PCs anyway. I'm probably wrong here since Macs are usually quite similar to each other. It's not that hard to compile it yourself anyway.

You can try dual core if you want but the performance is pretty bad. It is faster, however, you get no sound which is really annoying to me. At the moment, there is no way to fix this but maybe later :D

Oh and http://tremulous.net/phpBB2/viewtopic.php?t=3442&highlight=timedemo has a timedemo with stats. If u scroll down about 26 posts to next_ghost's there is a comparison of SMP and non SMP

Quote from: "next_ghost"
Intel Core 1 Duo T2300 @ 1.66GHz
1GB RAM
ATi Mobility Radeon x1600
Gentoo Linux, kernel 2.6.19-gentoo-r4
X.org X11R7 v1.1.1-r4, ati-drivers-8.32.5

Video settings: 1280x800, highest in-game, no AA

SMP enabled (no SDL): 3067 frames, 56.8 seconds: 54.0 fps
SMP disabled (SDL): 3067 frames, 71.7 seconds: 42.7 fps

Note: SMP run might have some minor performance boost because Tremulous could not mmap /dev/dsp.


PS: If you play without sound, I would recommend that you try SMP. I've also compiled the tremulous-smp binary if anyone wants it though I'm not sure how well it will work, works for me tho. http://www.durand.zephyrhosting.net/dump/tremulous-smp.x86

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Tremulous with Dual Core
« Reply #46 on: April 23, 2007, 09:05:32 pm »
Quote from: "rdizzle"
for us not so leet code gurus, who play on dual core macs, can you please upload a binary for us???

pretty please?

I've heard tjw's binaries come with SMP support, and I know mine do. So any popular Mac binary probably already has smp support.
benmachine

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
Tremulous with Dual Core
« Reply #47 on: April 23, 2007, 10:06:34 pm »
http://neonpulse.net/linux/games/tremulous/release-linux-x86_64.tar.gz
Here's the build that I ended up with, 64-bit, SMP, and GUID.
 :wink:
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

durand

  • Posts: 201
  • Turrets: +0/-0
Tremulous with Dual Core
« Reply #48 on: April 24, 2007, 04:45:42 pm »
isn't GUID compiled by default?

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
Tremulous with Dual Core
« Reply #49 on: April 24, 2007, 09:50:13 pm »
The GUID system is in TJW's patch for svn 755. If you install tremulous using the standard linux installer script on the files page then you will not have a GUID, many repositories for different linux distros also do not have a GUID binary. TJW didn't have a 64-bit one so I asked him what I needed to do to make one (posted as code earlier in this thread), and then I did it.
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg