News:

Come Chat with us live! Learn how HERE!

Main Menu

Tremulous with Dual Core

Started by durand, April 21, 2007, 11:40:01 AM

next_ghost

Quote from: durandSo, 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

Quote from: next_ghost
Quote from: durandSo, 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

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

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

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

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

Havent you been reading the previous posts, I've been getting an error when I compile it.

next_ghost

Quote from: durandHavent 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

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

Ok, run this command then and post here the output:
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

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

Is it really
/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

-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

Nevermind what I said, I've installed libxxf86vm-dev which added a few other dependencies and recompiled it with: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

for us not so leet code gurus, who play on dual core macs, can you please upload a binary for us???

pretty please?

durand

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_ghostIntel 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

Quote from: rdizzlefor 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

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

isn't GUID compiled by default?

TinMan

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.
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