Debian6 install the Nvidia GT 620 graphics card driver

Source: Internet
Author: User

I just bought a new video card, 480 oceans, and it was really hard to run it in linux. But now the installation is complete. Next, let's share the process. Record it, so you don't have to worry about it in the future.

Configuration:

Debian6 32bit nivdia GT620

1. Download the driver on the nvidIA official website (find your driver for the corresponding machine, for example, I am a debian 32bit. So I choose the driver for Linux-32)

Driver URL:

Http://www.geforce.cn/search/search-results/linux%2032%20GT620

Download the. run Driver.

2. Run the following command on the terminal in the windows for the convenience of viewing the installation status:

Aptitude update // update source

Aptitude upgrade // If the update speed is slow in this step, it is likely to cause source problems. Here we recommend a source, which is fast.

Deb http://ftp.debian.org/debian/ squeeze main non-free contrib

Do not write the punctuation or space incorrectly. Otherwise, the source will be invalid.

Aptitude install build-essential linux-headers-$ (uname-r) download kernel source. It is used when the video card driver is installed. Apt-get install binutils

Install the binutils tool, which is used when installing the driver.

The tool to be installed is installed here.

Note: If you have just installed the debian system, gcc and make tools are not installed yet, you need to install these two tools at this time. Command: apt-get install gcc make

3. Go to the directory where the driver. run file is located, add the execution permission (root permission required), and run it:

Chmod + x NVIDIA-Linux-x86-310.44.run

/NVIDIA-Linux-x86-310.44.run

Note:

Next, the gcc version issue may occur. Because the gcc version required to install this driver is gcc-4.3. After the source is updated, the gcc version is basically above 4.4.

Run:

Ls-al/usr/bin/gcc * shows the gcc tools and their versions in your current system. The first line/usr/bin/gcc->/usr/bin/gcc-4.4 indicates that the current gcc tool version is 4.4. The following two lines are the gcc tools in your current system. If there is no 4.3, you need to install, apt-get install gcc-4.3. After the installation, set the gcc-4.3 to the default gcc version, we use the soft connection method. Ln-sf/usr/bin/gcc4.3/usr/bin/gcc and continue to run the run file.

4. During Driver Installation, nvidia will set it as the default x window. In this case, click yes, and you do not need to configure X window to start it yourself.

Note: It is possible that the set display is already available on the host, and some BIOS of the motherboard has an option to set the display. For example, you need to set the display device for the BIOS of the motherboard. IDG is used for set display. After the dedicated display driver is installed, you must change the display device to PCI. Otherwise

Start grub and select the kernel. A black screen is displayed. In addition, a cursor exists in the upper left corner of the screen. And keep doing this.

When you enter the recovery modle of the kernel, after running startx, devices not detected. no screens found is displayed.

All these errors are caused by the fact that PCI is not selected in BIOS.

After the BIOS is configured, you can enjoy your new video card.

My reference articles during installation:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.