* [gentoo-amd64] Install Athlon 64 X2 32-bit
@ 2006-05-31 20:16 Peter Ruskin
2006-05-31 20:23 ` Mark Haney
2006-05-31 23:23 ` [gentoo-amd64] " Duncan
0 siblings, 2 replies; 10+ messages in thread
From: Peter Ruskin @ 2006-05-31 20:16 UTC (permalink / raw
To: gentoo-amd64
I get my new Athlon 64 X2 box next week, so I'll be doing a fresh
Gentoo install. Could someone please give me a hint how to install
it 32-bit instead of 64, so that the win32-codecs work?
Is there much of a performance hit with this option?
--
Peter
========================================================================
Gentoo Linux: Portage 2.0.54-r2. kernel-2.6.16-gentoo-r7.
i686 AMD Athlon(tm) XP 3200+. gcc(GCC): 3.4.6.
KDE: 3.5.2. Qt: 3.3.6.
========================================================================
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-amd64] Install Athlon 64 X2 32-bit
2006-05-31 20:16 [gentoo-amd64] Install Athlon 64 X2 32-bit Peter Ruskin
@ 2006-05-31 20:23 ` Mark Haney
2006-05-31 23:23 ` [gentoo-amd64] " Duncan
1 sibling, 0 replies; 10+ messages in thread
From: Mark Haney @ 2006-05-31 20:23 UTC (permalink / raw
To: gentoo-amd64
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Peter Ruskin wrote:
> I get my new Athlon 64 X2 box next week, so I'll be doing a fresh
> Gentoo install. Could someone please give me a hint how to install
> it 32-bit instead of 64, so that the win32-codecs work?
>
> Is there much of a performance hit with this option?
>
Don't know about anyone else, but Win32-codecs works fine for me under
64-bit. Unless the codec is something really obscure I have very few
problems watching videos on my Athlon 64.
- --
Fere libenter homines id quod volunt credunt.
Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEfftBYQhnfRtc0AIRAuFsAJ4+oobPO3KddnkpndSCWQOV/lnHMQCg2BJj
CkZojK/xRBlXW9xfMZ6FNRY=
=yTMy
-----END PGP SIGNATURE-----
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-amd64] Re: Install Athlon 64 X2 32-bit
2006-05-31 20:16 [gentoo-amd64] Install Athlon 64 X2 32-bit Peter Ruskin
2006-05-31 20:23 ` Mark Haney
@ 2006-05-31 23:23 ` Duncan
2006-05-31 23:46 ` Peter Ruskin
2006-06-01 0:29 ` Mike Owen
1 sibling, 2 replies; 10+ messages in thread
From: Duncan @ 2006-05-31 23:23 UTC (permalink / raw
To: gentoo-amd64
Peter Ruskin <peter.ruskin@dsl.pipex.com> posted
200605312116.50888.peter.ruskin@dsl.pipex.com, excerpted below, on Wed,
31 May 2006 21:16:50 +0100:
> I get my new Athlon 64 X2 box next week, so I'll be doing a fresh
> Gentoo install. Could someone please give me a hint how to install
> it 32-bit instead of 64, so that the win32-codecs work?
>
> Is there much of a performance hit with this option?
You have at least four options. The first is to just install it as a
normal x86 (using basically the same settings you probably use now, since
I see you are on AthlonXP, only with SMP for the dual-core, and perhaps
-march=k8 in your CFLAGS).
The second is to go 64-bit multilib, the default, which makes most stuff
64-bit, then merge mplayer-bin, firefox-bin, etc, as precompiled 32-bit
binaries, if desired.
The third option would be 64-bit with multilib, but also do a 32-bit
chroot. As you already have a 32-bit machine, you could even use its
packages (if you have FEATURES=buildpkg set, or using quickpkg to create
the binpkgs and just copy them over, or just image the entire thing and
copy the image as is. For this option, you'll want to read the 32-bit
chroot guide at:
http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=2
The fourth option is a 64-bit kernel with a 32-bit userland. I'm not
that familiar with this option, but see the amd64/2006.0/32bit-userland
subprofile.
In any case except possibly the first one (and possibly even there for
simple information reasons), you'll want to read the amd64-FAQ at:
http://www.gentoo.org/doc/en/gentoo-amd64-faq.xml. All the above options
should give you working win32-codecs as all will allow 32-bit versions of
whatever you would be merging to use those codecs.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-amd64] Re: Install Athlon 64 X2 32-bit
2006-05-31 23:23 ` [gentoo-amd64] " Duncan
@ 2006-05-31 23:46 ` Peter Ruskin
2006-06-01 0:29 ` Mike Owen
1 sibling, 0 replies; 10+ messages in thread
From: Peter Ruskin @ 2006-05-31 23:46 UTC (permalink / raw
To: gentoo-amd64
On Thursday 01 June 2006 00:23, Duncan wrote:
> You have at least four options.
Thanks Duncan. That gives me lots to think about.
--
Peter
========================================================================
Gentoo Linux: Portage 2.0.54-r2. kernel-2.6.16-gentoo-r7.
i686 AMD Athlon(tm) XP 3200+. gcc(GCC): 3.4.6.
KDE: 3.5.2. Qt: 3.3.6.
========================================================================
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-amd64] Re: Install Athlon 64 X2 32-bit
2006-05-31 23:23 ` [gentoo-amd64] " Duncan
2006-05-31 23:46 ` Peter Ruskin
@ 2006-06-01 0:29 ` Mike Owen
2006-06-01 7:35 ` [gentoo-amd64] " Duncan
2006-06-01 7:53 ` [gentoo-amd64] " Paul de Vrieze
1 sibling, 2 replies; 10+ messages in thread
From: Mike Owen @ 2006-06-01 0:29 UTC (permalink / raw
To: gentoo-amd64
On 5/31/06, Duncan <1i5t5.duncan@cox.net> wrote:
> You have at least four options. The first is to just install it as a
> normal x86 (using basically the same settings you probably use now, since
> I see you are on AthlonXP, only with SMP for the dual-core, and perhaps
> -march=k8 in your CFLAGS).
>
<snip>
That's probably a bad idea. Setting k8 enables the PTA_64BIT option
in gcc, which I'm guessing won't work too well with a pure-32bit
kernel + userland. You're probably best off using the same profile as
you are now. If your kernel supports the hardware, you could even do
an inplace upgrade, and not have to reinstall at all. The one thing
you'll miss out on with using the athlon-mp or athlon-xp -march
settings is sse2, and athlon-fx specific tuning.
HTH,
Mike
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-amd64] Re: Re: Install Athlon 64 X2 32-bit
2006-06-01 0:29 ` Mike Owen
@ 2006-06-01 7:35 ` Duncan
2006-06-01 10:18 ` Peter Ruskin
2006-06-01 7:53 ` [gentoo-amd64] " Paul de Vrieze
1 sibling, 1 reply; 10+ messages in thread
From: Duncan @ 2006-06-01 7:35 UTC (permalink / raw
To: gentoo-amd64
"Mike Owen" <kyphros@gmail.com> posted
8f5ca2210605311729l69dc1d17l35b1d2574092675a@mail.gmail.com, excerpted
below, on Wed, 31 May 2006 17:29:57 -0700:
> On 5/31/06, Duncan <1i5t5.duncan@cox.net> wrote:
>> [] and perhaps -march=k8 in your CFLAGS).
>
> That's probably a bad idea. Setting k8 enables the PTA_64BIT option
> in gcc, which I'm guessing won't work too well with a pure-32bit
> kernel + userland.
I didn't realize that, but chose to use "perhaps" as a qualifier there
since I wasn't 100% sure it would work. Thanks for the corrected info!
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-amd64] Re: Install Athlon 64 X2 32-bit
2006-06-01 0:29 ` Mike Owen
2006-06-01 7:35 ` [gentoo-amd64] " Duncan
@ 2006-06-01 7:53 ` Paul de Vrieze
2006-06-01 14:39 ` [gentoo-amd64] " Duncan
2006-06-01 17:03 ` [gentoo-amd64] " Mike Owen
1 sibling, 2 replies; 10+ messages in thread
From: Paul de Vrieze @ 2006-06-01 7:53 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 1173 bytes --]
On Thursday 01 June 2006 02:29, Mike Owen wrote:
> On 5/31/06, Duncan <1i5t5.duncan@cox.net> wrote:
> > You have at least four options. The first is to just install it as a
> > normal x86 (using basically the same settings you probably use now,
> > since I see you are on AthlonXP, only with SMP for the dual-core, and
> > perhaps -march=k8 in your CFLAGS).
>
> <snip>
>
>
> That's probably a bad idea. Setting k8 enables the PTA_64BIT option
> in gcc, which I'm guessing won't work too well with a pure-32bit
> kernel + userland. You're probably best off using the same profile as
> you are now. If your kernel supports the hardware, you could even do
> an inplace upgrade, and not have to reinstall at all. The one thing
> you'll miss out on with using the athlon-mp or athlon-xp -march
> settings is sse2, and athlon-fx specific tuning.
Actually I've been running mostly 32 bit on my athlon64 and I always use
CFLAGS="-march=athlon64". Works perfectly and stable. My guess would be
that gcc distinguishes based on what compiler it is.
Paul
--
Paul de Vrieze
Gentoo Developer
Mail: pauldv@gentoo.org
Homepage: http://www.devrieze.net
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-amd64] Re: Re: Install Athlon 64 X2 32-bit
2006-06-01 7:35 ` [gentoo-amd64] " Duncan
@ 2006-06-01 10:18 ` Peter Ruskin
0 siblings, 0 replies; 10+ messages in thread
From: Peter Ruskin @ 2006-06-01 10:18 UTC (permalink / raw
To: gentoo-amd64
On Thursday 01 June 2006 08:35, Duncan wrote:
> "Mike Owen" <kyphros@gmail.com> posted
> 8f5ca2210605311729l69dc1d17l35b1d2574092675a@mail.gmail.com,
> excerpted
>
> below, on Wed, 31 May 2006 17:29:57 -0700:
> > On 5/31/06, Duncan <1i5t5.duncan@cox.net> wrote:
> >> [] and perhaps -march=k8 in your CFLAGS).
> >
> > That's probably a bad idea. Setting k8 enables the PTA_64BIT
> > option in gcc, which I'm guessing won't work too well with a
> > pure-32bit kernel + userland.
>
> I didn't realize that, but chose to use "perhaps" as a qualifier
> there since I wasn't 100% sure it would work. Thanks for the
> corrected info!
>
Many thanks for responding, guys. After reading the AMD64 FAQ and
its links, this is my plan:
1. I'll copy my athlon-xp x86 system to the new box, build the
kernel to get support for the new stuff and re-jig the make.conf
so:
CFLAGS="-march=athlon-xp -msse2 -02 -pipe -ftracer -fomit-frame-pointer"
MAKEOPTS="-j3"
2. Then I'll do an amd64 install on a separate partition - I
multi-boot anyway. This way I can see what's best for me.
--
Peter
========================================================================
Gentoo Linux: Portage 2.0.54-r2. kernel-2.6.16-gentoo-r7.
i686 AMD Athlon(tm) XP 3200+. gcc(GCC): 3.4.6.
KDE: 3.5.2. Qt: 3.3.6.
========================================================================
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-amd64] Re: Re: Install Athlon 64 X2 32-bit
2006-06-01 7:53 ` [gentoo-amd64] " Paul de Vrieze
@ 2006-06-01 14:39 ` Duncan
2006-06-01 17:03 ` [gentoo-amd64] " Mike Owen
1 sibling, 0 replies; 10+ messages in thread
From: Duncan @ 2006-06-01 14:39 UTC (permalink / raw
To: gentoo-amd64
Paul de Vrieze <pauldv@gentoo.org> posted
200606010953.17609.pauldv@gentoo.org, excerpted below, on Thu, 01 Jun
2006 09:53:10 +0200:
> On Thursday 01 June 2006 02:29, Mike Owen wrote:
>> On 5/31/06, Duncan <1i5t5.duncan@cox.net> wrote:
>> > perhaps -march=k8 in your CFLAGS).
>>
>> That's probably a bad idea. Setting k8 enables the PTA_64BIT option
>> in gcc, which I'm guessing won't work too well with a pure-32bit
>> kernel + userland.
>
> Actually I've been running mostly 32 bit on my athlon64 and I always use
> CFLAGS="-march=athlon64". Works perfectly and stable. My guess would be
> that gcc distinguishes based on what compiler it is.
I was wondering about that, but having not tried it myself, only had
Mike's word to go on. This does sound reasonable, and in keeping with the
general approach to things gcc seems to take.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-amd64] Re: Install Athlon 64 X2 32-bit
2006-06-01 7:53 ` [gentoo-amd64] " Paul de Vrieze
2006-06-01 14:39 ` [gentoo-amd64] " Duncan
@ 2006-06-01 17:03 ` Mike Owen
1 sibling, 0 replies; 10+ messages in thread
From: Mike Owen @ 2006-06-01 17:03 UTC (permalink / raw
To: gentoo-amd64
On 6/1/06, Paul de Vrieze <pauldv@gentoo.org> wrote:
> Actually I've been running mostly 32 bit on my athlon64 and I always use
> CFLAGS="-march=athlon64". Works perfectly and stable. My guess would be
> that gcc distinguishes based on what compiler it is.
>
> Paul
>
That's good to know. I'm still reading through the gcc code to figure
out exactly how that beast works, but I remembered seeing that 64_bit
flag set, so I thought I'd mention it.
Mike
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2006-06-01 17:06 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-31 20:16 [gentoo-amd64] Install Athlon 64 X2 32-bit Peter Ruskin
2006-05-31 20:23 ` Mark Haney
2006-05-31 23:23 ` [gentoo-amd64] " Duncan
2006-05-31 23:46 ` Peter Ruskin
2006-06-01 0:29 ` Mike Owen
2006-06-01 7:35 ` [gentoo-amd64] " Duncan
2006-06-01 10:18 ` Peter Ruskin
2006-06-01 7:53 ` [gentoo-amd64] " Paul de Vrieze
2006-06-01 14:39 ` [gentoo-amd64] " Duncan
2006-06-01 17:03 ` [gentoo-amd64] " Mike Owen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox