Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
./amdgpu-pro-install --opencl=legacy,pal
sudo apt list --installed | grep icd
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
ocl-icd-libopencl1/bionic,now 2.2.11-1ubuntu1 amd64 [installed,automatic]
opencl-amdgpu-pro-icd/unknown,now 18.50-708488 amd64 [installed]
opencl-orca-amdgpu-pro-icd/unknown,now 18.50-708488 amd64 [installed]
/opt/amdgpu-pro/bin/clinfo
ERROR: clGetPlatformIDs(-1001)
ls -al /etc/OpenCL/vendors/
total 16
drwxr-xr-x 2 root root 4096 Jan 1 18:57 .
drwxr-xr-x 3 root root 4096 Jan 1 18:48 ..
-rw-r--r-- 1 root root 15 Dec 11 04:14 amdocl64.icd
-rw-r--r-- 1 root root 20 Dec 11 04:14 amdocl-orca64.icd
sudo lshw -c video
[sudo] password for ubuntu:
*-display
description: VGA compatible controller
product: Ellesmere [Radeon RX 470/480]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:09:00.0
version: e7
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=amdgpu latency=0
resources: irq:67 memory:e0000000-efffffff memory:f0000000-f01fffff ioport:e000(size=256) memory:fe800000-fe83ffff memory:c0000-dffff
glxinfo | grep "OpenGL version"
Error: unable to open display
dpkg -l amdgpu-pro
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===========================================-==========================-==========================-===========================================================================================
ii amdgpu-pro 18.50-708488 amd64 Meta package to install amdgpu Pro components.
amdgpu-pro-uninstall
dpkg -r ocl-icd-libopencl1:amd64
dpkg: error: requested operation requires superuser privilege
ubuntu@ubuntu:~/beam-install/amdgpu-pro-18.30-641594$ sudo dpkg -r ocl-icd-libopencl1:amd64
dpkg: dependency problems prevent removal of ocl-icd-libopencl1:amd64:
libhwloc-plugins depends on ocl-icd-libopencl1 | libopencl1; however:
Package ocl-icd-libopencl1:amd64 is to be removed.
Package libopencl1 is not installed.
Package ocl-icd-libopencl1:amd64 which provides libopencl1 is to be removed.
libhwloc-plugins depends on ocl-icd-libopencl1 (>= 1.0) | libopencl-1.1-1; however:
Package ocl-icd-libopencl1:amd64 is to be removed.
Package libopencl-1.1-1 is not installed.
Package ocl-icd-libopencl1:amd64 which provides libopencl-1.1-1 is to be removed.
libhwloc-plugins depends on ocl-icd-libopencl1 | libopencl1; however:
Package ocl-icd-libopencl1:amd64 is to be removed.
Package libopencl1 is not installed.
Package ocl-icd-libopencl1:amd64 which provides libopencl1 is to be removed.
libhwloc-plugins depends on ocl-icd-libopencl1 (>= 1.0) | libopencl-1.1-1; however:
Package ocl-icd-libopencl1:amd64 is to be removed.
Package libopencl-1.1-1 is not installed.
Package ocl-icd-libopencl1:amd64 which provides libopencl-1.1-1 is to be removed.
clinfo depends on ocl-icd-libopencl1 | libopencl1; however:
Package ocl-icd-libopencl1:amd64 is to be removed.
Package libopencl1 is not installed.
Package ocl-icd-libopencl1:amd64 which provides libopencl1 is to be removed.
clinfo depends on ocl-icd-libopencl1 (>= 1.0) | libopencl-1.1-1; however:
Package ocl-icd-libopencl1:amd64 is to be removed.
Package libopencl-1.1-1 is not installed.
Package ocl-icd-libopencl1:amd64 which provides libopencl-1.1-1 is to be removed.
clinfo depends on ocl-icd-libopencl1 | libopencl1; however:
Package ocl-icd-libopencl1:amd64 is to be removed.
Package libopencl1 is not installed.
Package ocl-icd-libopencl1:amd64 which provides libopencl1 is to be removed.
clinfo depends on ocl-icd-libopencl1 (>= 1.0) | libopencl-1.1-1; however:
Package ocl-icd-libopencl1:amd64 is to be removed.
Package libopencl-1.1-1 is not installed.
Package ocl-icd-libopencl1:amd64 which provides libopencl-1.1-1 is to be removed.
libhwloc-plugins depends on ocl-icd-libopencl1 | libopencl1; however:
Package ocl-icd-libopencl1:amd64 is to be removed.
Package libopencl1 is not installed.
Package ocl-icd-libopencl1:amd64 which provides libopencl1 is to be removed.
libhwloc-plugins depends on ocl-icd-libopencl1 (>= 1.0) | libopencl-1.1-1; however:
Package ocl-icd-libopencl1:amd64 is to be removed.
Package libopencl-1.1-1 is not installed.
Package ocl-icd-libopencl1:amd64 which provides libopencl-1.1-1 is to be removed.
clinfo depends on ocl-icd-libopencl1 | libopencl1; however:
Package ocl-icd-libopencl1:amd64 is to be removed.
Package libopencl1 is not installed.
Package ocl-icd-libopencl1:amd64 which provides libopencl1 is to be removed.
clinfo depends on ocl-icd-libopencl1 (>= 1.0) | libopencl-1.1-1; however:
Package ocl-icd-libopencl1:amd64 is to be removed.
Package libopencl-1.1-1 is not installed.
Package ocl-icd-libopencl1:amd64 which provides libopencl-1.1-1 is to be removed.
libhwloc-plugins depends on ocl-icd-libopencl1 | libopencl1; however:
Package ocl-icd-libopencl1:amd64 is to be removed.
Package libopencl1 is not installed.
Package ocl-icd-libopencl1:amd64 which provides libopencl1 is to be removed.
libhwloc-plugins depends on ocl-icd-libopencl1 (>= 1.0) | libopencl-1.1-1; however:
Package ocl-icd-libopencl1:amd64 is to be removed.
Package libopencl-1.1-1 is not installed.
Package ocl-icd-libopencl1:amd64 which provides libopencl-1.1-1 is to be removed.
clinfo depends on ocl-icd-libopencl1 | libopencl1; however:
Package ocl-icd-libopencl1:amd64 is to be removed.
Package libopencl1 is not installed.
Package ocl-icd-libopencl1:amd64 which provides libopencl1 is to be removed.
clinfo depends on ocl-icd-libopencl1 (>= 1.0) | libopencl-1.1-1; however:
Package ocl-icd-libopencl1:amd64 is to be removed.
Package libopencl-1.1-1 is not installed.
Package ocl-icd-libopencl1:amd64 which provides libopencl-1.1-1 is to be removed.
sudo dpkg --get-selections |grep opencl
ocl-icd-libopencl1:amd64 deinstall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.