• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Bug Reports v
« Previous 1 … 12 13 14 15 16 … 35 Next »
[solved] OpenCL not working

 
  • 0 Vote(s) - 0 Average
[solved] OpenCL not working

Pages (2): « Previous 1 2
dgud
Offline

Grumpy Dev
Posts: 692
Threads: 37
Joined: Nov 2012
#11
12-04-2013, 05:42 PM
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.
Stem
Offline

Member

Posts: 54
Threads: 4
Joined: Nov 2012
#12
12-06-2013, 12:48 AM
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?
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,676
Threads: 183
Joined: Jun 2012
#13
12-06-2013, 01:30 AM (This post was last modified: 12-06-2013, 01:32 AM by micheus.)
(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
dgud
Offline

Grumpy Dev
Posts: 692
Threads: 37
Joined: Nov 2012
#14
12-06-2013, 09:19 AM
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.
Stem
Offline

Member

Posts: 54
Threads: 4
Joined: Nov 2012
#15
12-24-2013, 08:20 PM
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).
moatdd
Offline

Junior Member

Posts: 1
Threads: 0
Joined: Dec 2013
#16
12-28-2013, 09:24 AM
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
KrisBee
Offline

Junior Member

Posts: 34
Threads: 5
Joined: Sep 2016
#17
08-12-2017, 10:19 AM
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.
dgud
Offline

Grumpy Dev
Posts: 692
Threads: 37
Joined: Nov 2012
#18
08-12-2017, 11:00 AM
@KrisBee Windows update might have installed new nvidia drivers without OpenCL component, update manually from nvidia site should solve that.
KrisBee
Offline

Junior Member

Posts: 34
Threads: 5
Joined: Sep 2016
#19
08-14-2017, 07:52 PM
My graphics drivers had not been updated according to geforce experience. But I downloaded the latest drivers and problem fixed. Smile
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (2): « Previous 1 2


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode