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.28
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 .. 12 13 14 15 16 17 18 19 20 21 22 .. 33 Next › Last »

drankinatty commented on 2023-09-10 04:35 (UTC) (edited on 2023-09-10 05:19 (UTC) by drankinatty)

Great! I thought I included everything from the ubuntu patch, but maybe not. I'm about to pull the upgrade and I'll test with yours.

The gitlab herecura patch worked fine. I'll have to go line-by-line and see what I missed. I pulled from the same ubuntu(debian) patch, so they should be the same. Thank you for providing the link and for your feedback.

Looking at your make.log, it appears the error is thrown from code that wasn't updated by the patch -- that tells me that one of the conditions I included did not direct the build-path through the needed changes (or the garbage collection was needed -- probably so). The incompatible pointer issues are a good indication of that. That is why I included UNTESTED with the patch - I didn't have a way to test at the time. Thank you again.

canolucas commented on 2023-09-02 19:35 (UTC) (edited on 2023-09-03 00:13 (UTC) by canolucas)

Maybe this patch works for you. https://paste.opensuse.org/pastes/c4d14a243326 I will be able to test it when I get access to the old notebook.

UPDATE: finally got access to the hardware. Its tested and working fine with the latest kernel (6.5.1). herecura repo has already been updated, here is the link: https://gitlab.com/herecura/packages/nvidia-390xx-dkms

You can use it by adding to your /etc/pacman.conf the following lines: [herecura] Server = https://repo.herecura.eu/herecura/x86_64

Thanks drankinatty for the ubuntu debdiff.

canolucas commented on 2023-09-02 17:10 (UTC) (edited on 2023-09-02 18:26 (UTC) by canolucas)

drankinatty tested the patch, but i get: ( 8/13) Install DKMS modules ==> dkms install --no-depmod nvidia/390.157 -k 6.5.1-arch1-1 Error! Bad return status for module build on kernel: 6.5.1-arch1-1 (x86_64) Consult /var/lib/dkms/nvidia/390.157/build/make.log for more information.

Here is the make.log https://paste.opensuse.org/pastes/a6e2150eb05c

in the ubuntu link i see two patches, maybe we need to include the changes of first one as well: garbage-collect-all-references-to-get_user.patch looks like it will delete some function NV_GET_USER_PAGES_REMOTE that causes the error.

https://launchpadlibrarian.net/678000161/nvidia-graphics-drivers-390_390.157-0ubuntu8.debdiff

drankinatty commented on 2023-08-30 04:40 (UTC) (edited on 2023-08-30 04:42 (UTC) by drankinatty)

NOTE: UNTESTED in dkms build, but I've prepared the patch based on https://launchpadlibrarian.net/678000161/nvidia-graphics-drivers-390_390.157-0ubuntu8.debdiff Actually, I have prepared two-versions, one with full whitespace correction (fixes tab/space variance in e-mailed copy of original patch) in kernel-6.5-full.patch and a second version correcting only the substantive additions/subtractions in kernel-6.5.patch. They were prepared with diff -uNr and -uNrb respectively. I have posted to paste.opensuse.org in:

kernel-6.5-full.patch https://paste.opensuse.org/d0d50cf18970

kernel-6.5.patch https://paste.opensuse.org/813b3de8c255

Links expire Tue 26 Sep 2023 11:36:12 PM CDT

Just add to the PKGBUILD prepare() section after the kernel-6.4.patch and you will call patch with:

patch -Np1 -i ../../kernel-6.5.patch

drankinatty commented on 2023-08-30 02:12 (UTC)

linux-6.5 is in core-testing. Anybody know if a patch will be required? It appears so. Ubuntu has the following: https://launchpadlibrarian.net/678000161/nvidia-graphics-drivers-390_390.157-0ubuntu8.debdiff We will give it a try when 6.5 is released. If anybody attempts with the kernel in core-testing, please report whether it works.

sfranchi commented on 2023-07-07 19:53 (UTC)

Thanks everyone for the help and especially @loup, @duht, @rdahlgre and @drankinatty. The patched package now works fine on my W520

air-g4p commented on 2023-07-07 19:43 (UTC)

@alufd19 - I only bring this unfortunate news to your attention out of my respect for jonathon, who I had many positive interactions with, here and on #archlinux.

Please read this: https://archlinux.org/news/in-memory-of-jonathon-fernyhough

RIP jonathon, a truly fine man...

air-g4p commented on 2023-07-07 17:12 (UTC)

@vnctdj - thank you for getting 390xx-dkms properly patched against the 6.4xxx kernels.

390.157-5 now compiles, installs and operates correctly against 6.4.2-arch1-1.

Cheers

alufd19 commented on 2023-07-07 12:58 (UTC)

Thanks jonathon (vnctdj) for error fixing by means of package nvidia-390xx-dkms 390.157-5!!! My Operating System is working properly with kernel 6.4.1-zen2-1-zen!!!

duht commented on 2023-07-07 12:44 (UTC)

@vnctdj thanks for update!
Don't worry everything works great now.