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 -- Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890) openSUSE Leap 42.3 | GNOME 3.20.2 | 4.4.120-45-default HP 255 G4 Notebook | A6-6310 X4 @ 1.80 GHz | AMD Radeon R4 up 1 day 23:53, 1 user, load average: 0.73, 0.62, 0.84 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org