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

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.31
First Submitted: 2020-03-11 17:29 (UTC)
Last Updated: 2025-06-12 22:18 (UTC)

Dependencies (2)

Required by (68)

Sources (20)

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

« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 33 Next › Last »

air-g4p commented on 2023-11-07 14:59 (UTC)

Appreciate the 6.6 patch efforts, but for me it fails this way:

==> dkms install --no-depmod nvidia/390.157 -k 6.6.0-arch1-1
Error! Bad return status for module build on kernel: 6.6.0-arch1-1 (x86_64)
Consult /var/lib/dkms/nvidia/390.157/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia/390.157 -k 6.6.0-arch1-1' exited 10

make.log, here:

http://ix.io/4KUR

Please let me know if you spot the issue.

Cheers

canolucas commented on 2023-11-06 20:12 (UTC)

@drankinatty @Wargoth That's awesome news, thanks for the feedback. I also tested it using the latest kernel from core-testing, its working fine so far. If no other changes are needed, I think we are ready for pushing to git. Please comment if you think otherwise or if any compilation fails.

Wargoth commented on 2023-11-06 08:49 (UTC) (edited on 2023-11-06 08:49 (UTC) by Wargoth)

This patch version works for me. Kernel 6.6


diff --ignore-space-change --unified --recursive --no-dereference a/kernel/nvidia-drm/nvidia-drm-drv.c b/kernel/nvidia-drm/nvidia-drm-drv.c
--- a/kernel/nvidia-drm/nvidia-drm-drv.c  
+++ b/kernel/nvidia-drm/nvidia-drm-drv.c  
@@ -700,8 +700,11 @@

     .ioctls                 = nv_drm_ioctls,
     .num_ioctls             = ARRAY_SIZE(nv_drm_ioctls),
-
+// Rel. commit "drm/prime: Unexport helpers for fd/handle conversion" (Thomas Zimmermann, 20 Jun 2023)
+// This function is no longer exported, but leaving it to NULL is equivalent
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 0)
     .prime_handle_to_fd     = drm_gem_prime_handle_to_fd,
+#endif

 #if defined(NV_DRM_DRIVER_HAS_GEM_PRIME_CALLBACKS)
     .gem_prime_export       = nv_drm_gem_prime_export,

drankinatty commented on 2023-11-02 01:55 (UTC) (edited on 2023-11-02 02:03 (UTC) by drankinatty)

Thank you @canolucas. I built nvidia-390xx-utils-390.157 incorporating the patch and the actual build went fine (under the 6.5 kernel) will have to wait until the 6.6 package moves to core. The box I have the card in is a server and it is hard to take it off-line to roll in the full core-testing update to pull in the 6.6 kernel before it is released. If I can find a dead time I'll try.

If the only change is fd/handle conversion no longer being exported, then the 6.6 kernel driver should build fine with the driver. Glad it isn't major open-heart surgery.

canolucas commented on 2023-11-01 02:48 (UTC)

Just uploaded a tentative fix for linux 6.6, however I couldn't test it yet. Please let us know if anyone has the time to test it, otherwise I'll try to test it during the weekend. https://paste.opensuse.org/pastes/d0b21ec8d3d4

drankinatty commented on 2023-10-31 07:11 (UTC) (edited on 2023-10-31 19:19 (UTC) by drankinatty)

It's that time again... The King Penguin has just release the 6.6 kernel. Time to start keeping eyes open for patches. (we could always hope it will just work as is -- but experience has shown we will need to scramble to patch when Arch provides the 6.6 update...) Any favorite places to watch?

(update: linux-6.6 just hit the Arch core-testing repo)

dhtseany commented on 2023-09-23 13:01 (UTC) (edited on 2023-09-25 12:07 (UTC) by dhtseany)

Edit: I figured out that I actually didn't have linux-headers installed, this resolved the build problem. My offer to help maintain the package remains.

Greetings, I have a Dell laptop with a Quadro 4000 / NVC0 which requires the 390xx driver that I'll be servicing for some time going forward for a friend's recording studio.

I am a package maintainer for other various things on the AUR however I haven't dealt specifically with GPU drivers before. Regardless, my skill set should serve suitably for testing and troubleshooting and I can help maintain this package.

I can see that there is presently an issue with the DKMS module which produces the following error and I'm happy to help work out the issue:

(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> ERROR: Missing lost+found kernel headers for module nvidia/390.157.
==> ERROR: Missing swapfile kernel headers for module nvidia/390.157.
==> ERROR: Missing bin kernel headers for module nvidia/390.157.
==> ERROR: Missing lib64 kernel headers for module nvidia/390.157.
==> ERROR: Missing mnt kernel headers for module nvidia/390.157.
==> ERROR: Missing run kernel headers for module nvidia/390.157.
==> ERROR: Missing dev kernel headers for module nvidia/390.157.
==> ERROR: Missing home kernel headers for module nvidia/390.157.
==> ERROR: Missing tmp kernel headers for module nvidia/390.157.
==> ERROR: Missing opt kernel headers for module nvidia/390.157.
==> ERROR: Missing root kernel headers for module nvidia/390.157.
==> ERROR: Missing lib kernel headers for module nvidia/390.157.
==> ERROR: Missing storage kernel headers for module nvidia/390.157.
==> ERROR: Missing etc kernel headers for module nvidia/390.157.
==> ERROR: Missing boot kernel headers for module nvidia/390.157.
==> ERROR: Missing sys kernel headers for module nvidia/390.157.
==> ERROR: Missing proc kernel headers for module nvidia/390.157.
==> ERROR: Missing EDITOR=nano kernel headers for module nvidia/390.157.
==> ERROR: Missing var kernel headers for module nvidia/390.157.
==> ERROR: Missing usr kernel headers for module nvidia/390.157.
==> ERROR: Missing srv kernel headers for module nvidia/390.157.
==> ERROR: Missing sbin kernel headers for module nvidia/390.157.

xiota commented on 2023-09-20 09:05 (UTC)

Please remove replaces directive. Thank you. (No need to reply via comment; AUR now sends commit notifications.)

air-g4p commented on 2023-09-15 16:57 (UTC) (edited on 2023-09-15 19:54 (UTC) by air-g4p)

@vnctdj - thanks for your effort - and I was able to test it!

The updated PKGBUILD builds, installs and operates correctly.

==> dkms install --no-depmod nvidia/390.157 -k 6.4.16-hardened1-1-hardened
==> dkms install --no-depmod nvidia/390.157 -k 6.5.3-arch1-1
==> dkms install --no-depmod nvidia/390.157 -k 6.5.3-1-ck
==> depmod 6.5.3-arch1-1
==> depmod 6.5.3-1-ck
==> depmod 6.4.16-hardened1-1-hardened

Also, thanks to all those in this community who contributed to the 6.5.x patching efforts!!

Cheers

canolucas commented on 2023-09-15 15:17 (UTC)

Just updated and rebooted to test the shorter patch from joanbrugueram, it works fine with the latest kernel. Thanks guys !