No OpenCL library found, Mint Linux on AMD CPU/GPU.

Skip Da Shu
Skip Da Shu
Joined: 18 Jan 05
Posts: 151
Credit: 1042219431
RAC: 719323

Keith Myers wrote: He asked

Keith Myers wrote:

He asked you to scrub Mesa completely.  So why did you install it again?

Mesa drivers do not work.  They are insufficient for crunching this project.

Use only the AMDGPU-PRO drivers and only use this command for installation.

Quote:

sudo amdgpu-install -y --usecase=opencl --opencl=legacy

I did... and tried the AMDGPU-PRO install twice more with different versions (or at least I think I did)... scrubbing it after each.

"I will remove Mesa and tackle it again tomorrow."

mountkidd
mountkidd
Joined: 14 Jun 12
Posts: 176
Credit: 12575222555
RAC: 8025096

Mesa pieces other than opencl

Mesa pieces other than opencl is probably ok.  You can uninstall mesa opencl or just disable it by removing mesa.icd from /etc/OpenCL/vendors/.  To uninstall dpkg -l | grep -i opencl and you will probably see something named mesa-opencl-icd.  You can then use sudo dpkg -P mesa-opencl-icd (or whatever the correct named is) followed by sudo apt autoremove and a reboot.

Your Mint install has you as Focal, not Jammy so get the right amdgpu bundle for that.  Pkg should be: https://repo.radeon.com/amdgpu-install/22.40.3/ubuntu/focal/amdgpu-install_5.4.50403-1_all.deb

Install (as before) with: sudo amdgpu-install -y --usecase=opencl --opencl=legacy  Check /etc/OpenCL/vendors and you should see a file named something like amdocl64.icd with contents that point to the correct amd lib for opencl, libamdocl64.so.

*** corrected amd icd file/lib names

Skip Da Shu
Skip Da Shu
Joined: 18 Jan 05
Posts: 151
Credit: 1042219431
RAC: 719323

</p> <p>$ dpkg -l | grep -i

</p>

<p>$ dpkg -l | grep -i opencl<br />
ii  boinc-client-opencl                        7.20.5+dfsg+202212021500~ubuntu20.04.1 amd64        metapackage for AMD/ATI OpenCL-savvy BOINC client and manager<br />
ii  clinfo                                     2.2.18.04.06-1                         amd64        Query OpenCL system information<br />
ii  libclc-12                                  1:12.0.0-3ubuntu1~20.04.5              all          OpenCL C language implementation - platform support<br />
ii  libclc-12-dev                              1:12.0.0-3ubuntu1~20.04.5              all          OpenCL C language implementation - development files<br />
ii  mesa-opencl-icd:amd64                      21.2.6-0ubuntu0.1~20.04.2              amd64        free implementation of the OpenCL API -- ICD runtime<br />
ii  ocl-icd-libopencl1:amd64                   2.2.11-1ubuntu1                        amd64        Generic OpenCL ICD Loader<br />
ii  ocl-icd-opencl-dev:amd64                   2.2.11-1ubuntu1                        amd64        OpenCL development files<br />
ii  opencl-c-headers                           2.2~2019.08.06-g0d5f18c-1              all          OpenCL (Open Computing Language) C header files</p>

<p> </p>

<p>$ sudo dpkg -P mesa-opencl-icd<br />
[sudo] password for skip:       <br />
(Reading database ... 321867 files and directories currently installed.)<br />
Removing mesa-opencl-icd:amd64 (21.2.6-0ubuntu0.1~20.04.2) ...<br />
Purging configuration files for mesa-opencl-icd:amd64 (21.2.6-0ubuntu0.1~20.04.2) ...<br />
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...</p>

<p> </p>

<p>$ sudo apt autoremove<br />
Reading package lists... Done<br />
Building dependency tree       <br />
Reading state information... Done<br />
The following packages will be REMOVED:<br />
  libclang-cpp12<br />
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.<br />
After this operation, 46.4 MB disk space will be freed.<br />
Do you want to continue? [Y/n]<br />
(Reading database ... 321848 files and directories currently installed.)<br />
Removing libclang-cpp12 (1:12.0.0-3ubuntu1~20.04.5) ...<br />
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...</p>

<p>

Mesa file in /etc/OpenCL/Vendors is gone.  Mesa-opencl-icd does NOT show as installed in Software Manager.

Unless there are objections I'm gonna call this clean and go get some coffee.

mountkidd
mountkidd
Joined: 14 Jun 12
Posts: 176
Credit: 12575222555
RAC: 8025096

Enjoy the coffee, you've

Enjoy the coffee, you've earned it.  You can do another

dpkg -l | grep -i opencl

just to make sure mesa-opencl is gone...

Skip Da Shu
Skip Da Shu
Joined: 18 Jan 05
Posts: 151
Credit: 1042219431
RAC: 719323

mountkidd wrote: Enjoy the

