On 06/24/2017 11:51 AM, Germano Massullo wrote: > Il 24/06/2017 15:02, Michael Below ha scritto: >> Hi, >> >> Am Fr 23 Jun 2017 16:44:33 CEST >> schrieb Mark Heieis <[email protected]>: >> >>>>> Am 23.06.2017 um 17:01 schrieb Mark Heieis: >>>>>> To get AMD opencl on newer cards in Fedora 25, download current >>>>>> CentOS/RHEL amdgpu pro driver (17.10.xxxx). >>>>>> >>>>>> Unpack it and then under root run ./amggpu-pro-install --compute, >>>>>> which just installs opencl support >>>>> This is as simple as it should be! >>>> Sorry, no... I'm glad it works for you, but this is a hack that >>>> might break with the next update. It's a major advantage that the >>>> NVidia driver is available for a number of distributions, including >>>> Ubuntu and Debian... >>> I fail to see the problem and why it's a "no" and a "hack", as it is >>> just installing support libs as far as I can tell. It's been working >>> for me (RX480) since amdgpu-pro16.x using out-of-the-box Fedora 25. >>> Please explain how it would break, I'd like to understand. Worst >>> case, you just have to rerun ./amggpu-pro-install --compute >> It's not "as simple as it should be", since you are generally using >> Fedora package management to keep track of installed software, and you >> have to work around that here and install stuff by hand to get OpenCL >> on AMD, because of lacking support. And it's a "hack" since you are >> using part of a package built for RedHat. This may work in the current >> combination of RH version and Fedora version, but it is a matter of >> luck, not a matter of design. With the next change in either >> distribution the dice may fall another way. I wouldn't want to spend a >> couple hundred euros on that basis. >> >> But as I said, I'm glad it works for you. >> > Indeed as a Fedora packager I would never use such "hack around"s, but I > am glad that it works for him
I haven't used amdgpu/amdgpu-pro on Fedora or any RPM systems. For Ubuntu, amdgpu-pro is not much more, but a set of regular .deb packages. One can use the provided script amdgpu-pro-install, which installs all those debs. But they can also be intalled individually, using dpkg. With open source amdgpu already in the kernel, there is no need to install all the debs. That's why there is a --compute option, which merely installs a subset, i.e. a few packages with OpenCL libraries, in a standard, APT way. No compilation is necessary; it works with all the kernels, including the latest 4.12 RC. It never occurred to me that this is a hack, i.e. installing some libs, but perhaps there are reasons I don't know about. -- Šarūnas Burdulis math.dartmouth.edu/~sarunas
signature.asc
Description: OpenPGP digital signature
