PrimeGrid
Please visit donation page to help the project cover running costs for this month

Toggle Menu

Join PrimeGrid

Returning Participants

Community

Leader Boards

Results

Other

drummers-lowrise

Advanced search

Message boards : Problems and Help : GPU Errors on new Linux Mint install

Author Message
Profile DimondiumProject donor
Send message
Joined: 28 Dec 18
Posts: 2
ID: 1088797
Credit: 36,626,053
RAC: 139,346
ESP LLR Silver: Earned 100,000 credits (130,775)PPS LLR Turquoise: Earned 5,000,000 credits (7,978,140)PSP LLR Silver: Earned 100,000 credits (486,363)SoB LLR Amethyst: Earned 1,000,000 credits (1,003,850)SR5 LLR Gold: Earned 500,000 credits (536,598)SGS LLR Silver: Earned 100,000 credits (102,937)TRP LLR Amethyst: Earned 1,000,000 credits (1,410,474)321 Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,223,429)Cullen/Woodall Sieve Amethyst: Earned 1,000,000 credits (1,759,622)Generalized Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (133,783)PPS Sieve Turquoise: Earned 5,000,000 credits (9,961,305)AP 26/27 Gold: Earned 500,000 credits (925,847)GFN Turquoise: Earned 5,000,000 credits (7,638,761)WW (retired) Silver: Earned 100,000 credits (220,000)PSA Ruby: Earned 2,000,000 credits (3,105,726)
Message 161499 - Posted: 5 Apr 2023 | 23:36:57 UTC

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.
____________

MonkeydeeProject donor
Volunteer tester
Avatar
Send message
Joined: 8 Dec 13
Posts: 548
ID: 284516
Credit: 1,736,723,292
RAC: 3,171,855
Discovered 3 mega primesFound 2 primes in the 2018 Tour de PrimesFound 3 primes in the 2019 Tour de PrimesFound 2 primes in the 2020 Tour de PrimesFound 2 primes in the 2021 Tour de PrimesFound 3 primes in the 2022 Tour de PrimesFound 3 primes in the 2023 Tour de PrimesFound 1 mega prime in the 2023 Tour de Primes321 LLR Sapphire: Earned 20,000,000 credits (24,659,715)Cullen LLR Sapphire: Earned 20,000,000 credits (20,002,997)ESP LLR Sapphire: Earned 20,000,000 credits (20,017,008)Generalized Cullen/Woodall LLR Sapphire: Earned 20,000,000 credits (20,022,217)PPS LLR Sapphire: Earned 20,000,000 credits (42,281,004)PSP LLR Sapphire: Earned 20,000,000 credits (22,177,575)SoB LLR Sapphire: Earned 20,000,000 credits (24,475,676)SR5 LLR Sapphire: Earned 20,000,000 credits (20,099,698)SGS LLR Sapphire: Earned 20,000,000 credits (20,721,602)TRP LLR Sapphire: Earned 20,000,000 credits (20,063,394)Woodall LLR Sapphire: Earned 20,000,000 credits (20,003,636)321 Sieve (suspended) Jade: Earned 10,000,000 credits (10,120,432)Cullen/Woodall Sieve Emerald: Earned 50,000,000 credits (70,185,955)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,004,494)PPS Sieve Double Silver: Earned 200,000,000 credits (371,642,637)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,002,980)TRP Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,010,755)AP 26/27 Double Silver: Earned 200,000,000 credits (243,598,836)GFN Double Silver: Earned 200,000,000 credits (272,587,448)WW (retired) Double Gold: Earned 500,000,000 credits (500,000,000)PSA Turquoise: Earned 5,000,000 credits (7,230,617)
Message 161500 - Posted: 6 Apr 2023 | 1:18:38 UTC

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

