Questions tagged [opencl]

OpenCL (Open Computing Language) is a framework for writing programs that execute across heterogeneous platforms consisting of CPUs, GPUs, and other processors.

Filter by
Sorted by
Tagged with
1 vote
0 answers
85 views

beignet-opencl-icd not available in Ubuntu 22.04

I just installed a Plex Media Server on my Ubuntu 22.04 server. According to Plex's website: https://support.plex.tv/articles/hdr-to-sdr-tone-mapping/, beignet-opencl-icd is required for hardware ...
user avatar
  • 11
0 votes
0 answers
656 views

How enable OpenCL on AMD gpu Ubuntu 22.04 LTS?

When I'm not using my desktop, it mines. When I was on 20.04 LTS, I used AMD's proprietary driver to install the ROCm component of their driver only, found here: https://www.amd.com/en/support/...
user avatar
1 vote
0 answers
181 views

AMD navi and polaris GPUs coexistence - OpenCL platforms

I'm running a rig with mixed AMD Polaris and Navi GPUs in the following hardware: PRIME Z390-P motherboard intel i3 8100 CPU 8 GB RAM Ubuntu 20.04.2 kernel 5.11.0-44-generic Ubuntu detects all the ...
user avatar
0 votes
0 answers
76 views

Ubuntu 20.04 with two GPUs OpenCL issue

I have an ASUS AM4 TUF Gaming X570-Plus motherboard with AMD Ryzen 9 3900X CPU, 16GB of RAM running Ubuntu 20.04. I've had an AMD Radeon RX 6700 XT GPU installed and it all works great. I recently ...
user avatar
  • 121
0 votes
0 answers
59 views

Darktable won't start when opencl enabled

I just installed AMD driver 21.40.1 for my rx580, as the default open source driver on ubuntu (20.04) does not support opencl. Now when I start Darktable it hangs, it never opens and a darktable ...
user avatar
  • 551
0 votes
1 answer
613 views

WLS ROCm install problems: possibly no GPU devices

I've been trying to instal ROCm but when running command rocminfo I get this outcome: libkmod: ERROR ../libkmod/libkmod-module.c:1657 kmod_module_new_from_loaded: could not open /proc/modules: No such ...
user avatar
0 votes
1 answer
64 views

clinfo versus sudo clinfo

I run a program and receive an error indicating that a GPU device is not found. I guess the source of issue is below. How I can make clinfo give same result as sudo clinfo? The result of clinfo is: ...
user avatar
  • 135
0 votes
0 answers
77 views

Cannot set fan speed on RX 6700 XT on ubuntu 20.04.3 kernel 5.11 rocm 4.5

I try to set fan speed on RX 6700 XT on ubuntu 20.04.3. Currently I'm using ubuntu 20.4.3 with kernel 5.11.0-40 and try to control it using rocm 4.5 with its cli, rocm-smi -setfan, however despite it ...
user avatar
0 votes
0 answers
80 views

Bash Script to run Davinci with progl

So I got Davinci Working on Ubuntu 20.04 with my Polaris RX 580, by installing only the OpenCL component of the amdgpu-pro package and as suggested in another post, copying the libgl components of the ...
user avatar
0 votes
1 answer
332 views

Error CL_PLATFORM_NOT_FOUND_KHR in running HashCat 5.1.0

Following up from this post, I have followed these instructions, including other resources. Here is the error: dan@dans-ubuntu:~$ hashcat -I hashcat (v5.1.0) starting... clGetPlatformIDs(): ...
user avatar
2 votes
0 answers
348 views

OpenCL device not working due to faulty path

I'm on Ubuntu 20.04 and have an AMD Radeon RX 580. I installed the latest open-source drivers (amdgpu-pro-21.30-1290604-ubuntu-20.04) with ./amdgpu-install -y --opencl=rocr,legacy. Now, clinfo -l ...
user avatar
  • 121
1 vote
0 answers
28 views

Why do my NVIDIA drivers stop supporting OpenCL a few days after reinstalling?

For the longest time, I could not get NVIDIA OpenCL or CUDA to work on my Optimus enabled laptop. I finally got it working by purging all nvidia packages with sudo apt-get --purge remove '*nvidia*' ...
user avatar
  • 103
