Mailinglist Archive: opensuse-factory (806 mails)

< Previous Next >
Re: [opensuse-factory] New Tumbleweed snapshot 20170225 NVIDIA 378.13 need a patch
On lundi, 27 février 2017 16.51:27 h CET Patrick Shanahan wrote:
* Bruno Friedmann <bruno@xxxxxxxxxxx> [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 <alberto.milone@xxxxxxxxxxxxx>
|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

Sorry not really end-users one click make me a coffee, but still works :-)

--

Bruno Friedmann
Ioda-Net Sàrl www.ioda-net.ch
Bareos Partner, openSUSE Member, fsfe fellowship
GPG KEY : D5C9B751C4653227
irc: tigerfoot


--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >