Solution to Nvidia Driver Installation Error in Ubuntu 13.10

Source: Internet
Author: User

Declaration, only for Ubuntu 13.10 environment NVIDIA-Linux-x86_64-319.60.run version

The initial installation work is as usual. Until the service lightdm item is disabled.

Set the directory location of the NVIDIA-Linux-x86_64-319.60.run to <dir>, run under <dir>

NVIDIA-Linux-x86_64-319.60.run-x

A folder with the same name appears.

Copy text:

--- NVIDIA-Linux-x86_64-319.60/kernel/nv-drm.c 01:02:38. 000000000 + 0400
+ + NVIDIA-Linux-x86_64-319.60/kernel/nv-drm.c 14:00:03. 617000000 + 0400
@-,,12 + ,,7 @@
Memset (& nv_obj-> base, 0, sizeof (nv_obj-> base ));
Nv_obj-> pages = pages;
 
-Ret = drm_gem_private_object_init (nvl-> drm, & nv_obj-> base, size );
-If (ret)
-{
-Status = RM_ERR_OPERATING_SYSTEM;
-Goto done;
-}
+ Drm_gem_private_object_init (nvl-> drm, & nv_obj-> base, size );
 
Ret = drm_gem_handle_create (file_priv, & nv_obj-> base, handle );
If (ret)
Diff-ur NVIDIA-Linux-x86_64-319.60/kernel/nv-linux.h NVIDIA-Linux-x86_64-319.60/kernel/nv-linux.h
--- NVIDIA-Linux-x86_64-319.60/kernel/nv-linux.h 01:02:38. 000000000 + 0400
+ + NVIDIA-Linux-x86_64-319.60/kernel/nv-linux.h 14:01:31. 461000000 + 0400
@-1037,7 + 1037,11 @@
# Endif
 
# If! Defined (NV_VMWARE)
+ # If LINUX_VERSION_CODE <KERNEL_VERSION (3, 11, 0)
# Define NV_NUM_PHYSPAGES num_physpages
+ # Else
+ # Define NV_NUM_PHYSPAGES get_num_physpages ()
+ # Endif
# Define NV_GET_CURRENT_PROCESS () current-> tgid
# Define NV_IN_ATOMIC () in_atomic ()
# Define NV_LOCAL_BH_DISABLE () local_bh_disable ()

Save it in <dir> and name it "patchfile. diff". Run the following command:

Patch-p0 <patchfile. diff

Disable lightdm:

Sudo service lightdm stop

Then go to the <dir>/NVIDIA-Linux-x86_64-319.60 folder and execute:

Sudo./nvidia-install

You can install

Recommended reading:

Install the Nvidia graphics card driver manually in Ubuntu 13.04

Install the nvidia gt 630M driver on Ubuntu 13.04 dual-graphics card

Install the NVIDIA driver on Ubuntu 12.10

For more information about how to install Ubuntu 13.10 on a hard drive in Windows 7, see

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.