2 votes
0 answers
2k views

AMD Ryzen R7 5700G APU OpenCL on Ubuntu 20.04.3 LTS

I've just built a PC with a Ryzen R7 5700G APU, and it's working well under Ubuntu 20.04.3 except for the fact that I can't get OpenCL to work. So far I've mostly tried installing AMDGPU and AMDGPU ...
user avatar
0 votes
0 answers
167 views

Get OpenCL on AMD R9 390

I have the small problem, that whatever I'm doing I can't get OpenCL to work with my AMD R9 390 graphics card. When typing lspci -k the card shows up and uses the correct driver (amdgpu 21.30). But ...
user avatar
0 votes
1 answer
539 views

Installing Mesa OpenCL for Nvidia?

Out of curiosity, I've tried to install OpenCL on my Ubuntu 21.04 installation. I believe there may be OpenCL 1.1 support available in the open-source Nouveau video driver for Nvidia graphics cards. ...
user avatar
1 vote
0 answers
45 views

Apt-key is deprecated when installing ROCM package in 20.04 [duplicate]

Context: I am attempting the installation of ROCM 4.2 in my Ubuntu 20.04 so as to have OpenCL (amd-gpu) running in Blender. Following the guidance page item: I have attempted to delete any possible ...
user avatar
0 votes
0 answers
748 views

How to uninstall ROCM previous version and reinstall ROCM 4.2 version

My main objective is to get OpenCl installed on my Ubuntu 20.04 given that I have a AMD-Radeon GPU so that I use render on Blender. As Blender does not see OpenCL, the rendering is presently done with ...
user avatar
4 votes
1 answer
4k views

No OpenCL platform detected

Ive tried dozens of methods, driver installs, uninstalls, reboots, reloads and all with the same result "no open cl platforms detected" as per below... really about to throw the towel in on ...
user avatar
  • 61
3 votes
2 answers
4k views

OpenCL not working with RX 6700 XT

Card: RX 6700 XT Ubuntu version: 20.04.2 LTS Amdgpu version: 21.10 Problem: Running clinfo or sudo clinfo returns 1 platform, 0 devices. This problem is the same as the one mentioned here. ...
user avatar
0 votes
1 answer
915 views

How to upgrade mesa-opencl-icd

I'm using Ubuntu 20.04.1 lts (amd64). It seems that mesa 20.3 supports opencl 1.2, so Register the kisak-mesa PPA repository and I tried to install mesa 20.3. sudo add-apt-repository ppa: kisak / ...
user avatar
  • 1
4 votes
2 answers
3k views

Cannot get OpenCl to recognize AMD GPU (RX 480) after installing amdgpu-pro drivers

After installing AMD's GPU drivers here (specifically "version 20.20 for Ubuntu 20.04"), OpenCl doesn't work. To install the drivers I unarchived the tarball and ran ./amdgpu-pro-install -y -...
user avatar
0 votes
0 answers
264 views

AMD drivers dependency problems

In Ubuntu 20.04.1 LTS I am trying to install the AMD 5700xt pro drivers with OpenCL support, and now I cannot install any drivers, with this output. (the important part is line 415 and on) These are ...
user avatar
0 votes
1 answer
492 views

How to re-install / re-activate the AMD open source drivers (the ones which come with a fresh install)

Problem: I installed the ROCm drivers because I wanted to use OpenCL. But I did not remove them before upgrading those drivers. So, ever since the ROGm drivers updated automatically, they are broken. ...
user avatar
1 vote
0 answers
374 views

OpenCL support for Ryzen 3 2200G in the latest kernel in 20.04.1 LTS

Ever since the latest kernel updates in 20.04.1 LTS, the OpenCL support is lacking for my Ryzen 3 2200G Desktop. I use the OpenCL for certain applications in Bio-science applications. It was ...
user avatar
2 votes
0 answers
157 views

amd gpu installation proble

