Wings 3D Development Forum
[solved] OpenCL not working - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://www.wings3d.com/forum/forumdisplay.php?fid=12)
+--- Thread: [solved] OpenCL not working (/showthread.php?tid=493)

Pages: 1 2


RE: OpenCL not working - dgud - 12-04-2013

I build the 32bits wings on my home computer with nvidia toolkit and get Opencl 1.1 libraries.

I build the 64bits wings on my laptop with Intel toolkit and thus get OpenCL 1.2 libraries,
which doesn't work currently with Nvidia drivers.

But it means I must build everything on Nvidia to get it to work on every card, which
means setup another 64b dev environment or that I must fix opencl
library to check version at runtime and load new functions if available.

Stem: It priorities gpu before cpu, you can see and manually change that in your preferences file.
It only uses one device, it's complex enough anyway and I do not want to duplicate the memory usage.


RE: OpenCL not working - Stem - 12-06-2013

Hi dgud,

(12-04-2013, 05:42 PM)dgud Wrote: I build the 64bits wings on my laptop with Intel toolkit and thus get OpenCL 1.2 libraries,
which doesn't work currently with Nvidia drivers.
Strange that it worked on my setup with nVidia.
I just very recently changed back to AMD GPU (playing again with Luxrender openCL path), so cannot re-check at the moment.
Quote:Stem: It priorities gpu before cpu, you can see and manually change that in your preferences file.
I cannot find any settings for that in the wings Preferences. I also cannot see anything in the preferences txt file.
Where/how is the setting made?


RE: OpenCL not working - micheus - 12-06-2013

(12-06-2013, 12:48 AM)Stem Wrote: I cannot find any settings for that in the wings Preferences. I also cannot see anything in the preferences txt file.
You should find this line:
{cl_type,gpu}
I didn't find it too. Looking in the sources code I found that it is read from preferences but never write to. Undecided


RE: OpenCL not working - dgud - 12-06-2013

Oh thanks Micheus for correcting me, you will have to manually add it, cpu or gpu are the options.
Otherwise it chooses gpu if available.


RE: OpenCL not working - Stem - 12-24-2013

FYI,

I changed back to nVidia GPU (playing again with Blender Cycles). OpenCL is still working fine for Wings 1.5.2 -64bit. So I presume that wings is using the CPU for openCL as I have drivers installed(for CPU openCL).


RE: OpenCL not working - moatdd - 12-28-2013

Some of the shaders seem to be behaving strangely.

For instance:

Vertex Normals Colors:
[Image: lTV0BH8.png]
(I think it's using Vertex POSITION for colours instead of Vertex Normal DIRECTION)

Face Normals Colors:
[Image: 9pGUOTy.png]
(faces facing down Z axis are black instead of blue, but faces on inside of legs are blue)

Depth:
[Image: SOY78Vx.png]
(It's doing whatever it wants.)

Spherical Ambient Occlusion:
[Image: xBC7joD.png]
(It's doing whatever it wants)

Spherical Harmonics:
[Image: 1jK2Muj.png]
(Spherical Harmonics 5/8/9, DO work, though. So does Toon shading/gooch/brick/environment/all others)

Intel Core I7 960
Running Windows 7 x64 Professional
Geforce 660Ti


RE: OpenCL not working - KrisBee - 08-12-2017

Arise, old thread!

So I suddenly got a one time error message window about opencl not being available. Ever since then the openCL proxy level slider has been grayed out and set to 0 in the preferences menu. The console just says "OpenCL not available undef" and "using GPU shaders".

It came out of the blue and I really can't figure this out. I'm not sure if the recent windows 10 update has anything to do with it, but I think this error came before the update.

I'm using win 10 pro 64b, nvidia gtx970. problem occurs in wings 1.5.4 and 2.1.5, both 64.


RE: OpenCL not working - dgud - 08-12-2017

@KrisBee Windows update might have installed new nvidia drivers without OpenCL component, update manually from nvidia site should solve that.


RE: OpenCL not working - KrisBee - 08-14-2017

My graphics drivers had not been updated according to geforce experience. But I downloaded the latest drivers and problem fixed. Smile