Author Topic: linux 3.6.9 CVS 4/6/2007  (Read 13121 times)

0 Members and 1 Guest are viewing this topic.

Offline draeath

  • 25
    • Homepage of Draeath
linux 3.6.9 CVS 4/6/2007
Here you may download a linux binary from CVS branch 3.6.9 - checked out from CVS on 4/6/2007
(For some reason the menus in game show 3.6.10...)

Note that this binary has been processed to decrease size and improve speed, and as such it will be completely useless for debugging!

Note that you need SSE support for this binary. If you have a P4 or later (AthlonXP or later for AMD) then it WILL work. Earlier than that, I suggest looking in 'cat /proc/cpuinfo'* first.

Download here: http://keleus.freeshell.org/fs2_open_3_6_9.tar.bz2
MD5 sum here: http://keleus.freeshell.org/fs2_open_3_6_9.tar.bz2.MD5




* If you open a terminal and run "cat /proc/cpuinfo" you will get a whole lot of nifty info. What we are looking for is the presence of "sse" in the "flags" line.
« Last Edit: April 08, 2007, 09:59:28 am by draeath »
PGP Key: 508A8ADE (http://tinyurl.com/3d4ue7)

 

Offline castor

  • 29
    • http://www.ffighters.co.uk./home/
Re: linux 3.6.9 CVS 4/6/2007
Nice :yes:
One suggestion, would you mind posting your full compiler flags too (somebody will be asking for them anyways :) ).

 

Offline draeath

  • 25
    • Homepage of Draeath
Re: linux 3.6.9 CVS 4/6/2007
Code: [Select]
-O3 -mtune i686 -msse -mfpmath=sse -pipe -fomit-frame-pointer
Basically I enabled better optimization, set the compiler to use SSE for floating point math instead of the old pentium I/II style.

Afterwards I used "strip -s fs2_open_r" to remove any unused libraries that got statically compiled in (16mb -> 3mb)


