Package Details: nvidia-open-beta-dkms 1:570.86.16-1

Git Clone URL: https://aur.archlinux.org/nvidia-open-beta.git (read-only, click to copy)
Package Base: nvidia-open-beta
Description: NVIDIA open kernel modules (module sources; beta version)
Upstream URL: https://github.com/NVIDIA/open-gpu-kernel-modules/
Licenses: MIT, GPL-2.0-only
Conflicts: NVIDIA-MODULE, nvidia-open
Provides: NVIDIA-MODULE, nvidia-open
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 16
Popularity: 0.121661
First Submitted: 2022-05-12 04:42 (UTC)
Last Updated: 2025-01-31 16:30 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4

dbermond commented on 2022-05-15 13:51 (UTC)

@antdking That's not so simple. If we do not use SYSSRC, it may break building in a chroot (specially foreign chroot build servers), and that's how Arch packages are built. I've pushed updates that will hopefully allow usage of a custom kernel without break building in a chroot. Please let me know if it works for your custom kernel. Regarding '!buildflags', kernel modules are not supposed to use build flags, so we can disable it (see the corresponding repository package; see the build breaking if '-fno-plt' is enabled).

antdking commented on 2022-05-14 16:59 (UTC) (edited on 2022-05-14 17:35 (UTC) by antdking)

Not a bug: it took me a while to work this one out, so I'll post it in the event that others see similar issues on their systems.

This package strips the makepkg buildargs (options=('!buildflags' ...)).

however if you have Graphite enabled on builds, you'll get strange errors relating to missing symbols, __divti3, __modti3, GOMP_parallel, omp_get_thread_num, omp_get_num_threads, __divmodti4. This is from the missing CFLAGS. Remove graphite from your makepkg.conf when building this package.

antdking commented on 2022-05-14 16:52 (UTC) (edited on 2022-05-14 17:35 (UTC) by antdking)

Fails packaging on systems without an official Linux installed, no /usr/src/linux is available. I think this is also the case for Manjaro (though DKMS fills that need). Suggest DKMS goes back to being a separate package.

Currently, I'm patching build to remove the SYSSRC reference, and package_nvidia_open_beta to perform an early return.

Builds fine otherwise. Thanks :)

Included my modified PKGBUILD, which should work for the above:

https://gist.github.com/antdking/90838c963c704eb4f8000839649a974d

dbermond commented on 2022-05-13 16:02 (UTC)

@antdking I've updated the patch to fix this. Thank you for the report.

antdking commented on 2022-05-13 11:01 (UTC) (edited on 2022-05-13 11:13 (UTC) by antdking)

FYI: The reproducible build patches seem to emit some errors, though the build proceeds.

/bin/sh: line 1: archlinux_builder: command not found
/bin/sh: line 1: archlinux: command not found
date: version.mk: No such file or directory