Ubuntu installed graphics driver is sometimes not so smooth, will prompt an error and cause Nvidia driver installation failure, the following will be a detailed description of the installation of the graphics driver for Ubuntu 13.10 system, I hope to help you.
statement, only for Ubuntu 13.10 preliminary work environment NVIDIA-Linux-x86_64-319.60.run version
installed as usual. Until you want to turn off the service lightdm item.
Set the directory location of NVIDIA-Linux-x86_64-319.60.run to "dir" and execute it 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 2013-09-26 01:02:38.000000000 +0400
+++ NVIDIA-Linux-x86_64-319.60/kernel/nv-drm.c 2013-10-02 14:00:03.617000000 +0400
@@ -201,12 +201,7 @@< Br>
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 2013-0 9-26 01:02:38.000000000 +0400
+++ NVIDIA-Linux-x86_64-319.60/kernel/nv-linux.h 2013-10-02 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()
Saved under "dir", the name is patchfile.diff, execute the command
patch -p0 " patchfile.diff
and then close Lightdm:
sudo service lightdm stop
Then go to the "dir"/NVIDIA-Linux-x86_64-319.60 folder and execute:
sudo . /nvidia-install
can be installed
The above is the introduction of the Ubuntu 13.10 installation graphics driver error solution, but you do not know how to install the graphics driver, you can refer to the system The steps to install Nvidia Optimus driver in Ubuntu.
In the CentOS system, yum can help users install packages in batches without having
If you have learned about the Linux kernel, then you should have a certain understanding of the prin
vim is an excellent system text editor, commonly used in Linux systems, using vim t
in different situations in Linux system When performing Linux system operation, if there is a situa
What should I do if the Ubuntu login screen resolution is too high?
Linux blocking browser request alert method on browser
Linux how to use the Xsnow command to display the snow effect on the desktop
How Linux lists directories larger than the specified size
Linux how to use vim for advanced editing
Linux system hardware routing forwarding principle
How to install and set up VNC on CentOS
Detailed explanation of the functions and parameters of the Linux system ar command
Linux uptime command operation example
Linux method for creating custom Docker images
How to solve Ubuntu 12.04 boot error Checking Battery State problem
The official new image of Win10 Build 10537 is coming! Activation is not something
Tips for defragmenting Win8 system disk
Try XP's invincible replacement command
Windows 7 Genuine System Verification Method
Windows Server 2008 System Trigger
Improper setting of Vista system audio properties leads to no sound in movies
How to change the computer font of Win7 system?
Win7 game prompts the display driver to stop responding and has recovered?
How to turn off the system to open IPv6 service under windows