sorry, disregard my previous post.
* Bruno Friedmann
On lundi, 27 février 2017 16.51:27 h CET Patrick Shanahan wrote:
* Bruno Friedmann
[02-27-17 09:31]: Please be aware that NVIDIA 378.13.run need a patch applied to build correctly the driver with kernel 4.10
Patch is located there https://pkgs.rpmfusion.org/cgit/nonfree/nvidia-kmod.git/plain/ kernel_4.10.patch
Applied here, and work like a charm.
and for the unknowing of us (me), please provide the command line syntax to apply the patch.
tks, If you can't run the NVIDIA.run --help and pick from that your poison I would avoid to touch or use that tool :-)
One line command allowing you to create a -custom.run
./NVIDIA-Linux-x86_64-378.13.run -a --ui=none -no-x-check --glvnd-glx-client - k 4.10.0-1-default --apply-patch kernel_4.10.patch
When the patch will be applied, as Nvidia expect a -p0 and the patch is formatted as -p1 you will have to anwser with file to patch. simply remove the a/
as show below...
can't find file to patch at input line 18 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From ca8b106738521823707f3567cedb41ca158792a3 Mon Sep 17 00:00:00 2001 |From: Alberto Milone
|Date: Wed, 15 Feb 2017 10:53:42 +0100 |Subject: [PATCH 1/1] Add support for Linux 4.10 | |--- | common/inc/nv-mm.h | 9 ++++-- | nvidia-drm/nvidia-drm-fence.c | 72 +++++++++++++++++++++++++++++++++++++++++ ++ | nvidia-drm/nvidia-drm-gem.h | 6 ++++ | nvidia-drm/nvidia-drm-priv.h | 7 +++++ | nvidia/nv-pat.c | 40 ++++++++++++++++++++++++ | 5 files changed, 132 insertions(+), 2 deletions(-) | |diff --git a/kernel/common/inc/nv-mm.h b/kernel/common/inc/nv-mm.h |index 06d7da4..e5cc56a 100644 |--- a/kernel/common/inc/nv-mm.h |+++ b/kernel/common/inc/nv-mm.h -------------------------- File to patch: kernel/common/inc/nv-mm.h
I get here, but: File to patch: kernel/common/inc/nv-mm.h patching file kernel/common/inc/nv-mm.h can't find file to patch at input line 47 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/kernel/nvidia-drm/nvidia-drm-fence.cb/kernel/nvidia-drm/nvidia-drm-fence.c |index 5e98c5f..fa2c508 100644 |--- a/kernel/nvidia-drm/nvidia-drm-fence.c |+++ b/kernel/nvidia-drm/nvidia-drm-fence.c -------------------------- File to patch: tks -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 Photos: http://wahoo.no-ip.org/piwigo @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org