OpenCL, amd mobile vega 10 and Linux Mint 19.3

It seems that a lot of GPU problems revolve around specific versions of drivers. Though AMD has their own support structure, you can often learn from information reported by others who fold.

Moderators: Site Moderators, FAHC Science Team

Post Reply
jeffmr4
Posts: 20
Joined: Mon Apr 06, 2020 9:23 am

OpenCL, amd mobile vega 10 and Linux Mint 19.3

Post by jeffmr4 »

So I found the drivers I need to download for my graphics card on amd's site, amdgpu-pro-19.50-967956-ubuntu-18.04 However, when I try to install using,

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

I get the following error,

Code: Select all

Setting up amdgpu-core (19.50-967956) ...
Setting up libdrm-amdgpu-common (1.0.0-967956) ...
Setting up libdrm2-amdgpu:amd64 (1:2.4.99-967956) ...
Setting up amdgpu-dkms (19.50-967956) ...
Loading new amdgpu-19.50-967956 DKMS files...
Building for 5.3.0-46-generic
Building for architecture amd64
Building initial module for 5.3.0-46-generic
configure: error: in `/var/lib/dkms/amdgpu/19.50-967956/build':
configure: error: C compiler cannot create executables
See `config.log' for more details
Error! Bad return status for module build on kernel: 5.3.0-46-generic (amd64)
Consult /var/lib/dkms/amdgpu/19.50-967956/build/make.log for more information.
Setting up amdgpu-pro-core (19.50-967956) ...
Setting up libdrm-amdgpu-amdgpu1:amd64 (1:2.4.99-967956) ...
Setting up libopencl1-amdgpu-pro:amd64 (19.50-967956) ...
Setting up opencl-orca-amdgpu-pro-icd:amd64 (19.50-967956) ...
Setting up opencl-amdgpu-pro-comgr (19.50-967956) ...
Setting up clinfo-amdgpu-pro (19.50-967956) ...
Setting up opencl-amdgpu-pro-icd (19.50-967956) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
WARNING: amdgpu dkms failed for running kernel
jeffmr@jeffmr-Inspiron-5585:~/Downloads/amdgpu-pro-19.50-967956-ubuntu-18.04$
If I leave the incomplete install and reboot, FAHcontrol System Info shows,

OpenCL Not detected: clGetDeviceIDs( ) returned -1

Any ideas?

I am able to uninstall successfully.
foldy
Posts: 2040
Joined: Sat Dec 01, 2012 3:43 pm
Hardware configuration: Folding@Home Client 7.6.13 (1 GPU slots)
Windows 7 64bit
Intel Core i5 2500k@4Ghz
Nvidia gtx 1080ti driver 441

Re: OpenCL, amd mobile vega 10 and Linux Mint 19.3

Post by foldy »

sudo apt-get install ocl-icd-libopencl1
sudo apt-get install ocl-icd-opencl-dev
jeffmr4
Posts: 20
Joined: Mon Apr 06, 2020 9:23 am

Re: OpenCL, amd mobile vega 10 and Linux Mint 19.3

Post by jeffmr4 »

Thank you for the suggestion. I have tried that also but I get the same error except -1001.
toTOW
Site Moderator
Posts: 6359
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: OpenCL, amd mobile vega 10 and Linux Mint 19.3

Post by toTOW »

Did you follow what's indicated here : viewtopic.php?f=81&t=33353 ?
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
ipkh
Posts: 173
Joined: Thu Jul 16, 2015 2:03 pm

Re: OpenCL, amd mobile vega 10 and Linux Mint 19.3

Post by ipkh »

In this case the dkms module is not installing. The driver module can't be built to the current kernel version I think.
I'm not up to date on dkms and how it handles kernels but it's possible you need a kernel update or something.
jeffmr4
Posts: 20
Joined: Mon Apr 06, 2020 9:23 am

Re: OpenCL, amd mobile vega 10 and Linux Mint 19.3

Post by jeffmr4 »

Thank you for the replies. toTow I will try that link. It looks promising.
Post Reply