Package Details: opencl-nvidia-580xx 580.173.02-1

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: 86
Popularity: 8.76
First Submitted: 2025-12-18 17:08 (UTC)
Last Updated: 2026-06-28 14:48 (UTC)

Dependencies (2)

Required by (77)

Sources (10)

Latest Comments

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

idlmn commented on 2026-08-01 08:15 (UTC)

I have created a new patch file with the changes made in the CachyOS version. You can find it here: https://github.com/hilderingt/PatchNvidia580AUR/blob/main/0003-Remove-strncpy.patch.

Simply copy the file to the package folder. Then update the source and sha256sums sections of the PKGBUILD. In the end add patch -Np1 -i "${srcdir}/0003-Remove-strncpy.patch" -d "${srcdir}/${_pkg}/kernel" to the prepare function of the PKGBUILD.

ZhangHua commented on 2026-07-19 09:12 (UTC)

For people could not wait our maintainer for a fix and just want a patch to be applied, you can check https://github.com/CachyOS/CachyOS-PKGBUILDS/blob/master/nvidia/nvidia-utils/0001-make-Add-support-for-7.2-Kernel.patch. Although it is for the -open driver, you can apply it by force using the command like patch -Np2 -d ${srcdir}/${_pkg}/kernel -i ${srcdir}/0001-make-Add-support-for-7.2-Kernel.patch.

pastelito commented on 2026-07-13 08:04 (UTC)

@Capricornus007 thanks for the instructions, in uvm_pmm_gpu.c i needed to remove the -1, so the end result was:

"strscpy(chunk_split_cache[level].name, "uvm_gpu_chunk_t", sizeof(chunk_split_cache[level].name));"

then builds without errors, thanks for the detail instructions tho, have a nice day.

Lughano commented on 2026-07-07 21:08 (UTC)

razer blade pro 4k 2017 laptop screen backlight is broken with this driver, use 470 with x11, u will not be able to change screen brightness level tho

Capricornus007 commented on 2026-06-30 16:21 (UTC)

The driver compilation fails on Linux 7.2-rc1 because 'strncpy' has been completely removed from the kernel. To fix this, 'strncpy' needs to be replaced with 'strscpy'.

For functions that require returning the 'dest' pointer, the code needs to be split since 'strscpy' returns a size instead of a pointer.

Here are the specific files and locations that need to be patched:

  1. nvidia/os-interface.c (Line ~732)
  2. strncpy(buf, current->comm, len - 1);
  3. strscpy(buf, current->comm, len);

  4. nvidia/linux_nvswitch.c (Line ~2040)

  5. strncpy(regkey_val, regkey_val_start, regkey_val_len);
  6. strscpy(regkey_val, regkey_val_start, regkey_val_len);

  7. nvidia/linux_nvswitch.c (Line ~2395)

  8. return strncpy(dest, src, length);
  9. strscpy(dest, src, length);
  10. return dest;

  11. nvidia-uvm/uvm_pmm_gpu.c (Line ~2802)

  12. strncpy(g_pmm_uapi_test_struct.name, ...);
  13. strscpy(g_pmm_uapi_test_struct.name, ...);

  14. nvidia-modeset/nvidia-modeset-linux.c (Line ~646)

  15. return strncpy(dest, src, n);
  16. strscpy(dest, src, n);
  17. return dest;

mpsijm commented on 2026-06-18 18:13 (UTC) (edited on 2026-06-18 20:50 (UTC) by mpsijm)

@k0r0ng I don't have problems with going into suspend since the upgrade. But on some days, the GPU falls off the bus (similar symptoms as https://bbs.archlinux.org/viewtopic.php?id=304020, everything freezes except SysRq). It happens most often within half an hour after waking from suspend or within half an hour after (re)booting. It happened to me twice today. But on other days, everything is fine...

cyberpunkrocker commented on 2026-06-18 06:32 (UTC)

@user2: patch is a part of base-devel-package. Haven't you read the wiki on how to use AUR?

user2 commented on 2026-06-18 03:37 (UTC) (edited on 2026-06-18 03:45 (UTC) by user2)

Please add patch to makedepends.

k0r0ng commented on 2026-05-30 05:52 (UTC)

Is nobody having suspend issue in here? It's always failed to suspend for the second or third times with this nvidia driver, never occurs with nouveau driver