How to enable OpenCL?
Moderators: jesterKing, stiv
How to enable OpenCL?
Hi!
How to enable OpenCL? Only CUDA is visible.
Blender 2.65a
Windows 7 64-bit
Core i7 3960X
GTX580
On another computer with AMD graphic cards (AMD/ATI 5450, AMD/ATI 6570) I can't even set GPU rendering.
GPU Caps Viewer shows on every platform that OpenCL is available.
Regards!
How to enable OpenCL? Only CUDA is visible.
Blender 2.65a
Windows 7 64-bit
Core i7 3960X
GTX580
On another computer with AMD graphic cards (AMD/ATI 5450, AMD/ATI 6570) I can't even set GPU rendering.
GPU Caps Viewer shows on every platform that OpenCL is available.
Regards!
OpenCL On hold
by the way suggesting Cuda over OpenCL it's just a downgrading, OpenCL is far more powerful than Cuda that is simply a framework for Nvidia GPUs; the real difference is that OpenCL requires more dedication and resources than Cuda to give/code an equivalent program, but in practice and in production OpenCL is always better.
by the way suggesting Cuda over OpenCL it's just a downgrading, OpenCL is far more powerful than Cuda that is simply a framework for Nvidia GPUs; the real difference is that OpenCL requires more dedication and resources than Cuda to give/code an equivalent program, but in practice and in production OpenCL is always better.
Fair enough, but it has limited relevance to the topic at hand.
I might just be crosseyed, but apart from a couple of information sources that say it is possible to enable OpenCL if I would really want to, I can't pin down more accurate information on the process.
Does anyone have any ideas or URLs to share?
I'm aware it'll burn a hole into another dimension where shaders are unicorns and out of memory errors will eat my innocence.
I might just be crosseyed, but apart from a couple of information sources that say it is possible to enable OpenCL if I would really want to, I can't pin down more accurate information on the process.
Does anyone have any ideas or URLs to share?
I'm aware it'll burn a hole into another dimension where shaders are unicorns and out of memory errors will eat my innocence.

I would suggest going over to http://graphicall.orgWokzombie wrote: Does anyone have any ideas or URLs to share?
I'm aware it'll burn a hole into another dimension where shaders are unicorns and out of memory errors will eat my innocence.
and search OpenCL, then try one of the builds available for your platform.
Like maybe this one... http://graphicall.org/110
Sadly...no unicorns.

Okay, that's something. I'll take a look around overthere.
Ignoring that I'm not on Windows, I don't see a reference to OpenCL at 'http://graphicall.org/110'.
Also, I got which environment the wiki meant with "The environment variable CYCLES_OPENCL_TEST can be defined to show it". They mean the OS environment and not Blender's, which I thought at first.
So starting Blender with is at least enough to turn it on in Blender. Now I just need to get it to actually render scenes with it, instead of rendering a black canvas.
Ignoring that I'm not on Windows, I don't see a reference to OpenCL at 'http://graphicall.org/110'.
Also, I got which environment the wiki meant with "The environment variable CYCLES_OPENCL_TEST can be defined to show it". They mean the OS environment and not Blender's, which I thought at first.
So starting Blender with
Code: Select all
CYCLES_OPENCL_TEST=true blender
Also, apparently this is the way to go in Windows:
1. Press Win + R, type CMD and press <enter>.
2. Go to your Blender folder. ex: cd C:\Program Files\Blender Foundation\Blender and press <enter>.
3. Type: set CYCLES_OPENCL_TEST=all and press <enter>.
4. And then start blender.exe.
Copied from here.
1. Press Win + R, type CMD and press <enter>.
2. Go to your Blender folder. ex: cd C:\Program Files\Blender Foundation\Blender and press <enter>.
3. Type: set CYCLES_OPENCL_TEST=all and press <enter>.
4. And then start blender.exe.
Copied from here.
>- As of 57054 - Support for Cycles OpenCL, patch by Doug Gale & Brecht = Awesome !!! -<Wokzombie wrote: Ignoring that I'm not on Windows, I don't see a reference to OpenCL at 'http://graphicall.org/110'.
If that works, thats great. I assumed it was a flag that needed to be set when building Blender from source.Also, I got which environment the wiki meant with "The environment variable CYCLES_OPENCL_TEST can be defined to show it". They mean the OS environment and not Blender's, which I thought at first.
So starting Blender withis at least enough to turn it on in Blender. Now I just need to get it to actually render scenes with it, instead of rendering a black canvas.Code: Select all
CYCLES_OPENCL_TEST=true blender
Haha, it's even one of the first lines.Tehrasha wrote: >- As of 57054 - Support for Cycles OpenCL, patch by Doug Gale & Brecht = Awesome !!! -<

Tehrasha wrote:If that works, thats great. I assumed it was a flag that needed to be set when building Blender from source.
Yeah, I remember reading something along those lines as well. Maybe that's another way of getting there. I'll check that in the future.