Package Details: opencl-nvidia-390xx 390.157-16

Git Clone URL: https://aur.archlinux.org/nvidia-390xx-utils.git (read-only, click to copy)
Package Base: nvidia-390xx-utils
Description: OpenCL implemention for NVIDIA
Upstream URL: https://www.nvidia.com/
Licenses: custom
Conflicts: opencl-nvidia
Provides: opencl-driver, opencl-nvidia
Submitter: svenstaro
Maintainer: jonathon (vnctdj)
Last Packager: vnctdj
Votes: 61
Popularity: 0.88
First Submitted: 2020-03-11 17:29 (UTC)
Last Updated: 2025-05-10 22:07 (UTC)

Dependencies (2)

Required by (67)

Sources (19)

Pinned Comments

vnctdj commented on 2025-01-24 07:37 (UTC)

Use this forum thread for discussion: https://bbs.archlinux.org/viewtopic.php?pid=1946926

jonathon commented on 2022-05-26 09:46 (UTC)

Please don't flag this package out-of-date unless a new version has been released by NVIDIA.

jonathon commented on 2021-12-26 22:44 (UTC) (edited on 2021-12-26 22:44 (UTC) by jonathon)

The DKMS package guidelines are explicit that linux-headers should not be a dependency of any DKMS package.

As a concrete example of why including that as a hard dependency is a bad idea, what happens when linux is not an installed kernel?

Latest Comments

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

drankinatty commented on 2025-06-03 00:15 (UTC)

@tc1384 try makepkg -g to generate the checksums and figure out which file failed the checksum.

On other encouraging news for upcoming linux-6.15, I passed the cachyOS patch along to the openSUSE graphics devs and the feedback was the patch worked (I haven't personally tested, but those involved are orders of magnitude smarter than I on the driver). The only caveat, not relevant here, is that the changes had to be tweaked for the i586 Kbuild files. Has anyone here had an opportunity to test the cachyOS patch on Arch with a custom 6.15 kernel? Not sure when it will hit testing, but it won't be too long.

tc1384 commented on 2025-06-01 17:28 (UTC)

==> Starting prepare()... Creating directory NVIDIA-Linux-x86_64-390.157 Verifying archive integrity... Error in check sums 2943230337 1024874770 ==> ERROR: A failure occurred in prepare(). Aborting...

ventureo commented on 2025-05-20 16:32 (UTC) (edited on 2025-06-03 07:38 (UTC) by ventureo)

I've made a patch for 6.15 kernel support, it would be nice if some will test it on real hardware.

https://github.com/CachyOS/CachyOS-PKGBUILDS/blob/master/nvidia/nvidia-390xx-utils/kernel-6.15.patch

vnctdj commented on 2025-05-10 22:12 (UTC)

I've just added gcc-15.patch from bufferunderrun.

Thanks to all of you who took part in patch research and testing!

susanne commented on 2025-05-10 14:46 (UTC)

just to add one more confirmation: after adding gcc-15.patch the build works perfectly here, many thanks for your work! -s

canolucas commented on 2025-05-09 20:29 (UTC) (edited on 2025-05-09 20:35 (UTC) by canolucas)

gcc-15.patch worked fine here as well. So, it seems we can add that patch to the package right ?

Considering:

* package is broken in its current state

* the patch is required for this package to be compatible with archlinux's current version of gcc

aldolat commented on 2025-05-09 17:10 (UTC)

I just used the patch gcc-15.patch of bufferunderrun here and upgrading to kernel 6.14.5-arch1-1 and gcc-15 was successful.

aruncveli commented on 2025-05-06 20:32 (UTC)

I could be missing something obvious,

Of course I'd forgotten to the patch entry to prepare(). Thanks @bufferunderrun.

And sorry to everyone else for the spam. Incredible work with the patches, investigations and brainstorming.

bufferunderrun commented on 2025-05-06 20:00 (UTC) (edited on 2025-05-06 21:08 (UTC) by bufferunderrun)

I assume you added it with a relative path and it's not adding the patch. This should work:

patch -Np1 -i "${srcdir}/gcc-15.patch" -d "${srcdir}/${_pkg}"

No issues with linux 6.14.5

EDIT: I used makepkg -sifc

aruncveli commented on 2025-05-06 16:48 (UTC) (edited on 2025-05-06 16:53 (UTC) by aruncveli)

I could be missing something obvious, since I normally use paru and haven't done this manually recently.

  1. Downloaded the content of gcc-15.patch from @bufferunderrun, with and without the addition from @drankinatty.

  2. Modified PKGBUILD

  3. updpkgsums

  4. makepkg -sic

pacman "succeeded", but dkms install --no-depmod nvidia/390.157 -k 6.14.4-arch1-2 exited 10. In the make.log, there were a lot of issues with conftest.sh. A snippet from ~600 lines is given below:

In file included from ././common/inc/conftest.h:5,
                 from ././common/inc/nv_stdarg.h:29,
                 from ././common/inc/os-interface.h:27,
                 from nvidia/nv-frontend.c:12:
././conftest/functions.h:15:2: error: #error kmem_cache_create() conftest failed!
   15 | #error kmem_cache_create() conftest failed!
      |  ^~~~~
././conftest/functions.h:16:2: error: #error on_each_cpu() conftest failed!
   16 | #error on_each_cpu() conftest failed!
      |  ^~~~~
././conftest/functions.h:17:2: error: #error smp_call_function() conftest failed!
   17 | #error smp_call_function() conftest failed!
      |  ^~~~~
././conftest/functions.h:22:2: error: #error acpi_walk_namespace() conftest failed!
   22 | #error acpi_walk_namespace() conftest failed!
      |  ^~~~~
././conftest/functions.h:24:2: error: #error dma_mapping_error() conftest failed!
   24 | #error dma_mapping_error() conftest failed!
      |  ^~~~~
././conftest/functions.h:71:2: error: #error wait_on_bit_lock() conftest failed!
   71 | #error wait_on_bit_lock() conftest failed!
      |  ^~~~~
././conftest/functions.h:76:2: error: #error radix_tree_replace_slot() conftest failed!
   76 | #error radix_tree_replace_slot() conftest failed!
      |  ^~~~~

Does anyone know what could be wrong?