Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PorcelainMouse opened this issue May 20, 2024 · 8 comments

Comments

@PorcelainMouse
Copy link

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.

@ph0b
Copy link

ph0b commented May 21, 2024

Hi, I believe this is a duplicate of #726 that just got fixed.

@PorcelainMouse
Copy link
Author

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

@ph0b
Copy link

ph0b commented May 22, 2024

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).

@eero-t
Copy link

eero-t commented Jun 18, 2024

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
Copy link

eero-t commented Jul 17, 2024

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.

@PorcelainMouse
Copy link
Author

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
Copy link
Author

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

@eero-t
Copy link

eero-t commented Aug 19, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants