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
2 votes
1 answer
60 views

OpenCL ICD does not find radeon GPU

I have two GPUs in my laptop: integrated Radeon GPU, and discrete NVIDIA GPU, as shown by inxi: $ inxi -G Graphics: Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] driver: nvidia v: ...
Bram's user avatar
  • 2,207
0 votes
1 answer
357 views

AMD GPU Issues in Ubuntu 22.04.2 LTS: "amdgpu bonaire not supported" & "snd hda intel hsw/bdw hd audio hdmi/dp requires binding with gfx driver"

I am relatively new to Ubuntu and have encountered an issue with my AMD GPU after installing an update prompted by Ubuntu. I would greatly appreciate any assistance or guidance in resolving this ...
Hasan Riza's user avatar
0 votes
0 answers
179 views

OpenCL can't see drivers on ubuntu

I'm trying to setup opencl for C++ development in ubuntu(22.04) but when I run clinfo I'm geting the following output: root@turgut-N56VZ:/etc/OpenCL/vendors# clinfo Number of platforms ...
Turgut's user avatar
  • 111
0 votes
0 answers
397 views

AMD GPU OpenCL ROCm - rocminfo error message HSA_STATUS_ERROR_OUT_OF_RESOURCES

OS: Ubuntu 22.04.1 Ive just installed OpenCL and ROCm appears to be working and I can get some apps to render using the Graphics card. AMDGPU is installed with sudo amdgpu-install --opencl=legacy,...
Artillery's user avatar
  • 195
0 votes
0 answers
134 views

Running program with openCL on xrdp on Ubuntu 20.04 with intel i7

I'm having trouble tracking down a working answer for this question. While running xrdp and connecting to my Ubuntu machine, it is indicating that is using llvmpipe (LLVM 12.0.0) rather than the GPU ...
Cnicho35's user avatar
0 votes
1 answer
1k views

I got errors when I install drivers for opencl and Amd gpu with amdgpu-install in Ubuntu 22.04

To use Davinci Resolve 18. I have to install some drivers. My Graphic card(amd radeon-620) - AMD® Hainan / Mesa Intel® HD Graphics 620 (KBL GT2) I install amdgpu-install amdgpu-install Here's my ...
Sithu Soe's user avatar
2 votes
0 answers
2k 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 ...
Daniel's user avatar
  • 21
8 votes
2 answers
16k 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/...
jerome1232's user avatar
1 vote
0 answers
408 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 ...
Marco Cruz's user avatar
0 votes
0 answers
134 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 ...
jwh20's user avatar
  • 121
2 votes
1 answer
4k 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 ...
Fernanda Ram's user avatar
0 votes
1 answer
444 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: ...
Admia's user avatar
  • 145
0 votes
0 answers
300 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 ...
Ahora Soy Un Cuervo's user avatar
0 votes
1 answer
971 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(): ...
mobimobi's user avatar
2 votes
0 answers
554 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 ...
Vandenman's user avatar
  • 121
1 vote
0 answers
51 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*' ...
swaplink's user avatar
  • 103
3 votes
0 answers
3k 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 ...
L. Thane's user avatar
0 votes
1 answer
1k 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. ...
Tressie's user avatar
1 vote
0 answers
72 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 ...
Yann Monnier's user avatar
0 votes
0 answers
2k 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 ...
Yann Monnier's user avatar
4 votes
1 answer
7k 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 ...
Owl182's user avatar
  • 59
3 votes
2 answers
6k 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. ...
TurboSlayer's user avatar
3 votes
2 answers
2k 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 / ...
sunao's user avatar
  • 31
4 votes
2 answers
4k 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 -...
OrangePeeler's user avatar
0 votes
0 answers
288 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 ...
valkyrie_pilot's user avatar
1 vote
1 answer
810 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. ...
Letatcest's user avatar
1 vote
0 answers
494 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 ...
Suresh Shettigar's user avatar
2 votes
0 answers
175 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 . ...
Tube Stack's user avatar
0 votes
0 answers
408 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 ...
tecnicasopr's user avatar
0 votes
1 answer
149 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 ...
Philippe Laurent's user avatar
1 vote
0 answers
1k 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 ...
Jørgen Tau's user avatar
2 votes
0 answers
872 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 ...
ubunt guy's user avatar
1 vote
0 answers
331 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 ...
Amitie 10g's user avatar
2 votes
1 answer
1k 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 ...
0xF2's user avatar
  • 3,154
3 votes
2 answers
13k 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 ...
Joe Molnar's user avatar
2 votes
1 answer
9k 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 ...
haxpor's user avatar
  • 209
0 votes
0 answers
136 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 ...
AmnAmios's 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 ...
Slaus's user avatar
  • 137
1 vote
1 answer
885 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,...
Josh Fuhs's user avatar
0 votes
1 answer
84 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 ...
Joseph Stateson's user avatar
0 votes
1 answer
2k 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 ...
Norbert G's user avatar
1 vote
2 answers
2k 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 ...
HEKTO's user avatar
  • 521
0 votes
1 answer
4k 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 ...
Joseph Stateson's 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-...
user845238's user avatar
4 votes
0 answers
424 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 ...
Paul Leyland's 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 ...
digitalcrow's user avatar
2 votes
0 answers
4k 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 ...
abbasi_ahsan's user avatar
2 votes
0 answers
455 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 --...
Is_Show's user avatar
  • 21
1 vote
0 answers
367 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 ...
Shady's user avatar
  • 11
1 vote
1 answer
603 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 ...
my_cse lab's user avatar