mountkidd wrote:

Enjoy the coffee, you've earned it.  You can do another

dpkg -l | grep -i opencl

just to make sure mesa-opencl is gone...

 

I had just downloaded the package that you linked to and ran it to get the installer:

</p>

<p>~/Downloads$ sudo apt-get install ./amdgpu-install_5.4.50403-1_all.deb<br />
[sudo] password for skip:       <br />
Reading package lists... Done<br />
Building dependency tree       <br />
Reading state information... Done<br />
Note, selecting 'amdgpu-install' instead of './amdgpu-install_5.4.50403-1_all.deb'<br />
The following NEW packages will be installed:<br />
  amdgpu-install<br />
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 0 B/14.6 kB of archives.<br />
After this operation, 58.4 kB of additional disk space will be used.<br />
Get:1 /home/skip/Downloads/amdgpu-install_5.4.50403-1_all.deb amdgpu-install all 5.4.50403-1538762.20.04 [14.6 kB]<br />
Selecting previously unselected package amdgpu-install.<br />
(Reading database ... 321842 files and directories currently installed.)<br />
Preparing to unpack .../amdgpu-install_5.4.50403-1_all.deb ...<br />
Unpacking amdgpu-install (5.4.50403-1538762.20.04) ...<br />
Setting up amdgpu-install (5.4.50403-1538762.20.04) ...</p>

<p>

 

but opened up a 2nd terminal and...

</p>

<p>$ dpkg -l | grep -i opencl<br />
ii  boinc-client-opencl                        7.20.5+dfsg+202212021500~ubuntu20.04.1 amd64        metapackage for AMD/ATI OpenCL-savvy BOINC client and manager<br />
ii  clinfo                                     2.2.18.04.06-1                         amd64        Query OpenCL system information<br />
ii  libclc-12                                  1:12.0.0-3ubuntu1~20.04.5              all          OpenCL C language implementation - platform support<br />
ii  libclc-12-dev                              1:12.0.0-3ubuntu1~20.04.5              all          OpenCL C language implementation - development files<br />
ii  ocl-icd-libopencl1:amd64                   2.2.11-1ubuntu1                        amd64        Generic OpenCL ICD Loader<br />
ii  ocl-icd-opencl-dev:amd64                   2.2.11-1ubuntu1                        amd64        OpenCL development files<br />
ii  opencl-c-headers                           2.2~2019.08.06-g0d5f18c-1              all          OpenCL (Open Computing Language) C header files</p>

<p>

R we good?

 

mountkidd
mountkidd
Joined: 14 Jun 12
Posts: 176
Credit: 12575222555
RAC: 8025096

Skip Da Shu wrote: R we

Skip Da Shu wrote:

R we good?

We're good! 

Skip Da Shu
Skip Da Shu
Joined: 18 Jan 05
Posts: 151
Credit: 1042219431
RAC: 719323

