• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Gentoo in XPS1530

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

SuperMiguel

Super User
Joined
Sep 14, 2007
Location
Florida, US
Well i got tired of ubuntu/mint/debian and want to learn something new. Gentoo :) Soo here we go my first question.. is it necessary to edit the make.conf when installaling gentoo?

if yes.. will this be a good start for my make.conf file:


Code:
CHOST="x86_64-pc-linux-gnu" 
CFLAGS="-march=native -pipe" 
CXXFLAGS="${CFLAGS}" 
MAKEOPTS="-j3" 
GENTOO_MIRRRORS="ftp://gentoo.chem.wisc.edu/gentoo/ http://gentoo.chem.wisc.edu/gentoo/" 
SYNC="rsync://gentoo.chem.wisc.edu/gentoo/" 
VIDEO_CARDS="nvidia vesa" 
LINGUAS="en" 
INPUT_DEVICES="mouse keyboard synaptics evdev" 
ALSA_CARDS="hda-intel"
 
i agree, looks fine. just for comparison, here is my make.conf:

Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
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="i686-pc-linux-gnu"
MAKEOPTS="-j3"

GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirrors.cs.wmich.edu/gentoo "
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"

FEATURES="ccache parallel-fetch"

# ccache settings
CCACHE_DIR="/var/tmp/ccache"
CCACHE_SIZE="10G"

LINGUAS="en en_US"
#VIDEO_CARDS="fglrx"
VIDEO_CARDS=""

# USE flags
USE_default="mmx sse sse2"
USE_custom="aac arts aspell avahi flac jack java kdeprefix kerberos modplug mtp musepack oss pulseaudio samba sndfile timidity wavpack wma win32codecs xinerama"
USE_remove="-bluetooth -ipv6"
USE_videocards="-intel -mach64 -mga -r128 radeon -savage -sis -tdfx -trident -via"
USE_temp="nsplugin"

USE="${USE_default} ${USE_custom} ${USE_remove} ${USE_videocards} ${USE_temp}"


you should definitely customize your make.conf. i would make sure that you have a default profile selected. it is part 6b of the gentoo handbook:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part1_chap6

here is mine for an example:
Code:
mbentley@delltop:~$ ls -FGg /etc/make.profile
lrwxrwxrwx 1 54 May  7 18:13 /etc/make.profile -> /usr/portage/profiles/default/linux/x86/2008.0/desktop/
 
Last edited:
Here is my make.conf file:

Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-march=core2 -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.
MAKEOPTS="-j3"

USE="-gnome kde sensord lm_sensors raw curl wget ffmpeg wmf smp soup gimp mdnsresponder-compat networkmanager xinetd  nvidia qt3 qt4 qt3support a52 aac aalib arts atmo avahi bidi cdda cddax cddb cdio dc1394 dirac directfb dts dvb fbcon flac fluidsynth fontconfig ggi gnutls httpd id3tag kate libass libcaca libsysfs libv4l2 lirc live lua matroska modplug nsplugin pvr remoteosd rtsp pda samba sdl-image shout skins speex stream taglib theora twolame upnp v4l v4l2 vcdinfo vcdx vlm win32codecs x264 xosd zvbi dvd alsa jpeg java firefox png gif bmp cdr mysql mng webkit xinerama hal evdev sse3 ssse3 mmx sse sse2"

GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo "

SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"

VIDEO_CARDS="nvidia"

INPUT_DEVICES="keyboard mouse"
 
well got gentoo installed, my network, video and X are working fine :) it was kinda painfull. Also im having a bit of an issue with the fonts they look kinda horrible... Also which windows manager u guys use?
 
how do i install fonts? i mean emerge -S fonts media-fonts i get tons tons of fonts :) not sure which ones i need..
 
well got gentoo installed, my network, video and X are working fine :) it was kinda painfull. Also im having a bit of an issue with the fonts they look kinda horrible... Also which windows manager u guys use?

xfce all the way. :burn:

Fluxbox is too little, and KDE and Gnome are *TOO DAMN MUCH* (KDE especially. Includes the kitchen sink AND the kitchen AND the living room).
 
a quick search brought up this page:
http://en.gentoo-wiki.com/wiki/X.Org/Fonts

it has excellent instructions for installing fonts, including the windows ttf fonts.

i would also agree that xfce is a very good window manager. i have typically used it on older systems when i had some old test boxes. i found it to be very comfortable for my server as well as it provides a pretty light weight, yet usable gui if i needed it. i don't leave it running 24/7 but i will start it up if i want to use a gui for any reason (typically just for messing with stuff in vmware)
 
ya i kinda hate KDE as well it kinda to much. GNOME is not bad. I tried fluxbox in mint and i kinda like it. never really use xfce.. ill try to day when i get home and see how it goes :)
 
Here is my make.conf:

Code:
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j3"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ ftp://ftp-mirror.internap.com/pub/gentoo/"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
ACCEPT_KEYWORDS="x86"
USE="a52 aac acpi alsa -arts bash-completion bittorrent blender-game bzip2 c++ cdr dbus dhcp dirac divx dri dvd dvdr dvdread encode ffmpeg fuse gimp gnome gtk hal irc jingle jpeg -kde lame mikmod mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer nsplugin ogg ogm opengl png pstricks -qt3 -qt4 R samba scim sdl sid sse3 symlink unicode vcd wma wmf wmp X xcb xine xorg yahoo"
VIDEO_CARDS="intel vesa radeon radeonhd"
INPUT_DEVICES="keyboard mouse evdev"
LINGUAS="en"
#http_proxy="http://mrb78s:[email protected]:80"
#ftp_proxy="http://mrb78s:[email protected]:80"
source /usr/portage/local/layman/make.conf

