Hello,
this might be of interest to Ubuntu 16.04 + AMD GPU users, where fglrx
driver is no more (unsupported Xorg version).

The good news is that the new “hybrid” amdgpu-pro driver beta has been
released for 4.4 kernels and Ubuntu 16.04 and in my last attempt it just
works, i.e. X starts fine and OpenCL is available.

The not so good news is that only a limited number of AMD GPUs is supported.

Installer download:
http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Beta-Driver-for-Vulkan-Release-Notes.aspx

It installs the following packages (and DKMS-compiles kernel module):
https://gist.github.com/sarunasb/06028b904c4d372f0a4d630fd0fdf230

darktable-cltest:
https://gist.github.com/sarunasb/6cc791e78211fa5bdea55b875401e6e9

In my case GPU is R9-390X with 8GiB of VRAM (reported as R9-290X by
lspci for whatever reason).
https://gist.github.com/sarunasb/db415237df299fd897e1c3b0d8698903
Unfortunately only 623MiB are reported to OpenCL. But even with
'opencl_memory_requirement=623' in darktablerc, processing 10 test ORFs
with OpenCL is about twice as fast as with CPU only:

sarunas@hilbert:~$ grep 'pixel pipeline' dt-cpu.txt
[dev_process_export] pixel pipeline processing took 13.154 secs (93.164 CPU)
[dev_process_export] pixel pipeline processing took 12.049 secs (87.688 CPU)
[dev_process_export] pixel pipeline processing took 12.841 secs (90.152 CPU)
[dev_process_export] pixel pipeline processing took 24.378 secs (164.324
CPU)
[dev_process_export] pixel pipeline processing took 15.967 secs (113.116
CPU)
[dev_process_export] pixel pipeline processing took 10.879 secs (74.880 CPU)
[dev_process_export] pixel pipeline processing took 10.721 secs (74.248 CPU)
[dev_process_export] pixel pipeline processing took 10.769 secs (74.476 CPU)
[dev_process_export] pixel pipeline processing took 9.881 secs (68.988 CPU)
[dev_process_export] pixel pipeline processing took 10.412 secs (72.772 CPU)

sarunas@hilbert:~$ grep 'pixel pipeline' dt-gpu.txt
[dev_process_export] pixel pipeline processing took 7.217 secs (19.152 CPU)
[dev_process_export] pixel pipeline processing took 5.913 secs (13.732 CPU)
[dev_process_export] pixel pipeline processing took 5.687 secs (13.272 CPU)
[dev_process_export] pixel pipeline processing took 11.414 secs (32.920 CPU)
[dev_process_export] pixel pipeline processing took 6.940 secs (15.256 CPU)
[dev_process_export] pixel pipeline processing took 5.468 secs (15.844 CPU)
[dev_process_export] pixel pipeline processing took 5.541 secs (15.604 CPU)
[dev_process_export] pixel pipeline processing took 5.424 secs (15.888 CPU)
[dev_process_export] pixel pipeline processing took 4.708 secs (11.912 CPU)
[dev_process_export] pixel pipeline processing took 5.156 secs (14.272 CPU)

-- 
Šarūnas Burdulis
http://math.dartmouth.edu/~sarunas
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]

Reply via email to