[PATCH] Fixes for upstream release 346.59

Luca Boccassi luca.boccassi at gmail.com
Wed Apr 15 00:10:21 UTC 2015


Dear Maintainer(s),

Nvidia released a new driver version, 349.16, so I put together a small
patch to fix building the nvidia-graphics-driver packages. The previous
patch that I sent, fixes-for-346_59.patch, is also needed to build
349.16, so I am attaching it again. As before, it is diff'ed on top of
the "346" SVN branch from Alioth (revision 5300).

fixes-for-349_16.patch adds a bunch of new symbols to
libgl1-nvidia-glx.symbols.in, libnvidia-compiler.symbols.in,
libnvidia-eglcore.symbols.in and nvidia-libopencl1.symbols.

Finally, it adds a new #define in debian/module/conftest.h, for a new
macro added by Nvidia to uvm-linux.h, for the list_cut_position
function, which was added in kernel version 2.6.27 via commit
00e8a4da8cf0d7dba8cc4b0da28ea0f12dcf6b36. Without this change, building
the kernel module fails due to duplicated definitions.

I have built the i386 and x86_64 packages, and I have tested the 64bit
driver on a Jessie 64 bit installation with a GTX 780, running both
kernels 3.16 and 3.19, and I encountered no issues.

Hope this can be helpful. Thank you for your work!

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  349.16  Wed Apr  8 00:17:22 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-349_16.patch
Type: text/x-patch
Size: 27364 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20150415/3dd5b4de/attachment-0002.bin>
-------------- 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/20150415/3dd5b4de/attachment-0003.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/20150415/3dd5b4de/attachment-0001.sig>


More information about the pkg-nvidia-devel mailing list