:-( </p> <p>$ sudo

:-(

</p>

<p>$ sudo amdgpu-install -y --usecase=opencl --opencl=legacy<br />
[sudo] password for skip:       <br />
Ign:1 http://packages.linuxmint.com una InRelease<br />
Hit:2 http://mirror.us-tx.kamatera.com/ubuntu focal InRelease                                        <br />
Hit:3 http://packages.linuxmint.com una Release                                                      <br />
Hit:4 http://mirror.us-tx.kamatera.com/ubuntu focal-updates InRelease                                <br />
Hit:5 http://mirror.us-tx.kamatera.com/ubuntu focal-backports InRelease                              <br />
Get:7 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]                            <br />
Hit:8 http://archive.canonical.com/ubuntu focal InRelease                                            <br />
Hit:9 http://ppa.launchpad.net/costamagnagianfranco/boinc/ubuntu focal InRelease                     <br />
Hit:10 https://repo.radeon.com/amdgpu/5.4.3/ubuntu focal InRelease                                   <br />
Hit:11 https://repo.radeon.com/rocm/apt/5.4.3 focal InRelease                               <br />
Ign:12 http://cvmrepo.s3.cern.ch/cvmrepo/apt focal-prod InRelease                             <br />
Hit:13 http://cvmrepo.s3.cern.ch/cvmrepo/apt focal-prod Release<br />
Fetched 114 kB in 1s (93.5 kB/s)<br />
Reading package lists... Done<br />
Reading package lists... Done<br />
Building dependency tree       <br />
Reading state information... Done<br />
E: Unable to locate package clinfo-amdgpu-pro<br />
E: Unable to locate package opencl-legacy-amdgpu-pro-icd</p>

<p>

 

mountkidd
mountkidd
Joined: 14 Jun 12
Posts: 176
Credit: 12575222555
RAC: 8025096

I just checked back through

I just checked back through my install logs and found the same 2 "unable to locate pacjage's" with my Dec22 opencl legacy install. 

Add --accept-eula to the amdgpu-install command line.  There are some parts of the package that are proprietary and AMD have chosen not to tell us directly...  You have to wade through their installation notes and in between a few lines.  Here's a link to the relevant part.

Gary Roberts
Gary Roberts
Moderator
Joined: 9 Feb 05
Posts: 5872
Credit: 117584306513
RAC: 35202614

Disclaimer:  I know

Disclaimer:  I know absolutely nothing about either Ubuntu or Mint, so take the following with a huge grain of salt.

Firstly, version 5.4.3 stuff, as shown in your logs above, is quite recent.  You are using an older version of Mint (20.3) so that might be part of the problem.

Secondly, the error messages show 2 missing pkgs.  Perhaps the install procedure you are using is assuming that Mesa provides those bits.  I agree with Mointkidd that Mesa's OpenCL stuff will not work so you need to find those bits from elsewhere.

Almost 3 days ago in the other thread you posted in, I gave you a thread from the Mint forums where this same type of problem had a solution.  Did you actually check that out?

Here is a quote from one of the messages in that thread:-

Quote:
I tried BCMM's script. It worked: clinfo shows my GPU device, and Luxmark and Darktable run fine. However, I cannot get DaVinci Resolve to launch, which is my primary use case.

The GPU being used there is the same type as yours.  DaVinci Resolve not working is NOT a problem for running BOINC stuff.  The link in that quote points to a lot of information about what might work for you.  I did't go into it in any detail but I did see the use of amdgpu-pro-20.40-1147286-ubuntu-20.04.tar.xz.  That is certainly the version of amdgpu-pro that should suit your Mint version.  20.40 is exactly what I currently use for providing OpenCL on my distro.  It should be fine for you.

Cheers,
Gary.

Skip Da Shu
Skip Da Shu
Joined: 18 Jan 05
Posts: 151
Credit: 1042219431
RAC: 719323

mountkidd wrote: I just

mountkidd wrote:

I just checked back through my install logs and found the same 2 "unable to locate pacjage's" with my Dec22 opencl legacy install. 

Add --accept-eula to the amdgpu-install command line.  There are some parts of the package that are proprietary and AMD have chosen not to tell us directly...  You have to wade through their installation notes and in between a few lines.  Here's a link to the relevant part.

That was it!!! 

Platform Version                                OpenCL 2.1 AMD-APP (3380.4)

This looks good to me... what'cha think?

</p>

<p>$sudo amdgpu-install -y --usecase=opencl --opencl=legacy --accept-eula<br />
[sudo] password for skip:       <br />
Hit:1 http://mirror.us-tx.kamatera.com/ubuntu focal InRelease<br />
Get:2 http://mirror.us-tx.kamatera.com/ubuntu focal-updates InRelease [114 kB]<br />
Get:3 http://mirror.us-tx.kamatera.com/ubuntu focal-backports InRelease [108 kB]<br />
Get:4 http://mirror.us-tx.kamatera.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [275 kB]<br />
Ign:5 http://packages.linuxmint.com una InRelease                              <br />
Hit:6 http://archive.canonical.com/ubuntu focal InRelease                      <br />
Get:7 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]      <br />
Hit:8 http://ppa.launchpad.net/costamagnagianfranco/boinc/ubuntu focal InRelease<br />
Hit:9 https://repo.radeon.com/amdgpu/5.4.3/ubuntu focal InRelease              <br />
Hit:10 http://packages.linuxmint.com una Release                               <br />
Hit:11 https://repo.radeon.com/rocm/apt/5.4.3 focal InRelease                  <br />
Get:12 http://mirror.us-tx.kamatera.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [409 kB]<br />
Get:14 https://repo.radeon.com/amdgpu/5.4.3/ubuntu focal/proprietary amd64 Packages [3,675 B]<br />
Get:15 https://repo.radeon.com/amdgpu/5.4.3/ubuntu focal/proprietary i386 Packages [2,732 B]<br />
Get:16 http://mirror.us-tx.kamatera.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [944 B]<br />
Get:17 http://mirror.us-tx.kamatera.com/ubuntu focal-backports/main amd64 DEP-11 Metadata [7,984 B]<br />
Get:18 http://mirror.us-tx.kamatera.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [30.5 kB]<br />
Ign:19 http://cvmrepo.s3.cern.ch/cvmrepo/apt focal-prod InRelease              <br />
Hit:20 http://cvmrepo.s3.cern.ch/cvmrepo/apt focal-prod Release<br />
Fetched 1,066 kB in 2s (461 kB/s)<br />
Reading package lists... Done<br />
Hit:1 http://mirror.us-tx.kamatera.com/ubuntu focal InRelease<br />
Hit:2 http://mirror.us-tx.kamatera.com/ubuntu focal-updates InRelease          <br />
Ign:3 http://packages.linuxmint.com una InRelease                              <br />
Hit:4 http://mirror.us-tx.kamatera.com/ubuntu focal-backports InRelease        <br />
Hit:5 http://packages.linuxmint.com una Release                                <br />
Hit:6 https://repo.radeon.com/amdgpu/5.4.3/ubuntu focal InRelease              <br />
Hit:7 https://repo.radeon.com/rocm/apt/5.4.3 focal InRelease                   <br />
Hit:8 http://ppa.launchpad.net/costamagnagianfranco/boinc/ubuntu focal InRelease<br />
Hit:9 http://archive.canonical.com/ubuntu focal InRelease           <br />
Get:10 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]<br />
Ign:12 http://cvmrepo.s3.cern.ch/cvmrepo/apt focal-prod InRelease              <br />
Hit:13 http://cvmrepo.s3.cern.ch/cvmrepo/apt focal-prod Release<br />
Fetched 114 kB in 1s (94.0 kB/s)<br />
Reading package lists... Done<br />
Reading package lists... Done<br />
Building dependency tree       <br />
Reading state information... Done<br />
linux-headers-5.4.0-144-generic is already the newest version (5.4.0-144.161).<br />
The following additional packages will be installed:<br />
  amdgpu-core amdgpu-dkms-firmware amdgpu-pro-core autoconf automake<br />
  autotools-dev libdrm-amdgpu-amdgpu1 libdrm-amdgpu-common libdrm2-amdgpu<br />
  ocl-icd-libopencl1-amdgpu-pro<br />
