Hardware acceleration doesn't work: CL_BUILD_PROGRAM_FAILURE
Dear Capture One,
I'm unable to get hardware acceleration working. Capture One says "Hardware acceleration doesn't work" in Preferences.
I have already removed all the preferences and deleted the ImgCore: same problem.
How to reproduce:
- Install Capture One
- Open Capture One
- In Preferences, set Hardware Acceleration to Auto
- In ~/Library/Application Support/Capture One/ImageCore/13.0.3/ you see ICOCL.bin with a size of only 50kB
- Preferences says "Hardware acceleration doesn't work"
When I remove the ~/Library/Application Support/Capture One/ImageCore/ folder and restart Capture One, the files are being generated, but with an error.
My system:

All is up-to-date, also Capture One: version 13.0.3.29.
What to do next? Any suggestions? Capture One has worked correctly with hardware acceleration on this machine, some weeks ago as far as I remember.
This is the CaptureOneICOCL.log:
2020-03-25 19:40:14> Logging is now active.
2020-03-25 19:40:14> CPU: GenuineIntel [Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz]
2020-03-25 19:40:14> CPU features: MMX, SSE, SSE2, SSE3, SSSE3, SSE41, SSE42, AVX, F16C, CX8, RDRAND, RDTSCP, POPCNT
2020-03-25 19:40:14> OpenCL initialization...
2020-03-25 19:40:14> Found 1 OpenCL platforms
2020-03-25 19:40:14> Found 1 OpenCL devices on platform 0 (Apple)
2020-03-25 19:40:14> OpenCL Device 0 : GeForce GTX 680MX
2020-03-25 19:40:14> OpenCL Driver Version : 14.0.32 355.11.11.10.10.143
2020-03-25 19:40:14> OpenCL Compute Units : 8
2020-03-25 19:40:14> OpenCL CL_DEVICE_HOST_UNIFIED_MEMORY : 0
2020-03-25 19:40:14> OpenCL CL_DEVICE_GLOBAL_MEM_CACHE_SIZE : 0
2020-03-25 19:40:14> OpenCL CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE : 0
2020-03-25 19:40:14> OpenCL CL_DEVICE_GLOBAL_MEM_CACHE_TYPE : 0
2020-03-25 19:40:14> OpenCL CL_DEVICE_GLOBAL_MEM_SIZE : 2048 mb
2020-03-25 19:40:14> OpenCL CL_DEVICE_MAX_MEM_ALLOC_SIZE : 512 mb
2020-03-25 19:40:14> OpenCL CL_DEVICE_LOCAL_MEM_SIZE : 49152
2020-03-25 19:40:14> OpenCL CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE : 65536
2020-03-25 19:40:14> OpenCL CL_DEVICE_VENDOR_ID : 16918272
2020-03-25 19:40:14> OpenCL CL_DEVICE_VENDOR : NVIDIA
2020-03-25 19:40:14> OpenCL CL_DEVICE_EXTENSIONS : cl_APPLE_SetMemObjectDestructor cl_APPLE_ContextLoggingFunctions cl_APPLE_clut cl_APPLE_query_kernel_names cl_APPLE_gl_sharing cl_khr_gl_event cl_khr_byte_addressable_store cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_APPLE_fp64_basic_ops cl_khr_fp64 cl_khr_3d_image_writes cl_khr_depth_images cl_khr_gl_depth_images cl_khr_gl_msaa_sharing cl_khr_image2d_from_buffer cl_APPLE_ycbcr_422 cl_APPLE_rgb_422
2020-03-25 19:40:14> OpenCL CL_DEVICE_MAX_WORK_GROUP_SIZE : 1024
2020-03-25 19:40:14> OpenCL CL_DEVICE_ADDRESS_BITS : 64
2020-03-25 19:40:14> OpenCL : Building kernels on dev 0 [GeForce GTX 680MX]
2020-03-25 19:40:14> Compiled 0/1295
2020-03-25 19:40:14> (ERROR) Compilation of BayerC1v2012_1 failed : CL_BUILD_PROGRAM_FAILURE
2020-03-25 19:40:14> (ERROR) Compilation of BayerC1v2012_1 returned : CL_BUILD_PROGRAM_FAILURE
Error getting function data from server
2020-03-25 19:40:14> (ERROR) Failed to create BayerC1v2012_1 : CL_BUILD_PROGRAM_FAILURE
-
Hi Hans,
You should know that this is a user-to-user forum, and Capture One staff is not supposed to read these posts very often.
However, the first thing I would do is searching through the web if your GPU card (Nvidia GTX 680 MX) complies with the Capture One requirements for hardware acceleration.
If yes, you could just copy your message, with the log files, into the "submit a request" section (upper right hand of this page) in order to obtain some help from the technical staff.
Robert
0 -
Hi Robert,
Thanks for pointing out about user-to-user forum. You're right and I didn't think about it.
My GPU card (Nvidia GTX 680 MX) always complied with the Capture One requirements. I searched through one of my Time Machine backups and found an ICOCL.bin with a size of 13,9 MB with the date of 03-03-2020 in the 13.0.3 folder in my backups. Searching further and further I've come to the (quick) conclusion it could be yesterday's update of MacOS Mojave 10.15.4 in combination with my video card (10.15.4 works fine with Capture One on my other machine with another video card).
I will use the submit a request function in order to obtain some help from the technical staff. Thanks again!
0 -
Hi Hans,
Same scenario here.
I'm working on a MacBook Pro mid2014 with a Nvidia GT 750M on board. Before Mac OS 10.15.4 everything works well.
Now with the introduction of Capture One 13.1 even with the integrated graphic OpenCL fail to works:
Intel IRIS Pro Graphics
<?xml version="1.0" encoding="utf-8"?>
<device>
<Index>0</Index>
<Platform>Apple</Platform>
<Version>OpenCL 1.2 (Feb 29 2020 00:40:07)</Version>
<Device>Iris Pro</Device>
<Driver>1.2(Mar 15 2020 21:29:48)</Driver>
<GlobalMemoryMB>1536</GlobalMemoryMB>
<NumberOfKernels>1298</NumberOfKernels>
<NumberOfCompiledKernels>937</NumberOfCompiledKernels>
<Benchmark>10000.000000</Benchmark>
<Status>Compiled:CL_BUILD_PROGRAM_FAILURE (CloneBlend3)</Status>
</device>Nvidia 750M
<?xml version="1.0" encoding="utf-8"?>
<device>
<Index>1</Index>
<Platform>Apple</Platform>
<Version>OpenCL 1.2 (Feb 29 2020 00:40:07)</Version>
<Device>GeForce GT 750M</Device>
<Driver>14.0.32 355.11.11.10.10.143</Driver>
<GlobalMemoryMB>2048</GlobalMemoryMB>
<NumberOfKernels>1298</NumberOfKernels>
<NumberOfCompiledKernels>94</NumberOfCompiledKernels>
<Benchmark>10000.000000</Benchmark>
<Status>Compiled:CL_BUILD_PROGRAM_FAILURE (BayerC1v2012_1)</Status>
</device>I've checked in Time Machine and in March there were no issue.
0 -
For those curious to see if it's fixed with yesterday's Catalina update: no, unfortunately not.
After updating to MacOS Catalina 10.15.5 (19F96) the problem still exists. I tried it at my students on 3 different iMacs of the same model with the same graphics card.
0 -
I hoped in the new Catalina update too, installed and tried rebuilding ImageCore of C1, but I had no luck.
Apple by the way have also update the OpenCL driver (now is dated May 3 2020), so maybe the trouble is related to something wrong in C1 code.
Waiting for C1 13.1.1.
0 -
Hello,
I had the same issue with the built in GPU of the i7, with the update to C1 13.1 HW acceleration stopped working. I followed the same steps you did and obtained no result.
I still had the old C1 12 on my HD, so I launched it and it rebuilt the HW acceleration parameters (I just wanted to check if it worked), and then shut it down. Opening C1 13 again, HW acceleration is reported as functional (no error messages).
Maybe works for you too.
0 -
Thank you Bruno for trying to help and for sharing your experience here.
I followed your suggestions on several Macs, but no results. I think our problem here in this thread is different in the following way.My problem on the 2013 iMacs is the BayerC1v2012_1 error, as you can see in the CaptureOneICOCL log. I went back to Capture One 12.1.5.8 and that version also doesn't give HW acceleration anymore:
2020-05-29 00:39:58> OpenCL : Building kernels on dev 0 [GeForce GTX 680MX]
2020-05-29 00:39:58> Compiled 0/1278
2020-05-29 00:39:58> (ERROR) Compilation of BayerC1v2012_1 failed : CL_BUILD_PROGRAM_FAILURE
2020-05-29 00:39:58> (ERROR) Compilation of BayerC1v2012_1 returned : CL_BUILD_PROGRAM_FAILURE
Error getting function data from server
2020-05-29 00:39:58> (ERROR) Failed to create BayerC1v2012_1 : CL_BUILD_PROGRAM_FAILURE
On a 2015 MacBook Pro (1.5 GB Iris Pro GPU) I have a different error message (13.1.0 doesn't do HW acceleration there anymore, but 12.1.5.8 does). Your solution didn't fix that too, unfortunately, but thanks anyway:2020-05-29 00:52:05> Compiled 923/1298
2020-05-29 00:52:05> (ERROR) Compilation of CloneBlend3 failed : CL_BUILD_PROGRAM_FAILURE
2020-05-29 00:52:05> (ERROR) Compilation of CloneBlend3 returned : CL_BUILD_PROGRAM_FAILURE
<program source>:6:8: warning: no previous prototype for function 'z1b3e97e0d4'
float4 z1b3e97e0d4(int x,int y,__global float*z42064e4f2e,__constant uint*
^
<program source>:15:5: warning: no previous prototype for function 'z7d6c9dd7e5'
int z7d6c9dd7e5(int x,const int zeada459656){x=clamp(x,-zeada459656,2*
^
<program source>:29:8: warning: no previous prototype for function 'z819c6b1391'
float4 z819c6b1391(float ze31f5244df,float zbf0eff9685,const struct z01aa889574
^
<program source>:136:27: warning: no previous prototype for function 'z64c9bc5125'
return ze6ee5ad5cd;}float z64c9bc5125(z51b7908a0d z3fee8e0edb,const float
^
<program source>:151:26: warning: no previous prototype for function 'z1bc812ca16'
z51eadf1cec;}z71c4a182a3 z1bc812ca16(struct ze676c1fe37 ze218c995bb,const int
^
<program source>:159:16: warning: unused variable 'z135749130b'
.s3);const int z135749130b=z377b7c40c9.s4;float z746ff6d23f;float z5fa3549b57=
^
Error: parse error.
2020-05-29 00:52:05> (ERROR) Failed to create CloneBlend3 : CL_BUILD_PROGRAM_FAILURE
So, there are two different HW acceleration errors as far as I know. No response from Support yet, so hoping for a miracle to happen here.0 -
Having the same issue as well... Why am I still paying an arm and a leg when I've nevr had a copy of C1 work smoothly lol.
Error in Log:
<?xml version="1.0" encoding="utf-8"?>
<device>
<Index>1</Index>
<Platform>Apple</Platform>
<Version>OpenCL 1.2 (May 3 2020 20:15:19)</Version>
<Device>GeForce GT 750M</Device>
<Driver>14.0.32 355.11.11.10.10.143</Driver>
<GlobalMemoryMB>2048</GlobalMemoryMB>
<NumberOfKernels>1298</NumberOfKernels>
<NumberOfCompiledKernels>94</NumberOfCompiledKernels>
<Benchmark>10000.000000</Benchmark>
<Status>Compiled:CL_BUILD_PROGRAM_FAILURE (BayerC1v2012_1)</Status>
</device>I have removed the ImageCore Folder, rebooted machine and C1, as well as a full uninstall and fresh install - nothing gets me out of the woods.
OpenCL works fine with 13.0.3. Shooting on location tomorrow so would love to get a fix before then!
Capture Version 13.1 (Latest)
MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Quad-Core Intel Core i7
16 GB 1600 MHz DDR3
NVIDIA GeForce GT 750M 2 GB
Intel Iris Pro 1536 MB0
投稿コメントは受け付けていません。
コメント
8件のコメント