Error: Unable to load HFS OpenCL platform

   12385   8   3
User Avatar
Member
512 posts
Joined: July 2009
Offline
Hi guys,

I'm trying to get opencl running for grain simulations in DOPs, however I'm always getting the typical “Unable to load HFS OpenCL platform.” error.

Using a GForce GTX1060 in my laptop on Windows 10.
Can somebody please point me towards how to fix this?
Thanks!

Here are my stats from when I click on ‘about’ in Houdini:

Houdini FX Version 16.0.557

Platform: windows-x86_64-cl19
Operating System: Windows 10 Home x64
Qt Version: 5.6.1

Number of Cores: 8
Physical Memory: 15.94 GB
Number of Screens: 1
Screen 0: 1920 x 1080 at 0,0
Work Area 0: 1920 x 1050 at 0,0

OpenGL Vendor: NVIDIA Corporation
OpenGL Renderer: GeForce GTX 1060/PCIe/SSE2
OpenGL Version: 4.5.0 NVIDIA 385.41
OpenGL Shading Language: 4.50 NVIDIA
Detected: NVidia Consumer
6144 MB
385.41.0.0

Supported Extensions not in OpenGL 3.3 (Version):
EXT_extensions_string
GL_ARB_base_instance (4.2)
GL_ARB_bindless_texture
GL_ARB_bindless_texture
GL_ARB_buffer_storage (4.4)
GL_ARB_compatibility
GL_ARB_compute_shader (4.3)
GL_ARB_debug_output
GL_ARB_gpu_shader5 (4.0)
GL_ARB_gpu_shader_fp64 (4.0)
GL_ARB_multi_bind (4.4)
GL_ARB_program_interface_query (4.3)
GL_ARB_robustness
GL_ARB_sample_shading (4.0)
GL_ARB_separate_shader_objects (4.1)
GL_ARB_shader_image_load_store (4.2)
GL_ARB_shader_storage_buffer_object (4.3)
GL_ARB_shading_language_packing (4.2)
GL_ARB_tessellation_shader (4.0)
GL_ARB_texture_buffer_object_rgb32 (4.0)
GL_ARB_transform_feedback3 (4.0)
GL_ARB_vertex_attrib_64bit (4.1)
GL_EXT_abgr
GL_EXT_blend_minmax
GL_EXT_direct_state_access
GL_EXT_texture_filter_anisotropic
GL_KHR_debug (4.3)
GL_NVX_gpu_memory_info
GL_NV_gpu_shader5
WGL_EXT_swap_control

Unsupported OpenGL Extensions used by Houdini:
GL_ATI_meminfo

OpenGL Limits:
ELEMENTS_VERTICES 1048576
ELEMENTS_INDICES 1048576
VERTEX_UNITS 32
TESS_CONTROL_TEXTURE_IMAGE_UNITS 32
TESS_EVALUATION_TEXTURE_IMAGE_UNITS 32
GEOMETRY_UNITS 32
FRAGMENT_IMAGE_UNITS 32
COMBINED_UNITS 192
TEXTURE_SIZE 32768
3D_TEXTURE_SIZE 16384
CUBE_MAP_TEXTURE_SIZE 32768
RECTANGLE_TEXTURE_SIZE 32768
TEXTURE_ARRAY_LAYERS 2048
MAX_COLOR_TEXTURE_SAMPLES 32
MAX_DEPTH_TEXTURE_SAMPLES 32
FBO_ATTACHMENTS 8
DRAW_BUFFERS 8
VIEWPORT_DIMS 32768x32768
VERTEX_UNIFORMS 4096
FRAGMENT_UNIFORMS 4096
VERTEX_ATTRIBS 16
VERTEX_OUTPUT_COMPONENTS 128
MAX_CLIP_DISTANCES 8
PATCH_VERTICES 32
TESS_GEN_LEVEL 64
TESS_PATCH_COMPONENTS 120
TESS_CONTROL_OUTPUT_COMPONENTS 128
TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 4216
TESS_EVALUATION_OUTPUT_COMPONENTS 128
GEOMETRY_UNIFORM_COMPONENTS 2048
GEOMETRY_INPUT_COMPONENTS 128
GEOMETRY_OUTPUT_COMPONENTS 128
GEOMETRY_TOTAL_OUTPUT_COMPONENTS 1024
GEOMETRY_OUTPUT_VERTICES 1024
UNIFORM_BLOCKS 84
UNIFORM_BLOCK_SIZE 65536
UNIFORM_BUFFER_BINDINGS 84
COMBINED_VERT_UNIFORM_BLOCKS 14
COMBINED_VERT_UNIFORM_COMPS 233472
TESS_CONTROL_UNIFORM_BLOCKS 14
TESS_CONTROL_UNIFORM_COMPONENTS 2048
TESS_EVALUATION_UNIFORM_BLOCKS 14
TESS_EVALUATION_UNIFORM_COMPONENTS 2048
COMBINED_GEO_UNIFORM_BLOCKS 14
COMBINED_GEO_UNIFORM_COMPS 231424
COMBINED_FRAG_UNIFORM_BLOCKS 14
COMBINED_FRAG_UNIFORM_COMPS 233472
MAX_FRAGMENT_STORAGE_BLOCKS 16
MAX_STORAGE_BLOCK_BINDINGS 96
TRANSFORM_FEEDBACK_INT_COMPS 128
TRANSFORM_FEEDBACK_SEP_COMPS 4
TRANSFORM_FEEDBACK_SEP_ATTRIBS 4
LINE_WIDTH_RANGE 0.5 - 10
LINE_WIDTH_GRANULARITY 0.125
POINT_SIZE_RANGE 1 - 189.875
POINT_SIZE_GRANULARITY 0.125

