A fresh install on my old laptop. By now I think that I have learned how to get OpenCl up and running. Should be a piece of cake!
Starting dt with the -d opencl option the problem points to my preferences … but the preferences are locking me out of opencl use.
Plane Jane dt 4.6.1 … nothing fancy on Manjaro
0.1129 [opencl_init] opencl disabled via darktable preferences
0.1130 [opencl_init] opencl library ‘libOpenCL’ found on your system and loaded, preference ‘default path’
1.0311 [opencl_init] 0 platforms detected, error: Unknown OpenCL error
1.0311 [opencl_init] FINALLY: opencl is NOT AVAILABLE and NOT ENABLED.
0.0326 [dt_get_sysresource_level] switched to 1 as `default'
0.0326 total mem: 15618MB
0.0326 mipmap cache: 1952MB
0.0326 available mem: 7809MB
0.0326 singlebuff: 122MB
0.0468 [opencl_init] opencl disabled via darktable preferences
0.0469 [dt_dlopencl_init] found default opencl runtime library 'libOpenCL'
0.0470 [opencl_init] opencl library 'libOpenCL' found on your system and loaded, preference 'default path'
0.9073 [opencl_init] 0 platforms detected, error: Unknown OpenCL error
0.9074 [opencl_init] FINALLY: opencl is NOT AVAILABLE and NOT ENABLED.
The laptop is an Lenovo W530 that has been running dt for some years … sucessfully with Manjaro/Arch O/S.
Very carefully did a full Manjaro system install followed by setting the critical opencl items. Installed the ‘basic’ dt 4.6.1 (rather than trying to get the git through Arch) and Manjaro has been fully updated. Preferences indiicate that the Nvidia CUDA driver is installed. The ‘libportmidi.so.2’ error is new, the file is unknown to my package manager. Below is the latest dt -d output.
0.1035 [dt_get_sysresource_level] switched to 1 as `default'
0.1035 total mem: 15618MB
0.1035 mipmap cache: 1952MB
0.1035 available mem: 7809MB
0.1035 singlebuff: 122MB
0.1141 [opencl_init] opencl disabled via darktable preferences
0.1143 [opencl_init] opencl library 'libOpenCL' found on your system and loaded, preference 'default path'
0.1147 [opencl_init] 0 platforms detected, error: Unknown OpenCL error
0.1147 [opencl_init] FINALLY: opencl is NOT AVAILABLE and NOT ENABLED.
1.3328 [lib_load_module] failed to open `midi': libportmidi.so.2: cannot open shared object file: No such file or directory
You seem to have an OS issue and nothing to do with dt. I don’t know about Manjaro, but this is an old laptop. Manjaro has GPU drivers for your GPU card?
This laptop has been running dt both basic and git versions for many many years and Manjaro has been my O/S for at least 4 of those years.
I will revert to the non-opengl version at this point and thrash again when I get home in i weeks time. My main Delll system is running just fine with the git version.
As a matter of interest does anybody know of a small program that I can load that also uses OpenCl … it would make for an interesting test.
Yes, dt runs correctly otherwise. So, somewhere it must be a driver problem.
There are no open source drivers for this older hardware but it is baffling that it has worked in prior years.