Page MenuHome

OpenCL build failure with NVIDIA GeForce GTX 980 Ti GPU
Closed, ArchivedPublic

Description

System Information
OS X 10.11.5, 2013 Mac Pro 8-core, Dual FirePro D700 internal GPUs, Single GTX 980 Ti in BizonBOX connected via Thunderbolt 2 port

Blender Version
Broken: 2.77a
Worked: (optional)

Short description of error
OpenCL build failure

Exact steps for others to reproduce the error
If the NVIDIA GeForce GTX 980 Ti is selected as CUDA device the scene renders normally, but build fails with OpenCL render selected. This GTX 980 Ti does support OpenCL because it is successfully used in OpenCL mode on other apps like DaVinci Resolve.

Related Objects

Event Timeline

Thomas Dinges (dingto) lowered the priority of this task from 90 to Low.EditedJul 29 2016, 6:12 PM

There is no real point in using OpenCL on a nvidia card, as CUDA is usually faster and supports more features. I suspect the issue is the Apple driver here, which we cannot fix.

You can attach the error log if there is any (start Blender from the Terminal).

Agree that CUDA is preferred for NVIDIA GPUs, but in my situation, I have two internal FirePro GPUs and one external GTX 980 Ti (in GPU expander). The only way to get Blender to render with all three is to designate all three as OpenCL devices.

This scenario works just fine with DaVinci Resolve when rendering GPU intensive Noise Reduction. Using all three provides a performance gain in that case.

I understand the issue. As suggested, you can try to start Blender from a Terminal and see if there is an error message. Also you may want to try a new build from builder.blender.org, 2.77 is pretty old by now, maybe the issue has been fixed (if on our side).

Hmm. I went to builder.blender.org and 2.77 is the latest build version. What am I missing?

Meanwhile, here is the error message that showed up when launched in Terminal:

Device init success
Compiling OpenCL kernel ...
Build flags:
OpenCL error (GeForce GTX 980 Ti): [CL_DEVICE_NOT_AVAILABLE] : OpenCL Error : Error: Build Program driver returned (10007)
OpenCL error (GeForce GTX 980 Ti): OpenCL Warning : clBuildProgram failed: could not build program for 0x1022700 (GeForce GTX 980 Ti) (err:-2)
OpenCL error (GeForce GTX 980 Ti): [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:
Error getting function data from server

OpenCL kernel build output:
Error getting function data from server
OpenCL build failed: errors in console
Error: OpenCL build failed: errors in console

I need gtx 980ti OpenCl to work too, so what is the problem with that error?

Sergey Sharybin (sergey) changed the task status from Unknown Status to Unknown Status.Oct 11 2016, 11:39 AM
Sergey Sharybin (sergey) claimed this task.

This is a bug in the compiler. It's possibly to try working something around in the code, but overall it is not officially supported configuration and fixing this will happen outside of the bug tracker.

Please also note that we are starting to push split kernel to a product level now (and as a side effect make all related code easier for maintenance) so that work should solve OpenCL errors on all platforms (or at least make them much easier to investigate).