Mailinglist Archive: opensuse-factory (454 mails)

< Previous Next >
Re: [opensuse-factory] Nvidia driver 384.98 + latest kernel 4.14.9-1 in TW


On 31/12/2017 11:10, Basil Chupin wrote:
@ Dave: doing what you suggested didn't work. Perhaps I misread your
comment about the "---" and the "---"? I don't suppose you would be so
kind as to alter that patch to what it should read in full? Anyway, will
try doing it all again tomorrow before I totally "lose it" tonight:-).

I'll try attaching it first, then you can just apply it.
If you use Markus's method then you use "patch -p 1 Testing.txt" or "patch -p 0 Testing_Basil_nVidia.patch" in the same directory.
The -p option strips x directory levels from the original patch.
From the working directory use "find . -name uvm8_va_block.c" to find what should actually be in the "---" and "+++" headers in the patch.
Using the "linux-8qdh:/data/Nvidia-384.98 # sh ./NVIDIA*.run --apply-patch Testing.txt" method you are dependent on the -p level that nvidia use in their build script. Haven't used nvidia run files for a while but AFAIR you can use --help and it tells you an advanced help option and maybe there's a way of specifying the -p option that you can play around with.
Dave P
diff -durN nvidia-384-orig/nvidia-uvm/uvm8_va_block.c
nvidia-384/nvidia-uvm/uvm8_va_block.c
--- nvidia-uvm/uvm8_va_block.c 2017-12-26
11:20:17.097715622 +0100
+++ nvidia-uvm/uvm8_va_block.c 2017-12-26
11:20:29.674381760 +0100
@@ -36,6 +36,10 @@
#include "uvm8_perf_prefetch.h"
#include "uvm8_mem.h"

+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,14,9)
+#include <linux/sched/task_stack.h>
+#endif
+
typedef enum
{
BLOCK_PTE_OP_MAP,
< Previous Next >
Follow Ups