OpenCL Platform NVIDIA CUDA
Platform Vendor NVIDIA Corporation
Platform Version OpenCL 1.2 CUDA 9.0.163
OpenCL Device GeForce GTX 1060
OpenCL Type GPU
Device Version OpenCL 1.2 CUDA
Frequency 1670 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 16384x32768
3D Image Support 16384x16384x16384

OpenCL Platform Extensions:
cl_khr_global_int32_base_atomics
cl_khr_global_int32_extended_atomics
cl_khr_local_int32_base_atomics
cl_khr_local_int32_extended_atomics
cl_khr_fp64
cl_khr_byte_addressable_store
cl_khr_icd
cl_khr_gl_sharing
cl_nv_compiler_options
cl_nv_device_attribute_query
cl_nv_pragma_unroll
cl_nv_d3d10_sharing
cl_khr_d3d10_sharing
cl_nv_d3d11_sharing
cl_nv_copy_opts
cl_nv_create_buffer

OpenCL Device Extensions:
cl_khr_global_int32_base_atomics
cl_khr_global_int32_extended_atomics
cl_khr_local_int32_base_atomics
cl_khr_local_int32_extended_atomics
cl_khr_fp64
cl_khr_byte_addressable_store
cl_khr_icd
cl_khr_gl_sharing
cl_nv_compiler_options
cl_nv_device_attribute_query
cl_nv_pragma_unroll
cl_nv_d3d10_sharing
cl_khr_d3d10_sharing
cl_nv_d3d11_sharing
cl_nv_copy_opts
cl_nv_create_buffer
http://vimeo.com/user2522760 [vimeo.com]
http://stormbornvfx.com/ [stormbornvfx.com]
Manuel Tausch
User Avatar
Member
4189 posts
Joined: June 2012
Offline
That graphics driver version does that - 385 will fail OpenCL at all times, the 382 branch works the first time then fails but the 375, 378 or 37-something should work. You can also use OpenCL CPU instead, so set the environment to:

HOUDINI_OCL_DEVICETYPE=CPU
Edited by anon_user_37409885 - Sept. 17, 2017 00:22:34
User Avatar
Member
512 posts
Joined: July 2009
Offline
Thanks for the answer, I'm going to install an older driver and see if that works!
http://vimeo.com/user2522760 [vimeo.com]
http://stormbornvfx.com/ [stormbornvfx.com]
Manuel Tausch
User Avatar
Member
3 posts
Joined: Nov. 2016
Offline
asnowcappedromance
Thanks for the answer, I'm going to install an older driver and see if that works!
Have you found a solution? I'm having the same problem.
User Avatar
Member
5 posts
Joined: Aug. 2013
Offline
I'm having the same problem with a GTX 1060 on a laptop on windows 10. Anyone knows?
Support?
Marco Melantonio

FX/CFX Artist
https://www.endorfina.me/ [www.endorfina.me]
User Avatar
Member
3 posts
Joined: Dec. 2016
Offline
Has anyone found a solution to this issue? I have the same experience - GTX1060, Alienware laptop.
User Avatar
Member
24 posts
Joined: Jan. 2015
Offline
Has this been resolved. I am having this issue on my dell precision 7720 workstation. This is the first statement that pops up in Houdini:

Unable to load HFS OpenCL platform.

It looks like HOudini is having a hard time choosing which video card to utilize. And this is from quick research online.
Greg
User Avatar
Member
1 posts
Joined: Jan. 2023
Offline
Try to add this environment variable to your 'houdini.env' file:
HOUDINI_USE_HFS_OCL=0
User Avatar
Member
98 posts
Joined: July 2005
Offline
zoeyyyyyyyy2018
Try to add this environment variable to your 'houdini.env' file:
HOUDINI_USE_HFS_OCL=0

thank you @zoeyyyyyyyy2018

this fixed my issue with opencl

I can now use the RBD sop toolset
  • Quick Links