Suggested packages:<br />
  autoconf-archive gnu-standards autoconf-doc libtool<br />
The following NEW packages will be installed:<br />
  amdgpu-core amdgpu-dkms amdgpu-dkms-firmware amdgpu-pro-core autoconf<br />
  automake autotools-dev clinfo-amdgpu-pro libdrm-amdgpu-amdgpu1<br />
  libdrm-amdgpu-common libdrm2-amdgpu ocl-icd-libopencl1-amdgpu-pro<br />
  opencl-legacy-amdgpu-pro-icd<br />
0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 44.8 MB of archives.<br />
After this operation, 599 MB of additional disk space will be used.<br />
Get:1 http://mirror.us-tx.kamatera.com/ubuntu focal/main amd64 autoconf all 2.69-11.1 [321 kB]<br />
Get:2 https://repo.radeon.com/amdgpu/5.4.3/ubuntu focal/main amd64 amdgpu-core all 1:5.4.50403-1538762.20.04 [2,224 B]<br />
Get:3 http://mirror.us-tx.kamatera.com/ubuntu focal/main amd64 autotools-dev all 20180224.1 [39.6 kB]<br />
Get:4 http://mirror.us-tx.kamatera.com/ubuntu focal/main amd64 automake all 1:1.16.1-4ubuntu6 [522 kB]<br />
Get:5 https://repo.radeon.com/amdgpu/5.4.3/ubuntu focal/main amd64 amdgpu-dkms-firmware all 1:5.18.13.50403-1538762.20.04 [11.1 MB]<br />
Get:6 https://repo.radeon.com/amdgpu/5.4.3/ubuntu focal/main amd64 amdgpu-dkms all 1:5.18.13.50403-1538762.20.04 [9,838 kB]<br />
Get:7 https://repo.radeon.com/amdgpu/5.4.3/ubuntu focal/proprietary amd64 amdgpu-pro-core all 22.40-1538782.20.04 [6,240 B]<br />
Get:8 https://repo.radeon.com/amdgpu/5.4.3/ubuntu focal/proprietary amd64 ocl-icd-libopencl1-amdgpu-pro amd64 22.40-1538782.20.04 [14.5 kB]<br />
Get:9 https://repo.radeon.com/amdgpu/5.4.3/ubuntu focal/proprietary amd64 clinfo-amdgpu-pro amd64 22.40-1538782.20.04 [31.5 kB]<br />
Get:10 https://repo.radeon.com/amdgpu/5.4.3/ubuntu focal/main amd64 libdrm2-amdgpu amd64 1:2.4.113.50403-1538762.20.04 [36.2 kB]<br />
Get:11 https://repo.radeon.com/amdgpu/5.4.3/ubuntu focal/main amd64 libdrm-amdgpu-common all 1.0.0.50403-1538762.20.04 [5,004 B]<br />
Get:12 https://repo.radeon.com/amdgpu/5.4.3/ubuntu focal/main amd64 libdrm-amdgpu-amdgpu1 amd64 1:2.4.113.50403-1538762.20.04 [21.0 kB]<br />
Get:13 https://repo.radeon.com/amdgpu/5.4.3/ubuntu focal/proprietary amd64 opencl-legacy-amdgpu-pro-icd amd64 22.40-1538782.20.04 [22.8 MB]<br />
Fetched 44.8 MB in 38s (1,168 kB/s)                                            <br />
Selecting previously unselected package amdgpu-core.<br />
(Reading database ... 321852 files and directories currently installed.)<br />
Preparing to unpack .../00-amdgpu-core_1%3a5.4.50403-1538762.20.04_all.deb ...<br />
Unpacking amdgpu-core (1:5.4.50403-1538762.20.04) ...<br />
Selecting previously unselected package autoconf.<br />
Preparing to unpack .../01-autoconf_2.69-11.1_all.deb ...<br />
Unpacking autoconf (2.69-11.1) ...<br />
Selecting previously unselected package autotools-dev.<br />
Preparing to unpack .../02-autotools-dev_20180224.1_all.deb ...<br />
Unpacking autotools-dev (20180224.1) ...<br />
Selecting previously unselected package automake.<br />
Preparing to unpack .../03-automake_1%3a1.16.1-4ubuntu6_all.deb ...<br />
Unpacking automake (1:1.16.1-4ubuntu6) ...<br />
Selecting previously unselected package amdgpu-dkms-firmware.<br />
Preparing to unpack .../04-amdgpu-dkms-firmware_1%3a5.18.13.50403-1538762.20.04_all.deb ...<br />
Unpacking amdgpu-dkms-firmware (1:5.18.13.50403-1538762.20.04) ...<br />
Selecting previously unselected package amdgpu-dkms.<br />
Preparing to unpack .../05-amdgpu-dkms_1%3a5.18.13.50403-1538762.20.04_all.deb ...<br />
Unpacking amdgpu-dkms (1:5.18.13.50403-1538762.20.04) ...<br />
Selecting previously unselected package amdgpu-pro-core.<br />
Preparing to unpack .../06-amdgpu-pro-core_22.40-1538782.20.04_all.deb ...<br />
Unpacking amdgpu-pro-core (22.40-1538782.20.04) ...<br />
Selecting previously unselected package ocl-icd-libopencl1-amdgpu-pro:amd64.<br />
Preparing to unpack .../07-ocl-icd-libopencl1-amdgpu-pro_22.40-1538782.20.04_amd64.deb ...<br />
Unpacking ocl-icd-libopencl1-amdgpu-pro:amd64 (22.40-1538782.20.04) ...<br />
Selecting previously unselected package clinfo-amdgpu-pro.<br />
Preparing to unpack .../08-clinfo-amdgpu-pro_22.40-1538782.20.04_amd64.deb ...<br />
Unpacking clinfo-amdgpu-pro (22.40-1538782.20.04) ...<br />
Selecting previously unselected package libdrm2-amdgpu:amd64.<br />
Preparing to unpack .../09-libdrm2-amdgpu_1%3a2.4.113.50403-1538762.20.04_amd64.deb ...<br />
Unpacking libdrm2-amdgpu:amd64 (1:2.4.113.50403-1538762.20.04) ...<br />
Selecting previously unselected package libdrm-amdgpu-common.<br />
Preparing to unpack .../10-libdrm-amdgpu-common_1.0.0.50403-1538762.20.04_all.deb ...<br />
Unpacking libdrm-amdgpu-common (1.0.0.50403-1538762.20.04) ...<br />
Selecting previously unselected package libdrm-amdgpu-amdgpu1:amd64.<br />
Preparing to unpack .../11-libdrm-amdgpu-amdgpu1_1%3a2.4.113.50403-1538762.20.04_amd64.deb ...<br />
Unpacking libdrm-amdgpu-amdgpu1:amd64 (1:2.4.113.50403-1538762.20.04) ...<br />
Selecting previously unselected package opencl-legacy-amdgpu-pro-icd:amd64.<br />
Preparing to unpack .../12-opencl-legacy-amdgpu-pro-icd_22.40-1538782.20.04_amd64.deb ...<br />
Unpacking opencl-legacy-amdgpu-pro-icd:amd64 (22.40-1538782.20.04) ...<br />
Setting up autotools-dev (20180224.1) ...<br />
Setting up amdgpu-core (1:5.4.50403-1538762.20.04) ...<br />
Setting up autoconf (2.69-11.1) ...<br />
Setting up amdgpu-dkms-firmware (1:5.18.13.50403-1538762.20.04) ...<br />
Setting up libdrm-amdgpu-common (1.0.0.50403-1538762.20.04) ...<br />
Setting up amdgpu-pro-core (22.40-1538782.20.04) ...<br />
Setting up automake (1:1.16.1-4ubuntu6) ...<br />
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode<br />
Setting up ocl-icd-libopencl1-amdgpu-pro:amd64 (22.40-1538782.20.04) ...<br />
Setting up clinfo-amdgpu-pro (22.40-1538782.20.04) ...<br />
Setting up amdgpu-dkms (1:5.18.13.50403-1538762.20.04) ...<br />
Loading new amdgpu-5.18.13-1538762.20.04 DKMS files...<br />
Building for 5.4.0-144-generic<br />
Building for architecture amd64<br />
Building initial module for 5.4.0-144-generic<br />
Secure Boot not enabled on this system.<br />
Done.<br />
Forcing installation of amdgpu</p>

