Package Details: nvidia-open-beta-dkms 1:575.51.02-2

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: 18
Popularity: 0.82
First Submitted: 2022-05-12 04:42 (UTC)
Last Updated: 2025-04-30 21:27 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

dbermond commented on 2025-05-01 14:44 (UTC)

@@brianc Try to build the package in a clean chroot. Alternatively, use nvidia-open-beta-dkms.

BeauTaapken commented on 2025-05-01 06:21 (UTC) (edited on 2025-05-01 06:22 (UTC) by BeauTaapken)

@brianc Are you using the nvidia-open-beta or nvidia-open-beta-dkms package? the dkms package should automatically rebuild and install itself properly after a kernel update, so if you are not using that one, give it a try. Also, do you have the headers package for your specific kernel type installed?

brianc commented on 2025-04-30 23:50 (UTC)

@dbermond That's what I initially tried; but, it didn't work for me - and it's breaking again today with the -2 version of both this package and the linux package.

I'm looking at line 45 of the PKGBUILD and it checks for the presence of a directory matching the currently running kernel which shouldn't be there if the kernel has been updated; but, on my system, it's still there.

Its contents seem to be directly related to this package--a single directory called extramodules that contains the nvidia kernel modules:

❭ cd 6.14.4-arch1-1/extramodules
❭ ls
nvidia-drm.ko.zst  nvidia-modeset.ko.zst  nvidia-uvm.ko.zst
nvidia.ko.zst      nvidia-peermem.ko.zst

It looks like those are being left around for some reason on my system when the kernel is updated. I'm not sure why. But that's definitely the source of the build failing.

I suspect it's a similar issue to the one @Thorin_Wolf was reporting previously--remnants of an older kernel headers package left around tricking this PKGBUILD into thinking that was the version to build against.

I removed those old remnants and the build works as expected.

dbermond commented on 2025-04-30 20:50 (UTC)

@brianc you can do a system upgrade with 'pacman -Syu' and rebuild this package immediately after, and then you reboot.

syzzori commented on 2025-04-30 15:17 (UTC) (edited on 2025-04-30 15:19 (UTC) by syzzori)

Build error on linux-tkg 6.14.4, https://pastebin.com/Di5suHTk, I'm using makepkg of course, also new kernel ver. linux 6.14.4.arch1-2 gives errors when rebuilding intramfs ERROR: module not found: 'nvidia' ERROR: module not found: 'nvidia_modeset' ERROR: module not found: 'nvidia_uvm' ERROR: module not found: 'nvidia_drm'

brianc commented on 2025-04-29 22:16 (UTC) (edited on 2025-04-29 22:17 (UTC) by brianc)

It's a relatively new thing for me building AUR packages that rely on linux-headers and I'm curious about best practice here. When I updated earlier today, there was a kernel update to 6.14.4-arch1-1. Nothing too remarkable; however, the way this PKGBUILD is set up, it builds against the currently running kernel per uname.

As someone using a display manager, I was kind of in a catch-22 situation, I needed to rebuild the kernel module against the new headers; but, I couldn't reboot the system without disabling my display manager. I edited the PKGBUILD to reference the new version statically; but, that feels wrong. Is there a better approach?

Thorin_Wolf commented on 2025-04-23 17:49 (UTC)

@dbermond Okay, this is really a weird situation. I only have 2 kernels installed - 6.14.3-arch1-1 & 6.14.3-zen1-1-zen. But the mere presence of the folders of the previous kernels in /lib/modules caused the failure you see there. Removing them allowed builds. Very odd.

dbermond commented on 2025-04-16 18:23 (UTC)

@Thorin_Wolf First of all, AUR helpers (like 'yay') are not supported, use makepkg. Secondly, it seems that you are using a very outdated kernel (5.10.8), probably not from the official repositories. By your log, it seems that there is some probably with your linux-headers package, as it is lacking the '.config' file. Use a newer kernel, and preferably a kernel from the official repositories, as there may be some inconsistency with your kernel packages. That being said, I have just checked, and the package is building perfectly fine in an up-to-date Arch Linux installation with the stock kernel. I cannot reproduce your issue.

Thorin_Wolf commented on 2025-04-15 11:08 (UTC) (edited on 2025-04-15 11:09 (UTC) by Thorin_Wolf)

This is currently not building for me using yay. There is no build folder under /lib/modules/5.10.8-arch1-1/, only a kernel/ folder. Error:

    make[1]: Leaving directory '/home/meteo/.cache/yay/nvidia-open-beta/src/open-gpu-kernel-modules-570.133.07/src/nvidia'
    cd kernel-open/nvidia/ && ln -sf ../../src/nvidia/_out/Linux_x86_64/nv-kernel.o nv-kernel.o_binary
    make -C kernel-open modules
    make[1]: Entering directory '/home/meteo/.cache/yay/nvidia-open-beta/src/open-gpu-kernel-modules-570.133.07/kernel-open'
    /bin/sh: line 1: /lib/modules/5.10.8-arch1-1/build/.config: No such file or directory
    make[2]: Entering directory '/home/meteo/.cache/yay/nvidia-open-beta/src/open-gpu-kernel-modules-570.133.07/kernel-open'
    make[2]: *** /lib/modules/5.10.8-arch1-1/build: No such file or directory.  Stop.
    make[2]: Leaving directory '/home/meteo/.cache/yay/nvidia-open-beta/src/open-gpu-kernel-modules-570.133.07/kernel-open'
    make[1]: *** [Makefile:115: modules] Error 2
    make[1]: Leaving directory '/home/meteo/.cache/yay/nvidia-open-beta/src/open-gpu-kernel-modules-570.133.07/kernel-open'
    make: *** [Makefile:59: modules] Error 2
    make: Leaving directory '/home/meteo/.cache/yay/nvidia-open-beta/src/open-gpu-kernel-modules-570.133.07'
    ==> ERROR: A failure occurred in build().
        Aborting...
     -> error making: nvidia-open-beta-exit status 4
     -> Failed to install the following packages. Manual intervention is required:
    nvidia-open-beta-dkms - exit status 4

gerson commented on 2024-12-11 01:20 (UTC)

@dbermond, I understand, thanks.

Just to clarify, I know that arch does not have a linux-headers-meta, and I have no idea why Manjaro decided to call it meta instead of simply using linux-headers as in Arch. These two packages are probably exactly the same pointer to the default kernel headers, but with different names.

In any case, your aur package is working perfectly with Manjaro with this simply edit on the PKGBUILD. The nvidia-open drivers are still on Manjaro's unstable. It will probably take time for it to reach stable. Until there I'll be running the script below to get updates from your package.