Using NVIDIA Linux graphics drivers with Linux 2.6.25 on Debian sid

According to the release of Linux kernel 2.6.25 on Debian sid, it is time to upgrade my Debian server's NVIDIA display driver (on-board display of FOXCONN 6100M2MA-8EKRS2H). BTW, if combine with official stable release of NVIDIA AMD64 driver v.169.12, the installation will be fail due to not compatible. Currently we have 2 options:

  1. Install v.169.12 with patch applied.
  2. Install beta driver v.173.08.

Prepare your Debian sid for driver installation

For sure that I am not talking about the complete and functional installation of X11 (it is just as simple as running tasksel and choose Desktop environment...), but the prepare of gcc. Since Debian sid Linux kernel is compiled with gcc-4.1, the default linkage of gcc to gcc-4.2 will let the NVIDIA driver installer complain with it... So let's handle in a handy method... Remove the default symbolic linkage and relink to the correct version:

rm -rf /usr/bin/gcc
ln -s /usr/bin/gcc-4.1 /usr/bin/gcc

Don't forget to roll this back after the complete of driver installation:

rm -rf /usr/bin/gcc
ln -s /usr/bin/gcc-4.2 /usr/bin/gcc

Option 1: Install with v.169.12

Download the driver from here: http://www.nvidia.com/object/linux_display_amd64_169.12.html

Get the correct version of patch: http://www.nvnews.net/vbulletin/showthread.php?t=110088

Apply the patch and start the installation with:

./NVIDIA-Linux-x86_64-169.12-pkg2.run --apply-patch NVIDIA_kernel-169.12-2286310.diff.txt
./NVIDIA-Linux-x86_64-169.12-pkg2-custom.run

Option 2: Install with v.173.08

Download the driver from here: http://www.nvidia.com/object/linux_display_amd64_173.08.html

Start the installation with:

./NVIDIA-Linux-x86_64-173.08-pkg2.run


Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <h1> <h2> <h3> <h4> <h5> <h6> <em> <strong> <code> <del> <blockquote> <q> <sub> <p> <br> <ul> <ol> <li> <dl> <dt> <dd> <a> <b> <u> <i> <sup> <acronym> <pre> <img>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Images can be added to this post.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.