<p>amdgpu.ko:<br />
Running module version sanity check.<br />
 - Original module<br />
   - Found /lib/modules/5.4.0-144-generic/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko<br />
   - Storing in /var/lib/dkms/amdgpu/original_module/5.4.0-144-generic/amd64/<br />
   - Archiving for uninstallation purposes<br />
 - Installation<br />
   - Installing to /lib/modules/5.4.0-144-generic/kernel/drivers/gpu/drm/amd/amdgpu/</p>

<p>amdttm.ko:<br />
Running module version sanity check.<br />
 - Original module<br />
 - Installation<br />
   - Installing to /lib/modules/5.4.0-144-generic/kernel/drivers/gpu/drm/ttm/</p>

<p>amdkcl.ko:<br />
Running module version sanity check.<br />
 - Original module<br />
 - Installation<br />
   - Installing to /lib/modules/5.4.0-144-generic/kernel/drivers/gpu/drm/amd/amdkcl/</p>

<p>amd-sched.ko:<br />
Running module version sanity check.<br />
 - Original module<br />
 - Installation<br />
   - Installing to /lib/modules/5.4.0-144-generic/kernel/drivers/gpu/drm/scheduler/</p>

<p>amddrm_ttm_helper.ko:<br />
Running module version sanity check.<br />
 - Original module<br />
 - Installation<br />
   - Installing to /lib/modules/5.4.0-144-generic/kernel/drivers/gpu/drm/</p>

