Difference between revisions of "Debian Nvidia Drivers on the T530"

From ThinkWiki
Jump to: navigation, search
(←Created page with '= Debian Nvidia Drivers on the T530 = == Overview == You can buy the Lenovo ''' ThinkPad T530''' with an optional NVidia NVS 5400 graphics card. ...')
 
(Debian Nvidia Drivers on the T530)
Line 1: Line 1:
= Debian Nvidia Drivers on the T530 =
+
= Overview =
 
+
== Overview ==
+
  
 
You can buy the Lenovo '''[[:Category:T530 | ThinkPad T530]]''' with an optional NVidia NVS 5400 graphics card.  This hardware is installed with an Intel graphics controller. The idea is that if you're running off a wall-wart, you can use the higher-performance NVidia card, but if you're on your battery you'll use the Intel card to conserve power. The X {{cmdresult|nv}} driver will supoport NVidia cards, but because NVidia won't release hardware specifications on its 3D acceleration it has no 3D support.  To exploit the NVidia hardware to its fullest potential, you must install the proprietary NVidia X drivers on your system.  With Debian Wheezy, this is relatively straightforward, so getting all this to work on a desktop is simple.  This essay will cover a (slightly crude) method of getting the same results on your Lenovo T530 running Debian Wheezy.
 
You can buy the Lenovo '''[[:Category:T530 | ThinkPad T530]]''' with an optional NVidia NVS 5400 graphics card.  This hardware is installed with an Intel graphics controller. The idea is that if you're running off a wall-wart, you can use the higher-performance NVidia card, but if you're on your battery you'll use the Intel card to conserve power. The X {{cmdresult|nv}} driver will supoport NVidia cards, but because NVidia won't release hardware specifications on its 3D acceleration it has no 3D support.  To exploit the NVidia hardware to its fullest potential, you must install the proprietary NVidia X drivers on your system.  With Debian Wheezy, this is relatively straightforward, so getting all this to work on a desktop is simple.  This essay will cover a (slightly crude) method of getting the same results on your Lenovo T530 running Debian Wheezy.
  
  
== First, Catch your Chicken ==
+
= First, Catch your Chicken =
 +
 
 +
The NVidia hardware is an extra-cost option on your T530.  To determine if you have the card, first make sure that your BIOS is set up to enable it.  Enter BIOS settings by pressing {{key|F1}} immediately after turning the machine on.  Then use the arrow keys to navigate to {{cmdresult|Config}} on the top menu and {{cmdresult|Display} in the {{cmdresult|Config}} menu.  Press {{key|Enter}} and look for the {{cmdresult|Graphics Device}} menu entry.  It should currently be set to its default, {{cmdresult|NVIDIA Optimus}}. 
 +
 
 +
If this is the case, from a terminal prompt on your Debian software you can type in {{cmduser|lspci -nnn}}
 +
If you pipe this through grep(1), as
 +
 
 +
'''lspci -nnn | grep VGA'''
 +
 
 +
you will get two lines if the NVidia hardware is installed, as:
 +
 
 +
{{cmdresult|00.02.0 VGA compatible controller [0300]; Intel Corporation 3rd Gen Core processor Graphics Controller [8096:0166] (rev 09)}}{{break}}
 +
{{cmdresult|01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [Quadro NVS 5400M] [10de:0def] (rev a1)}}
 +
 
 +
= Installing the proprietary NVidia driver =
 +
 
 +
Since the NVidia driver is evil proprietary closed-source software, installing in on a Debian system is a little trickier than simply typing in {cmdroot|apt-get install}}.  The best resource for installing this driver is the Debian Wiki page [http://wiki.debian.org/NvidiaGraphicsDrivers]  You will want to follow these directions for modifying your {{path|/etc/apt/apt.sources}} file and installing the driver, but don't create your Xorg configuration file just yet.  If you do this naively, X will fail to restart until you put that config file back the way it was shipped.
 +
 
 +
= Enabling the NVidia driver on your T530 =
  
The NVidia hardware is an extra-cost option on your T530.  To determine if you have the card,
+
The

Revision as of 15:08, 8 June 2013

Overview

You can buy the Lenovo ThinkPad T530 with an optional NVidia NVS 5400 graphics card. This hardware is installed with an Intel graphics controller. The idea is that if you're running off a wall-wart, you can use the higher-performance NVidia card, but if you're on your battery you'll use the Intel card to conserve power. The X nv driver will supoport NVidia cards, but because NVidia won't release hardware specifications on its 3D acceleration it has no 3D support. To exploit the NVidia hardware to its fullest potential, you must install the proprietary NVidia X drivers on your system. With Debian Wheezy, this is relatively straightforward, so getting all this to work on a desktop is simple. This essay will cover a (slightly crude) method of getting the same results on your Lenovo T530 running Debian Wheezy.


First, Catch your Chicken

The NVidia hardware is an extra-cost option on your T530. To determine if you have the card, first make sure that your BIOS is set up to enable it. Enter BIOS settings by pressing F1 immediately after turning the machine on. Then use the arrow keys to navigate to Config on the top menu and Display} in the <code style="white-space:nowrap pre;color:#495988;background-color:white;">Config menu. Press Enter and look for the Graphics Device menu entry. It should currently be set to its default, NVIDIA Optimus.

If this is the case, from a terminal prompt on your Debian software you can type in $ lspci -nnn If you pipe this through grep(1), as

lspci -nnn </code>. The best resource for installing this driver is the Debian Wiki page [1] You will want to follow these directions for modifying your /etc/apt/apt.sources file and installing the driver, but don't create your Xorg configuration file just yet. If you do this naively, X will fail to restart until you put that config file back the way it was shipped.

Enabling the NVidia driver on your T530

The