Project

General

Profile

Bug #11905

OpenCL not working on Ubuntu,

Added by Graham White over 1 year ago. Updated over 1 year ago.

Status:
Closed: invalid
Priority:
Low
Assignee:
-
Category:
OpenCL
Target version:
Start date:
01/03/2018
Due date:
% Done:

0%

Affected Version:
2.4.0
System:
Ubuntu
bitness:
64-bit
hardware architecture:
amd64/x86

Description

I have a Intel Core i7 processor, running Ubuntu, with OpenCL enabled. Darktable fsays OpenCL is not available. I attach
i) output of clinfo
ii) output of darktable-cltest

darktable-cltest.txt Magnifier (1.33 KB) Graham White, 01/03/2018 12:04 AM

clinfo.txt Magnifier (7.69 KB) Graham White, 01/03/2018 12:04 AM

History

#1 Updated by Roman Lebedev over 1 year ago

  • Status changed from New to Closed: invalid
WARNING: either your user id or the effective user id are 0. are you running darktable as root?

So are you?

So the only opencl-capable device is CPU?
We explicitly drop cpu-based opencl devices, because that is slower than just running normal code on cpu.

You can try to flip this option to disable that:

$ echo "opencl_use_cpu_devices=true" >> ~/.config/darktable/darktablerc 

Also, mesa opencl support is still not functional, so it won't work for dt anyway.

#2 Updated by Roman Lebedev over 1 year ago

  • Target version set to 2.6.0

Also available in: Atom PDF