Ubuntu13.10 Nvidia Driver Installation Error Solution

Source: Internet
Author: User
The statement only works as usual for the Ubuntu13.10 environment NVIDIA-Linux-x86_64-319.60.run version installation. Until servicelightdm is disabled. Set the directory location of the NVIDIA-Linux-x86_64-319.60.run to & lt; dir & gt;, and execute the NVIDIA-Linux-x86_64-319.60.run-x under & lt; dir & gt; to display a file of the same name

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 for the NVIDIA-Linux-x86_64-319.60.run

, In Run

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 in

The name is the patchfile. diff file. Run the following command:

Patch-p0 <patchfile. diff

Disable lightdm:

Sudo service lightdm stop

Then enter

/NVIDIA-Linux-x86_64-319.60 folder, execute:

Sudo./nvidia-install

You can install

Recommended reading:

Install Nvidia graphics driver http://www.linuxidc.com/Linux/2013-08/88310.htm manually in Ubuntu 13.04

Ubuntu 13.04 dual graphics card installation nvidia gt 630M driver http://www.linuxidc.com/Linux/2013-05/84814.htm

Ubuntu 12.10 install NVIDIA official driver practice http://www.linuxidc.com/Linux/2012-12/77102.htm

Ubuntu 13.10 text tutorial on hard drive installation in Windows 7See http://www.linuxidc.com/Linux/2013-10/91565.htm

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.