Am 01.10.20 um 18:06 schrieb Germano Massullo:
Il 01/10/20 17:40, Peter McD ha scritto:
Am 01.10.20 um 16:43 schrieb Germano Massullo:
AMD RX480 + Fedora user here.
I am using the GPU with amdgpu (open) drivers for everything.
When I have to use darktable, I use the proprietary amdgpu-pro OpenCL
drivers. In order to prepare the environment, you have to download the
...
Then to run darktable
OPENCL_VENDOR_PATH=/home/user/amd_opencl/etc/OpenCL/vendors/
LD_LIBRARY_PATH=/home/user/amd_opencl/opt/amdgpu-pro/lib64/ darktable

This is REALLY interesting!
Anyone out there who has tried it with openSUSE, preferably with
Tumbleweed?

IMHO it should really work because the RPM drivers I downloaded are not
for Fedora, but for RHEL/CentOS

No, unfortunatlly it doesn't work with Leap 15.2 or Tumbleweed, using
the RPMs from amdgpu-pro_20.30, I tried both.

I wrote a script which followed your instructions. adapted to my
home-directory. Neither Leap nor Tumbleweed show "openCL Support activated"

I additionally run the "bench" benchmark in Tumbleweed and got the
output below, which shows openCL not present.

Peter

==================
Your instructions changed to a bash-script
--------------------------------------------
#!/bin/bash
# call Darktable with openCL
# org: OPENCL_VENDOR_PATH=/home/user/amd_opencl/etc/OpenCL/vendors/
# org: LD_LIBRARY_PATH=/home/user/amd_opencl/opt/amdgpu-pro/lib64/ darktable
#
# adapted to local HOME
OPENCL_VENDOR_PATH=/home/peter/bin/amd_openCL/etc/OpenCL/vendors/
LD_LIBRARY_PATH=/home/peter/bin/amd_openCL/opt/amdgpu-pro/lib64/
darktable-cli /temp/bench.SRW /temp/test.jpg --core -d perf -d opencl


Bench-output
---------------
0.029688 [opencl_init] opencl related configuration options:
0.029730 [opencl_init]
0.029734 [opencl_init] opencl: 1
0.029737 [opencl_init] opencl_scheduling_profile: 'default'
0.029740 [opencl_init] opencl_library: ''
0.029743 [opencl_init] opencl_memory_requirement: 768
0.029747 [opencl_init] opencl_memory_headroom: 400
0.029749 [opencl_init] opencl_device_priority: '*/!0,*/*/*'
0.029752 [opencl_init] opencl_mandatory_timeout: 200
0.029755 [opencl_init] opencl_size_roundup: 16
0.029758 [opencl_init] opencl_async_pixelpipe: 0
0.029760 [opencl_init] opencl_synch_cache: false
0.029763 [opencl_init] opencl_number_event_handles: 25
0.029766 [opencl_init] opencl_micro_nap: 1000
0.029768 [opencl_init] opencl_use_pinned_memory: 0
0.029771 [opencl_init] opencl_use_cpu_devices: 0
0.029773 [opencl_init] opencl_avoid_atomics: 0
0.029775 [opencl_init]
0.029931 [opencl_init] found opencl runtime library 'libOpenCL'
0.029955 [opencl_init] opencl library 'libOpenCL' found on your system
and loaded
0.029966 [opencl_init] could not get platforms: -1001
0.029969 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
0.029972 [opencl_init] initial status of opencl enabled flag is OFF.
0,584765 [dev] took 0,143 secs (0,177 CPU) to load the image.
0,634173 [export] creating pixelpipe took 0,047 secs (0,119 CPU)
0,634281 [pixelpipe_process] [export] using device -1
0,634341 [dev_pixelpipe] took 0,000 secs (0,000 CPU) initing base buffer
[export]
0,647255 [dev_pixelpipe] took 0,013 secs (0,112 CPU) processed
`Raw-Schwarz-/Weißpunkt' on CPU, blended on CPU [export]
0,658551 [dev_pixelpipe] took 0,011 secs (0,101 CPU) processed
`Weißabgleich' on CPU, blended on CPU [export]
0,664500 [dev_pixelpipe] took 0,006 secs (0,061 CPU) processed
`Spitzlicht-Rekonstruktion' on CPU, blended on CPU [export]
0,757836 [dev_pixelpipe] took 0,093 secs (0,923 CPU) processed
`Entrastern' on CPU, blended on CPU [export]
0,804936 [dev_pixelpipe] took 0,047 secs (0,455 CPU) processed
`Basiskurve' on CPU, blended on CPU [export]
0,833728 [dev_pixelpipe] took 0,029 secs (0,367 CPU) processed
`Eingabefarbprofil' on CPU, blended on CPU [export]
0,912634 [dev_pixelpipe] took 0,079 secs (1,199 CPU) processed
`Schärfen' on CPU, blended on CPU [export]
0,964673 [dev_pixelpipe] took 0,052 secs (0,803 CPU) processed
`Ausgabefarbprofil' on CPU, blended on CPU [export]
0,991169 [dev_pixelpipe] took 0,026 secs (0,379 CPU) processed
`Ausgabekodierung' on CPU, blended on CPU [export]
0,991325 [dev_process_export] pixel pipeline processing took 0,357 secs
(4,406 CPU)

____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to