compute-runtime icon indicating copy to clipboard operation
compute-runtime copied to clipboard

Darktable Hangs with Intel OpenCL Enabled after Update to Kernel 6.8 + compute-runtime

Open PorcelainMouse opened this issue 1 year ago • 10 comments

Since kernel 6.8 + compute-runtime, Intel A750 hasn't worked correctly. With kernel 6.7, BOINC was working well and no problems with Darktable were noticed. However, immediately after kernel 6.8, A750 wasn't even detected by BOINC. After an update to intel-compute-runtime recently, A750 is detected, but performance is much worse, power usage down by 90 % for the same workload. clpeak hangs.

I just tested Darktable, too, and it completely hangs with Intel OCL enabled, but works with Intel OCL disabled. I'm assuming this is due to the same underlying performance issue, but I thought I would report it because I couldn't see any other recent issues for darktable.

PorcelainMouse avatar May 20 '24 04:05 PorcelainMouse

Hi, I believe this is a duplicate of https://github.com/intel/compute-runtime/issues/726 that just got fixed.

ph0b avatar May 21 '24 15:05 ph0b

Awesome. I saw that, but wasn't sure. I'll try to get back on upstream kernel or at least try 6.9.

PorcelainMouse avatar May 21 '24 20:05 PorcelainMouse

if you have troubles with the current kernel on your system while waiting for the fix to land, you may work around the issue by using these environment variables: NEOReadDebugKeys=1 NodeOrdinal=0 that will force all compute execution to run on the RCS (Render Command Streamer).

ph0b avatar May 22 '24 07:05 ph0b

Awesome. I saw that, but wasn't sure. I'll try to get back on upstream kernel or at least try 6.9.

As discussed in #726, you will need 6.10 kernel for full (= no perf regression) fix.

eero-t avatar Jun 18 '24 17:06 eero-t

Awesome. I saw that, but wasn't sure. I'll try to get back on upstream kernel or at least try 6.9.

As discussed in #726, you will need 6.10 kernel for full (= no perf regression) fix.

Which has also been released, few days ago: https://www.phoronix.com/news/Linux-6.10-Released

@PorcelainMouse Please verify / close when convenient.

eero-t avatar Jul 17 '24 16:07 eero-t

Yes, well, I'm on kernel 6.9.10 now. I got excited and thought I got 6.10 today. I re-enabled OCL & Intel OCL, restarted, it did some building of things, then I restarted it twice. No problems were noticed, seems to run smooth. But, if 6.10 is indicated, I'll revert back and wait some more. I haven't had time to get back to pulling from upstream kernel. It's just very inconvenient to manage that.

Thanks for the information, though! Much appreciated.

PorcelainMouse avatar Jul 28 '24 08:07 PorcelainMouse

Well, I have kernel 6.10, now, and dark table isn't hanging with Intel OCL enabled.

PorcelainMouse avatar Aug 10 '24 00:08 PorcelainMouse

Sorry for late reply.

Yes, well, I'm on kernel 6.9.10 now. I got excited and thought I got 6.10 today. I re-enabled OCL & Intel OCL, restarted, it did some building of things, then I restarted it twice. No problems were noticed, seems to run smooth. But, if 6.10 is indicated, I'll revert back and wait some more.

6.9 fixed the functional issue (hang), so AFAIK it should have already been useful, just potentially a bit slow due to performance regression in it (all compute engines might not get used), which was fixed in 6.10.

eero-t avatar Aug 19 '24 17:08 eero-t

Hi @PorcelainMouse

We’d like to know if this issue is still affecting you. If so, please provide an update or any additional information. Otherwise, we’ll close this issue after 30 days of inactivity. Your feedback is appreciated!

kgibala avatar Oct 22 '25 09:10 kgibala