[opensuse] Is there a patch for kernel 3.14.xx ?
Is there a patch for kernel 3.14.x to be able to compile the nVidia driver 331.49 (on oS 13.1)? The dkms which I have installed does not want to touch the driver with kernel 3.14.x although it was most happy to do so with the earlier versions of the kernel (3.13.x). Thanks for any information you may provide. BC -- A civilisation is judged by how it treats the most vulnerable. Lauren Smith - 30 January 2014 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, In the Message; Subject : [opensuse] Is there a patch for kernel 3.14.xx ? Message-ID : <533CF40A.7030601@iinet.net.au> Date & Time: Thu, 03 Apr 2014 16:39:22 +1100 Basil Chupin <blchupin@iinet.net.au> has written:
Is there a patch for kernel 3.14.x to be able to compile the nVidia driver 331.49 (on oS 13.1)?
patch for NVIDIA's driver; 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 <acpi/acpi.h> #include <acpi/acpi_drivers.h> + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) +#include <acpi/acpi_bus.h> +#endif + #if defined(NV_ACPI_DEVICE_OPS_HAS_MATCH) || defined(ACPI_VIDEO_HID) #define NV_LINUX_ACPI_EVENTS_SUPPORTED 1 #endif Regards, --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "Bill! You married with Computers. Not with Me!" "No..., with money." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Go to forlder /usr/src/nvidia-331.49-1.1/, open the file nv-linux.h. look for the line #include <acpi/acpi.h>, add the line #include <linux/acpi.h>, comment out the line /#include <acpi/acpi_drivers.h>, then, as root, run dkms install nvidia -v 331.49-1.1, reboot. It is what I did and worked. Regards, Francesco On Thu, Apr 3, 2014 at 7:48 AM, Masaru Nomiya <nomiya@galaxy.dti.ne.jp> wrote:
Hello,
In the Message;
Subject : [opensuse] Is there a patch for kernel 3.14.xx ? Message-ID : <533CF40A.7030601@iinet.net.au> Date & Time: Thu, 03 Apr 2014 16:39:22 +1100
Basil Chupin <blchupin@iinet.net.au> has written:
Is there a patch for kernel 3.14.x to be able to compile the nVidia driver 331.49 (on oS 13.1)?
patch for NVIDIA's driver;
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 <acpi/acpi.h> #include <acpi/acpi_drivers.h> + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) +#include <acpi/acpi_bus.h> +#endif + #if defined(NV_ACPI_DEVICE_OPS_HAS_MATCH) || defined(ACPI_VIDEO_HID) #define NV_LINUX_ACPI_EVENTS_SUPPORTED 1 #endif
Regards,
--- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "Bill! You married with Computers. Not with Me!" "No..., with money." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable. There is another theory which states that this has already happened. -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 03/04/14 17:25, Francesco Teodori wrote:
Go to forlder /usr/src/nvidia-331.49-1.1/, open the file nv-linux.h. look for the line #include <acpi/acpi.h>, add the line #include <linux/acpi.h>, comment out the line /#include <acpi/acpi_drivers.h>, then, as root, run dkms install nvidia -v 331.49-1.1, reboot. It is what I did and worked. Regards, Francesco
Thanks for the above - but, sorry, it did not work :-( . I tried a couple of times but the compilation of the driver failed. I applied the patch which Masaru provided in the previous message and that worked perfectly. BC -- A civilisation is judged by how it treats the most vulnerable. Lauren Smith - 30 January 2014 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 03/04/14 16:48, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : [opensuse] Is there a patch for kernel 3.14.xx ? Message-ID : <533CF40A.7030601@iinet.net.au> Date & Time: Thu, 03 Apr 2014 16:39:22 +1100
Basil Chupin <blchupin@iinet.net.au> has written:
Is there a patch for kernel 3.14.x to be able to compile the nVidia driver 331.49 (on oS 13.1)? patch for NVIDIA's driver;
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 <acpi/acpi.h> #include <acpi/acpi_drivers.h> + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) +#include <acpi/acpi_bus.h> +#endif + #if defined(NV_ACPI_DEVICE_OPS_HAS_MATCH) || defined(ACPI_VIDEO_HID) #define NV_LINUX_ACPI_EVENTS_SUPPORTED 1 #endif
Regards,
Many thanks for the above - worked a treat! :-) BC -- A civilisation is judged by how it treats the most vulnerable. Lauren Smith - 30 January 2014 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Basil Chupin
-
Francesco Teodori
-
Masaru Nomiya