Changes to all build scripts:
* all remaining occurences of 'make -j N' replaced by
'make -j $(nproc)'
* obsolete 'atom' machine architecture replaced with
'bonnell', but both new and old MARCH strings are kept
for compatibility
* optimize TMP variable setting
* add OUTDIR variable (default to $TMP) that defines output
directory for package; the goal is to simplify building
in containers
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Module versioning schema changed, now it is DATE_COMMIT_KERNEL.
Allow to build module against any kernel source specified by KERNSRC
environment variable.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Building module for kernel 5.15 requires the same patch as
for previous one (5.14), but at the same time it generates
a lot of warnings with gcc 11.2.
Remedy for these warnings is put atop existing 5.14 fix and
combined into one patch that makes compilation successful
and with no warnings at all.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
l/nvidia-driver and k/kmod-nvidia packages updated to 390.144.
Patch for kernel 5.13 is no longer needed.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Nvidia legacy binary driver updated to version 390.143.
Affected packages:
l/nvidia-driver - no changes to build script, new package
provides newer versions of libraries included in 390.141
only.
k/kmod-nvidia - this kernel driver builds successfully for
kernels 5.11 with no patches required.
Performance and suspend/resume tested - works as expected.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Add patch to allow successful compilation with kernel version 5.11.
Build script logic improved to automatically select and apply kernel
version-specific patches located in patches/linux-X.Y directory.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Nvidia legacy binary driver updated to version 390.141.
Affected packages:
l/nvidia-driver - no changes to build script, new package
provides newer versions of libraries included in 390.138
only.
k/kmod-nvidia - this kernel driver builds successfully for
kernels 5.10 with no patches required, so we going back to
vanilla module code and obsolete all 390.138 fixes for 5.10.
Performance and suspend/resume tested - works as expected.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
This time kernel module is patched with selected fixes from Debian Unstable.
Confirmed to compile successfully with kernels 5.4, 5.9 and 5.10.
For latest 5.10.1 kernel, suspend/resume finally appears to work correctly.
Commit provides minor fixes in build script as well.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
This package contains libraries, binaries, config files and X.org
support - basically everything except kernel integration, which
itself has been moved to k/kmod-nvidia package.
Package building process does not perform any sort of installation.
Some files (like CUDA binaries) have been removed.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
These are kernel modules from Nvidia proprietary driver, legacy version
(for older cards, supported until 2022). CUDA is not supported. Fix for
5.8 kernels is included. Module taints kernel.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>