@BlackIkeEagle, thank you for the patch! Although it's basically the same, I've included Stefan's here as the functionality test should be a little more robust.
Search Criteria
Package Details: opencl-nvidia-390xx 390.157-12
Package Actions
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: | 58 |
Popularity: | 0.99 |
First Submitted: | 2020-03-11 17:29 (UTC) |
Last Updated: | 2024-07-20 22:27 (UTC) |
Dependencies (2)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compatAUR)
- opencl-headers (opencl-headers-gitAUR) (optional) – headers necessary for OpenCL development
Required by (67)
- aftershotpro2 (requires opencl-nvidia) (optional)
- aftershotpro3 (requires opencl-nvidia) (optional)
- arrayfire-git (requires opencl-driver) (optional)
- bfgminer-git (requires opencl-nvidia) (optional)
- computecpp (requires opencl-driver)
- cpu-x-opencl (requires opencl-driver) (optional)
- cuda-10.0 (requires opencl-nvidia)
- cuda-10.2 (requires opencl-nvidia)
- cuda-11.1 (requires opencl-nvidia)
- cuda-11.7 (requires opencl-nvidia)
- cuda-8.0 (requires opencl-nvidia)
- cuda-9.0 (requires opencl-nvidia)
- cuda-9.2 (requires opencl-nvidia)
- cuda11.1 (requires opencl-nvidia)
- cuda11.4 (requires opencl-nvidia)
- cuda11.4-versioned (requires opencl-nvidia)
- cuda12.0 (requires opencl-nvidia)
- cuda12.0-versioned (requires opencl-nvidia)
- cytoscape (requires opencl-driver) (optional)
- davinci-resolve (requires opencl-driver)
- davinci-resolve-beta (requires opencl-driver)
- davinci-resolve-studio (requires opencl-driver)
- davinci-resolve-studio-beta (requires opencl-driver)
- dewobble (requires opencl-driver)
- foldingathome (requires opencl-driver) (optional)
- fusion-render-node (requires opencl-driver)
- fusion-studio (requires opencl-driver)
- gromacs (requires opencl-nvidia) (optional)
- gromacs-2020-complete (requires opencl-nvidia) (optional)
- gromacs-plumed (requires opencl-nvidia) (optional)
- gyroflow (requires opencl-driver) (optional)
- gyroflow-bin (requires opencl-driver) (optional)
- gyroflow-git (requires opencl-driver) (optional)
- khronos-ocl-icd (requires opencl-driver)
- kristforge-bin (requires opencl-driver) (optional)
- kristforge-git (requires opencl-driver) (optional)
- lc0 (requires opencl-driver) (optional)
- leela-zero (requires opencl-driver)
- leela-zero-git (requires opencl-driver)
- luxcorerender (requires opencl-driver) (optional)
- luxcorerender-bin (requires opencl-driver) (optional)
- luxcorerender-git (requires opencl-driver) (optional)
- luxmark (requires opencl-driver)
- maya (requires opencl-driver) (optional)
- mfakto (requires opencl-driver)
- mtsieve (requires opencl-driver)
- nuxhash-git (requires opencl-nvidia)
- nvidia-390xx-utils (optional)
- nvidia-510xx-utils (requires opencl-nvidia) (optional)
- nvidia-525xx-utils (requires opencl-nvidia) (optional)
- nvidia-535xx-utils (requires opencl-nvidia) (optional)
- nvidia-550xx-utils (requires opencl-nvidia) (optional)
- portwine-meta-nvidia (requires opencl-nvidia)
- python-gpuctypes (requires opencl-driver) (optional)
- python-pyfai (requires opencl-driver)
- python-silx (requires opencl-driver) (optional)
- scallion (requires opencl-nvidia) (optional)
- sempiternum (requires opencl-nvidia) (optional)
- sempiternum-git (requires opencl-nvidia) (optional)
- siftgpu (requires opencl-nvidia) (optional)
- silentarmy-nvmod-git (requires opencl-nvidia)
- slopecraft (requires opencl-nvidia) (optional)
- ugene-git (requires opencl-driver)
- viennacl (requires opencl-nvidia) (optional)
- virtualgl-git (requires opencl-driver)
- vramfs-git (requires opencl-driver)
- zivid (requires opencl-driver)
Sources (15)
- gcc-14.patch
- https://us.download.nvidia.com/XFree86/Linux-x86_64/390.157/NVIDIA-Linux-x86_64-390.157.run
- kernel-4.16+-memory-encryption.patch
- kernel-6.10.patch
- kernel-6.2.patch
- kernel-6.3.patch
- kernel-6.4.patch
- kernel-6.5.patch
- kernel-6.6.patch
- kernel-6.8.patch
- nvidia-390xx-utils.sysusers
- nvidia-390xx.rules
- nvidia-drm-outputclass.conf
- systemd-homed-override.conf
- systemd-suspend-override.conf
Latest Comments
« First ‹ Previous 1 .. 17 18 19 20 21 22 23 24 25 26 Next › Last »
jonathon commented on 2021-09-04 11:38 (UTC)
air-g4p commented on 2021-09-04 08:03 (UTC)
@BlackIkeEagle - Thank you for your great work on the 5.14 patch and the updated PKGBUILD.
Installed without error against all 4 my of kernels, which include 5.14, 5.13 and the 5.12 series.
If anyone needs to build nvidia-390xx-dkms against 5.14 kernels, you can grab everything you need at:
https://gitlab.com/herecura/packages/nvidia-390xx-dkms/-/tree/herecura/
Thanks again Ike!
BlackIkeEagle commented on 2021-08-23 19:05 (UTC)
patch for the upcoming 5.14 kernel:
https://gitlab.com/herecura/packages/nvidia-390xx-dkms/-/blob/herecura/kernel-5.14.patch
deliodc commented on 2021-08-02 01:36 (UTC)
Thanks Jonathon and collaborators, it still works (2021/08/02) !
My steps
pacman -Syyu
- ("breaks the dkms driver", with the new kernel version)
- download latest snapshot of this AUR package. Download snapshot
- extract .tar.gz package to new directory.
- go to the new directory and execute with user account
makepkg -sri
- Install de builded binary.
- reboot
- And test the new kernel version with the new driver version with
primusrun glxinfo
System info
$uname -srv
Linux 5.13.7-arch1-1 #1 SMP PREEMPT Sat, 31 Jul 2021 13:18:52 +0000
$ pacman -Qee | grep -i nvidia
lib32-nvidia-390xx-utils 390.138-2
lib32-opencl-nvidia-390xx 390.138-2
nvidia-390xx-dkms 390.144-1
nvidia-390xx-utils 390.144-1
opencl-nvidia-390xx 390.144-1
(maybe i need to update my 32bit nvidia drivers haha)
Thanks all for your work and contributions!
air-g4p commented on 2021-07-10 13:23 (UTC) (edited on 2021-07-10 13:25 (UTC) by air-g4p)
@jonathon - Confirmed today that nvidia-390xx-dkms 390.143-4 builds correctly and installs without issue against: 5.13.1-arch1-1 as well as against my various 5.12.X kernels.
Cheers!
iron_overheat commented on 2021-07-04 21:26 (UTC) (edited on 2021-07-04 21:30 (UTC) by iron_overheat)
DKMS no longer builds on 5.13.0. Tried reinstalling DKMS and nvidia-390xx-dkms itself, no luck. Warnings and errors:
[...]
/var/lib/dkms/nvidia/390.143/build/nvidia/nv-mmap.c: In function ���nv_encode_caching���:
/var/lib/dkms/nvidia/390.143/build/nvidia/nv-mmap.c:255:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
255 | if (NV_ALLOW_CACHING(memory_type))
| ^
/var/lib/dkms/nvidia/390.143/build/nvidia/nv-mmap.c:257:9: note: here
257 | default:
| ^~~~~~~
[...]
/var/lib/dkms/nvidia/390.143/build/nvidia-drm/nvidia-drm-crtc.c:188:23: error: initialization of ���int (*)(struct drm_plane *, struct drm_atomic_state *)��� from incompatible pointer type ���int (*)(struct drm_plane *, struct drm_plane_state *)��� [-Werror=incompatible-pointer-types]
188 | .atomic_check = nv_drm_plane_atomic_check,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia/390.143/build/nvidia-drm/nvidia-drm-crtc.c:188:23: note: (near initialization for ���nv_plane_helper_funcs.atomic_check���)
/var/lib/dkms/nvidia/390.143/build/nvidia-drm/nvidia-drm-crtc.c:189:23: error: initialization of ���void (*)(struct drm_plane *, struct drm_atomic_state *)��� from incompatible pointer type ���void (*)(struct drm_plane *, struct drm_plane_state *)��� [-Werror=incompatible-pointer-types]
189 | .atomic_update = nv_drm_plane_atomic_update,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia/390.143/build/nvidia-drm/nvidia-drm-crtc.c:189:23: note: (near initialization for ���nv_plane_helper_funcs.atomic_update���)
/var/lib/dkms/nvidia/390.143/build/nvidia-drm/nvidia-drm-crtc.c:190:23: error: initialization of ���void (*)(struct drm_plane *, struct drm_atomic_state *)��� from incompatible pointer type ���void (*)(struct drm_plane *, struct drm_plane_state *)��� [-Werror=incompatible-pointer-types]
190 | .atomic_disable = nv_drm_plane_atomic_disable,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia/390.143/build/nvidia-drm/nvidia-drm-crtc.c:190:23: note: (near initialization for ���nv_plane_helper_funcs.atomic_disable���)
CC [M] /var/lib/dkms/nvidia/390.143/build/nvidia-drm/nvidia-drm-gem.o
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/nvidia/390.143/build/nvidia-drm/nvidia-drm-crtc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1847: /var/lib/dkms/nvidia/390.143/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.13.0-174-tkg-cacule/build'
make: *** [Makefile:81: modules] Error 2
CyrIng commented on 2021-07-01 07:57 (UTC)
I've been crossing XID errors with screen crashes.
Rolling back to 390.143-1 (+ Linux 5.12.13) is so far stable
NullRoute commented on 2021-06-09 21:27 (UTC) (edited on 2021-06-09 21:35 (UTC) by NullRoute)
Confirmed working on Jun. 9th, 2021
- Linux 5.12.9
- Nvidia 390.143
Linux Kernel 5.12.9 installed packages:
- linux-5.12.9.arch1-1-x86_64
- linux-api-headers-5.12.3-1-any
- linux-firmware-20210511.7685cf4-1-any
- linux-headers-5.12.9.arch1-1-x86_64
Nvidia Driver 390.143 installed packages:
- nvidia-390xx-utils-390.143-3-x86_64
- nvidia-390xx-dkms-390.143-3-x86_64
- nvidia-390xx-settings-390.143-2-x86_64
- opencl-nvidia-390xx-390.143-3-x86_64
- libxnvctrl-390xx-390.143-2-x86_64
Nvidia Driver 390.143 packages not tried:
- nvidia-390xx-390.143-1-x86_64 (It's recommended to always use dkms package!)
Installation Notes:
- 1st. Backup all your old packages from /var/cache/pacman/pkg/
- 2nd. Go into TTY mode and remove all old nvidia packages.
- 3rd. Make sure your linux kernel is not ignored in /etc/pacman.conf
- 4th. Upgrade your linux kernel to latest 5.12 version.
- 5th. Install your new aur compiled nvidia driver packages.
Reboot & Enjoy! Please make sure you also report any bugs!
Thanks everyone, especially Nvidia team, package maintainer jonathon and anyone providing patches!
itsnotme commented on 2021-06-05 19:28 (UTC)
@stephenboston: That's because the three packages: nvidia-390xx-utils, opencl-nvidia-390xx, nvidia-390xx-dkms are all built from the same source and PKGBUILD file.
Pinned Comments
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?jonathon commented on 2020-10-19 12:41 (UTC) (edited on 2021-05-11 14:18 (UTC) by jonathon)
PACKAGE NEEDS LONG TERM MAINTAINER
I have adopted the 390xx packages to keep them secure. I do not run any 390xx hardware so will not notice any breakages and cannot test any changes.
Until such time as someone else steps up to maintain these packages - ideally someone who actually has 390xx hardware - I have to rely on you to tell me what changes are needed.
Don't expect a response if you post only "this doesn't work", and do not email me to complain about the package not working!
Use this forum thread for discussion: https://bbs.archlinux.org/viewtopic.php?pid=1946926
A binary package is also available in my kernel-lts unofficial user repository.