Hello,

When I try this, darktable finds 'libOpoenCL.so.1' but still fails. I
think it is the 'could not get platforms: -1001' error when I run
darktable-cltest:

[opencl_init] opencl related configuration options:
[opencl_init]
[opencl_init] opencl: 1
[opencl_init] opencl_library: ''
[opencl_init] opencl_memory_requirement: 768
[opencl_init] opencl_memory_headroom: 300
[opencl_init] opencl_device_priority: '*/!0,*/*/*'
[opencl_init] opencl_size_roundup: 16
[opencl_init] opencl_async_pixelpipe: 0
[opencl_init] opencl_synch_cache: 0
[opencl_init] opencl_number_event_handles: 25
[opencl_init] opencl_micro_nap: 1000
[opencl_init] opencl_use_pinned_memory: 0
[opencl_init] opencl_use_cpu_devices: 0
[opencl_init] opencl_avoid_atomics: 0
[opencl_init] opencl_enable_markesteijn: 1
[opencl_init]
[opencl_init] could not find opencl runtime library 'libOpenCL'
[opencl_init] could not find opencl runtime library 'libOpenCL.so'
[opencl_init] found opencl runtime library 'libOpenCL.so.1'
[opencl_init] opencl library 'libOpenCL.so.1' found on your system and
loaded
[opencl_init] could not get platforms: -1001
[opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
[opencl_init] initial status of opencl enabled flag is OFF.

Any idea what I might have done wrong?


On 25/03/17 05:23 PM, Mark Heieis wrote:
>
> Hi,
>
> Using the info in this link https://community.amd.com/message/2788134,
> It appears that I've been able to get OpenCL working on my system,
> Fedora 25 (4.9.14-200.fc25.x86_64 fully updated) using an RX480 gpu
> *withou**t* installing the amdgpu-pro driver. You will, however, need
> the amdgpu-pro 16.60 driver rpms. Just unpackage the few libs needed
> (I used the CentOS//RHEL 7.3 package). Haven't done any benchmarking yet.
>
> Cheers
>
> [~]$ darktable-cltest
> [opencl_init] opencl related configuration options:
> [opencl_init]
> [opencl_init] opencl: 1
> [opencl_init] opencl_library: ''
> [opencl_init] opencl_memory_requirement: 768
> [opencl_init] opencl_memory_headroom: 300
> [opencl_init] opencl_device_priority: '*/!0,*/*/*'
> [opencl_init] opencl_size_roundup: 16
> [opencl_init] opencl_async_pixelpipe: 0
> [opencl_init] opencl_synch_cache: 0
> [opencl_init] opencl_number_event_handles: 25
> [opencl_init] opencl_micro_nap: 1000
> [opencl_init] opencl_use_pinned_memory: 0
> [opencl_init] opencl_use_cpu_devices: 0
> [opencl_init] opencl_avoid_atomics: 0
> [opencl_init] opencl_enable_markesteijn: 1
> [opencl_init]
> [opencl_init] could not find opencl runtime library 'libOpenCL'
> [opencl_init] could not find opencl runtime library 'libOpenCL.so'
> [opencl_init] found opencl runtime library 'libOpenCL.so.1'
> [opencl_init] opencl library 'libOpenCL.so.1' found on your system and
> loaded
> [opencl_init] found 1 platform
> [opencl_init] found 2 devices
> [opencl_init] device 0 `Ellesmere' supports image sizes of 16384 x 16384
> [opencl_init] device 0 `Ellesmere' allows GPU memory allocations of up
> to 2669MB
> [opencl_init] device 0: Ellesmere
>      GLOBAL_MEM_SIZE:          3749MB
>      MAX_WORK_GROUP_SIZE:      256
>      MAX_WORK_ITEM_DIMENSIONS: 3
>      MAX_WORK_ITEM_SIZES:      [ 256 256 256 ]
>      DRIVER_VERSION:           2264.10
>      DEVICE_VERSION:           OpenCL 1.2 AMD-APP (2264.10)
>
>
> On 2017-01-01 16:10, Riley Brandt wrote:
>>
>> Thanks for sharing your experience. It's very interesting. Please let
>> me know if you ever get AMDGUP-Pro and OpenCL running in Fedora.
>>
>> I am going to wait a while before switching to AMD. I want to see how
>> the open source drivers turn out.
>>
>>
>> On 30/12/16 07:31 PM, Mark Heieis wrote:
>>>
>>> Hi
>>>
>>> For what its worth... I just acquired a new system that includes a
>>> RX480, running fedora 25. It terms of getting the GPU working, it
>>> functions with mesa, but lacks the "image support" required for full
>>> darktable support of CL.
>>>
>>> With respect to amdgpu-pro, I've been working on installing it as
>>> recently as today, from what I can tell, we need to wait for the
>>> driver to be updated to support xserver-api(video-drv-23) (Xorg 1.19
>>> (just released mid Nov 2016)). Installing it currently fails on
>>> xserver-api(video-drv-19) but seems to leave the driver partially
>>> installed without detriment (status from Xorg.0.log).
>>>
>>> Having updated to a new system with an i7-6700k and faster hardware
>>> overall, I'm having no real issue working without OpenCL for the
>>> moment, hoping that patience will pay off shortly with the required
>>> update. What functionality will be in place at that time will be the
>>> interesting bit.
>>>
>>> With that in mind, I'm still experimenting.
>>>
>>> Regards.
>>>
>>>
>>>
>>>
>>> On 2016-12-29 09:57, Riley Brandt wrote:
>>>> Hi,
>>>>
>>>> I am interested in buying an AMD RX480 video card for the OpenCL
>>>> performance in darktable (and open source drivers). However, I
>>>> first need to know if OpenCL is only in the in the proprietary
>>>> AMDGPU-PRO drivers?
>>>>
>>>> I am running Fedora, and from what I can tell, the AMDGPU-PRO
>>>> driver isn't available in Fedora. Only the open source AMDGPU driver.
>>>>
>>>> Is anyone running darktable on Fedora with an AMD RX470/480 and
>>>> OpenCL enabled?
>>>>
>>>> Thanks,
>>>>
>>>> Riley
>>>>
>>>> ____________________________________________________________________________
>>>>
>>>> darktable user mailing list
>>>> to unsubscribe send a mail to
>>>> [email protected]
>>>>
>>>
>>>
>>> ____________________________________________________________________________
>>> darktable user mailing list to unsubscribe send a mail to
>>> [email protected]
>>
>>
>> ____________________________________________________________________________
>> darktable user mailing list to unsubscribe send a mail to
>> [email protected]
>
>
> ____________________________________________________________________________
> darktable user mailing list to unsubscribe send a mail to
> [email protected]


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

Reply via email to