Setting up Linux (Debian Squeeze) on a Dell Latitude E6510 with Nvida Quadro NVS 3100M and 1920x1080 Display
New notebooks are sometimes a little pain in the ass to get working with Linux. After more than 4 weeks, my new notebook finally arrived last monday. Monday this week I tried installing Debian Squeeze (still is testing) on my new Latitude and after 2 hours formatting the drive with dmcrypt, failed with a not starting X, not finding a screen. I didn't have the time to check it out because I needed a running System with OpenGL and Virtualbox to run my old Windows XP-Image using VisualStudio with the setup OpenGL-Stuff for university, so I went with Windows 7 for the first 3 days.
My Latitude E6510 specs:
- Intel i7-620M 2.66 GHZ Dualcore with AES-NI and Turbo Mode (biggest dualcore with AES-NI offered with the new Latitude-series)
- 4GB RAM (2 * 2GB) (8GB would have been 250€(+taxes) more)
- 250GB @7200RPM HDD (had 120GB in my old one, but never used it, since all big data normally goes on to external drive or the raid in my server)
- 15.6" @ 1920x1080 (After working over 4 1/2 year with 1024*768 it was time to get big)
- Nvidia Quadro NVS 3100M (well no player-card, but at least it seems some old games run on it)
- Intel Centrino Advanced-N 6200 Wifi
On Thursday I completed the OpenGL-Stuff and had time to pay some attention to the problem. I tought why not try an up-to-date Live-CD (Ubuntu 10.04 Live-CD) first, to see if that at least works. I downloaded the new Ubuntu 10.04-live-cd and the problem was worse, not even an error-message that it couldn't start X, only a black screen after starting. Then installed Debian Squeeze again from the latest DVD and started investigating what the problem was, it seemed to have problems with not finding a display.
First I added the following lines to /etc/apt/sources.list:
deb http://ftp.debian.org/debian/ squeeze main non-free contrib deb-src http://ftp.debian.org/debian/ squeeze main non-free contrib
and comment out the cd-rom line and install nvidia-xconfig:
apt-get update apt-get install nvidia-xconfig
Then I created a basic xorg-conf with the nvidia-tool:
and edited it to use vesa instead of nvidia until we have setup the property nvidia driver for the Nvidia Quadro NVS 3100M and add the 1920x1080 resolution for the display to work.
Thats what the device-section should look like:/etc/X11/XF86Config
Section "Device" Identifier "Device0" Driver "vesa" VendorName "NVIDIA Corporation" EndSection
and that would be the screen-section
Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1920x1080@60" EndSubSection EndSection
with the added 1920x1080 resolution.
Now we can restart the system and at least work with a X-Windows, decent resolution and start installing the nvidia-driver.
I used the entry in the debian-wiki for setting up the nvidia-driver: Debian Wiki: Nvidia Graphics Card which was really easy, fast and worked. In short:
apt-get install module-assistant nvidia-kernel-common m-a auto-install nvidia-kernel-source
that will install some additional packages like the right gcc used by the kernel (currently 4.3) and stuff.
Then I changed from vesa back to nvidia in the XF86Config.
Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" EndSection
After rebooting I was able to use Nvidias Tool (
apt-get install nvidia-settings if not already installed while setting up the driver and open via System ->
Administration -> NVIDIA X Server Settings) to setup my dual-screen-setup (21" CRT @ 1600 * 1200 above my notebook) like wanted.
Next thing was the wireless lan, which wasn't supported out of the box on debian since it needs a binary firmware-package which are non-free and not default in debian. There for the already added non-free in /etc/apt/sources.list is necessary. The right package for the Intel Corporation Centrino Advanced-N 6200 is firmware-iwlwifi.
apt-get install firmware-iwlwifi
ifconfig wlan0 up
should load the kernel-module and activate the card.
If you get a
SIOCSIFFLAGS: Unknown error 132
probably you turned of your wifi with the switch on the right side of you notebook next to the firewire ... took me about an houer to realize it was turned of and the wifi-led not on.
Now it was time for updating to the latestet packages, since there has a lot changed since the last debian squeeze beta-cd/dvd over 400 packages or me and about 900mb to download ... took some time with 240kb/s.
apt-get update && apt-get upgrade && apt-get dist-upgrade
That's it for the start, some minor things I did afterwards:
- Setting a DPI-value for my monitors (140+ was ugly big, now going with 90 for both displays)
Infos on how to set DPI:
Some things still to be done:
- Find out how to turn off the touchpad but not the stick. Because I hate touchpads and to often accidently push it and in my opionion sticks are much superior :)
- Find out if the mysterious mouse-movement/clicking happening sometimes while writing is caused by touchpad, stick or something else
- Turning off the annoying beep (login / console) of the speaker (seems like blacklisting pcspkr doesn't do the trick alone)
- Fixing my conkyrc to work with i2c instead of hwmon
- Getting used to the keyboard, since some things changed a lot from my thinkpad (ESC-key on same line with F-keys, a windows-key, ctrl and FN exchanged, sound-control on right side of keyboard, ... )
You liked it ? Link it on your homepage or blog: