home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Sauer X64 Pointless?

by Chaos on 09/07/2007 07:26, 23 messages, last message: 10/03/2007 16:55, 6802 views, last view: 05/18/2024 05:56

Would the effort to compile/port Sauerbraten to X64 yield no benefits, be it performance or otherwise? Furthermore would it break compatibility with 32bit servers?

   Board Index    Go to next 20 messagesGo to last 20 messages

#1: ..

by eihrul on 09/07/2007 07:42

Dunno, try it and see. But Sauer is OpenGL -bound, so the limitations on performance will always be 3D card, not the processor.

reply to this message

#2: Re: ..

by shadow,516 on 09/07/2007 17:22, refers to #1

It might improve lighting recalc time :shrug:

reply to this message

#3: Re: ..

by Chaos on 09/07/2007 20:33, refers to #1

I would if I could, but I'd have no idea were to begin. I know so much about computers and networking, but beyond some basic HTML I know very little about programming..

I do operate under XP X64 so if anybody has some pointers I could at least give it a shot.

reply to this message

#4: Re: ..

by eihrul on 09/07/2007 23:10, refers to #3

cd src;make install

reply to this message

#5: Re: ..

by SheeEttin on 09/07/2007 23:48, refers to #4

What, no "make"?

reply to this message

#6: Re: ..

by demosthenes on 09/08/2007 02:15, refers to #5

Yeah, XP is lame that way.

Started dual-booting into Kubuntu 7.04 AMD64 and discovered a nice jump in FPS.

reply to this message

#7: Re: ..

by Chaos on 09/08/2007 06:14, refers to #4

I'm not sure I under stand you eihrul...

I'm under XP X64 and using cmd I can compile the source in 64bit just that easily?

reply to this message

#8: Re: ..

by Quin on 09/08/2007 08:30, refers to #7

No, you need either VCPP or MingW (or Codeblocks/DevCPP).

Not sure if you're gonna get the answer you're looking for around here, might be an idea to read some tutorials/google on the subject (TIP: this is generally how you learn stuff on the net).

If anyone around here was that interested in (or able to produce) x64 binaries, there'd probably already be a port.

Good luck.

reply to this message

#9: Re: ..

by Chaos on 09/08/2007 17:35, refers to #8

Your "Tip" is somewhat offensive mate, not everyone on here "just discovered the internet".

I was just hoping to get some insight from Eitrul or Aard on the subject. I know how to compile Sauer under linux, I just wanted a quick windows solution.

reply to this message

#10: Re: ..

by SheeEttin on 09/08/2007 18:10, refers to #9

There is no "quick solution". Get the source, a compiler, and there you go.

reply to this message

#11: Re: ..

by Quin on 09/08/2007 19:50, refers to #9

*sigh*

My point is that there are tons of resources out there on the net to teach you this very thing. We've all gone and spent the time to learn the things we do, and seriously learning anything is certainly never "quick".

We're a small community and we don't have the resources to sit down with each individual personally and teach them how to use the engine in the way that they desire, there's just way too many of them kind of people.

You may think of it as offensive, but it was merely a subtle reminder that those resources are there for a reason. I do quite a bit of development under Windows, and I pointed you in the direction of the utilities I have found the most useful in compiling Sauer (and to be more specific, Codeblocks is very easy to use for straight-up compiling because I maintain the project file for it).

Please settle yourself and remember we all have lives too, hey? :)

reply to this message

#12: Re: ..

by Chaos on 09/09/2007 05:04, refers to #11

"Please settle yourself.."

I swear man, it was a simple question and you have go and act all superior.

If I was that concerned about it I would have done more research. My primary concerned was client (64) side incompatibility with server (32) side. Which cannot be answered because it appears no one else has done it.

I've been a part of this community a long time, and even though we have some ignorant people on here from time to time (i.e. people announcing a new game or mod) we shouldn't react as if everyone doesn't know what's going on around them or how to find things out.

Quin, maybe you are trying to help and for that I commend you.. but don't be so cocky man. It only rubs people the wrong way.

reply to this message

#13: Codeblocks

by Chaos on 09/09/2007 05:06

Further more I'm going to give Codeblocks a try, thanks for the tip.

reply to this message

#14: ..

by noerrorsfound! on 09/09/2007 11:27

Sauerbraten compiles fine on a 64-bit computer and the binaries can connect to 32-bit servers. What else do you need to do to "compile/port Sauerbraten to X64"? :-S

reply to this message

#15: Re: ..

by kurtis84 on 09/09/2007 15:41, refers to #14

Yes, it does compile and run ok, but I have seen some posts on this forum about having trouble with 64bit bins. Bottom line is, if you're running a system that has a hard time running sauer, more than likely, having a 64bit bin is NOT the thing you need for better performance.

My vote goes to the name of this thread..."pointless".

reply to this message

#16: Re: ..

by Aardappel_ on 09/09/2007 19:48, refers to #15

it's indeed pointless. Use of actual 64bit mode will SLOW THINGS DOWN rather than speed them up, because the only thing that does on a program like sauer is double the memory usage for pointers.

64bit is cool because it allows access to more than 4gigs of address space at once, but if your app doesn't need that, it is of no benefit whatsoever.

The only reason 64bit compiles can potentially give a speedup is because the x64 architecture actually also adds more registers, but this feature has nothing to do with 64bit-ness. If amd/intel had added extra registers to the x32 at some stage that would have been even faster.

Oh, and like eihrul said, your 2% speedup will sit idle waiting for the gpu anyway.

reply to this message

#17: Re: ..

by Chaos on 09/10/2007 01:53, refers to #16

I kinda figured it wouldn't be of much benifit, but I'm always curious about these things.

Many thanks, and as an upside to all of this I've started to compile Sauer on my own now. *puts on big boy pants* ;)

reply to this message

#18: Re: ..

by izprince1984 on 09/11/2007 10:28, refers to #16

Running the 64-bit binary on Ubuntu averages 120 fps or so.

Running the 32-bit version averages avout 112.

So my guess is yes, the 64-bit binary is somewhat faster.

It "feels" faster.

reply to this message

#19: ..

by absinth on 09/11/2007 12:05

>It "feels" faster.
i always missed a benchmark mode in sauer when playing with compiler options or features like multithreaded opengl.

reply to this message

#20: ..

by PelPix2 on 09/14/2007 02:16, refers to #1

I would KILL for x64 sauer.

reply to this message

   Board Index    Go to next 20 messagesGo to last 20 messages


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
54040702 visitors requested 71821827 pages
page created in 0.028 seconds using 9 queries
hosted by Boost Digital