The officially official Devuan Forum!

You are not logged in.

#1 2020-09-29 21:14:11

kapqa
Member
Registered: 2019-01-02
Posts: 341  

(AMD A10-9700 APU) OpenCL > OpenCL subsystem isn't available

Hello ,

today i tried to install this software Svp4linux on devuan beowulf on pc with amd a10 apu (bristol ridge).

it seems the APU is not very good supported on Debian / Devuan, but maybe i just made an error during installation.

however, the program would not start and i get the following error

21:09:19.633 [I]: OS: Linux 4.19.0-11-amd64 #1 SMP Debian 4.19.146-1 (2020-09-17) x86_64
21:09:19.649 [I]: Desktop environment:  / xfce
21:09:19.675 [I]: CPU: AMD A10-9700 RADEON R7, 10 COMPUTE CORES 4C+6G [base frequency 1540 MHz, 4 threads]
21:09:19.677 [W]: Video: OpenCL subsystem isn't available, try to reinstall video drivers
21:09:19.679 [I]: Memory:  15026  MB total,  14476 MB free

i have installed the firmware-amd-graphics and also firmware-xorg-video-ati or similar , as this was done during installation (went from ascii to beowulf).

If anyone know an help, please post.

thank you very much.

Offline

#2 2020-09-29 21:36:42

rolfie
Member
Registered: 2017-11-25
Posts: 1,187  

Re: (AMD A10-9700 APU) OpenCL > OpenCL subsystem isn't available

Offline

#3 2020-09-30 07:06:49

kapqa
Member
Registered: 2019-01-02
Posts: 341  

Re: (AMD A10-9700 APU) OpenCL > OpenCL subsystem isn't available

Thank you very much Rolfie,

this has been solved!

firmware-linux

was missing, the one-liner filled it up.

Now the program starts!

Offline

#4 2024-10-21 09:49:56

kapqa
Member
Registered: 2019-01-02
Posts: 341  

Re: (AMD A10-9700 APU) OpenCL > OpenCL subsystem isn't available

Hello ,
i have now a newer System with Graphics card RX 7000 series.

Is there  asolution to install OpenCL for Devuan and Amdgpu already?
On Ubuntu it would function, but would much prefer using Devuan.
Thanks.

Offline

#5 2024-10-22 12:18:34

emanym
Member
Registered: 2018-04-08
Posts: 37  

Re: (AMD A10-9700 APU) OpenCL > OpenCL subsystem isn't available

Opencl is currently enabled in rocm on debian, available as rocm-opencl-icd.

You would have to run (devuan) testing or unstable to use it.

Offline

#6 2024-11-24 13:31:03

kapqa
Member
Registered: 2019-01-02
Posts: 341  

Re: (AMD A10-9700 APU) OpenCL > OpenCL subsystem isn't available

thank you, i was able to install the OpenCL part of driver, in daedalus, it seem function;

however, the application, most probably need the vulkan part of amdgpu, and those seem not function with the opensource driver as exepected.

14:24:26.555 [W]: Video [gpuID=11] initialization failed
14:24:26.555 [W]: Performance: GPU-based frame rendering [gpuID=11] FAILED
14:24:26.683 [W]: Video [gpuID=12] initialization failed
14:24:26.683 [W]: Performance: GPU-based frame rendering [gpuID=12] FAILED

trying to install amd radeon driver from amd website fails on devuan (i tried with the package of ubuntu 24.04)
https://www.amd.com/en/support/download … ivers.html

sudo amdgpu-install --usecase=graphics -y --vulkan=pro --opencl=rocr --accept-eula
[b]Unsupported OS: /etc/os-release ID 'devuan'[/b]

thank you, it function on excalibur, very pleased!

Last edited by kapqa (2024-12-11 16:56:37)

Offline

#7 2024-12-21 15:07:19

kapqa
Member
Registered: 2019-01-02
Posts: 341  

Re: (AMD A10-9700 APU) OpenCL > OpenCL subsystem isn't available

Opencl is currently enabled in rocm on debian, available as rocm-opencl-icd.

You would have to run (devuan) testing or unstable to use it.

Hello ,

would this need that is still need to install "rocm" on Devuan 6.0?

there is official package amdgpu rocm from AMD, but this is installable on Devuan only via tricks.

https://www.amd.com/en/support/download … ivers.html

"rocm-opencl-icd" alone seem not suffice for proper OpenCL;
sorry if i got it wrong around.

clinfo
Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.1 AMD-APP (3452.0)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback 
  Platform Extensions function suffix             AMD
  Platform Host timer resolution                  1ns

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No platform
  clCreateContext(NULL, ...) [default]            No platform
  clCreateContext(NULL, ...) [other]              <error: no devices in non-default plaforms>
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No devices found in platform

Last edited by kapqa (2024-12-21 15:09:12)

Offline

#8 Yesterday 21:25:31

emanym
Member
Registered: 2018-04-08
Posts: 37  

Re: (AMD A10-9700 APU) OpenCL > OpenCL subsystem isn't available

I'm not really that familiar with opencl, but noticed this existed when looking at rocm.

Running clinfo with rocm-opencl-icd installed gives me:

# clinfo
Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.1 AMD-APP (3590.0)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback 
  Platform Extensions function suffix             AMD
  Platform Host timer resolution                  1ns

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 1
  Device Name                                     gfx1100
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 2.0 
  Driver Version                                  3590.0 (HSA1.1,LC)
  Device OpenCL C Version                         OpenCL C 2.0 
  Device Type                                     GPU
  Device Board Name (AMD)                         AMD Radeon Graphics
etc...

and:

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  AMD Accelerated Parallel Processing
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [AMD]
  clCreateContext(NULL, ...) [default]            Success [AMD]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   gfx1100
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   gfx1100
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   gfx1100

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.3.1
  ICD loader Profile                              OpenCL 3.0

What amd gpu are you using?

I wouldn't try mixing debian/devuan packages with the official rocm distribution for ubuntu...

Offline

Board footer