Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

D/L client or compile from source?

Jayyall Klaar
Registered User
Join date: 11 Aug 2007
Posts: 21
08-14-2007 15:51
Anyone compiling the client from source here?

If so. is there any advantage performance-wise to compiling the source myself or is the downloadable client fairly optimized?
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
08-14-2007 23:22
the one time i did compile i could not tell a differance
Boroondas Gupte
Registered User
Join date: 16 Sep 2005
Posts: 186
08-15-2007 04:14
I'm compiling from source to be able to test community patches before they go into a released version of the client. If you use the default SConstruct build script to compile, you'll end up with a similarly optimized client as the downloaded one. You are of course free to change it for compiling more optimized versions.
Katrina Bekkers
Gentooed
Join date: 30 Mar 2007
Posts: 66
08-18-2007 06:34
I do.

I notice some increased smoothness. Maybe it's just self-suggestion.

Ah, and the memory footprint is much smaller, and the CPU hogging somewhat limited. I turn off the MOZLIB compilation and, besides the Google PerfTools lib, I use all system libraries, all of them recompiled locally, instead of LL provided libs. That's a side effect of using Gentoo, I presume! ;)

I use -O2, the -march for my machine ("athlon-xp";) and strip all the executables and shared objects after compiling them.
Jayyall Klaar
Registered User
Join date: 11 Aug 2007
Posts: 21
08-18-2007 10:49
Katrina,

Sounds like it may be worth it.

I found this site that seems helpful.
http://wiki.secondlife.com/wiki/Compiling_the_viewer_(Linux)

Is that what you used?
Katrina Bekkers
Gentooed
Join date: 30 Mar 2007
Posts: 66
08-19-2007 00:41
Yes, that was the starting point, then I started using (and modifying) Henri's make-SL script, which is extremely useful to learn where to put what, to prepare the source subtree.

On my machine (AthXP 2500, 2 GB) it takes around 2 hours to compile the viewer. As I said, I use recompiled local libs (gtk, SDL, pango, etc.).
Jayyall Klaar
Registered User
Join date: 11 Aug 2007
Posts: 21
08-19-2007 11:08
From: Katrina Bekkers
Yes, that was the starting point, then I started using (and modifying) Henri's make-SL script, which is extremely useful to learn where to put what, to prepare the source subtree.

On my machine (AthXP 2500, 2 GB) it takes around 2 hours to compile the viewer. As I said, I use recompiled local libs (gtk, SDL, pango, etc.).


Ok, thanks.

BTW, are you compiling the 1.18.1.2 or 1.18.2.0 source?
Drake Bacon
Linux is Furry
Join date: 13 Jul 2005
Posts: 443
08-19-2007 11:48
Where's the "make-SL" script?
_____________________
Drake Bacon/Drake Winger
Home: Custom AMD X2 (65nm) 5000+, 4 Gig RAM, Gentoo amd64, NVidia GeForce 8600GT PCIe
Mobile: Dell Inspiron E1505 (Core Duo 1.6GHz, 1 gig RAM, Gentoo x86, NVidia GeForce Go 7300 PCIe)
Backup: iMac (Core 2 Duo 2.4GHz, 4 gig RAM, ATI Radeon HD 2400, MacOS X Leopard)
Don't Ask: Asus EeePC 900A (Atom 1.6Ghz, 1 gig RAM, Intel graphics, Gentoo x86)
Pho Fizgig
Registered User
Join date: 28 Jan 2007
Posts: 7
08-19-2007 14:48
From: Katrina Bekkers
Yes, that was the starting point, then I started using (and modifying) Henri's make-SL script, which is extremely useful to learn where to put what, to prepare the source subtree.

On my machine (AthXP 2500, 2 GB) it takes around 2 hours to compile the viewer. As I said, I use recompiled local libs (gtk, SDL, pango, etc.).

please share zour script cause the overlay of slviewer 1.18.1.2 and 1.18.2.0 failed to start after successful compiling.
Katrina Bekkers
Gentooed
Join date: 30 Mar 2007
Posts: 66
08-19-2007 15:18
It's not my script, it has been made by Henri Beauchamp.

And it's in the wiki page quoted by Jayyall, near the end.
Boroondas Gupte
Registered User
Join date: 16 Sep 2005
Posts: 186
08-20-2007 07:19
From: Drake Bacon
Where's the "make-SL" script?

here's a deep-link:
http://wiki.secondlife.com/wiki/Compiling_the_viewer_(Linux)#Automated_libraries_and_headers_adjustments.2C_compilation_and_packaging
Drake Bacon
Linux is Furry
Join date: 13 Jul 2005
Posts: 443
08-20-2007 19:57
Anyone got it working on a 64-bit rig? Anyone? Zi?
_____________________
Drake Bacon/Drake Winger
Home: Custom AMD X2 (65nm) 5000+, 4 Gig RAM, Gentoo amd64, NVidia GeForce 8600GT PCIe
Mobile: Dell Inspiron E1505 (Core Duo 1.6GHz, 1 gig RAM, Gentoo x86, NVidia GeForce Go 7300 PCIe)
Backup: iMac (Core 2 Duo 2.4GHz, 4 gig RAM, ATI Radeon HD 2400, MacOS X Leopard)
Don't Ask: Asus EeePC 900A (Atom 1.6Ghz, 1 gig RAM, Intel graphics, Gentoo x86)
Asriazh Frye
Smart Cookie
Join date: 30 Sep 2006
Posts: 173
08-21-2007 03:43
From: Drake Bacon
Anyone got it working on a 64-bit rig? Anyone? Zi?


You can compile the source on a 64-bit os, but only if you dont think sound and such isnt important or you use g++32 (to be changed inside the Scons script) and get a 32-bit client.

-Asriazh