<p>Running the post_install script:</p>

<p>depmod...</p>

<p>DKMS: install completed.<br />
update-initramfs: Generating /boot/initrd.img-5.4.0-144-generic<br />
W: Possible missing firmware /lib/firmware/amdgpu/ip_discovery.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/vega10_cap.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/navi12_cap.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_10_sos.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_7_ta.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_7_sos.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_cap.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_imu.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_2_imu.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_rlc.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mec.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_me.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_pfp.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_2_rlc.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_2_mec.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_2_me.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_2_pfp.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_0_toc.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/sdma_6_0_3.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/sdma_6_0_2.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes1.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mes1.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mes.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_2_mes1.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_2_mes.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/vcn_4_0_4.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/smu_13_0_10.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/smu_13_0_7.bin for module amdgpu<br />
W: Possible missing firmware /lib/firmware/amdgpu/dcn_3_2_1_dmcub.bin for module amdgpu<br />
I: The initramfs will attempt to resume from /dev/sda3<br />
I: (UUID=c9b5d106-e4be-4db3-9916-97a9e9980604)<br />
I: Set the RESUME variable to override this.<br />
Setting up libdrm2-amdgpu:amd64 (1:2.4.113.50403-1538762.20.04) ...<br />
Setting up libdrm-amdgpu-amdgpu1:amd64 (1:2.4.113.50403-1538762.20.04) ...<br />
Setting up opencl-legacy-amdgpu-pro-icd:amd64 (22.40-1538782.20.04) ...<br />
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...<br />
Processing triggers for man-db (2.9.1-1) ...<br />
Processing triggers for install-info (6.7.0.dfsg.2-5) ...<br />
Processing triggers for doc-base (0.10.9) ...<br />
Processing 1 added doc-base file...<br />
INFO: Using --accept-eula confirms acceptance of the following license<br />
/usr/share/amdgpu-install/AMDGPUPROEULA<br />
Hit:1 http://mirror.us-tx.kamatera.com/ubuntu focal InRelease<br />
Hit:2 http://mirror.us-tx.kamatera.com/ubuntu focal-updates InRelease                                   <br />
Hit:3 http://mirror.us-tx.kamatera.com/ubuntu focal-backports InRelease                                 <br />
Ign:4 http://packages.linuxmint.com una InRelease                                                       <br />
Hit:5 http://packages.linuxmint.com una Release                                                         <br />
Hit:6 https://repo.radeon.com/amdgpu/5.4.3/ubuntu focal InRelease                                       <br />
Hit:7 https://repo.radeon.com/rocm/apt/5.4.3 focal InRelease                                            <br />
Hit:8 http://ppa.launchpad.net/costamagnagianfranco/boinc/ubuntu focal InRelease                       <br />
Get:9 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]                              <br />
Hit:10 http://archive.canonical.com/ubuntu focal InRelease                                 <br />
Ign:12 http://cvmrepo.s3.cern.ch/cvmrepo/apt focal-prod InRelease                             <br />
Hit:13 http://cvmrepo.s3.cern.ch/cvmrepo/apt focal-prod Release<br />
Fetched 114 kB in 1s (87.1 kB/s)<br />
Reading package lists... Done</p>

