* Patrick Shanahan <paka@opensuse.org> [04-09-18 13:41]:
* Malcolm <malcolmlewis@cableone.net> [04-09-18 12:00]:
On Mon 09 Apr 2018 11:23:23 AM CDT, Patrick Shanahan wrote: <snip>
11:01 Crash: ~ # ./NVIDIA-Linux-x86_64-390.48.run --apply-patch ./nvidia_4.16.patch Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 390.48............................................................ can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- a/common/inc/nv-linux.h 2018-01-25 06:09:41.000000000 +0100 |+++ b/common/inc/nv-linux.h 2018-03-05 13:58:17.746725638 +0100 --------------------------
<snip> Hi The nvidia patch always assumes it's applied at the top level of the extracted source, so you need to remove (edit all three lines) the a/ and b/ from the patch your trying to apply.
So it would become common/inc/nv-linux.h
For example this is the one I use for the 340.106 driver http://paste.opensuse.org/0a7baa63
works, but different. had to change x/common to kernel/common and only two lines.
sorry, correct url: http://wahoo.no-ip.org/~paka/nvidia-4.16.patch
tks much, and next time I will know.
-- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org