Re: [gentoo-user] 32 or 64 bits, CFLAGS and kernel settings ?

2010-12-27 Thread Jacques Montier
Thank you for your answers.
Ok Volker, i am going to the archive ;-)

Cheers,

--
Jacques
Site web 
Le 27/12/2010 18:27, Dale a gentiment tapote:
> Jacques Montier wrote:
>> Hi all,
>>
>> I am waiting for a new PC...
>> motherboard Asus P6X58D-E
>> Intel Core i7 950
>> 4Go DDR
>> Gforce GT240
>>
>> I use Gentoo for nearly 8 years, and of course, it will be Gentoo on
>> that new pc.
>> Besides desktop working, i am going to study and produce some image and
>> video synthesis.
>> I have some questions :
>> 32 bits or 64 bits ? advantages and inconvenients ?
>> What CFLAGS have i to choose and what about kernel settings (Processor
>> type and features) ?
>>
>> Thank you very much for your advices,
>>
>> Cheers,
>>
>> -- 
>> Jacques
>> Site web
>>
>>
>
> I just built me a new rig so I just went through the same thing.  This
> is how I did mine.  I booted a CD/DVD and used "lspci -k | grep
> driver" to list the drivers in use.  That helps a lot.  With that, you
> can use the search feature when doing the kernel config.
>
> I went with 64 bit and used a miltilib profile.  So far, everything is
> working fine.  All my usual websites are working and everything.  This
> is my USE flags:
>
> USE="-a52 -acl acpi alsa -arts automount auto-hinter avahi -bluetooth
> -branding bzip2 cddb cdr chroot cleartype clucene corefonts -crypt
> cups curl dbus -doc dri -dts dvd dvdr -eds escreen esd exif fdftk
> -fftw -gcj gif gimp gkrellm -gnome gnutls gphoto2 gtk hal hbci hddtemp
> ipv6 -jabber -jingle java javascript jbig jpeg2k justify kde libwww
> logrotate loop-aes mng mplayer mp3 mdnsresponder-compat -musepack
> mysql nls nsplugin ofx offensive opengl -oss -otr parport pdf
> policykit ppds ppp qt3 qt3support qt4 sasl seamonkey semantic-desktop
> *smp* -sqlite -sqlite3 syslog tcl -theora *threads* tiff tk truetype
> type1 udev usb -v41 webkit win32codecs wma wmf X aml yahoo -xulrunner
> zeroconf *mmx sse sse2 3dnowext 3dnow*"
>
> I put the ones that I changed in bold for you.  Don't copy and paste
> that since the * may mess up portage.  Since this list is supposed to
> be text only, I had to make them bold with the *.
>
> Since you are using a nvidia card, read this too.
>
> http://www.nvnews.net/vbulletin/showthread.php?t=118109
>
> Basically, enable CONFIG_SYSVIPC in the kernel.  The nvidia driver
> won't load without that.  I have the following built into my kernel:
>
> Symmetric multi-processing support
> Enable MPS table
> AMD IOMMU support
> MTRR (Memory Type Range Register) support
> Preemption Model (Preemptible Kernel (Low-Latency Desktop))
>
> There are others but I think that is all that is different.
>
> That get you started?
>
> Dale
>
> :-)  :-)
>




Re: [gentoo-user] 32 or 64 bits, CFLAGS and kernel settings ?

2010-12-27 Thread Dale

Jacques Montier wrote:

Hi all,

I am waiting for a new PC...
motherboard Asus P6X58D-E
Intel Core i7 950
4Go DDR
Gforce GT240

I use Gentoo for nearly 8 years, and of course, it will be Gentoo on
that new pc.
Besides desktop working, i am going to study and produce some image and
video synthesis.
I have some questions :
32 bits or 64 bits ? advantages and inconvenients ?
What CFLAGS have i to choose and what about kernel settings (Processor
type and features) ?

Thank you very much for your advices,

Cheers,

--
Jacques
Site web

   


I just built me a new rig so I just went through the same thing.  This 
is how I did mine.  I booted a CD/DVD and used "lspci -k | grep driver" 
to list the drivers in use.  That helps a lot.  With that, you can use 
the search feature when doing the kernel config.


I went with 64 bit and used a miltilib profile.  So far, everything is 
working fine.  All my usual websites are working and everything.  This 
is my USE flags:


