OpenCL using Intel ARC 850B with darktable crashes

After a crash in darktable using the sigmoid module, with openCL enabled, the system was rendered unbootable. OpenCL preferences were set to very fast GPU at the time. This also occurred with less severe consequences with the GPU set to default.

Symptoms were a general slowdown in Sigmoid as well as Exposure modules, tiling artifacts when zooming, and panning, and finally a system crash with the message:
AMD Vi: completion wait loop timed out being repeated multiple times.

The crashes occur after around 1/2 hour of editing or so, and most editing changes are lost from a particular session.

I’ve reused my darktable.rc file, and it seems to have legacy card information listed- current lines:

cldevice_v4_nvidiageforcegtx10603gb=0 250 0 16 16 128 0 0 0.018230 0.000
cldevice_v4_nvidiageforcegtx10603gb_building=-cl-fast-relaxed-math
cldevice_v4_nvidiageforcegtx10603gb_id0=400
cldevice_v5_cloveramdradeonrx550550series=0 250 0 16 16 128 0 0 0.000000 0.000
cldevice_v5_cloveramdradeonrx550550series_id0=400
cldevice_v5_intelropenclgraphicsintelrarctmb580graphics=0 250 0 16 16 128 0 0 0.000 0.000 0.250
cldevice_v5_intelropenclgraphicsintelrarctmb580graphics_building=
cldevice_v5_intelropenclgraphicsintelrarctmb580graphics_id0=600
cldevice_v5_intelropenclgraphicsintelrgraphics0xe20b=0 250 0 16 16 128 0 0 0.000 0.000 0.250
cldevice_v5_intelropenclgraphicsintelrgraphics0xe20b_building=
cldevice_v5_intelropenclgraphicsintelrgraphics0xe20b_id0=600
cldevice_v5_nvidiacudanvidiageforcegtx10603gb=0 250 0 16 16 128 0 0 0.000 0.000 0.250
cldevice_v5_nvidiacudanvidiageforcegtx10603gb_building=-cl-fast-relaxed-math
cldevice_v5_nvidiacudanvidiageforcegtx10603gb_id0=400
clplatform_amdacceleratedparallelprocessing=FALSE
clplatform_apple=FALSE
clplatform_intelropenclhdgraphics=TRUE
clplatform_nvidiacuda=FALSE
clplatform_openclon12=FALSE
clplatform_other=FALSE
clplatform_rusticl=FALSE

Are these lines of legacy info something that I should delete?

I’m running on Aurora 42, on a desktop pc, CPU is an AMD Ryzen 9 9900X 12 core processor with 64 GB ram and a KDE Plasma 6.4 DE.

I’ve been reading the manual, and don’t know if I should try any of the tuning recommendations listed or not. I can edit with OpenCL off with fairly good performance.

Any suggestions would be greatly appreciated.

Hopefully more knowledgeable people will answer your questions. However, one suggestion I would make is that ensure the latest driver from the manufacturer is installed as old drivers have caused people similar grief with crashes in the past. I speak from personal experience and the experience of others.

While you wait for informative answers just keep OpenCl off. Mainly diffuse or sharpen module for me is slowed down without OpenCl. Many other modules are not significantly impacted.

I’d remove all mentions of cldevice and clplatform from your darktablerc, then open darktable, set the preferences, then restart darktable and see if that helps.

2 Likes

Thanks, will do.

Thanks Terry, I’m pretty sure I’m up to date with the intel-opencl driver from Fedora, no updates available. As recommendations come in, I’ll check them. The CPU does a good job on it’s own. Pretty responsive.

Here’s the new darktable.rc after implimenting your reccomendations. I’ll do a little testing in the next few days.

cldevice_v5_intelropenclgraphicsintelrarctmb580graphics=0 250 0 16 16 128 0 0 0.000 0.000 0.250
cldevice_v5_intelropenclgraphicsintelrarctmb580graphics_building=
cldevice_v5_intelropenclgraphicsintelrarctmb580graphics_id0=600
clplatform_amdacceleratedparallelprocessing=FALSE
clplatform_apple=FALSE
clplatform_intelropenclhdgraphics=TRUE
clplatform_nvidiacuda=FALSE
clplatform_openclon12=FALSE
clplatform_other=FALSE
clplatform_rusticl=FALSE

Well, after almost exactly 1/2 hr processing RAW files in dt5.01 with openCL enabled, dt crashed and froze the system. I was moving sliders in Colorbalance RGB at the time. Rebooted and finished with the set of 16 images 1/2 hr later, with openCL disabled.

Just for laughs, exporting the 16 images to full sized jpgs took 50 seconds with openCL off, 28 seconds with it on.