Install the NVIDIA driver In debian

Source: Internet
Author: User
Debian is installed in this book, and the fan has never stopped. I searched the internet for a long time and did not find a reliable answer. You can only try every post. First installed graphics card driver, my Lenovo G450 GEFORCEG210M, the official website to download the Nvidia-Linux-x86-295.59.run.
  Input:
  Sh Nvidia-Linux-x86-295.59.run
  On the installation page, an error is displayed, indicating that Xwindow is still running. The installer exits and prompts you to check the log file to find the error message. My xwindow is indeed running. Enter:
  Sudo/etc/init. d/gdm3 stop
  Try ctrl + alt + F7 to switch to xwindow mode. The switchover fails, proving that xwindow has been disabled.
  After the installation program is re-installed, another error is reported: The nouveau kernel is still running, and nouveau is an nvidia graphics card driver (of course, open-source third-party) that is almost packed in linux Desktop versions ). The installer writes a-disable-nonveau.conf to the system and prompts you to restart the system, which will disable the nouveau driver next time you boot. Exit the installer and restart it.
  Sure enough, after the restart, the interface is quite simple, proving that nouveau is disabled. Start the installer again and report an error:
  Make cannot be found.
  Input:
  Sudo apt-get install make
  Solution.
  Start the installer again and report the following error:
  The current gcc version and the version used to compile the kernel do not match the number. Let me install gcc4.3 and I will unmount gcc4.4. input:
  Sudo apt-get install gcc-4.3
  Then, make two soft connections in/usr/bin:
  Ln-s/usr/bin/gcc-4.3/usr/bin/gcc
  Ln-s/usr/bin/gcc/usr/bin/cc
  The soft connection of cc is used to unify software interfaces. Generally, applications will find cc compilation. As for the compiler that cc actually links to, it is a matter for the linux administrator. It seems that the above two links can be merged into one. I did not try it.
  Run the installer again with the following error message:
  Unbale to find the kernel source tree for thecurrent running kernel...
  The answer is obtained from Baidu. debian only needs to install a linux-headers. Enter:
  Sudo apt-get installlinux-headers-2.636-5-x86
  Note that the later version 2.636-5-x86 is a good kernel version. You can query it by uname-.
  Start the installation program again... the last prompt is wocould you like to run thenvidia-xconfig utility to automatically update your exceptionfile so that the nvidia driver will be used when you restartX ?....
  The default value is no. If yes is selected, it indicates whether to enable the nvidia configuration file so that the nvidia driver will take effect after the next restart.
  Restart
  ...............
  On the xwindow interface, the image quality is fine, but it is similar to the third-party drive provided by debian. We hope that openGL will be useful in the future!
  There is a big problem: the characters on the command line interface become large and blurred. Obviously, the nvidia driver is not enabled in command line mode and will be resolved in the future.

 And new
  The characters on the command line interface become big and fuzzy, which means nvidia does not support llinux kernel kms.
 For the time being, gnome terminal (font more beautiful than tty) is configured as a terminal with black and white characters, full screen job.

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.