... I'm a former gentoo user :P (kubuntu now)
« Last Edit: April 07, 2007, 08:12:29 am by draeath »
PGP Key: 508A8ADE (http://tinyurl.com/3d4ue7)

 

Offline chaotic

  • 25
Re: linux 3.6.9 CVS 4/6/2007
Code: [Select]
-O3 -mtune i686 -msse -mfpmath=sse -pipe -fomit-frame-pointer
Basically I enabled better optimization, set the compiler to use SSE for floating point math instead of the old pentium I/II style.

Afterwards I used "strip -s fs2_open_r" to remove any unused libraries that got statically compiled in (16mb -> 3mb)


... I'm a former gentoo user :P (kubuntu now)

Hm link doesn't work and I can't compile it with "-mtune i686" CFLAG
Cause you are using Kubuntu: Do you have tried it with Feisty? I've massiv slowdowns when using the CVS (and I can use the same binary with Edgy without problems)
« Last Edit: April 08, 2007, 09:43:43 am by chaotic »

 

Offline draeath

  • 25
    • Homepage of Draeath
Re: linux 3.6.9 CVS 4/6/2007
Links corrected and verified! I accedently put the wrong domain name...
PGP Key: 508A8ADE (http://tinyurl.com/3d4ue7)

 

Offline draeath

  • 25
    • Homepage of Draeath
Re: linux 3.6.9 CVS 4/6/2007
Hm link doesn't work and I can't compile it with "-mtune i686" CFLAG
Cause you are using Kubuntu: Do you have tried it with Feisty? I've massiv slowdowns when using the CVS (and I can use the same binary with Edgy without problems)

What kind of CPU do you have? I can tailor a build more to your chip, see if that helps...
PGP Key: 508A8ADE (http://tinyurl.com/3d4ue7)

 

Offline chaotic

  • 25
Re: linux 3.6.9 CVS 4/6/2007
Hm link doesn't work and I can't compile it with "-mtune i686" CFLAG
Cause you are using Kubuntu: Do you have tried it with Feisty? I've massiv slowdowns when using the CVS (and I can use the same binary with Edgy without problems)

What kind of CPU do you have? I can tailor a build more to your chip, see if that helps...

I've got AMD Athlon 64 using Kubuntu 32bit

 

Offline draeath

  • 25
    • Homepage of Draeath
Re: linux 3.6.9 CVS 4/6/2007
OK, try my binary and I'll work on building one for that chip
PGP Key: 508A8ADE (http://tinyurl.com/3d4ue7)

 

Offline draeath

  • 25
    • Homepage of Draeath
Re: linux 3.6.9 CVS 4/6/2007
Hmm there are different kinds of Athlon 64.

Can you run this in a terminal:
cat /proc/cpuinfo

If you have more than one listing, just pick one. I need the information from the sections: "Model Name" and "Stepping"
« Last Edit: April 08, 2007, 10:37:02 am by draeath »
PGP Key: 508A8ADE (http://tinyurl.com/3d4ue7)

 

Offline chaotic

  • 25
Re: linux 3.6.9 CVS 4/6/2007
Hmm there are different kinds of Athlon 64.

Can you run this in a terminal:
cat /proc/cpuinfo

If you have more than one listing, just pick one. I need the information from the sections: "Model Name" and "Stepping"

Here it is  ;)
Code: [Select]
model name      : AMD Athlon(tm) 64 Processor 3000+
stepping        : 0

 

Offline draeath

  • 25
    • Homepage of Draeath
Re: linux 3.6.9 CVS 4/6/2007
Hmm, still not narrow enough.


Grab me the 'flags' section, it will probably wrap to a second line

That should be all I need (give me an hour to build, I'm at work)
PGP Key: 508A8ADE (http://tinyurl.com/3d4ue7)

 

Offline chaotic

  • 25
Re: linux 3.6.9 CVS 4/6/2007
well I give u all ;)

Code: [Select]
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 12
model name      : AMD Athlon(tm) 64 Processor 3000+
stepping        : 0
cpu MHz         : 2000.224
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow up lahf_lm ts fid vid ttp
bogomips        : 4004.11
clflush size    : 64

 

Offline draeath

  • 25
    • Homepage of Draeath
Re: linux 3.6.9 CVS 4/6/2007
building with CFLAGS "-march=athlon64 -mfpmath=sse -pipe -fomit-frame-pointer -mmmx -msse -msse2 -m3dnow -m32"

I'll post a link to a binary when finished
PGP Key: 508A8ADE (http://tinyurl.com/3d4ue7)

 

Offline draeath

  • 25
    • Homepage of Draeath
Re: linux 3.6.9 CVS 4/6/2007
Binary for athlon64 chips ONLY available here: (note I cannot test, i have an intel chip)

http://keleus.freeshell.org/fs2_open_3_6_9_athlon64.tar.bz2
http://keleus.freeshell.org/fs2_open_3_6_9_athlon64.tar.bz2.MD5
PGP Key: 508A8ADE (http://tinyurl.com/3d4ue7)

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: linux 3.6.9 CVS 4/6/2007
Note that using -march=althlon64 is supposed to automatically imply that MMX/SSE/SSE2/3DNow/3DNow-enhanced are enabled, so you really don't have to specify them yourself.  -mfpmath=sse is also the default, and doesn't need to be specified, when building for athlon64.  And technically you are supposed to use -m64 to get a fully tuned 64-bit binary on athlon64, but that's largely impossible to do if you don't have the 64-bit stuff to link against.

 

Offline chaotic

  • 25
Re: linux 3.6.9 CVS 4/6/2007
First of all:
Thank you very much for your help!
But I still got these strange slowdowns...its like playing the game in slow-motion or so...seems to be some kind of feisty-problem then, I hope it wont appear in the final  :blah:

 

Offline draeath

  • 25
    • Homepage of Draeath
Re: linux 3.6.9 CVS 4/6/2007
Note that using -march=althlon64 is supposed to automatically imply that MMX/SSE/SSE2/3DNow/3DNow-enhanced are enabled, so you really don't have to specify them yourself.  -mfpmath=sse is also the default, and doesn't need to be specified, when building for athlon64.  And technically you are supposed to use -m64 to get a fully tuned 64-bit binary on athlon64, but that's largely impossible to do if you don't have the 64-bit stuff to link against.

I didn't know about the implied mmx/sse settings, but I chose -m32 to build a 32-bit binary (he is running 32-bit)

Thanks, Taylor


First of all:
Thank you very much for your help!
But I still got these strange slowdowns...its like playing the game in slow-motion or so...seems to be some kind of feisty-problem then, I hope it wont appear in the final  :blah:

What kind of sound card do you have? Do other games have this issue?

I had a problem with my USB sound card doing so for all full-screen games... removing the USB sound card and using the built-in RealTek on my motherboard solved the issue.
PGP Key: 508A8ADE (http://tinyurl.com/3d4ue7)

 

Offline chaotic

  • 25
Re: linux 3.6.9 CVS 4/6/2007
I also use a built-in RealTeK.
I've tried warsow in feisty and it worked without any slowdowns. Have no idea why fs2 works like a charm in edgy but not in feisty...well but feisty is still beta  ;)

 

Offline Snail

  • SC 5
  • 214
  • Posts: ☂
Re: linux 3.6.9 CVS 4/6/2007
I have to post here after breaking your chain of posts in this thread. I am very sorry.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: linux 3.6.9 CVS 4/6/2007
I chose -m32 to build a 32-bit binary (he is running 32-bit)
Oops!  I skipped over the part where he mentioned that. :D