UbuntuNVIDIAGeForceG105M graphics card installation experience

Source: Internet
Author: User
Today, we have downloaded the driver from the NVIDIA official website and started to install the official driver. I read two tutorials from the Internet, and the results were too hard to enter the system after I deleted the old driver and restarted it. No way. New users have to reinstall the Ubuntu system. Finally, complete the installation with the help of one of the tutorials. Therefore, you must be patient, careful, and considerate in everything. Otherwise, you will not be able to complete the task with confidence. The following is the installation process. You can install it as needed. 1. The installation process officially provided in the preparation phase is roughly described as follows: 1. Download the driver download location

Today, we have downloaded the driver from the NVIDIA official website and started to install the official driver. I read two tutorials from the Internet, and the results were too hard to enter the system after I deleted the old driver and restarted it. No way. New users have to reinstall the Ubuntu system. Finally, complete the installation with the help of one of the tutorials.

Therefore, you must be patient, careful, and considerate in everything. Otherwise, you will not be able to complete the task with confidence.

The following is the installation process. You can install it as needed.

I. preparation phase

The official installation process is as follows:

1. Download the driver

: Http://www.nvidia.com/object/linux-display-ia32-256.44-driver.html)

2. Disable X server

3. Run sh to install

4. automatically install the Kernel Interface

5. Configure the nvidia-config file

There are three possible problems:

(1) Disable X server before installation

The simplest method is to run/etc/init. d/MCM stop with the root permission. Note: Here, gmtms is used for gnome. If kde is used, use kdm. After the installation is successful, enable x server and start/etc/init. d/gestation.

(2) Compile the Kernel Interface during installation

During driver installation, the system automatically checks whether the compiled Kernel Interface exists. If you do not have one, the driver provides two installation methods. First, it allows you to choose whether to automatically connect to the nvidia official website for download. We recommend that you do not select this method or cause the download to fail due to network latency or other reasons. The system prompts that no matching file exists. Selecting "NO" to go to the next installation will allow you to choose whether to let the driver compile for you to generate this Kernel Interface. We recommend that you select this option, which will be smooth. If this option is selected, you must install libc in your system. If not, run the sudo apt-get install libc6-dev line command.

(3) Delete the restricted Driver (you do not need to perform the first two steps. This step is required)

Most systems are equipped with limited drivers, such as nvidia-glx and nvidia-glx-new. To install a new driver, you must first Delete these drivers and make some settings.

Run the following command:

Sudo apt-get remove -- purge nvidia-glx-new

Delete the content under the/lib/linux-restricted-modules/folder, and delete a hidden file. nvidia-new-installer.

Check whether the files/etc/init. d/nvidia-glx and/etc/init. d/nvidia-kernel exist. If yes, delete them.

Disable other driver modules.

Sudo gedit/etc/default/linux-restricted-modules-common (use modifications such as vi in the command line)

Change DISABLED_MODULES = "" To DISABLED_MODULES = "nv nvidia_new"

Ii. Formal Installation

1. Place the downloaded driver NVIDIA-xxxx-. run to a directory, such as/home/yourname/. We recommend that you change the driver name to a simple and easy-to-remember one, such as nvidia. run.

2. Run the sudo apt-get install libc6-dev to install libc.

3. ctrl + alt + F2. At this time, you should see a black screen. (Of course, x server is not disabled now. Ctrl + alt + F7 can return to the graphic interface .) Login status, enter the user name and password to log on, and run sudo su to enter the password to switch to the root identity.

4. Run the/etc/init. d/MCM stop command to see a closed message. At this time, X server is actually disabled.

5. run the installation program sh/home/yourname/NVIDIA-xxxx-. run. The page is displayed. Step by Step until the Kernel Interface is installed, refer to the above method should be smooth.

6. Compile the Kernel Interface and install the driver. The installer will ask if you want to automatically update the configuration. We recommend that you select Yes.

7. Run/etc/init. d/gestation start to restart X server. It should be a flash of the screen. The nvidia logo appears, and the graphic logon interface appears. The driver is successfully installed!

Tail

The configuration has been applied. If you are not at ease, run sudo vi/etc/X11/xorg. conf to check whether the Driver "XX" under Section "Device" is Driver "nvidia ". For example, you can use nvidia tools to modify the resolution after starting X server:

If you enable X server for the first time after installation, but the driver fails after restart, it means that you did not completely clear the restricted driver before installation. Uninstall the previous driver, whether nvidia-glx or nvidia-glx-new.

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.