Package Details: opencl-nvidia-580xx 580.142-2

Git Clone URL: https://aur.archlinux.org/nvidia-580xx-utils.git (read-only, click to copy)
Package Base: nvidia-580xx-utils
Description: OpenCL implemention for NVIDIA (580xx)
Upstream URL: http://www.nvidia.com/
Licenses: custom
Conflicts: opencl-nvidia
Provides: opencl-driver, opencl-nvidia
Submitter: ventureo
Maintainer: ventureo (ptr1337)
Last Packager: ventureo
Votes: 70
Popularity: 15.19
First Submitted: 2025-12-18 17:08 (UTC)
Last Updated: 2026-03-20 18:17 (UTC)

Dependencies (2)

Required by (75)

Sources (10)

Latest Comments

1 2 3 4 5 6 .. 12 Next › Last »

jeffm commented on 2026-04-16 12:38 (UTC)

The Makefile patch referenced by @ZhangHua worked for me on arch for kernel 7.0. The patch applies the PAHOLE_Variables change suggested by @germanp82. For convenience, I added kernel-7.0.patch to PKGBUILD, in the git folder I removed src/ and ran makepkg, then pacman -U <pkgs>. Maybe the patch can be added to this AUR package?

pastelito commented on 2026-04-16 02:42 (UTC) (edited on 2026-04-16 02:44 (UTC) by pastelito)

@germanp82 Your fix worked. I edited the file /usr/src/nvidia-580.142/Makefile with the fix, and it compiled without errors. Thanks for your time and the fix!

ZhangHua commented on 2026-04-15 13:50 (UTC)

https://github.com/CachyOS/CachyOS-PKGBUILDS/blob/master/nvidia/nvidia-580xx/nvidia-580xx-utils/kernel-7.0.patch cachyos also made the patch. May we apply it here too?

qubeck commented on 2026-04-15 11:35 (UTC) (edited on 2026-04-15 11:38 (UTC) by qubeck)

@pastelito

I know the kernel is CachyOS-specific, but I’m using Arch.

Yeah, I use Arch, just without Arch itself

Arch in AUR (Arch User Repository) might mean something, idk. 7.0 is not even in Core-Testing yet. You want CachyOS or Manjaro support? Go to its forum

usta commented on 2026-04-15 11:21 (UTC) (edited on 2026-04-15 11:21 (UTC) by usta)

@ventureo , it will be much better to add cacyos/manjaro's changes [1] and [2]

[1] : https://gitlab.manjaro.org/packages/extra/nvidia-utils/-/commit/51b94e711c71f9eac42c6d4032ee0a8eefdb5c9e

[2] : https://gitlab.manjaro.org/packages/extra/nvidia-utils/-/commit/22751db2bf467d394d1187266d663779d3c9684c

Which includes related 7.0 patch file

germanp82 commented on 2026-04-15 10:58 (UTC)

@pastelito: Kernel module Makefile needs patching. I replaced line 98 in kernel/Makefile:

PAHOLE_VARIABLES=$(if $(wildcard $(KERNEL_SOURCES)/scripts/pahole-flags.sh),,"PAHOLE=$(AWK) '$(PAHOLE_AWK_PROGRAM)'")

with:

PAHOLE_VARIABLES=$(if $(or $(wildcard $(KERNEL_SOURCES)/scripts/pahole-flags.sh),$(wildcard $(KERNEL_SOURCES)/scripts/gen-btf.sh)),,"PAHOLE=$(AWK) '$(PAHOLE_AWK_PROGRAM)'")

Reference: https://gitlab.manjaro.org/packages/extra/nvidia-utils/-/blob/master/kernel-7.0.patch?ref_type=heads

pastelito commented on 2026-04-14 23:07 (UTC)

Has anyone tried this with kernel 7? It fails to build for me. (I know the kernel is CachyOS-specific, but I’m using Arch.)

It might be related to BTF or something getting stricter in the new kernel, but I’m not sure.

==> dkms install --no-depmod nvidia/580.142 -k 7.0.0-1-cachyos Error! Bad return status for module build on kernel: 7.0.0-1-cachyos (x86_64) Consult /var/lib/dkms/nvidia/580.142/build/make.log for more information. ==> WARNING: `dkms install --no-depmod nvidia/580.142 -k 7.0.0-1-cachyos' exited 10 (4/4) Updating linux initcpios... ================================

cat make.log

WARNING: modpost: missing MODULE_DESCRIPTION() in nvidia-drm.o CC [M] nvidia.mod.o CC [M] .module-common.o CC [M] nvidia-uvm.mod.o CC [M] nvidia-modeset.mod.o CC [M] nvidia-drm.mod.o CC [M] nvidia-peermem.mod.o LD [M] nvidia-uvm.ko LD [M] nvidia-modeset.ko BTF [M] nvidia-modeset.ko awk: cmd. line:1: 'BEGIN awk: cmd. line:1: ^ invalid char ''' in expression make[4]: *** [/usr/lib/modules/7.0.0-1-cachyos/build/scripts/Makefile.modfinal:60: nvidia-modeset.ko] Error 1 make[4]: *** Deleting file 'nvidia-modeset.ko' make[4]: *** Waiting for unfinished jobs.... BTF [M] nvidia-uvm.ko awk: cmd. line:1: 'BEGIN awk: cmd. line:1: ^ invalid char ''' in expression make[4]: *** [/usr/lib/modules/7.0.0-1-cachyos/build/scripts/Makefile.modfinal:60: nvidia-uvm.ko] Error 1 make[4]: *** Deleting file 'nvidia-uvm.ko' make[3]: *** [/usr/lib/modules/7.0.0-1-cachyos/build/Makefile:2042: modules] Error 2 make[2]: *** [/usr/lib/modules/7.0.0-1-cachyos/build/Makefile:248: __sub-make] Error 2 make[2]: Leaving directory '/var/lib/dkms/nvidia/580.142/build' make[1]: *** [Makefile:248: __sub-make] Error 2 make[1]: Leaving directory '/usr/lib/modules/7.0.0-1-cachyos/build' make: *** [Makefile:138: modules] Error 2

exit code: 2
elapsed time: 00:02:32

jsimon0 commented on 2026-03-23 13:17 (UTC)

Ditto

bermudi commented on 2026-03-22 02:55 (UTC)

The new version functions without problems. Thank you.

confirmed +1