<p>$ dpkg -l | grep -i opencl<br />
ii  boinc-client-opencl                        7.20.5+dfsg+202212021500~ubuntu20.04.1 amd64        metapackage for AMD/ATI OpenCL-savvy BOINC client and manager<br />
ii  clinfo                                     2.2.18.04.06-1                         amd64        Query OpenCL system information<br />
ii  clinfo-amdgpu-pro                          22.40-1538782.20.04                    amd64        AMD OpenCL info utility<br />
ii  libclc-12                                  1:12.0.0-3ubuntu1~20.04.5              all          OpenCL C language implementation - platform support<br />
ii  libclc-12-dev                              1:12.0.0-3ubuntu1~20.04.5              all          OpenCL C language implementation - development files<br />
ii  ocl-icd-libopencl1:amd64                   2.2.11-1ubuntu1                        amd64        Generic OpenCL ICD Loader<br />
ii  ocl-icd-libopencl1-amdgpu-pro:amd64        22.40-1538782.20.04                    amd64        AMD OpenCL ICD Loader library<br />
ii  ocl-icd-opencl-dev:amd64                   2.2.11-1ubuntu1                        amd64        OpenCL development files<br />
ii  opencl-c-headers                           2.2~2019.08.06-g0d5f18c-1              all          OpenCL (Open Computing Language) C header files<br />
ii  opencl-legacy-amdgpu-pro-icd:amd64         22.40-1538782.20.04                    amd64        non-free AMD OpenCL ICD Loaders</p>

<p>$ clinfo<br />
Number of platforms                               1<br />
  Platform Name                                   AMD Accelerated Parallel Processing<br />
  Platform Vendor                                 Advanced Micro Devices, Inc.<br />
  Platform Version                                OpenCL 2.1 AMD-APP (3380.4)<br />
  Platform Profile                                FULL_PROFILE<br />
  Platform Extensions                             cl_khr_icd cl_amd_event_callback cl_amd_offline_devices<br />
  Platform Host timer resolution                  1ns<br />
  Platform Extensions function suffix             AMD</p>

