Hi Joe,

Short answer – you probably need to be using the AMDgpupro driver for opencl to 
work on dt. The open source opencl driver doesn’t as yet support all the 
functions dt needs.

Longer -  I also use the PPA distribution rather than custom compiled and dt 
will use opencl only if it judges that you have a suitable opencl device. If 
you look at the output from 'darktable -d opencl' you should see where the 
opencl capabilities are reported. In my case I had a working display and 
working opencl drivers but they didn’t support all the required functions as I 
could see from the detailed output. Look earlier up in the output than that 
final ‘no suitable oipencl devices found’ to see why they aren’t suitable.

Rgds,
Rob.


From: Jos Dassen [mailto:[email protected]]
Sent: 03 February 2017 10:03
To: [email protected]
Subject: Re: [darktable-user] OpenCl with AMD graphics card

Still struggling with OpenCL.
So I did manage to install the driver Sarunas pointed out and it seemed to have 
installed without problem.

But still no OpenCL in darktable.

I was reading the OpenCL notes on the darktable website and they seem to have 
been written to guide compilation of the source.
I have darktable from PPA. I prefer to stay away from compiling.

So first question:
- Is full OpenCL support included in the standard PPA distribution? or only 
when custom compiled ? (I am using the latest 2.2.3).

I have attached a screenshot of 'darktable -d opencl' command.
I guess the crucial message is: "no suitable devices found".

- Does that mean it does not recognize my Graphics card (AMD FirePro W5170M)  ??

Anything I could do to get it working ??


Regards, Jos Dassen
________________________________
From: Šarūnas <[email protected]<mailto:[email protected]>>
To: 
[email protected]<mailto:[email protected]>
Sent: Friday, February 3, 2017 1:04 AM
Subject: Re: [darktable-user] OpenCl with AMD graphics card

On 2017-02-01 20:31, Jos Dassen wrote:

> Hello,
>
> Does anyone have darktable 2.2 working with OpenCL using an AMD
> Firepro graphics card??
>
> If so, which Linux distribution, version and graphics driver are you
> using??
>
> Unfortunately my Dell Precision 7710 has a FirePro W5100 series
> graphics card. AMD does not provide drivers for Ubuntu.

> [...]

Which version of Ubuntu?

AMDGPU-PRO for Ubuntu 16.04 is here:
http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx
FirePro W5100 is listed as supported.

For 16.10 one might get a mix of the open-source amdgpu with AMDGPU-PRO
OpenCL libraries working, like so:
http://www.gearsongallium.com/?p=2960<http://webdefence.global.blackspider.com/urlwrap/?q=AXicY3BmOGjAwPDbnYGhKKfS1DBFr7ioTC83MTMnOT-vpCg_Ry85P5ehzNDY0biszNfA2NTMxIShqKo4N7MkwyEvIykZKK9Xms2QUVJSYKWvX15erpeemlhUnJ-XnpiTk1maC9Kvb19ga2RpBrSH4ZAuAwMAl34lJA&Z>
(I have the above setup working with RX480 (Polaris/Ellesmere), Ubuntu
16.10, darktable 2.2.3) FirePro W5100 seems to use Bonaire chips, and
these might be supported by the current amdgpu; from /var/log/Xorg.o.log:

[ 87461.653] (II) AMDGPU: Driver for AMD Radeon chipsets: OLAND, OLAND,
    ... ... ...
        BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE,
        BONAIRE, BONAIRE, BONAIRE, ... ... ...

--
Šarūnas Burdulis
http://math.dartmouth.edu/~sarunas



____________________________________________________________________________ 
darktable user mailing list to unsubscribe send a mail to 
[email protected]<mailto:[email protected]>

____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]

Reply via email to