Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #241403

Re: AMD OpenCL support

From piorunz <piorunz@gmx.com>
Newsgroups linux.debian.user
Subject Re: AMD OpenCL support
Date 2021-10-17 14:10 +0200
Message-ID <D9d9f-4Xr-5@gated-at.bofh.it> (permalink)
References <D8ZpE-4Lc-3@gated-at.bofh.it> <D99oZ-2E1-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 17/10/2021 09:00, didier gaumet wrote:
>
> Hello,
>
> Disclaimer: I have no AMD graphic card and have not personally tested
> what is describe below

Thanks for your reply and thoughts.

> Right now with an AMD/ATI graphic card in Debian, the only OpenCL run-
> time loader (ICD) present in the offical repos is the mesa one (mesa-
> opencl-icd) that you have already installed.

> If it not already installed, install the clinfo package and run clinfo
> to have more informations about the status of your OpenCL setup.

Yes I have that mesa version of OpenCL installed. Unfortunately, this
version is too old and not recognized. I need OpenCL 1.2 at least I
think. clinfo says, among many other things:
   Device Version                                  OpenCL 1.1 Mesa 20.3.5
   Driver Version                                  20.3.5
   Device OpenCL C Version                         OpenCL C 1.1


> Perhaps your claim of not having OpenCL support is erroneous and what
> happens actually is you have uncomplete/unsufficent support for your
> use case: a typical example is Darktable not having OpenCL image
> support, this requiring more recent OpenCL implementation that the Mesa
> one.
>
> Then you would probably have to either:
> - revert to use the proprietary amdgpu-pro driver (including an AMD
> ICD) instead of the free amdgpu one

> https://www.amd.com/en/support/kb/faq/amdgpu-installation

This procedure requires downloading .deb drivers from
https://support.amd.com/en-us/download. Only distros supported are
Ubuntu 18.04.5 HWE, Ubuntu 20.04.3. They will most likely fail in Debian.

> - or continue using the free amdgpu driver but install ROCm (AMD ICD)
> https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html

I spend some time testing this, best I got is ROCm 3.3 with only one
error (is breaks package "python" which doesn't even exist in debian).
Newer ROCm versions have many package breaks, therefore cannot be installed.

> - or continue using the free amdgpu driver but install the ICD subset
> of the proprietary driver
> https://linuxconfig.org/install-opencl-for-the-amdgpu-open-source-drivers-on-debian-and-ubuntu

I will try this solution next.


--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

AMD OpenCL support piorunz <piorunz@gmx.com> - 2021-10-16 23:30 +0200
  Re: AMD OpenCL support didier gaumet <didier.gaumet@gmail.com> - 2021-10-17 10:10 +0200
    Re: AMD OpenCL support piorunz <piorunz@gmx.com> - 2021-10-17 14:10 +0200
      Re: AMD OpenCL support Linux-Fan <Ma_Sys.ma@web.de> - 2021-10-17 23:00 +0200
        Re: AMD OpenCL support piorunz <piorunz@gmx.com> - 2021-10-18 00:10 +0200
          Re: AMD OpenCL support Linux-Fan <Ma_Sys.ma@web.de> - 2021-10-18 00:40 +0200
            Re: AMD OpenCL support piorunz <piorunz@gmx.com> - 2021-10-18 00:50 +0200
              Re: AMD OpenCL support Linux-Fan <Ma_Sys.ma@web.de> - 2021-10-18 15:10 +0200
                Re: AMD OpenCL support piorunz <piorunz@gmx.com> - 2021-10-19 02:20 +0200

csiph-web