Hi everyone,
The heightfield erode node immediately crashes when I try to view it, giving me the error:
OpenCL Exception: clCreateProgramWithSource (-34)
I tried typing HOUDINI_OCL_DEVICETYPE=“GPU” and HOUDINI_OCL_VENDOR=“NVIDIA Corporation” into the houdini.env file as suggested by a previous post but this did not work.
I'm on a Razer Blade laptop with:
Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
NVIDIA GeForce GTX 970M
16GB RAM
Any help would be greatly appreciated!
Heightfield Erode Fails
12442 14 4- canonball900
- Member
- 37 posts
- Joined: Dec. 2016
- Offline
- malexander
- Staff
- 5202 posts
- Joined: July 2005
- Offline
- canonball900
- Member
- 37 posts
- Joined: Dec. 2016
- Offline
Error still happening with either:
HOUDINI_OCL_DEVICETYPE=“GPU”
HOUDINI_OCL_VENDOR=“NVIDIA Corporation”
or
HOUDINI_OCL_DEVICETYPE=“CPU”
HOUDINI_OCL_VENDOR=“Intel(R) Corporation”
:
Unable to load HFS OpenCL platform.
OpenCL Exception: @*Í8¸ (-32)
OpenCL Exception: clCreateProgramWithSource (-34)
OpenCL Exception: clCreateProgramWithSource (-34)
OpenCL Exception: clCreateProgramWithSource (-34)
OpenCL Exception: clCreateProgramWithSource (-34)
OpenCL Exception: clCreateProgramWithSource (-34)
HOUDINI_OCL_DEVICETYPE=“GPU”
HOUDINI_OCL_VENDOR=“NVIDIA Corporation”
or
HOUDINI_OCL_DEVICETYPE=“CPU”
HOUDINI_OCL_VENDOR=“Intel(R) Corporation”
:
Unable to load HFS OpenCL platform.
OpenCL Exception: @*Í8¸ (-32)
OpenCL Exception: clCreateProgramWithSource (-34)
OpenCL Exception: clCreateProgramWithSource (-34)
OpenCL Exception: clCreateProgramWithSource (-34)
OpenCL Exception: clCreateProgramWithSource (-34)
OpenCL Exception: clCreateProgramWithSource (-34)
- canonball900
- Member
- 37 posts
- Joined: Dec. 2016
- Offline
- pbowmar
- Member
- 7046 posts
- Joined: July 2005
- Offline
Does your laptop have Intel + Nvidia? I am having the same issue at home on my laptop too, Windows 10.
I've tried all the combos of the ENV vars to no avail.
I have had this work (setting the env vars) to use Nvidia for OCL in the past, I wonder if something changed in Houdini or on my end (since Windows updates crap without warning )
Cheers,
Peter B
I've tried all the combos of the ENV vars to no avail.
I have had this work (setting the env vars) to use Nvidia for OCL in the past, I wonder if something changed in Houdini or on my end (since Windows updates crap without warning )
Cheers,
Peter B
Cheers,
Peter Bowmar
____________
Houdini 20.5.262 Win 10 Py 3.11
Peter Bowmar
____________
Houdini 20.5.262 Win 10 Py 3.11
- canonball900
- Member
- 37 posts
- Joined: Dec. 2016
- Offline
- TwinSnakes007
- Member
- 638 posts
- Joined: July 2013
- Online
- pbowmar
- Member
- 7046 posts
- Joined: July 2005
- Offline
- canonball900
- Member
- 37 posts
- Joined: Dec. 2016
- Offline
Okay so I've literally tried everything at this point. I get Houdini to use my NVIDIA GTX 970M for OpenCL just fine but it is still giving me the error: Unable to load HFS OpenCL platform.
I have tried older NVIDIA drivers, AMD OpenCL driver, Intel OpenCL Driver, multiple houdini environment variable configurations, changing the NVIDIA settings to use GPU… nothing works. Apparently re-installing Windows worked for someone but I don't have time to do that right now. Anyone have a brilliant solution?
Here's what it shows in the Houdini Command Line:
Unable to load HFS OpenCL platform.
OpenCL Platform NVIDIA CUDA
Platform Vendor NVIDIA Corporation
Platform Version OpenCL 1.2 CUDA 9.1.92
OpenCL Device GeForce GTX 970M
OpenCL Type GPU
Device Version OpenCL 1.2 CUDA
Frequency 1038 MHz
Compute Units 10
Device Address Bits 64
Global Memory 6144 MB
Max Allocation 1536 MB
Global Cache 160 KB
Max Constant Args 9
Max Constant Size 64 KB
Local Mem Size 48 KB
2D Image Support 16384x16384
3D Image Support 4096x4096x4096
I have tried older NVIDIA drivers, AMD OpenCL driver, Intel OpenCL Driver, multiple houdini environment variable configurations, changing the NVIDIA settings to use GPU… nothing works. Apparently re-installing Windows worked for someone but I don't have time to do that right now. Anyone have a brilliant solution?
Here's what it shows in the Houdini Command Line:
Unable to load HFS OpenCL platform.
OpenCL Platform NVIDIA CUDA
Platform Vendor NVIDIA Corporation
Platform Version OpenCL 1.2 CUDA 9.1.92
OpenCL Device GeForce GTX 970M
OpenCL Type GPU
Device Version OpenCL 1.2 CUDA
Frequency 1038 MHz
Compute Units 10
Device Address Bits 64
Global Memory 6144 MB
Max Allocation 1536 MB
Global Cache 160 KB
Max Constant Args 9
Max Constant Size 64 KB
Local Mem Size 48 KB
2D Image Support 16384x16384
3D Image Support 4096x4096x4096
Edited by canonball900 - Nov. 17, 2017 01:32:19
- pbowmar
- Member
- 7046 posts
- Joined: July 2005
- Offline
Try this, it helped my Houdini become a lot more stable on my hybrid Intel/Nvidia laptop…
https://support.allegorithmic.com/documentation/display/SPDOC/GPU+drivers+crash+with+long+computations [support.allegorithmic.com]
https://support.allegorithmic.com/documentation/display/SPDOC/GPU+drivers+crash+with+long+computations [support.allegorithmic.com]
Cheers,
Peter Bowmar
____________
Houdini 20.5.262 Win 10 Py 3.11
Peter Bowmar
____________
Houdini 20.5.262 Win 10 Py 3.11
- pbowmar
- Member
- 7046 posts
- Joined: July 2005
- Offline
- canonball900
- Member
- 37 posts
- Joined: Dec. 2016
- Offline
- quryo
- Member
- 4 posts
- Joined: May 2016
- Offline
I had this problem as well, and installing 16.5 or setting things in houdini.env as suggested above didn't help.
A workaround for me was to install the Intel OpenCL runtime for my Linux system. Now Houdini uses OpenCL on my CPU, which is much better than nothing (though my GPU supports OpenCL just fine in theory).
A workaround for me was to install the Intel OpenCL runtime for my Linux system. Now Houdini uses OpenCL on my CPU, which is much better than nothing (though my GPU supports OpenCL just fine in theory).
- dubyan65
- Member
- 1 posts
- Joined: Dec. 2018
- Offline
- sathvik.malgikar
- Member
- 1 posts
- Joined: Aug. 2020
- Offline
dubyan65thank you for that solution it works!!
I tried several times in my laptop but same result… I finally found an OpenCL Parameter in the “Miscellaneous” menu. I changed my graphic device, restart Houdini,Image Not Found
and now it's gone and I can use the erode tool by example. Hope it will help you.
but should you use integrated gpu or cpu for better performance
-
- Quick Links