Nvidia Driver on Opensuse Leap 15.3: Difference between revisions
Jump to navigation
Jump to search
(Created page with "see * [https://forums.opensuse.org/showthread.php/556244-Leap-15-3-nVidia-legacy-drive-340-108-(patched)-build-error?p=3072465#post3072465 Opensuse Forum Thread] * [https://n...") |
No edit summary |
||
Line 3: | Line 3: | ||
* [https://nvidia.if-not-true-then-false.com/ If not true then false] | * [https://nvidia.if-not-true-then-false.com/ If not true then false] | ||
Using an Opensuse 15.2 kernel with a 15.3 system and the script works | Using an Opensuse 15.2 kernel 5.3.18-lp152.92-default with a 15.3 system and the script works | ||
Current Opensuse 15.3 kernels can be made to compile the nvidia module with the script and some patches but dont load it (hangs): | Current Opensuse 15.3 kernels can be made to compile the nvidia module with the script and some patches but dont load it (hangs): |
Revision as of 17:48, 8 October 2021
see
Using an Opensuse 15.2 kernel 5.3.18-lp152.92-default with a 15.3 system and the script works
Current Opensuse 15.3 kernels can be made to compile the nvidia module with the script and some patches but dont load it (hangs):
diff -Nr -U0 NVIDIA-340xx/kernel-5.11.patch NV/NVIDIA-340xx/kernel-5.11.patch --- NVIDIA-340xx/kernel-5.11.patch 2021-10-04 11:55:09.000000000 +0200 +++ NV/NVIDIA-340xx/kernel-5.11.patch 2021-10-08 13:50:54.080722098 +0200 @@ -128 +128 @@ --#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 9, 0) +-#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 3, 0) @@ -131 +131 @@ -+#if LINUX_VERSION_CODE <= KERNEL_VERSION(5, 8, 0) ++#if LINUX_VERSION_CODE <= KERNEL_VERSION(5, 2, 0) diff -Nr -U0 NVIDIA-340xx/kernel-5.9.patch NV/NVIDIA-340xx/kernel-5.9.patch --- NVIDIA-340xx/kernel-5.9.patch 2020-11-23 00:45:00.000000000 +0100 +++ NV/NVIDIA-340xx/kernel-5.9.patch 2021-10-08 11:21:06.824529135 +0200 @@ -22 +22 @@ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 9, 0) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 3, 0) @@ -35 +35 @@ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 9, 0) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 3, 0) @@ -51 +51 @@ -+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 9, 0) ++#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 3, 0) @@ -63 +63 @@ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 9, 0) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 3, 0) @@ -82 +82 @@ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 9, 0) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 3, 0) @@ -98 +98 @@ -+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 9, 0) ++#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 3, 0)