Jump to content
Hi All, I hope someone can offer some advice. I've got an AMD R9 270X in a Linux machine and I don't seem to be able to get it to fold. I think the relevant part of the log file is:
17:21:51:WU01:FS01:0x22:ERROR:exception: There is no registered Platform called "OpenCL"
17:21:51:WU01:FS01:0x22:Saving result file ../logfile_01.txt
17:21:51:WU01:FS01:0x22:Saving result file science.log
17:21:51:WU01:FS01:0x22:Folding@home Core Shutdown: BAD_WORK_UNIT
17:21:51:WARNING:WU01:FS01:FahCore returned: BAD_WORK_UNIT (114 = 0x72)
17:21:51:WU01:FS01:Sending unit results: id:01 state:SEND error:FAULTY project:11762 run:0 clone:8940 gen:3 core:0x22 unit:0x0000000480fccb0a5e7113c52e2c79fc

I've installed the latest AMDGPU-PRO drivers, and as far as I can see there are packages installed with OpenCL in the title so... I'm at a loss.

Any adivce or help would be muchly appreciated.
Link to post
Share on other sites

Do you have FAHControl installed? Have a look at it's System Info, does it show a GPU and OpenCL Device?

 

I had to install the "opencl-amd" on Arch, the "opencl-mesa" package didn't seem to do it (got both installed now).

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

Just now, Eigenvektor said:

Do you have FAHControl installed? Have a look at it's System Info, does it show a GPU and OpenCL Device?

 

I had to install the "opencl-amd" on Arch, the "opencl-mesa" package didn't seem to do it (got both installed now).

I do not. The FAHControl package won't install on my system(s) so I've got quite accustomed to using the command line and reading log files. (I do that for a living anyway) The log files recognise my GPU but mention nothing about OpenCL.

Anyway, I will try installing the two packages you mentioned and get back to you, thanks for giving me a thread to tug at.

Link to post
Share on other sites

3 minutes ago, TheGlenlivet said:

I agree with @Eigenvektor, I had to install opencl-amd to get it to work on an ubuntu machine a while back.

Thanks! May I ask how you went about installing it? My repositories don't seem to have it, running 19.10.

Link to post
Share on other sites

2 minutes ago, Quoda27 said:

I do not. The FAHControl package won't install on my system(s) so I've got quite accustomed to using the command line and reading log files. (I do that for a living anyway) The log files recognise my GPU but mention nothing about OpenCL.

Anyway, I will try installing the two packages you mentioned and get back to you, thanks for giving me a thread to tug at.

There may be a way to see the system info from the command line, haven't tried yet. I have FAHControl installed on a single machine and use that to monitor both of my systems. You can also use "clinfo" from the command line to get information about whether OpenCL is installed and working.

 

This is what it looks like on mine, you should probably get a similar output:

Spoiler

image.thumb.png.d0de5d82a3baad24f78d89a9570ec6c6.png

 

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

From my experience on Ubuntu 18.04.3/19.04:

./amdgpu-pro-install --opencl=legacy,pal

You have to add the argument to install OpenCL support. I know this works for BOINC I have yet to test it for Folding.

Link to post
Share on other sites

3 minutes ago, Quoda27 said:

Thanks! May I ask how you went about installing it? My repositories don't seem to have it, running 19.10.

https://www.amd.com/en/support/kb/release-notes/amdgpu-installation

It was in here, although the drivers and hardware have changed.  Mine was a Vega Frontier.

Link to post
Share on other sites

2 minutes ago, Eigenvektor said:

There may be a way to see the system info from the command line, haven't tried yet. I have FAHControl installed on a single machine and use that to monitor both of my systems. You can also use "clinfo" from the command line to get information about whether OpenCL is installed and working.

 

This is what it looks like on mine, you should probably get a similar output:

  Hide contents

image.thumb.png.d0de5d82a3baad24f78d89a9570ec6c6.png

 

Thanks. clinfo returns:

Number of platforms                               0

So I clearly am missing packages. I'll keep looing for new things to install.

Link to post
Share on other sites

Just now, Quoda27 said:

Thanks. clinfo returns:


Number of platforms                               0

So I clearly am missing packages. I'll keep looing for new things to install.

You can try "opencl-mesa", if that's available on Ubuntu. That did show up as a platform on mine, but I didn't seem to get WUs for it (but... that may just be an issue with general server overload). I did get some after I also installed "opencl-amd", now it shows up as 2 platforms... 😅

 

I don't know how to get it on Ubuntu, unfortunately. It's not available in the official Arch repos either, it's part of AUR. So I suspect you'd have to either manually build it on Ubuntu or get it from some PPA.

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

15 minutes ago, Windows7ge said:

From my experience on Ubuntu 18.04.3/19.04:


./amdgpu-pro-install --opencl=legacy,pal

You have to add the argument to install OpenCL support. I know this works for BOINC I have yet to test it for Folding.

Quoting this because its the solution. You have to install OpenCL with the driver package as an argument (at least on Ubuntu).

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×