BOINC and amdgpu-pro

Message boards : Questions and problems : BOINC and amdgpu-pro
Message board moderation

To post messages, you must log in.

AuthorMessage
pvh

Send message
Joined: 11 Aug 11
Posts: 8
Belgium
Message 77526 - Posted: 21 Apr 2017, 21:01:50 UTC

I am running openSUSE Leap 42.2 and recently bought a Radeon RX 480 gfx card. I got it running fine with the AMD proprietary driver amdgpu-pro v17.10. However, when I try to open run_manager, it fails to open a window and when I look at the client output, it says "No usable GPUs found". I am using client version 7.6.31 from rechenaugust.de. Is amdgpu-pro supported, and if so, how do I get it to work with BOINC?
ID: 77526 · Report as offensive
Profile Agentb
Avatar

Send message
Joined: 30 May 15
Posts: 265
United Kingdom
Message 77527 - Posted: 21 Apr 2017, 21:30:16 UTC - in response to Message 77526.  
Last modified: 21 Apr 2017, 21:30:48 UTC

Is amdgpu-pro supported, and if so, how do I get it to work with BOINC?

Proabably, although my SUSE knowledge is very limited, and AMD-GPUPRO is fairly new to SUSE

You will need to add boinc to the video group, if not done already.

usermod -A video boinc

and restart boinc

Good luck.
ID: 77527 · Report as offensive
pvh

Send message
Joined: 11 Aug 11
Posts: 8
Belgium
Message 77528 - Posted: 21 Apr 2017, 23:46:48 UTC
Last modified: 21 Apr 2017, 23:56:55 UTC

OK, got it figured out. The problem was that my /etc/ld.so.cache was out of date and also my LD_LIBRARY_PATH was set wrong. Both errors had the same effect: opencl code would pick up the wrong version of libamdocl64.so. The proprietary driver puts its libraries in /opt/amdgpu-pro/lib64 while the open source amdgpu driver has its libraries in /usr/lib64. When the /usr/lib64 version is picked up, opencl code doesn't work. Got that all sorted and the GPU is happily crunching away now...

PS - amdgpu-pro is officially still not supported under openSUSE, but you can download the SLES version and then apply the patch outlined here:

https://community.amd.com/thread/212558
ID: 77528 · Report as offensive
Profile Agentb
Avatar

Send message
Joined: 30 May 15
Posts: 265
United Kingdom
Message 77530 - Posted: 22 Apr 2017, 9:16:18 UTC - in response to Message 77528.  

OK, got it figured out. The problem was that my /etc/ld.so.cache was out of date and also my LD_LIBRARY_PATH was set wrong. Both errors had the same effect: opencl code would pick up the wrong version of libamdocl64.so. The proprietary driver puts its libraries in /opt/amdgpu-pro/lib64 while the open source amdgpu driver has its libraries in /usr/lib64. When the /usr/lib64 version is picked up, opencl code doesn't work. Got that all sorted and the GPU is happily crunching away now...

OK that's good, was it as simple as re-running ldconfig? The ubuntu install drops a couple of conf files amdgpu-pro-i386.conf and amdgpu-pro-x86_64.conf in the /etc/ld.so.conf.d/ directory and does not use the LD_LIBRARY_PATH environment vars. These conf files are picked up with a wildcard include by ldconfig.

I guess that is a missing / broken step in the install process to pickup the libraries.

PS - amdgpu-pro is officially still not supported under openSUSE, but you can download the SLES version and then apply the patch outlined here:
https://community.amd.com/thread/212558

You may wish to mention there the ldconfig problem, as it might affect libGLand other libraries.
ID: 77530 · Report as offensive

Message boards : Questions and problems : BOINC and amdgpu-pro

Copyright © 2024 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.