Jump to content
ahmed.hesham

Open CL error

Recommended Posts

Hello ,

 

Everytime i try to use openCL  on houdini i Get an Error , Not sure why .

 

Here are my PC specs :

 

OS : Ubuntu 15.04

CPU: I7 4790K

GPU : GTX 970

RAM : 16 GB

 

Kindly Help !

 

 

Regards

Share this post


Link to post
Share on other sites
Guest tar

Please post the error! 

 

OpenCL is included in the Nvidia drivers, you are most likely running out of GPU ram, if you switch to CPU OpenCL you can then use more Ram.  Please see:

 

http://www.sidefx.com/docs/houdini14.0/news/13/opencl

 

EDIT: Also be very aware that the Gtx970 has a memory 'feature' where the last 500MB is very slow to access:

http://www.extremetech.com/extreme/199684-nvidia-slapped-with-class-action-lawsuit-over-gtx-970-memory-issues

Edited by tar

Share this post


Link to post
Share on other sites

Hello Marty ,

 

Thank you for fast reply , :)

 

Actualy the simulation is so simple , just a ground plane and a torus and then i convert torus to Grain for example , once i click on use Open CL , the node turns to red and i get an error, The same simulation worked on my laptop on windows with  the intel HD 4600 so i dont think it's VRAM  problem .

 

 

I will post the error later when i get to my machine .

 

 

Regards

Edited by ahmed.hesham

Share this post


Link to post
Share on other sites

Hello ,

 

Not sure how to post the Error ,

But here is a screenshot

 

Screenshot_from_2015_05_24_20_52_40.jpg

Edited by ahmed.hesham

Share this post


Link to post
Share on other sites
Guest tar

Can you please post from the Help menu/ About Houdini, the OpenGL Vendor section, at the top,  and the OpenCL Platform section, further down. Thanks!

 

Also the version of Houdini please.

Edited by tar

Share this post


Link to post
Share on other sites

Houdini Version 14.0.335

 

OpenGL Vendor:            NVIDIA Corporation
OpenGL Renderer:          GeForce GTX 970/PCIe/SSE2
OpenGL Version:           4.5.0 NVIDIA 346.72
OpenGL Shading Language:  4.50 NVIDIA
Detected:                 NVidia Consumer
                          4096 MB
                          346.72.0.0
 

 

 

 

as for the OpenCL  : No Configured OpenCL Device ,  i guess thats where the problem is ?

Share this post


Link to post
Share on other sites

Thank you alot for your Help Marty 

 

It was simple , i Downloaded and installed the Nvidia Driver from Nvidia website , then installed it 

 

after that i got to a problem where my screen goes blank on Startup , I did some searching and now using the "nomodeset" in grub .

 

and then its all working

 

 

OpenCL Platform           NVIDIA CUDA
Platform Vendor           NVIDIA Corporation
Platform Version          OpenCL 1.1 CUDA 7.0.41
OpenCL Device             GeForce GTX 970
OpenCL Type               GPU
Device Version            OpenCL 1.1 CUDA
Frequency                 1329 MHz
Compute Units             13
Device Address Bits       32
Global Memory             4095 MB
Max Allocation            1023 MB
Global Cache              208 KB
Max Constant Args         9
Max Constant Size         64 KB
Local Mem Size            47 KB
2D Image Support          32768x32768
3D Image Support          4096x4096x4096

 

 

 

But I also read that the "nomodeset" can prevent  Graphics Acceleration . is that true ?

Share this post


Link to post
Share on other sites

Hi guys, can anyone help me I got kinda the same problem but can't fix it. I'm using Houdini 17 and I got the error:

"OpenCL Context error: CL_MEM_OBJECT_ALLOCATION_FAILURE error executing CL_COMMAND_WRITE_BUFFER on GeForce RTX 2080 (Device 0).

OpenCL Exception: clEnqueueWrite
OpenCL Exception: Integer overflow building index for packed array attribute. (-4)
OpenCL Exception: Integer overflow building index for packed array attribute."

OS : Windows 10

CPU: AMD 2970wx 

GPU : RTX 2080

RAM : 128 GB

 

Thank you very much.

 

Share this post


Link to post
Share on other sites

You're not using the same operating system or hardware as the original poster and this thread is four years old. Please don't do this. Open a new thread.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×