Package Details: nvidia-open-beta 1:575.51.02-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 (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.89
First Submitted: 2022-05-12 04:42 (UTC)
Last Updated: 2025-04-17 19:24 (UTC)

Latest Comments

1 2 3 4 Next › Last »

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.

dbermond commented on 2024-12-10 21:07 (UTC)

@gerson sorry, but Manjaro is not supported. As far as I could gather, there is not even a package named (or providing) such a 'linux-headers-meta' neither in the Arch Linux official repositories or in the AUR.

gerson commented on 2024-12-09 17:03 (UTC) (edited on 2024-12-09 17:35 (UTC) by gerson)

Manjaro uses linux-headers-meta instead of linux-headers, would it be possible to add it as an alternative? Currently I'm editing the PKGBUILD to fix this and it works fine, but I would appreciate if you could leave it there by default.

In case someone is interested, here's my update script:

#!/bin/bash

cd nvidia-open-beta
git reset --hard HEAD
git clean -dfx
git fetch
git pull
sed -i 's/linux-headers/linux-headers-meta/g' PKGBUILD
makepkg -s -r -c -f
cd ..

cd nvidia-utils-beta
git reset --hard HEAD
git clean -dfx
git fetch
git pull
sed -i 's/linux-headers/linux-headers-meta/g' PKGBUILD
makepkg -s -r -c -f
cd ..

find . -name "*dkms*" -type f -delete

sudo pacman -U nvidia-open-beta/*.zst nvidia-utils-beta/*.zst

BeauTaapken commented on 2024-12-04 09:16 (UTC) (edited on 2024-12-07 16:04 (UTC) by BeauTaapken)

The nvidia 565 drivers need a patch for kernel 6.12+ to work properly with fbdev=1 https://github.com/Frogging-Family/nvidia-all/ commit/8f5f63beea677afa1cc93db2e5e23cbe0f207670

BeauTaapken commented on 2024-11-07 19:44 (UTC)

When can we expect an update for this package? There is a CVE in the 560 driver that is fixed in the 565 driver (https://gitlab.archlinux.org/archlinux/packaging/packages/nvidia-utils/-/commit/865583be29ef66045a6332a4ec582346cd75360a). This package is now also behind of the extra repository

dbermond commented on 2024-08-22 02:21 (UTC)

@Fazzi it's needed only as a build time dependency (makedepend), and is not required at runtime.