It is not optimal but has served me well, if I had the motivation I would probably move a lot of the use flags out to /etc/portage/package.use but this has worked well for me.

Also, I forgot about parallel-fetch, which used to have a problem with http proxies but has been fixed according to the bug report, so I just added that back in. I also didn't know about ccache but seeing mbentley's make.conf I have added that in per the instructions here:
http://en.gentoo-wiki.com/wiki/Ccache
 
Last edited:
Do you use VLC?

VLC taught me a lesson about Gentoo - its sometimes best to see if there is a wiki article or other resource for the specific application you are installing. Otherwise, your likely to get something you weren't expecting, or overlook something else important to the way things will operate which you never thought of...

In the case of VLC, you'd get the player without the graphical interface or anything else you would typically expect.

For example, for any package I typically google "packagename gentoo". For VLC, this is the top result:
http://www.videolan.org/vlc/download-gentoo.html

The site I've used most for installing gentoo packages the way I want them installed, is probably this one:
http://en.gentoo-wiki.com

It happens that they also have excellent, indepth VLC coverage:
http://en.gentoo-wiki.com/wiki/Vlc

That's just one example tho, which is the most extreme one I can think of with Gentoo installing a package and not providing what you'd expect. Hope this saves you a headache or two down the road.

BTW, if you get a chance down the road, you may consider giving back to gentoo-wiki if you find it helpful. For example, I contributed a lot of stuff towards this page:
http://en.gentoo-wiki.com/wiki/Lenovo_ThinkPad_T400

EDIT: One more thing, you have a core2duo processor in there so you may want to consider using the -march=core2 to get some extra optimizations and speed, but in order to do so you should be aware of some things I mention under the Installation Prep section in the last link I posted above. The most relevant part is quoted here:
Initial install is also a good time to decide which version of GCC you would like to run. You could choose GCC4.3, because that version of GCC supports "-march=core2", which provides optimizations specific to Core2Duo processors. Refer to the Gentoo GCC Upgrade Guide for comprehensive instructions on upgrading GCC, as well as the example below for configuring /etc/make.conf using the proper CFLAGS.
 
Last edited:
I hope that wasn't overwhelming. Most of that doesn't really matter to getting a working Gentoo system, its just the devil is in the details so it helps to know where to get good documentation to save some headaches.

This may help more also, since it is specific to your general laptop model:
http://alex.koval.kharkov.ua/blog/dell-xps-m1530-and-gentoo-linux/

Yup i pick few things from that guy.. and another one spanish guy.. thanks :) now im just trying to get a windows manager that i like. Which one you use btw?
 
ill be interested in following this and seeing if you can get everything working, specially the finger print reader, remote control and hdmi.
The fact I have these working prevents me from moving to another distro

are you doing a 64 bit install?
 
ill be interested in following this and seeing if you can get everything working, specially the finger print reader, remote control and hdmi.
The fact I have these working prevents me from moving to another distro

are you doing a 64 bit install?

yes 64bit.. I got the finger print kinda working.

i added this in the kernel:

Device Drivers --->
Input device support --->
[*] Miscellaneous devices --->
<*> User level driver support

Then:
echo “sys-auth/thinkfinger ~x86” >> /etc/portage/package.keywords
emerge thinkfinger

Then run:
# tf-tool --acquire
and it will ask u for a finger.

Also im running dual monitor, using a 24" dell monitor 2409w i think. And im using the HDMI port and it works the only problem im having is that i have to run two separates X servers, when i run TwinViewOrientation it doesnt look right, the 24 monitor looks good, but the monitor on the laptop it gets a bit cut up
 
ethernet:
Device Drivers -> Network Device Support -> [*] Ethernet (1000Mbit) -> SysKonnect Yukon2 support
Wireless Card
Device Drivers ---> [*] Network device support ---> Wireless LAN --->
[*] Wireless LAN (pre-802.11)
[*] Wireless LAN (IEEE 802.11)
[*] Intel Wireless WiFi Link Drivers
[*] Enable full debugging output in iwlwifi drivers
[*] Enable Sensitivity Calibration in iwlwifi drivers
[*] Enable Spectrum Measurement in iwlwifi drivers
[*] Enable Wireless QoS in iwlwifi drivers
<*> Intel Wireless WiFi 4965AGN
emerge unmerge ipw3945 ipw3945-ucode ipw3945d
emerge iwl3945-ucode
Sound:
Device Drivers -> Sound -> Advanced Linux Sound Architecture -> PCI Devices -> Intel HD Audio (make sure to put an M on HD audio)
emerge alsa-tools, alsaconf and gtg :)
Mouse:
Device Drivers -> Input Device Support -> <*> Event interface
Device Drivers -> Input Device Support -> [*] Mice -> [*] PS/2 mouse
emerge x11-drivers/synaptics
Webcam
Device Drivers -> Multimedia devices -> [*] Enable Video for Linux API 1
Device Drivers -> Multimedia devices -> [*] Video capture adapters -> [*] V4L USB Devices
OmniVision Camera Chip support
echo “media-video/linux-uvc ~x86” >> /etc/portage/package.keywords
emerge media-video/linux-uvc media-libs/aalib media-libs/libcaca
to test: mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0:fps=10:eek:utfmt=yuy2
SD card:
MMC/SD card support --->
MMC block device driver
Secure Digital Host Controller Interface support
Bluetooth:
Networking ---> Bluetooth subsystem support ---> Bluetooth device drivers ---> HCI USB driver (still working on it)
 
Back