Join PrimeGrid
Returning Participants
Community
Leader Boards
Results
Other
drummers-lowrise
|
Message boards :
Problems and Help :
GPU Errors on new Linux Mint install
Author |
Message |
|
Let me preface this by stating I'm a complete Linux newb. I finally kicked the shackles of Micro$oft off and emerged into Linux Mint, after trying a few other distros and eventually landing on this one simply because it seemed closest to what I needed. I have a friend who's been helping me with other software, but has zero experience with BOINC. So I turn to the forums that I've lurked in but not-often posted.
I digress. Here is the error I get trying to run GFN tasks on my RX 5600 XT AMD GPU. Happens on both 18 and 17-MEGA.
<core_client_version>7.22.0</core_client_version>
<![CDATA[
<message>
process exited with code 1 (0x1, -255)</message>
<stderr_txt>
geneferg version 22.12.2 (linux x64, gcc-7.5.0, boinc-7.20.2)
Copyright (c) 2022, Yves Gallot
genefer is free source code, under the MIT license.
Command line: '-boinc -c -n 17 -b 161625854 -f gproof'
Running on device 'AMD Radeon RX 5600 XT (navi10, LLVM 15.0.7, DRM 3.42, 5.15.0-69-generic)', vendor 'AMD', version 'OpenCL 1.1 Mesa 22.3.5 (git-6570a15662)', driver '22.3.5'fatal error: cannot open file '/usr/lib/x86_64-linux-gnu/GL/default/share/clc/gfx1010-amdgcn-mesa-mesa3d.bc': No such file or directory
Error: opencl error: CL_BUILD_PROGRAM_FAILURE.
19:23:16 (214): called boinc_finish(1)
</stderr_txt>
]]>
What steps should I take? What do you think the issue is? Any other input on the situation? (And yes I know this is a rather weak GPU, but I like to think everyone needs a double-checker, heh.)
An NVIDIA GPU replacement is in mind since I hear they integrate better into the kernel, but that's more of a Christmas thing, so anything to help in the meantime is appreciated.
____________
| |
|
Monkeydee Volunteer tester
 Send message
Joined: 8 Dec 13 Posts: 548 ID: 284516 Credit: 1,736,723,292 RAC: 3,171,855
                            
|
I'm not much of a Linux guy buy it looks like OpenCL is not working correctly or not properly installed.
OpenCL is a part of the GPU driver that may or may not get installed with a normal driver setup.
Did you get the AMD GPU drivers from the AMD site or using AMD's instructions or are you using the default drivers that came with the Mint install?
____________
My Primes
Badge Score: 4*2 + 6*2 + 7*1 + 8*11 + 9*1 + 11*3 + 12*1 = 169
| |
|
mikey Send message
Joined: 17 Mar 09 Posts: 1910 ID: 37043 Credit: 834,776,745 RAC: 811,725
                     
|
Let me preface this by stating I'm a complete Linux newb. I finally kicked the shackles of Micro$oft off and emerged into Linux Mint, after trying a few other distros and eventually landing on this one simply because it seemed closest to what I needed. I have a friend who's been helping me with other software, but has zero experience with BOINC. So I turn to the forums that I've lurked in but not-often posted.
I digress. Here is the error I get trying to run GFN tasks on my RX 5600 XT AMD GPU. Happens on both 18 and 17-MEGA.
<core_client_version>7.22.0</core_client_version>
<![CDATA[
<message>
process exited with code 1 (0x1, -255)</message>
<stderr_txt>
geneferg version 22.12.2 (linux x64, gcc-7.5.0, boinc-7.20.2)
Copyright (c) 2022, Yves Gallot
genefer is free source code, under the MIT license.
Command line: '-boinc -c -n 17 -b 161625854 -f gproof'
Running on device 'AMD Radeon RX 5600 XT (navi10, LLVM 15.0.7, DRM 3.42, 5.15.0-69-generic)', vendor 'AMD', version 'OpenCL 1.1 Mesa 22.3.5 (git-6570a15662)', driver '22.3.5'fatal error: cannot open file '/usr/lib/x86_64-linux-gnu/GL/default/share/clc/gfx1010-amdgcn-mesa-mesa3d.bc': No such file or directory
Error: opencl error: CL_BUILD_PROGRAM_FAILURE.
19:23:16 (214): called boinc_finish(1)
</stderr_txt>
]]>
What steps should I take? What do you think the issue is? Any other input on the situation? (And yes I know this is a rather weak GPU, but I like to think everyone needs a double-checker, heh.)
An NVIDIA GPU replacement is in mind since I hear they integrate better into the kernel, but that's more of a Christmas thing, so anything to help in the meantime is appreciated.
Someone on on the Boinc Project Einstein had a similar issue and it was finally solved for them in this thread:
https://einsteinathome.org/content/no-opencl-library-found-mint-linux-amd-cpugpu
In short trying to use AMD gpu's on Linux Mint is a pain in the neck and apparently there is no step by step help page to walk you thru getting it to work. | |
|
|
I'm currently struggling on the same issue, not really resolved yet, but one thing that got me further was
- installing the AMD provided OpenCL software (messy, as I needed to install Ubuntu software on a Debian testing system, which left me with some slightly incorrect state, I think)
- deinstalling the Mesa OpenCL packages and removing the respective configuration, in particular from /etc/OpenCl/vendors
After that, neither clinfo nor the Primegrid software caused this particular error any more.
However, there's more to fix, probably...
Zyfdnug | |
|
|
I had the same problem yesterday with an RX 6700.
You don't have the OpenCL library with the default Linux Mint driver. Download the amdgpu driver for your video card from AMD here: https://www.amd.com/en/support/graphics/amd-radeon-5600-series/amd-radeon-rx-5600-series/amd-radeon-rx-5600-xt
Select Ubuntu x86 and then 20.04.5 for Linux Mint 20 or 22.04.2 for Mint 21. Download and install the deb file. That deb is just giving you the amdgpu-install script. You have to run amdgpu-install to actually install the drivers.
There's a bunch of commands if you run amdgpu-install -h The configuration that worked for me was sudo amdgpu-install --usecase=graphics,opencl
You have to restart after the script finishes because it modifies your kernel.
If you have issues, run sudo amdgpu-install --uninstall remove the lines from Software Sources that contain the word "radeon", remove the amdgpu-install package, and restart to finally get rid of it. | |
|
Post to thread
Message boards :
Problems and Help :
GPU Errors on new Linux Mint install |