USE="-a52 -acl acpi alsa -arts automount auto-hinter avahi -bluetooth 
-branding bzip2 cddb cdr chroot cleartype clucene corefonts -crypt cups 
curl dbus -doc dri -dts dvd dvdr -eds escreen esd exif fdftk -fftw -gcj 
gif gimp gkrellm -gnome gnutls gphoto2 gtk hal hbci hddtemp ipv6 -jabber 
-jingle java javascript jbig jpeg2k justify kde libwww logrotate 
loop-aes mng mplayer mp3 mdnsresponder-compat -musepack mysql nls 
nsplugin ofx offensive opengl -oss -otr parport pdf policykit ppds ppp 
qt3 qt3support qt4 sasl seamonkey semantic-desktop *smp* -sqlite 
-sqlite3 syslog tcl -theora *threads* tiff tk truetype type1 udev usb 
-v41 webkit win32codecs wma wmf X aml yahoo -xulrunner zeroconf *mmx sse 
sse2 3dnowext 3dnow*"


I put the ones that I changed in bold for you.  Don't copy and paste 
that since the * may mess up portage.  Since this list is supposed to be 
text only, I had to make them bold with the *.


Since you are using a nvidia card, read this too.

http://www.nvnews.net/vbulletin/showthread.php?t=118109

Basically, enable CONFIG_SYSVIPC in the kernel.  The nvidia driver won't 
load without that.  I have the following built into my kernel:


Symmetric multi-processing support
Enable MPS table
AMD IOMMU support
MTRR (Memory Type Range Register) support
Preemption Model (Preemptible Kernel (Low-Latency Desktop))

There are others but I think that is all that is different.

That get you started?

Dale

:-)  :-)



Re: [gentoo-user] 32 or 64 bits, CFLAGS and kernel settings ?

2010-12-27 Thread Volker Armin Hemmann
and all those questions have been discussed to death on this mailing list and 
the gentoo-amd64 list.

How about an archive plunge?



Re: [gentoo-user] 32 or 64 bits, CFLAGS and kernel settings ?

2010-12-27 Thread Mark Knecht
On Mon, Dec 27, 2010 at 8:10 AM, Jacques Montier
 wrote:
> Hi all,
>
> I am waiting for a new PC...
> motherboard Asus P6X58D-E
> Intel Core i7 950
> 4Go DDR
> Gforce GT240
>
> I use Gentoo for nearly 8 years, and of course, it will be Gentoo on
> that new pc.
> Besides desktop working, i am going to study and produce some image and
> video synthesis.
> I have some questions :
> 32 bits or 64 bits ? advantages and inconvenients ?
> What CFLAGS have i to choose and what about kernel settings (Processor
> type and features) ?
>
> Thank you very much for your advices,
>
> Cheers,
>
> --
> Jacques
> Site web 
>
>
>

I cannot really recommend what I'm using and I certainly don't
consider this advice but I'm happy to share it. Note that in general I
tend to keep use flags limited in make.conf and then add them to
packages I emerge.

The processor is an Intel i7-980x, ATI 5770 VGA.

I think this conversation could result in interesting learning. (For
me anyway!) If there are things that improve performance then we'd all
like to be better educated.

Cheers,
Mark

m...@c2stable ~ $ cat /etc/make.conf
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=native -pipe"
#Safe CFlags for the Core-i7 (web info) saved for reference
#CFLAGS="-march=core2 -msse4 -mcx16 -msahf -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
#FEATURES="buildpkg parallel-fetch userfetch"
USE="nptl nptlonly -ipv6 fortran unicode -hal dbus X -bluetooth
-esound -timidity -cups -java gnome gstreamer kde qt4 qt3support -arts
-eds pngi policykit"
MAKEOPTS="-j9"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
INPUT_DEVICES="evdev mouse keyboard"
VIDEO_CARDS="radeon fbdev vmware"
ALSA_CARDS="hda-intel"
LINGUAS="en"
ACCEPT_LICENSE="dlj-1.1 PUEL AdobeFlash-10.1"
source /var/lib/layman/make.conf
m...@c2stable ~ $



[gentoo-user] 32 or 64 bits, CFLAGS and kernel settings ?

2010-12-27 Thread Jacques Montier
Hi all,

I am waiting for a new PC...
motherboard Asus P6X58D-E
Intel Core i7 950
4Go DDR
Gforce GT240

I use Gentoo for nearly 8 years, and of course, it will be Gentoo on
that new pc.
Besides desktop working, i am going to study and produce some image and
video synthesis.
I have some questions :
32 bits or 64 bits ? advantages and inconvenients ?
What CFLAGS have i to choose and what about kernel settings (Processor
type and features) ?

Thank you very much for your advices,

Cheers,

--
Jacques
Site web