On 04/04/14 17:42, Klier Rainer wrote:
Am 03.04.2014 18:55, schrieb Patrick Shanahan:
See attached the patch you need to have the actual 331.49 ( present in nvidia repo ) build with at least a kernel-stable I use it for myself, but I'm with stock 13.1 + kernel-stable . build work and for the moment xorg seems happy.
--- a/kernel/nv-linux.h 2014-02-13 04:57:14.000000000 +0100 +++ b/kernel/nv-linux.h 2014-04-03 11:27:14.888851657 +0200 @@ -266,8 +266,7 @@ #endif
#if !defined(NV_VMWARE) && defined(CONFIG_ACPI) -#include
-#include +#include #if defined(NV_ACPI_DEVICE_OPS_HAS_MATCH) || defined(ACPI_VIDEO_HID) #define NV_LINUX_ACPI_EVENTS_SUPPORTED 1 #endif unfortunately neither patch works for me with 331.49 or 331.38 both fail to find /kernel/nv-linux.h then you maybe patching wrong.
to apply the above patch you have to change to directory NVIDIA-Linux-x86_64-334.21 and then use:
patch -p1
The patch which I used and which worked perfectly is:
diff -Naurp nvidia-331-331.38.orig/nv-linux.h nvidia-331-331.38/nv-linux.h
--- a/kernel/nv-linux.h 2014-02-04 00:20:25.756253881 +0100
+++ b/kernel/nv-linux.h 2014-02-04 00:22:32.076257264 +0100
@@ -268,6 +268,11 @@ extern int nv_pat_mode;
#if !defined(NV_VMWARE) && defined(CONFIG_ACPI)
#include