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

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 4964
Credit: 18755034328
RAC: 7144044

What version did you try to

What version did you try to install?  I don't know the versioning level of Mint.  From the error message about:

 Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.9 is to be installed<br />
                     Depends: libstdc++6 (>= 11) but 10.3.0-1ubuntu1~20.04 is to be installed<br />

I think you downloaded too new a version.  I think you need to use the Radeon™ Software for Linux® version 22.40.3 for Ubuntu 20.04.5 HWE

[Edit]

Or possibly and even earlier version to match your version of Mint.

Radeon™ Software for Linux® version 22.40.3 for Ubuntu 22.04.2 HWE

 

Skip Da Shu
Skip Da Shu
Joined: 18 Jan 05
Posts: 152
Credit: 1044642522
RAC: 704187

Hmmm... looking at synaptic

Hmmm... looking at synaptic search for "amdgpu" I find meta packages for:

amdgpu

amdgpu-pro-oglp

amdgpu-pro

amdgpu-pro-lib32

amdgpu-lib32

 

Yes, I think u've got it... I'm on v20.3 because they broke BOINC in the v21.1 release.  v20.5 of mint has Ubuntu 20.04 under it.

Gotta run and get the boss lady some breakfast (yes, it's after 12 noon here).  Be back to resume after that.

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 4964
Credit: 18755034328
RAC: 7144044

I'd use the official

I'd use the official downloaded packages from AMD than try and use whatever the Mint distro maintainers provide.

Only if the older version I linked blows up would I resort to the Mint distro version of amdgpu-pro.

 

mountkidd
mountkidd
Joined: 14 Jun 12
Posts: 176
Credit: 12604232555
RAC: 8035248

Skip Da Shu

Skip Da Shu wrote:

...

$amdgpu-install --usecase=workstation -y --opencl=legacy

...

You only need opencl from the amdgpu package - usable video drivers are already part of your kernel, so try

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

 

 

Skip Da Shu
Skip Da Shu
Joined: 18 Jan 05
Posts: 152
Credit: 1044642522
RAC: 704187

mountkidd wrote:Skip Da Shu

mountkidd wrote:

Skip Da Shu wrote:

...

$amdgpu-install --usecase=workstation -y --opencl=legacy

...

You only need opencl from the amdgpu package - usable video drivers are already part of your kernel, so try

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

 

OK, I now have amdgpu-install_22.20.50205-1_all and will start that shortly using your command line..

 

I've lost a couple things from previous attempt... how do I get these back?

</p>

<p>sudo amdgpu-install -y --usecase=opencl --opencl=legacy<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 />
Hit:4 http://archive.canonical.com/ubuntu focal InRelease                                                        <br />
Ign:5 http://packages.linuxmint.com una InRelease                                                                <br />
Hit:6 http://packages.linuxmint.com una Release                                                                  <br />
Get:7 https://repo.radeon.com/amdgpu/5.4.3/ubuntu jammy InRelease [5,454 B]                                      <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 />
Get:10 https://repo.radeon.com/rocm/apt/5.4.3 jammy InRelease [2,603 B]       <br />
Ign:12 http://cvmrepo.s3.cern.ch/cvmrepo/apt focal-prod InRelease                            <br />
Get:13 https://repo.radeon.com/amdgpu/5.4.3/ubuntu jammy/main amd64 Packages [10.1 kB]<br />
Get:14 https://repo.radeon.com/amdgpu/5.4.3/ubuntu jammy/main i386 Packages [8,202 B]                  <br />
Hit:15 http://cvmrepo.s3.cern.ch/cvmrepo/apt focal-prod Release                             <br />
Get:16 https://repo.radeon.com/rocm/apt/5.4.3 jammy/main amd64 Packages [31.9 kB]<br />
Fetched 172 kB in 1s (152 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>
Skip Da Shu
Skip Da Shu
Joined: 18 Jan 05
Posts: 152
Credit: 1044642522
RAC: 704187

OK uninstalled and purged...

OK uninstalled and purged... starting over:

</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.22.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.22.04) ...<br />
Setting up amdgpu-install (5.4.50403-1538762.22.04) ...</p>

<p>

Then, after cd ..

</p>

<p>$ sudo amdgpu-install -y --usecase=opencl --opencl=legacy<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 />
Hit:4 http://archive.canonical.com/ubuntu focal InRelease                                       <br />
Ign:5 http://packages.linuxmint.com una InRelease                                               <br />
Get:6 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]                 <br />
Hit:7 https://repo.radeon.com/amdgpu/5.4.3/ubuntu jammy InRelease                               <br />
Hit:8 http://packages.linuxmint.com una Release                                                 <br />
Hit:9 http://ppa.launchpad.net/costamagnagianfranco/boinc/ubuntu focal InRelease<br />
Hit:10 https://repo.radeon.com/rocm/apt/5.4.3 jammy 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 2s (53.0 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>