Profile mikey
Avatar
Send message
Joined: 17 Mar 09
Posts: 1910
ID: 37043
Credit: 834,776,745
RAC: 811,725
Discovered 2 mega primesFound 12 primes in the 2023 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,008,621)Cullen LLR Ruby: Earned 2,000,000 credits (2,074,615)ESP LLR Ruby: Earned 2,000,000 credits (2,243,517)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,142,353)PPS LLR Turquoise: Earned 5,000,000 credits (8,826,282)PSP LLR Ruby: Earned 2,000,000 credits (2,232,103)SoB LLR Ruby: Earned 2,000,000 credits (2,934,612)SR5 LLR Ruby: Earned 2,000,000 credits (3,310,726)SGS LLR Turquoise: Earned 5,000,000 credits (6,780,752)TRP LLR Turquoise: Earned 5,000,000 credits (5,023,333)Woodall LLR Turquoise: Earned 5,000,000 credits (5,047,133)321 Sieve (suspended) Sapphire: Earned 20,000,000 credits (23,770,672)Cullen/Woodall Sieve Sapphire: Earned 20,000,000 credits (45,263,946)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,813,253)PPS Sieve Double Silver: Earned 200,000,000 credits (383,309,749)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,446,797)AP 26/27 Emerald: Earned 50,000,000 credits (83,269,628)GFN Double Bronze: Earned 100,000,000 credits (145,790,736)WW (retired) Emerald: Earned 50,000,000 credits (64,048,000)PSA Sapphire: Earned 20,000,000 credits (20,457,430)
Message 161505 - Posted: 6 Apr 2023 | 10:47:52 UTC - in response to Message 161499.

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.

Zyfdnug
Send message
Joined: 27 Sep 19
Posts: 14
ID: 1196790
Credit: 425,829,457
RAC: 852,259
Discovered 1 mega prime321 LLR Jade: Earned 10,000,000 credits (10,020,294)Cullen LLR Turquoise: Earned 5,000,000 credits (8,810,779)ESP LLR Turquoise: Earned 5,000,000 credits (9,192,421)Generalized Cullen/Woodall LLR Jade: Earned 10,000,000 credits (10,533,388)PPS LLR Jade: Earned 10,000,000 credits (10,682,815)PSP LLR Turquoise: Earned 5,000,000 credits (7,615,223)SoB LLR Jade: Earned 10,000,000 credits (11,835,996)SR5 LLR Jade: Earned 10,000,000 credits (10,281,154)SGS LLR Turquoise: Earned 5,000,000 credits (7,900,132)TRP LLR Turquoise: Earned 5,000,000 credits (8,104,314)Woodall LLR Jade: Earned 10,000,000 credits (10,139,340)321 Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,125,474)Cullen/Woodall Sieve Jade: Earned 10,000,000 credits (16,318,579)PPS Sieve Jade: Earned 10,000,000 credits (17,576,394)AP 26/27 Jade: Earned 10,000,000 credits (10,794,810)GFN Double Silver: Earned 200,000,000 credits (264,868,339)WW (retired) Turquoise: Earned 5,000,000 credits (6,120,000)
Message 161925 - Posted: 24 Apr 2023 | 22:32:59 UTC - in response to Message 161505.

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

GregRVA
Send message
Joined: 21 Apr 23
Posts: 1
ID: 1578362
Credit: 28,295,935
RAC: 298,161
321 LLR Bronze: Earned 10,000 credits (54,762)PPS LLR Silver: Earned 100,000 credits (225,887)PSP LLR Bronze: Earned 10,000 credits (14,189)SR5 LLR Bronze: Earned 10,000 credits (46,839)SGS LLR Silver: Earned 100,000 credits (107,846)TRP LLR Bronze: Earned 10,000 credits (46,480)Cullen/Woodall Sieve Ruby: Earned 2,000,000 credits (2,953,104)PPS Sieve Jade: Earned 10,000,000 credits (10,038,838)AP 26/27 Turquoise: Earned 5,000,000 credits (6,088,758)GFN Turquoise: Earned 5,000,000 credits (8,716,123)
Message 161948 - Posted: 25 Apr 2023 | 13:08:28 UTC
Last modified: 25 Apr 2023 | 13:09:54 UTC

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

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2023 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 4.13, 3.25, 2.71
Generated 3 Oct 2023 | 7:29:16 UTC