[I can't install amd gpu driver on ubnutu 20.10 (groovy gorilla) in my hp notebook. so I can not use any graphics design tools (gimp , DaVinci Rsolve 16 etc). My graphics driver model is amd R5 m330 . ...
user avatar
0 votes
0 answers
366 views

Why amdgpu-pro installs on Ubuntu 20.04.1 but not on Ubuntu Studio 20.04.1?

I tried to install amdgpu-pro on Ubuntu Studio to use Pro OpenCL (the included Open source amd OpenCl support is not good enough yet). After installation and reboot, I can see the login window, which ...
user avatar
0 votes
1 answer
118 views

Vertical stripes with Radeon 3200U

I'm getting a weird problem with a brand new Ubuntu 20.04 install. Everything works fine, except native Linux games. On Rimworld, I get a striped picture, in Stardew Valley (Steam), at best all text ...
user avatar
1 vote
0 answers
928 views

How to (properly) install AMDGPU-PRO with Southern Islands GPU?

Problem: I need to install drivers that have OpenCL support (for Tensorflow, PlaidML, etc) on my system that uses 4 Tahiti GPUs (that belong to GCN 1/Southern Islands series), and after a bit of ...
user avatar
2 votes
0 answers
772 views

Can't figure out which AMDGPU to install for Ubuntu 20.04

Please help me determine which AMDGPU - AMD graphic card to install so that it is compatible with the OpenCL drivers for use with Ubuntu 20.04. Also, please provide instructions on how to install the ...
user avatar
1 vote
0 answers
281 views

Yet another AMD GPU DKMS build error, Ubuntu 18.04 on Azure, Linux 5.3

So, I've downloaded the AMD GPU (OpenCL) drivers (after a painful awaiting) for Ubuntu 18.04 on Azure for benchmark purposes (namely, mining), using the NVv4 series VMs (virtualized AMD Radeon ...
user avatar
2 votes
1 answer
797 views

Xeon Phi and Ubuntu Server

I am looking at a surprising number of low-cost $100 Xeon Phi "cluster in a board" PCI cards on eBay. Can these be used from an Ubuntu Server host to dispatch numerical computing tasks, or ...
user avatar
  • 3,074
3 votes
2 answers
10k views

Can't load OpenCL runtime / or fails to load for xmrig

I have updated from Ubuntu 16.04 to 20.04. While doing so the uprade failed and I ended up doing a fresh install of 20.04. Fortunately, I have my home folder on another drive so that was saved. There ...
user avatar
1 vote
1 answer
8k views

Install OpenCL 2.0 driver for AMD GPU on Ubuntu 19.10? What's my options?

My main goal is to make Blender 2.82a able to detect my system's GPU then use as OpenCL compute to fasten the time in rendering. The problem seems to be my Ubuntu distribution version is too high as ...
user avatar
  • 181
0 votes
0 answers
97 views

How to install opencl on kubuntu 16?

I executed command below: apt-get -f install ocl-icd-libopencl1 But I get an error. Sorry, my language version is polish [ linux-image-generic-hwe-16.04 : Wymaga: linux-image-4.15.0-88-generic ale ...
user avatar
6 votes
2 answers
8k views

How to get OpenCL support for navi10 GPUs from AMD?

For my AMD Radeon RX 5700XT I tried amdgpu-pro drivers (v19.50) installation on modern (kernel 5.3) Ubuntu 18.04.3 as driver claims it's supported but compilation failed with C++ errors. Tried the ...
user avatar
  • 117
1 vote
1 answer
805 views

OpenCL on Radeon RX 5700XT slow

Running jobs on OpenCL in Ubuntu 18.04 is about 10x slower than running them on Windows on a Radeon RX 5700 XT. I've installed Ubuntu 18.04.3 HWE and amdgpu 19.50 with --headless and --opencl=legacy,...
user avatar
0 votes
1 answer
78 views

Where to report bugs involving opencl in ubuntu?

I assume the problem is the AMD OpenCL driver because I can duplicate the bug only on a system with AMD boards. Does not occur on NVidia systems. Looked into the problem when I found I was ...
user avatar
0 votes
1 answer
1k views

AMD FirePro AMDGPU-PRO drivers on 18.04 and OpenCL

I'm trying to run DaVinci Resolve on Ubuntu while using AMD FirePro W5500 card. DaVinci Resolve requires OpenCL to work so I installed 18.04.2 (I've got minimal installation without any updates) as ...
user avatar
1 vote
2 answers
1k views

Incomplete installation of the 'libnvidia-compute-435' package makes it unusable

I've installed NVIDIA driver version 435 using the GUI: I see now a list of packages: hekto@lynx:~$ dpkg -l|grep nvidia ii libnvidia-cfg1-435:amd64 435.21-0ubuntu0.18.04.2 ...
user avatar
  • 481
0 votes
1 answer
2k views

where to find the location of an installed package?

I ran the following and have no idea where it got installed sudo apt-get install opencl-headers I thought it went here: /usr/include but it might have gone here: /usr/include/x86_64-linux-gnu I ...
user avatar
3 votes
1 answer
2k views

Cannot get OpenCL to work with Radeon 5700XT

I'm on Ubuntu 18.04 with an AMD Radeon 5700XT graphics card. I cannot get OpenCL to work with it. I'm using the AMDGPU driver installed with the parameters --opencl=legacy,rocm and I installed libgl1-...
user avatar
4 votes
0 answers
412 views

OpenCL, gcc and 19.10

I'm trying to install OpenCL having recently upgraded to 19.10. The system gcc is 9.2.1-9ubuntu2. However: apt install mesa-opencl-icd fails because it can't install libclc-r600 or libclc-amdgcn ...
user avatar
1 vote
3 answers
2k views

How do I use opencl on blender, libreoffice, davinci but unfortunately with AMD graphics?

I want to use opencl on blender, libreoffice, and davinci but my AMD GPU prevents success. I've used Linux since 1999 (slackware) and compiled kernels back then. But now at 2019 owning an AMD ...
user avatar
1 vote
0 answers
3k views

Error "ATTENTION! No OpenCL or CUDA installation found" in Ubuntu 16.04

I want to run hashcat on Ubuntu 16.0, but it returns an error about OpenCl installation. ATTENTION! No OpenCL or CUDA installation found. The Graphic card used by system is: lspci | grep VGA 03:00.0 ...
user avatar
2 votes
0 answers
353 views

AMD OpenCL Version v.s. OpenCL C Version

[I am using ubuntu version 18.04 | amd-gpu Adrenalin 19.7.1] I was having OpenCL errors with minergate following the default legacy driver installation of AMD for an AMD RX 580:./amdgpu-pro-install --...
user avatar
  • 21
1 vote
0 answers
214 views

Getting "double precision not supported on this device" error when trying to run a program using OpenCL in ubuntu 18.04

I am trying to run a C++ program on my laptop with ubuntu 18.04, it compiles but I get an error when I try to run it in the terminal. The program uses OpenCL because I am trying to learn how to use ...
user avatar
  • 11
1 vote
1 answer
494 views

clinfo returning segmentation error

When I run clinfo, I get a seg fault. I tried reinstalling OpenCL, but it did not help. I am using Ubuntu 16.04 if it makes any difference. I also get a -1 error on clGetDeviceIDs. Platform Name ...
user avatar
0 votes
1 answer
797 views

Ubuntu 18.04 stuck at login after amdgpu install

I have a new Lenovo laptop with an AMD Radeon RX 500 graphical card. There is also an integrated Intel graphical card. I just installed the latest Ubuntu 18.04.2 LTS one week ago. I would like to ...
user avatar
  • 1
4 votes
0 answers
890 views

AMD RX 470 OpenCL not working Ubuntu Server 18.04.1 with amdgpu-pro 18.50

I have spent a lot of time trying to get OpenCL to work on my RX 470. My goal is to run this server as a Folding@Home client. I have read guides like: How do I get a Radeon RX 550 working with OpenCL ...
user avatar
0 votes
1 answer
669 views

Kubuntu 18.10 Nvidia GTX 1050 OpenCL compatibility

I recently bought a laptop with a gtx1050 in it installed Kubuntu after a lot of struggling I and a friend managed to install the nvidia-driver-415 and cuda 10. However I want to use this card with ...
user avatar