Try this:
Change this one to 400
delete these:
opencl_memory_headroom=300
opencl_memory_requirement=768
opencl_micro_nap=100
opencl_number_event_handles=25
Then open darktable and try changing the OpenCL tuning to “memory size and transfer”
Ideally you should try a build after (Tuning opencl dt4 #11717 ). It was merged 6 days ago. Bill normally post his build on Sundays. You can also try one of the nightly builds: Nightly PKG · Workflow runs · darktable-org/darktable · GitHub
I build mine today and it is running without issues. Very likely the nightly is also good.