The officially official Devuan Forum!

You are not logged in.

#1 2024-04-28 09:01:36

dchmelik
Member
Registered: 2024-04-28
Posts: 5  

OpenCL/AMDGPU-PRO?

On Devuan 5 (or when stable, newer) can one install OpenCL/AMDGPU-PRO, and how?  ROCm didn't work for me in the past, but might be AMDGPU-PRO's basis now, which lately works fine, and one can install only its OpenCL part... or is there a better way?  All I found on this topic was old/outdated material for older Devuan and much older Debian.

Last edited by dchmelik (2024-04-28 09:02:39)

Offline

#2 2024-05-06 18:55:58

uther
Member
Registered: 2019-05-16
Posts: 73  

Re: OpenCL/AMDGPU-PRO?

Most of the ROCm 5.2 stack is already packaged in Debian and is available on Daedalus. Look for `rocminfo`, `rocm-smi`, `libhsa-runtime64`, `libamdhip64`, `librocmsmi64`, etc.
And ROCm 5.7 is available on ceres if you dare.

At some point AMD in their infinite wisdom decided to change how they package AMDGPU-PRO drivers. All hacks that relied on extracting individual .deb from the official Ubuntu installer package stopped working.

Last edited by uther (2024-05-06 18:56:40)


soystemd-free diet

Offline

#3 2024-05-07 00:22:47

dchmelik
Member
Registered: 2024-04-28
Posts: 5  

Re: OpenCL/AMDGPU-PRO?

I'm just left with more questions than I started with: after a few years, why isn't there the rocm-all package yet, and otherwise, what's the full list what I need or how/where do I get that?

Offline

#4 2024-05-07 16:50:45

uther
Member
Registered: 2019-05-16
Posts: 73  

Re: OpenCL/AMDGPU-PRO?

after a few years, why isn't there the rocm-all package yet

I don't know maybe because:
- Packaging team is less than 5 people.
- ROCm stack is gigantic, consists of userspace and kernel space drivers both graphic (interop) and compute plus a dozen specific Machine Learning libraries and more.
- ROCm depends on custom LLVM compiler - good luck porting it anywhere by yourself!
- Up until recently ROCm was scattered in 3 different official organizations on Github in 30+ repositories. Now its 1 org, but repo count is the same.
- Up until recently there was no proper hardware CI with GPUs in Debian.
- GPUs cost $$$ and the team basically bought the hardware with their own private money.

and otherwise, what's the full list what I need or how/where do I get that?

You didn't even specify what exactly you need ROCm for and you expect to get useful answers?

Last edited by uther (2024-05-07 16:51:11)


soystemd-free diet

Offline

#5 2024-05-09 09:25:17

dchmelik
Member
Registered: 2024-04-28
Posts: 5  

Re: OpenCL/AMDGPU-PRO?

uther wrote:

You didn't even specify what exactly you need ROCm for [...]

dchmelik wrote:

OpenCL

As a mainly Slackware GNU/Linux user, for which standard method (if you want support) is install entire OS (and for which OpenCL for AMD is combined as one extra package) I don't bother with what type of OpenCL programs (BOINC.Berkeley.edu , miners) may use; I plan to just install entire OpenCL.  I don't like installing bits & pieces until a non-development OS says you need a 'dev' package (not separated out in development OS) or something fails then you need to find dependencies of dependencies of dependencies to 100th level; I plan to just install entire OpenCL.

Last edited by dchmelik (2024-05-09 09:37:45)

Offline

#6 2024-05-09 15:55:37

chris2be8
Member
Registered: 2018-08-11
Posts: 267  

Re: OpenCL/AMDGPU-PRO?

Saying what model(s) of GPU you need to run it on would be a good start. As would what CPU(s), motherboard(s) etc you have. You havn't even told us if you have a desktop or a laptop.

Offline

#7 2024-05-10 00:45:25

dchmelik
Member
Registered: 2024-04-28
Posts: 5  

Re: OpenCL/AMDGPU-PRO?

OpenCL works for all AMD display/video/graphics cards (which means desktop or server) not too old... in this case, Radeon RX Vega64 & 5700 & 6900 & in future 7900 XT(X)s... CPU & system-/logic-/main-/mother-board is irrelevant (maybe unless not too old, but they're i7s new enough): OpenCL is only for these graphics cards.

Last edited by dchmelik (2024-05-12 23:21:46)

Offline

Board footer