<p>  Platform Name                                   AMD Accelerated Parallel Processing<br />
Number of devices                                 1<br />
  Device Name                                     Ellesmere<br />
  Device Vendor                                   Advanced Micro Devices, Inc.<br />
  Device Vendor ID                                0x1002<br />
  Device Version                                  OpenCL 2.0 AMD-APP (3380.4)<br />
  Driver Version                                  3380.4 (PAL,HSAIL)<br />
  Device OpenCL C Version                         OpenCL C 2.0<br />
  Device Type                                     GPU<br />
  Device Board Name (AMD)                         Radeon RX 580 Series<br />
  Device Topology (AMD)                           PCI-E, 10:00.0<br />
  Device Profile                                  FULL_PROFILE<br />
  Device Available                                Yes<br />
  Compiler Available                              Yes<br />
  Linker Available                                Yes<br />
  Max compute units                               36<br />
  SIMD per compute unit (AMD)                     4<br />
  SIMD width (AMD)                                16<br />
  SIMD instruction width (AMD)                    1<br />
  Max clock frequency                             1366MHz<br />
  Graphics IP (AMD)                               8.0<br />
  Device Partition                                (core)<br />
    Max number of sub-devices                     36<br />
    Supported partition types                     None<br />
    Supported affinity domains                    (n/a)<br />
  Max work item dimensions                        3<br />
  Max work item sizes                             1024x1024x1024<br />
  Max work group size                             256<br />
  Preferred work group size (AMD)                 256<br />
  Max work group size (AMD)                       1024<br />
  Preferred work group size multiple              64<br />
  Wavefront width (AMD)                           64<br />
  Preferred / native vector sizes                 <br />
    char                                                 4 / 4       <br />
    short                                                2 / 2       <br />
    int                                                  1 / 1       <br />
    long                                                 1 / 1       <br />
    half                                                 1 / 1        (cl_khr_fp16)<br />
    float                                                1 / 1       <br />
    double                                               1 / 1        (cl_khr_fp64)<br />
  Half-precision Floating-point support           (cl_khr_fp16)<br />
    Denormals                                     No<br />
    Infinity and NANs                             No<br />
    Round to nearest                              No<br />
    Round to zero                                 No<br />
    Round to infinity                             No<br />
    IEEE754-2008 fused multiply-add               No<br />
    Support is emulated in software               No<br />
  Single-precision Floating-point support         (core)<br />
    Denormals                                     No<br />
    Infinity and NANs                             Yes<br />
    Round to nearest                              Yes<br />
    Round to zero                                 Yes<br />
    Round to infinity                             Yes<br />
    IEEE754-2008 fused multiply-add               Yes<br />
    Support is emulated in software               No<br />
    Correctly-rounded divide and sqrt operations  Yes<br />
  Double-precision Floating-point support         (cl_khr_fp64)<br />
    Denormals                                     Yes<br />
    Infinity and NANs                             Yes<br />
    Round to nearest                              Yes<br />
    Round to zero                                 Yes<br />
    Round to infinity                             Yes<br />
    IEEE754-2008 fused multiply-add               Yes<br />
    Support is emulated in software               No<br />
  Address bits                                    64, Little-Endian<br />
  Global memory size                              4294967296 (4GiB)<br />
  Global free memory (AMD)                        4128768 (3.938GiB)<br />
  Global memory channels (AMD)                    8<br />
  Global memory banks per channel (AMD)           4<br />
  Global memory bank width (AMD)                  256 bytes<br />
  Error Correction support                        No<br />
  Max memory allocation                           3422552064 (3.188GiB)<br />
  Unified memory for Host and Device              No<br />
  Shared Virtual Memory (SVM) capabilities        (core)<br />
    Coarse-grained buffer sharing                 Yes<br />
    Fine-grained buffer sharing                   Yes<br />
    Fine-grained system sharing                   No<br />
    Atomics                                       No<br />
  Minimum alignment for any data type             128 bytes<br />
  Alignment of base address                       2048 bits (256 bytes)<br />
  Preferred alignment for atomics                 <br />
    SVM                                           0 bytes<br />
    Global                                        0 bytes<br />
    Local                                         0 bytes<br />
  Max size for global variable                    3080296704 (2.869GiB)<br />
  Preferred total size of global vars             4294967296 (4GiB)<br />
  Global Memory cache type                        Read/Write<br />
  Global Memory cache size                        16384 (16KiB)<br />
  Global Memory cache line size                   64 bytes<br />
  Image support                                   Yes<br />
    Max number of samplers per kernel             16<br />
    Max size for 1D images from buffer            213909504 pixels<br />
    Max 1D or 2D image array size                 2048 images<br />
    Base address alignment for 2D image buffers   256 bytes<br />
    Pitch alignment for 2D image buffers          256 pixels<br />
    Max 2D image size                             16384x16384 pixels<br />
    Max 3D image size                             2048x2048x2048 pixels<br />
    Max number of read image args                 128<br />
    Max number of write image args                64<br />
    Max number of read/write image args           64<br />
  Max number of pipe args                         16<br />
  Max active pipe reservations                    16<br />
  Max pipe packet size                            3422552064 (3.188GiB)<br />
  Local memory type                               Local<br />
  Local memory size                               65536 (64KiB)<br />
  Local memory syze per CU (AMD)                  65536 (64KiB)<br />
  Local memory banks (AMD)                        32<br />
  Max number of constant args                     8<br />
  Max constant buffer size                        3422552064 (3.188GiB)<br />
  Preferred constant buffer size (AMD)            16384 (16KiB)<br />
  Max size of kernel argument                     1024<br />
  Queue properties (on host)                      <br />
    Out-of-order execution                        No<br />
    Profiling                                     Yes<br />
  Queue properties (on device)                    <br />
    Out-of-order execution                        Yes<br />
    Profiling                                     Yes<br />
    Preferred size                                262144 (256KiB)<br />
    Max size                                      8388608 (8MiB)<br />
  Max queues on device                            1<br />
  Max events on device                            1024<br />
  Prefer user sync for interop                    Yes<br />
  Number of P2P devices (AMD)                     0<br />
  P2P devices (AMD)                               <printDeviceInfo:147: get number of CL_DEVICE_P2P_DEVICES_AMD : error -30><br />
  Profiling timer resolution                      1ns<br />
  Profiling timer offset since Epoch (AMD)        1679253227724732401ns (Sun Mar 19 14:13:47 2023)<br />
  Execution capabilities                          <br />
    Run OpenCL kernels                            Yes<br />
    Run native kernels                            No<br />
    Thread trace supported (AMD)                  Yes<br />
    Number of async queues (AMD)                  4<br />
    Max real-time compute queues (AMD)            1<br />
    Max real-time compute units (AMD)             0<br />
  printf() buffer size                            4194304 (4MiB)<br />
  Built-in kernels                                (n/a)<br />
  Device Extensions                               cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_khr_gl_depth_images cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_subgroups cl_khr_gl_event cl_khr_depth_images cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_amd_copy_buffer_p2p</p>

<p>NULL platform behavior<br />
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform<br />
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No platform<br />
  clCreateContext(NULL, ...) [default]            No platform<br />
  clCreateContext(NULL, ...) [other]              Success [AMD]<br />
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)<br />
    Platform Name                                 AMD Accelerated Parallel Processing<br />
    Device Name                                   Ellesmere<br />
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform<br />
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)<br />
    Platform Name                                 AMD Accelerated Parallel Processing<br />
    Device Name                                   Ellesmere<br />
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform<br />
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform<br />
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (1)<br />
    Platform Name                                 AMD Accelerated Parallel Processing<br />
    Device Name                                   Ellesmere</p>

<p>

Is there anything else? or other test I should do before I

1) restart BOINC and see that it recognizes the RX580

2) reset E@H to give me ATI apps again

Again Thanx to All, Skip

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.