You are not logged in.

#1 2025-12-22 06:18:36

thedarkula
Member
Registered: 2025-12-22
Posts: 2

Latest Update Broke OpenCL

I have an nvidia card, and I just did a full system upgrade.

Normal nvidia graphics work just fine, but openCL is broken.

Running

clinfo

shows this:

Number of platforms                               0

Also, the output of nvidia-smi shows that everything is fine:

Mon Dec 22 02:43:26 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 590.48.01              Driver Version: 590.48.01      CUDA Version: 13.1     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 2070 ...    Off |   00000000:01:00.0  On |                  N/A |
| N/A   66C    P8             13W /   80W |     678MiB /   8192MiB |     21%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            1030      G   /usr/lib/Xorg                           458MiB |
|    0   N/A  N/A            2553      G   easyeffects                               1MiB |
+-----------------------------------------------------------------------------------------+

Relevant packages that I have installed:

core/linux-firmware-nvidia 20251125-2 [installed]
extra/cuda 13.0.2-3 [installed]
extra/nvidia-open-dkms 590.48.01-1 [installed]
extra/nvidia-settings 590.48.01-1 [installed]
extra/nvidia-utils 590.48.01-1 [installed]
extra/opencl-nvidia 590.48.01-1 [installed]
extra/ocl-icd 2.3.4-1 [installed]

I also tried this:

ocl-icd-choose nvidia.icd clinfo
Number of platforms                               0
ocl-icd-choose rusticl.icd clinfo
pci id for fd 3: 10de:1f14, driver (null)
pci id for fd 4: 10de:1f14, driver (null)
Number of platforms                               1
  Platform Name                                   rusticl
  Platform Vendor                                 Mesa/X.org
  Platform Version                                OpenCL 3.0 
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions with Version                cl_khr_icd                                                       0x800000 (2.0.0)
  Platform Numeric Version                        0xc00000 (3.0.0)
  Platform Extensions function suffix             MESA
  Platform Host timer resolution                  1ns

  Platform Name                                   rusticl
Number of devices                                 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No platform
  clCreateContext(NULL, ...) [default]            No platform
  clCreateContext(NULL, ...) [other]              <error: no devices in non-default plaforms>
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No devices found in platform

Offline

#2 2025-12-22 07:06:05

thedarkula
Member
Registered: 2025-12-22
Posts: 2

Re: Latest Update Broke OpenCL

I can confirm that downgrading to the 580 version from the AUR functions properly.

From what I can tell, my RTX 2070 should be supported from the latest drivers.

Is this a known bug?

Offline

#3 2025-12-22 10:15:09

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,526

Re: Latest Update Broke OpenCL

Check the system journal and lsmod and see whether nvidia_uvm loads.
Your GPU is supported by nvidia-open but I start to get a feeling that maybe CUDA isn't …

x-ref, https://bbs.archlinux.org/viewtopic.php?id=311138

Offline

#4 2025-12-23 20:45:55

normie5
Member
Registered: 2025-08-21
Posts: 7

Re: Latest Update Broke OpenCL

I just updated the system and ended up with 1024x768 as only available resolution. During update I was asked to migrate (I guess?) from nvidia-dkms to nvidia-open-dkms and I agreed. nvidia 1060

EDIT: Maybe that happened cause nvidia-580xx was dropped to AUR? and my card doesn't support 590? But I didn't get 580 update option through yay..

Last edited by normie5 (2025-12-23 21:01:16)

Offline

#5 2025-12-23 21:26:18

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,526

Re: Latest Update Broke OpenCL

EDIT: Maybe that happened cause nvidia-580xx was dropped to AUR?

Yes.

But I didn't get 580 update option through yay..

It's not an "update", you've to switch the package.

Offline

#6 2025-12-23 21:52:20

normie5
Member
Registered: 2025-08-21
Posts: 7

Re: Latest Update Broke OpenCL

Got it, switched to AUR, all good. Dislike nvidia drivers and dislike nvidia drivers from AUR. haha

Thank you.

Offline

Board footer

Powered by FluxBB