Message boards :
Questions and problems :
BOINC and amdgpu-pro
Message board moderation
Author | Message |
---|---|
Send message Joined: 11 Aug 11 Posts: 8 |
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? |
Send message Joined: 30 May 15 Posts: 265 |
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. |
Send message Joined: 11 Aug 11 Posts: 8 |
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 |
Send message Joined: 30 May 15 Posts: 265 |
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: You may wish to mention there the ldconfig problem, as it might affect libGLand other libraries. |
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.