Package Details: opencl-nvidia-390xx 390.144-1

Git Clone URL: (read-only, click to copy)
Package Base: nvidia-390xx-utils
Description: OpenCL implemention for NVIDIA
Upstream URL:
Licenses: custom
Conflicts: opencl-nvidia
Provides: opencl-driver, opencl-nvidia
Submitter: Svenstaro
Maintainer: jonathon
Last Packager: jonathon
Votes: 31
Popularity: 1.98
First Submitted: 2020-03-11 17:29
Last Updated: 2021-07-20 19:01

Dependencies (2)

Required by (63)

Sources (6)

Pinned Comments

jonathon commented on 2020-10-19 12:41


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:

A binary package is also available in my kernel-lts unofficial user repository.

Latest Comments

1 2 3 4 Next › Last »

deliodc commented on 2021-08-02 01:36

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

@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.


iron_overheat commented on 2021-07-04 21:26

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/ /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

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

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

@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.

stephenboston commented on 2021-06-04 16:42

This page for nvidia 390 dkms is pointing to the repo for nvida 390 utils.

jonathon commented on 2021-05-10 16:21

I don't think that's a packaging issue (e.g. Maybe open a thread on the forum?

MartinDiehl commented on 2021-05-10 16:07

I have a problem with running an an MPI application (compiled on my computer)

An error occurred while trying to map in the address of a function.
  Function Name: cuIpcOpenMemHandle_v2
  Error string:  /usr/lib/ undefined symbol: cuIpcOpenMemHandle_v2
CUDA-aware support is disabled.

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x146a21675f7f in ???
#1  0x0 in ???

I assume it is related to the recent inclusion of (optional) CUDA support into openMPI (

On other computers, I simply get the message that CUDA support is disabled because is not found.

jonathon commented on 2021-04-29 10:20

@hute37: Not a package issue. Report to the paru maintainer.