Message boards : Questions and problems : GPU detection failed: process exited with status 1: Operation not permitted - Ubuntu Linux 20.04.1LTS
Message board moderation
Author | Message |
---|---|
Send message Joined: 11 Aug 20 Posts: 3 ![]() |
Hey Gang, Its been a while since ive tried to run the GPU / OpenCL side of crunching, so with AMD releasing its latest drivers for Ubuntus latest long term support 20.04.1 I thought I would try again. Ive had BOINC happily crunching cpu tasks. Ive installed the latest AMD Pro drivers with the Vega+ OpenCL drivers However it seems that BOINC is trying to detect the Radeon 5700XT but the system is denying the request. Note: The boinc user is part of the video group and boinc is the latest version (7.16.6 x64) from the Ubuntu Repos. So any ideas? Thx in advance |
![]() ![]() Send message Joined: 17 Nov 16 Posts: 906 ![]() |
What is BOINC complaining about? Post the first 30 lines of the startup of BOINC. |
![]() ![]() Send message Joined: 17 Nov 16 Posts: 906 ![]() |
As far as I know it works if you install the AMD Pro drivers via the command line with this command. ./amdgpu-pro-install -y --opencl=pal,legacy --headless I just asked a team mate what was the current status of the AMD driver installation. He runs a AMD 5700. The tricky part is always the OpenCL installation with the legacy invocation. |
Send message Joined: 11 Aug 20 Posts: 3 ![]() |
Yea, besides the 'headless' directive thats how the drivers were installed. Further info: Thu 13 Aug 2020 06:48:06 | | Starting BOINC client version 7.16.6 for x86_64-pc-linux-gnu Thu 13 Aug 2020 06:48:06 | | log flags: file_xfer, sched_ops, task, coproc_debug Thu 13 Aug 2020 06:48:06 | | Libraries: libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 Thu 13 Aug 2020 06:48:06 | | Data directory: /var/lib/boinc-client Thu 13 Aug 2020 06:48:06 | | [coproc] launching child process at /usr/bin/boinc Thu 13 Aug 2020 06:48:06 | | [coproc] with data directory /var/lib/boinc-client Thu 13 Aug 2020 06:48:06 | | GPU detection failed: process exited with status 1: Operation not permitted Thu 13 Aug 2020 06:48:06 | | [coproc] read_coproc_info_file() returned error -108 Thu 13 Aug 2020 06:48:06 | | No usable GPUs found Thu 13 Aug 2020 06:48:06 | | libc: Ubuntu GLIBC 2.31-0ubuntu9 version 2.31 |
![]() ![]() Send message Joined: 17 Nov 16 Posts: 906 ![]() |
So executing groups boinc results in??: keith@midget:~ $ groups boinc boinc : boinc video What happens if you install clinfo? sudo apt install clinfo That program for me is the definitive way of exposing all OpenCL platforms on a host. I wonder if you have a conflicting version of OpenCL installed, like the Mesa or cpu POCL drivers that may be preventing permission. I don't know if the Nvidia method of installing OpenCL support would help you. Probably wouldn't hurt since it isn't working anyway. Try this: sudo apt-get install ocl-icd-libopencl1 |
![]() Send message Joined: 29 Aug 05 Posts: 15632 ![]() |
Perhaps read through http://www.amdusers.com/forum/showthread.php/11750-Ubuntu-20-04 for information? |
Send message Joined: 11 Aug 20 Posts: 3 ![]() |
Hi Gang Thanks for the pointers. I had a bit more time to investigate this morning. In the end discovered that the Oibaf drivers (these are bleeding edge, which includes bleeding edge OpenCL drivers), were, and have been, the cause of the issue; which is odd as they are what I have always used to get OpenCL support in the past. To get everything back to fresh I uninstalled the AMD GPU-Pro-20.30 drivers. Rebooted Reinstalled the Oibaf drivers (running on the assumption that there may have been a remnant in there) Rebooted, then uninstalled the Oibaf drivers. Rebooted. Now running on the standard Ubuntu 20.04LTS drivers I then installed the OpenCL components from the AMD GPU Pro drivers from above with: sudo ./amdgpu-pro-install --opencl=legacy,pal --headless then rebooted Boinc now loads OpenCL 2.0 as well as OpenCL 1.0 (Which is not in its settings, so it ignores that, but thats ok as most Boinc projects that I run use OpenCL 2 anyway) Once again thx for your help :) |
![]() ![]() Send message Joined: 17 Nov 16 Posts: 906 ![]() |
Glad you got it working. I think that Oibaf used to be the preferred way to get the OpenCL working but that now, finally, the standard AMD Pro drivers are working very well and is now the preferred package. Only took AMD two years to deliver a working package for Linux. |
Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.