nothing new... still lost clinfo-amdgpu-pro and aopencl-legacy-amdgpu-pro-icd

I'll uninstall and go to one version newer.

 

mountkidd
mountkidd
Joined: 14 Jun 12
Posts: 176
Credit: 12604232555
RAC: 8035248

Skip,1) Scheduler log

Skip,

1) Scheduler log shows ATI tasks are available but your preferences aren’t configured to accept them.

2) Task logs from Mar19 2:47Z clearly show mesa is providing opencl 1.x and opencl 2 is required for the task

You need to scrub mesa/opencl completely - it’s really getting in the way.  Once it’s completely gone, then you can install amdgpu opencl. 

Can you post output from: cat /etc/os-release and ll /etc/OpenCL/vendors/ 

Skip Da Shu
Skip Da Shu
Joined: 18 Jan 05
Posts: 152
Credit: 1044642522
RAC: 704187

I scrubbed the AMD stuff and

I scrubbed the AMD stuff and reinstalled Mesa so BOINC sees the card again with the E@H WU getting the original error below:

</p>

<pre>
OpenCL compiling FAILED! : -11 . Error message: fatal error: cannot open file '<strong>/usr/local//usr/lib/clc/polaris10-amdgcn-mesa-mesa3d.bc</strong>': No such file or directory</pre>

<p>

1) ATI apps are turned off because they error out in about 14 seconds.

2) I do not see anything about OpenCL 1.x in the log... and SEARCH didn't find it either.  I'm sure you are right but I'm just not seeing it.

I will remove Mesa and tackle it again tomorrow. 

Here's what I got just now while Mesa was in:

</p>

<p>$cat /etc/os-release<br />
NAME="Linux Mint"<br />
VERSION="20.3 (Una)"<br />
ID=linuxmint<br />
ID_LIKE=ubuntu<br />
PRETTY_NAME="Linux Mint 20.3"<br />
VERSION_ID="20.3"<br />
HOME_URL="https://www.linuxmint.com/"<br />
SUPPORT_URL="https://forums.linuxmint.com/"<br />
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"<br />
PRIVACY_POLICY_URL="https://www.linuxmint.com/"<br />
VERSION_CODENAME=una<br />
UBUNTU_CODENAME=focal</p>

<p>$ cat /etc/upstream-release/lsb-release<br />
DISTRIB_ID=Ubuntu<br />
DISTRIB_RELEASE=20.04<br />
DISTRIB_CODENAME=focal<br />
DISTRIB_DESCRIPTION="Ubuntu Focal Fossa"</p>

<p>$ uname -r<br />
5.4.0-144-generic</p>

<p>$ cat /etc/OpenCL/vendors/mesa.icd<br />
libMesaOpenCL.so.1</p>

<p>

 

 

 

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 4964
Credit: 18755034328
RAC: 7144044

He asked you to scrub Mesa

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

 

Skip Da Shu
Skip Da Shu
Joined: 18 Jan 05
Posts: 152
Credit: 1044642522
RAC: 704187

from above... note the "//"

from above... note the "//" in the path.  Not sure what that means but I'm suspicious.

/usr/local//usr/lib/clc/polaris10-amdgcn-mesa-mesa3d.bc

Comment viewing options

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