[PATCH] Fixes for upstream release 346.59

Luca Boccassi luca.boccassi at gmail.com
Sun Apr 12 19:23:12 UTC 2015


Dear Maintainer(s),

I put together a patch, to apply on top of the "346" SVN development
branch, revision 5300 (head), of the nvidia-graphics-drivers repo. These
fixes are needed in order to build packages of the new 346.59 release
recently by Nvidia. I built both x86_64 and i386 packages, and I
tested (by playing Steam games - best test ever :-) ) on a GTX 780
(desktop) and a GT 830M (laptop), with both 3.19 and 3.16 kernel
versions. I found no issues, everything works smoothly.

The refresh of use-nv-kernel-ARCH.o_shipped.patch and not-silent.patch
comes from the SteamOS packages. A new patch, inode.patch, fixes a
well-known problem with kernel 3.19 and above, by applying a fix to
Nvidia's NV_FILE_INODE macro definition in nv-linux.h.

debian/module/conftest.h has been updated, since Nvidia applied a fix
for the write_cr4 problem of kernel 4.0 by defining a new macro,
NV_WRITE_CR4_PRESENT.

debian/rules has been updated, because now the UVM kernel module
requires a symlink for conftest.h too in order to build.

Finally, new IDs were added by Nvidia, and the patch mirrors them in
debian/nv-readme.ids.

Feel free to cherry-pick individual fixes from the diffset.

I hope this can be useful!

Kind regards,
Luca Boccassi

-- Package-specific info:
uname -a:
Linux luca-desktop 3.19.0-trunk-amd64 #1 SMP Debian 3.19.3-1~exp1 (2015-03-29) x86_64 GNU/Linux

/proc/version:
Linux version 3.19.0-trunk-amd64 (debian-kernel at lists.debian.org) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Debian 3.19.3-1~exp1 (2015-03-29)

/proc/driver/nvidia/version:
NVRM version: NVIDIA UNIX x86_64 Kernel Module  346.59  Tue Mar 31 14:10:31 PDT 2015
GCC version:  gcc version 4.9.2 (Debian 4.9.2-10)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixes-for-346_59.patch
Type: text/x-patch
Size: 5746 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20150412/348a4c19/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20150412/348a4c19/attachment.sig>


More information about the pkg-nvidia-devel mailing list