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