Install the NVIDIAGFORE4 driver in Ubuntu7.10

Source: Internet
Author: User
Officially provided in Ubuntu7.10 under the license diagfore4 installation driver process is probably said as follows: 1. Of course is download good driver, I use NVIDIA-Linux-x86-96.43.05-pkg1.run: License.

The officially provided nvidia gfore 4 Driver Installation Process in Ubuntu7.10 is as follows:

1. Of course it is download good driver, I use NVIDIA-Linux-x86-96.43.05-pkg1.run
: Http://us.download.nvidia.com/XFree86/ \ Linux-x86/96.43.05/NVIDIA-Linux-x86-96.43.05-pkg1.run

2. Disable X server before installation,

3. Run sh to install

4. Automatic Installation of the Kernel Interface (many people have problems here, too. I will talk about it later)

5. Configure the nvidia-config file and update the configuration.

We usually have a few questions about cainiao. One is to disable X server before installation, and the other is to install the Kernel Interface, when the driver is installed, it will automatically check whether there is a compiled Kernel Interface. If not, there are several installation methods for the driver. First, it will let you choose whether to automatically connect to the nvidia official website for download (unfortunately, the download fails after I select it. If no match exists, the installer will let you choose whether to compile the driver for you to generate this Kernel Interface. If yes, therefore, you must have the libc source code in your system (or library, I don't know what it is ). Many people are stuck at this step because the system does not have the source code of this library.

Now let's solve these two problems:

1. Disable X server:

In the past, many people asked this question on the Forum. Unfortunately, no feasible answer was found. After several articles published by some foreigners on google, it was actually very simple:

Run/etc/init with root permission. d/TPD stop. Note that the ending point here is for gnome users. If kde is used, it seems like kdm. after the installation is successful, enable x server to use this/etc/init. d/gestation start.

Another way is to change the runlevel of the startup, which is often seen in init 3. I tried this before, but it was not successful. Therefore, we recommend that you use the method above for the same cainiao as me.

2. Install libc:

As mentioned earlier, the Kernel Interface must be installed during driver installation. If you use your own compiling method, the system must have the libc source code. I don't think most people do. At this time, we can install the source code before installing the driver, and solve the problem. How to install? Ha ha, simpler, powerful apt install a, run:

Sudo apt-get install libc6-dev

One line of command.

----- Update content

All right, now the main problems have been solved. We should be able to install the driver, but there are many additional work to be done.

In many cases, restricted drivers are installed in the system, such as nvidia-glx and nvidia-glx-new, therefore, first confirm whether you must manually install the driver (you can also wait for the official upgrade of the restricted driver). If you are sure to install the driver on your own, delete these restricted drivers and make some settings. Usually this can be completed before installation

First, uninstall the restricted driver.

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

Delete the content under the/lib/linux-restricted-modules/folder. Note that there is a hidden file. nvidia-new-installer to be deleted.

Check whether the/etc/init. d/nvidia-glx and/etc/init. d/nvidia-kernel file exists and delete it.

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"

OK. Now the restricted driver has been uninstalled and configured. You can start the driver installation process.

Please note that you can perform the above steps after manually installing the driver for the sake of insurance, but you need to perform the operations under the command line. Please first confirm that you have mastered the relevant commands.

---- The update is complete.

Related Article

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.