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