Houdini 19 doesn't load AT ALL on Ubuntu 21.10

   43502   117   19
User Avatar
Member
7638 posts
Joined: July 2005
Offline
alunablue
Upgraded Ubuntu from 20.04 to 22.04 and Houdini 19.0.589 no longer works.

As Hampus says, the fix was specifically added in the daily builds AFTER the most recent 19.0.589 production build. This was intentionally done because it needs wider testing BEFORE it is released in a production build. If the other reports can be trusted, you'll need to either use the latest 19.0 daily build, or wait until the next production build in a roughly a month's time.
Edited by edward - April 25, 2022 15:56:12
User Avatar
Member
29 posts
Joined: Nov. 2021
Offline
edward
alunablue
Upgraded Ubuntu from 20.04 to 22.04 and Houdini 19.0.589 no longer works.

As Hampus says, the fix was specifically added in the daily builds AFTER the most recent 19.0.589 production build. This was intentionally done because it needs wider testing BEFORE it is released in a production build. If the other reports can be trusted, you'll need to either use the latest 19.0 daily build, or wait until the next production build in a roughly a month's time.

Many Thanks!
User Avatar
Member
19 posts
Joined: April 2010
Offline


I use karma XPU and arnold GPU render the same scene. karma XPU not support AOVS and geomety light and render very slow per frame. Arnold GPU is more production ready. AOVS and geo light all supported with faster render time. but the downside of arnold gpu is not utilize cpu and gpu at sametime. karma xpu can utilize them all. maybe I can use karma for all my rending jobs in the future
User Avatar
Member
75 posts
Joined: Feb. 2017
Offline
OOYYAT


I use karma XPU and arnold GPU render the same scene. karma XPU not support AOVS and geomety light and render very slow per frame. Arnold GPU is more production ready. AOVS and geo light all supported with faster render time. but the downside of arnold gpu is not utilize cpu and gpu at sametime. karma xpu can utilize them all. maybe I can use karma for all my rending jobs in the future

Why is this relevant to this thread?
User Avatar
Member
6 posts
Joined: Dec. 2013
Offline
Hello

I trying to load Houdini with export LD_PRELOAD="/lib/x86_64-linux-gnu/libc_malloc_debug.so.0". However - possible that I'm just stupid -, this file is not present on my system.

michael@go:/opt/sidefx/launcher/bin $ hostnamectl 
   Static hostname: go
         Icon name: computer-laptop
           Chassis: laptop
        Machine ID: ...
           Boot ID: ...
  Operating System: Linux Mint 20.3
            Kernel: Linux 5.4.0-122-generic
      Architecture: x86-64

I coudn't find out which package is necessary to have libc_malloc_debug.so.0available. Anyone here to point me in the right direction?

Thank you so much,
Michael
User Avatar
Member
7638 posts
Joined: July 2005
Offline
Do NOT do this anymore. Just use the latest 19.0 production build. The libc issue was fixed back in 19.0.594.

If an unconfigured latest 19.0 production build doesn't start up on your Linux box, then it's more than likely it's just because you don't have all the required packages. Under https://www.sidefx.com/Support/system-requirements/ [www.sidefx.com] it says
libxkbcommon-x11, libxcb-icccm4, and libxcb-render-util packages required for Linux users

If you continue to encounter Qt errors on startup, then check that you have installed the Qt required packages found here:
Qt for X11 Requirements https://doc.qt.io/qt-5/linux-requirements.html [doc.qt.io]

And if that still doesn't work, it's a different issue and log a bug with support (see Support > Report a Bug/RFE above).
User Avatar
Member
1 posts
Joined: Aug. 2022
Offline
I had the same issue with segfaulting on startup with 19.5 (and with 19.0). Possible solution is to install the OpenCL-Drivers for your GPU. E.g. for my nvidia card I had to install 'opencl-nvidia' (maybe a different name for your distro).
You can check whether you have the library installed via `ldconfig -p | grep opencl`. The Output should contain references to the OpenCL library. For example:
libnvidia-opencl.so.1 (libc6,x86-64) => /usr/lib/libnvidia-opencl.so.1
libnvidia-opencl.so (libc6,x86-64) => /usr/lib/libnvidia-opencl.so

Just for further reference the error in the log-File was (when starting 'houdini-bin'):
signalCallback(UTsignalHandlerArg) <libHoudiniUT.so>
UT_Signal::UT_ComboSignalHandler::operator()(int, siginfo_t*, void*) const <libHoudiniUT.so>
UT_Signal::processSignal(int, siginfo_t*, void*) <libHoudiniUT.so>
__sigaction <libc.so.6>
free <libjemalloc.so.1>
_nv011glcore <libnvidia-glcore.so.515.65.01>
_nv011glcore <libnvidia-glcore.so.515.65.01>
<libGLX_nvidia.so.0>
vk_icdNegotiateLoaderICDInterfaceVersion <libGLX_nvidia.so.0>

starting via the launcher did produce this error:
Traceback from 14134 ThreadId=0x7fbd4cc99e40
AP_Interface::coreDumpChaser(UTsignalHandlerArg) <libHoudiniUI.so>
AP_Interface::si_CrashHandler::chaser(UTsignalHandlerArg) <libHoudiniUI.so>
signalCallback(UTsignalHandlerArg) <libHoudiniUT.so>
UT_Signal::UT_ComboSignalHandler::operator()(int, siginfo_t*, void*) const <libHoudiniUT.so>
UT_Signal::processSignal(int, siginfo_t*, void*) <libHoudiniUT.so>
__sigaction <libc.so.6>
User Avatar
Member
4 posts
Joined: Jan. 2017
Offline
kubo-von
mariusz8
In my case this fix is not working:
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

Ubuntu 21.10

That's a different error though.
You have to do
sudo apt-get install --reinstall libxcb-xinerama0
to fix this one.



thanks! it helped me with houdini launcher not launching (no pun intended) on ubuntu 22.04
User Avatar
Member
43 posts
Joined: Sept. 2018
Offline
I'm running Pop!_OS 22.04 LTS with the Nvidia Driver with Houdini 19.5.605 and I was getting pretty much the same issue as several people here but fortunately it got fixed after installing "lsb-core" as someone else pointed out.
User Avatar
Member
6 posts
Joined: Dec. 2013
Offline
I am currently struggling with the following problem:

[michael@pocket3 hfs19.5.640] $ source houdini_setup
The Houdini 19.5.640 environment has been initialized.
[michael@pocket3 hfs19.5.640] $ houdini
[michael@pocket3 hfs19.5.640] $ free(): invalid pointer
58634:  (sent by pid 58634)
Saving application data to /tmp/houdini_temp/crash.untitled.michael_58634.hip
Warning: Missing charsets in String to FontSet conversion
Crash log saved to /tmp/houdini_temp/crash.untitled.michael_58634_log.txt
[michael@pocket3 hfs19.5.640] $ cat /tmp/houdini_temp/crash.untitled.michael_58634_log.txt
Crash report from michael; Houdini FX Version 19.5.640 [linux-x86_64-gcc9.3]
Uptime 1 seconds
Thu Jul 20 14:52:15 2023
Caught signal 6

Traceback from 58634 ThreadId=0x7f61fd2f1e80
AP_Interface::coreDumpChaser(UTsignalHandlerArg) <libHoudiniUI.so>
AP_Interface::si_CrashHandler::chaser(UTsignalHandlerArg) <libHoudiniUI.so>
signalCallback(UTsignalHandlerArg) <libHoudiniUT.so>
UT_Signal::UT_ComboSignalHandler::operator()(int, siginfo_t*, void*) const <libHoudiniUT.so>
UT_Signal::processSignal(int, siginfo_t*, void*) <libHoudiniUT.so>
__sigaction <libc.so.6>
pthread_key_delete <libc.so.6>
raise <libc.so.6>
abort <libc.so.6>
abort <libc.so.6>
timer_settime <libc.so.6>
__default_morecore <libc.so.6>
__libc_free <libc.so.6>
[0x1aeaac] <libigc.so.1>
[0x1c6cb1] <libigc.so.1>
__nptl_change_stack_perm <ld-linux-x86-64.so.2>
__nptl_change_stack_perm <ld-linux-x86-64.so.2>
_dl_catch_exception <ld-linux-x86-64.so.2>
_dl_rtld_di_serinfo <ld-linux-x86-64.so.2>
_dl_catch_exception <ld-linux-x86-64.so.2>
_dl_find_dso_for_object <ld-linux-x86-64.so.2>
dlmopen <libc.so.6>
_dl_catch_exception <ld-linux-x86-64.so.2>
_dl_catch_exception <ld-linux-x86-64.so.2>
dlerror <libc.so.6>
dlopen <libc.so.6>
GTPin_Init <libigdrcl.so>
GTPin_Init <libigdrcl.so>
GTPin_Init <libigdrcl.so>
GTPin_Init <libigdrcl.so>
GTPin_Init <libigdrcl.so>
GTPin_Init <libigdrcl.so>
GTPin_Init <libigdrcl.so>
GTPin_Init <libigdrcl.so>
GTPin_Init <libigdrcl.so>
GTPin_Init <libigdrcl.so>
clGetExtensionFunctionAddress <libigdrcl.so>
clIcdGetPlatformIDsKHR <libigdrcl.so>
khrIcdVendorAdd <libOpenCL.so.1>
khrIcdOsVendorsEnumerate <libOpenCL.so.1>
pthread_mutexattr_settype <libc.so.6>
clGetPlatformIDs <libOpenCL.so.1>
cl::Platform::get(std::vector<cl::Platform, std::allocator<cl::Platform> >*) <libHoudiniUT.so>
CE_Context::getDevices(UT_Array<CE_Context:eviceDescriptor>&, unsigned long) <libHoudiniUT.so>
FUSE_App::initApplication(UI_Manager*, int, char const**) <libHoudiniAPPS3.so>
OPUI_MainApp::initApplication(UI_Manager*, int, char const**) <libHoudiniAPPS2.so>
FUSE_HoudiniBinariesApp::initApplication(UI_Manager*, int, char const**) <libHoudiniAPPS3.so>
main <libHoudiniUI.so>
__libc_init_first <libc.so.6>
__libc_start_main <libc.so.6>
main <houdini-bin>

I know that:

edward
Do NOT do this anymore. Just use the latest 19.0 production build. The libc issue was fixed back in 19.0.594.

However, I can only get this working like this for the time being, so maybe there is a better solution somewhere:

[michael@pocket3 hfs19.5.640] $ source houdini_setup
The Houdini 19.5.640 environment has been initialized.
[michael@pocket3 hfs19.5.640] $ whereis /usr/lib/libc_malloc_debug.so.0
libc_malloc_debug.so.0: /usr/lib/libc_malloc_debug.so.0 /usr/lib32/libc_malloc_debug.so.0
[michael@pocket3 hfs19.5.640] $ export LD_PRELOAD="/usr/lib/libc_malloc_debug.so.0"
[michael@pocket3 hfs19.5.640] $ env | grep LD_PRELOAD
LD_PRELOAD=/usr/lib/libc_malloc_debug.so.0
[michael@pocket3 hfs19.5.640] $ houdini

Custom entries in houdini.env:

HOUDINI_USE_HFS_OCL = 0
HOUDINI_OCL_DEVICETYPE = "CPU"

OCIO = "/home/michael/packages_repo/OpenColorIO-Config-ACES-1.2/aces_1.2/config.ocio"
Edited by Michael Mussato - July 20, 2023 09:15:13
User Avatar
Staff
454 posts
Joined: Aug. 2019
Offline
That crash looks like it's related to OpenCL, not malloc. Which CPU and OS are you using? Can you try the following and see if it also crashes? Try with and without the LD_PRELOAD.

hgpuinfo -c

Also, perhaps try removing the quotes around CPU when specifying HOUDINI_OCL_DEVICETYPE.
Edited by johnmather - July 21, 2023 14:37:10
User Avatar
Member
6 posts
Joined: Dec. 2013
Offline
johnmather
That crash looks like it's related to OpenCL, not malloc. Which CPU and OS are you using? Can you try the following and see if it also crashes? Try with and without the LD_PRELOAD.


Thanks for your suggestions John. My OS:
$ neofetch
██████████████████  ████████   michael@pocket3 
██████████████████  ████████   --------------- 
██████████████████  ████████   OS: Manjaro Linux x86_64 
██████████████████  ████████   Host: G1621-02 
████████            ████████   Kernel: 6.4.3-1-MANJARO 
████████  ████████  ████████   Uptime: 9 hours, 23 mins 
████████  ████████  ████████   Packages: 1877 (pacman), 8 (flatpak) 
████████  ████████  ████████   Shell: bash 5.1.16 
████████  ████████  ████████   Resolution: 2560x1080 
████████  ████████  ████████   DE: Cinnamon 5.8.4 
████████  ████████  ████████   WM: Mutter (Muffin) 
████████  ████████  ████████   WM Theme: Mint-Y-Dark-Teal (Mint-Y) 
████████  ████████  ████████   Theme: Mint-Y-Dark-Teal [GTK2/3] 
████████  ████████  ████████   Icons: Papirus-Adapta-Nokto-Maia [GTK2/3] 
                               Terminal: gnome-terminal 
                               CPU: 11th Gen Intel i7-1195G7 (8) @ 5.000GHz 
                               GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics] 
                               Memory: 4892MiB / 15774MiB 


johnmather
hgpuinfo -c


$ env | grep LD_PRELOAD
$
$ hgpuinfo -c
OpenCL Platform           Intel(R) CPU Runtime for OpenCL(TM) Applications
Platform Vendor           Intel(R) Corporation
Platform Version          OpenCL 2.1 LINUX
OpenCL Device             11th Gen Intel(R) Core(TM) i7-1195G7 @ 2.90GHz
OpenCL Type               CPU
Device Version            OpenCL 2.1 (Build 0)
Frequency                 2900 MHz
Compute Units             8
Device Address Bits       64
Global Memory             15774 MB
Max Allocation            3943 MB
Global Cache              256 KB
Max Constant Args         480
Max Constant Size         128 KB
Local Mem Size            32 KB
2D Image Support          16384x16384
3D Image Support          2048x2048x2048
Max On Device Queues      4294967295
Pref. Device Queue Size   4095 MB
Max Device Queue Size     4095 MB


johnmather
Also, perhaps try removing the quotes around CPU when specifying HOUDINI_OCL_DEVICETYPE.


This has no impact it seems. Houdini only runs with LD_PRELOAD. However, I had OpenCL issues about a year ago. I'll investigate a bit further in that direction.
Edited by Michael Mussato - July 21, 2023 15:54:32
User Avatar
Staff
454 posts
Joined: Aug. 2019
Offline
Could you also post the output from the clinfo utility? You should be able to find it in your package manager.
User Avatar
Member
6 posts
Joined: Dec. 2013
Offline
johnmather
Could you also post the output from the clinfo utility? You should be able to find it in your package manager.

That's a biggie (which part is the interesting one?):
$ clinfo 
Number of platforms                               2
  Platform Name                                   Intel(R) OpenCL Graphics
  Platform Vendor                                 Intel(R) Corporation
  Platform Version                                OpenCL 3.0 
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_byte_addressable_store cl_khr_device_uuid cl_khr_fp16 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_intel_command_queue_families cl_intel_subgroups cl_intel_required_subgroup_size cl_intel_subgroups_short cl_khr_spir cl_intel_accelerator cl_intel_driver_diagnostics cl_khr_priority_hints cl_khr_throttle_hints cl_khr_create_command_queue cl_intel_subgroups_char cl_intel_subgroups_long cl_khr_il_program cl_intel_mem_force_host_memory cl_khr_subgroup_extended_types cl_khr_subgroup_non_uniform_vote cl_khr_subgroup_ballot cl_khr_subgroup_non_uniform_arithmetic cl_khr_subgroup_shuffle cl_khr_subgroup_shuffle_relative cl_khr_subgroup_clustered_reduce cl_intel_device_attribute_query cl_khr_suggested_local_work_size cl_intel_split_work_group_barrier cl_intel_spirv_media_block_io cl_intel_spirv_subgroups cl_khr_spirv_no_integer_wrap_decoration cl_intel_unified_shared_memory cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_ext_float_atomics cl_intel_planar_yuv cl_intel_packed_yuv cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_3d_image_writes cl_intel_media_block_io cl_intel_subgroup_local_block_io cl_khr_integer_dot_product cl_khr_gl_sharing cl_khr_gl_depth_images cl_khr_gl_event cl_khr_gl_msaa_sharing cl_intel_va_api_media_sharing cl_intel_sharing_format_query cl_khr_pci_bus_info 
  Platform Extensions with Version                cl_khr_byte_addressable_store                                    0x400000 (1.0.0)
                                                  cl_khr_device_uuid                                               0x400000 (1.0.0)
                                                  cl_khr_fp16                                                      0x400000 (1.0.0)
                                                  cl_khr_global_int32_base_atomics                                 0x400000 (1.0.0)
                                                  cl_khr_global_int32_extended_atomics                             0x400000 (1.0.0)
                                                  cl_khr_icd                                                       0x400000 (1.0.0)
                                                  cl_khr_local_int32_base_atomics                                  0x400000 (1.0.0)
                                                  cl_khr_local_int32_extended_atomics                              0x400000 (1.0.0)
                                                  cl_intel_command_queue_families                                  0x400000 (1.0.0)
                                                  cl_intel_subgroups                                               0x400000 (1.0.0)
                                                  cl_intel_required_subgroup_size                                  0x400000 (1.0.0)
                                                  cl_intel_subgroups_short                                         0x400000 (1.0.0)
                                                  cl_khr_spir                                                      0x400000 (1.0.0)
                                                  cl_intel_accelerator                                             0x400000 (1.0.0)
                                                  cl_intel_driver_diagnostics                                      0x400000 (1.0.0)
                                                  cl_khr_priority_hints                                            0x400000 (1.0.0)
                                                  cl_khr_throttle_hints                                            0x400000 (1.0.0)
                                                  cl_khr_create_command_queue                                      0x400000 (1.0.0)
                                                  cl_intel_subgroups_char                                          0x400000 (1.0.0)
                                                  cl_intel_subgroups_long                                          0x400000 (1.0.0)
                                                  cl_khr_il_program                                                0x400000 (1.0.0)
                                                  cl_intel_mem_force_host_memory                                   0x400000 (1.0.0)
                                                  cl_khr_subgroup_extended_types                                   0x400000 (1.0.0)
                                                  cl_khr_subgroup_non_uniform_vote                                 0x400000 (1.0.0)
                                                  cl_khr_subgroup_ballot                                           0x400000 (1.0.0)
                                                  cl_khr_subgroup_non_uniform_arithmetic                           0x400000 (1.0.0)
                                                  cl_khr_subgroup_shuffle                                          0x400000 (1.0.0)
                                                  cl_khr_subgroup_shuffle_relative                                 0x400000 (1.0.0)
                                                  cl_khr_subgroup_clustered_reduce                                 0x400000 (1.0.0)
                                                  cl_intel_device_attribute_query                                  0x400000 (1.0.0)
                                                  cl_khr_suggested_local_work_size                                 0x400000 (1.0.0)
                                                  cl_intel_split_work_group_barrier                                0x400000 (1.0.0)
                                                  cl_intel_spirv_media_block_io                                    0x400000 (1.0.0)
                                                  cl_intel_spirv_subgroups                                         0x400000 (1.0.0)
                                                  cl_khr_spirv_no_integer_wrap_decoration                          0x400000 (1.0.0)
                                                  cl_intel_unified_shared_memory                                   0x400000 (1.0.0)
                                                  cl_khr_mipmap_image                                              0x400000 (1.0.0)
                                                  cl_khr_mipmap_image_writes                                       0x400000 (1.0.0)
                                                  cl_ext_float_atomics                                             0x400000 (1.0.0)
                                                  cl_intel_planar_yuv                                              0x400000 (1.0.0)
                                                  cl_intel_packed_yuv                                              0x400000 (1.0.0)
                                                  cl_khr_int64_base_atomics                                        0x400000 (1.0.0)
                                                  cl_khr_int64_extended_atomics                                    0x400000 (1.0.0)
                                                  cl_khr_image2d_from_buffer                                       0x400000 (1.0.0)
                                                  cl_khr_depth_images                                              0x400000 (1.0.0)
                                                  cl_khr_3d_image_writes                                           0x400000 (1.0.0)
                                                  cl_intel_media_block_io                                          0x400000 (1.0.0)
                                                  cl_intel_subgroup_local_block_io                                 0x400000 (1.0.0)
                                                  cl_khr_integer_dot_product                                       0x800000 (2.0.0)
                                                  cl_khr_gl_sharing                                                0x400000 (1.0.0)
                                                  cl_khr_gl_depth_images                                           0x400000 (1.0.0)
                                                  cl_khr_gl_event                                                  0x400000 (1.0.0)
                                                  cl_khr_gl_msaa_sharing                                           0x400000 (1.0.0)
                                                  cl_intel_va_api_media_sharing                                    0x400000 (1.0.0)
                                                  cl_intel_sharing_format_query                                    0x400000 (1.0.0)
                                                  cl_khr_pci_bus_info                                              0x400000 (1.0.0)
  Platform Numeric Version                        0xc00000 (3.0.0)
  Platform Extensions function suffix             INTEL
  Platform Host timer resolution                  1ns

  Platform Name                                   Intel(R) CPU Runtime for OpenCL(TM) Applications
  Platform Vendor                                 Intel(R) Corporation
  Platform Version                                OpenCL 2.1 LINUX
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd 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_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_fp64 cl_khr_image2d_from_buffer cl_intel_vec_len_hint 
  Platform Extensions function suffix             INTEL
  Platform Host timer resolution                  1ns

  Platform Name                                   Intel(R) OpenCL Graphics
Number of devices                                 1
  Device Name                                     Intel(R) Iris(R) Xe Graphics
  Device Vendor                                   Intel(R) Corporation
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 3.0 NEO 
  Device UUID                                     8680499a-0300-0000-0002-000000000000
  Driver UUID                                     32332e32-322e-3236-3531-360000000000
  Valid Device LUID                               No
  Device LUID                                     902e-8cd3fc7f0000
  Device Node Mask                                0
  Device Numeric Version                          0xc00000 (3.0.0)
  Driver Version                                  23.22.26516
  Device OpenCL C Version                         OpenCL C 1.2 
  Device OpenCL C all versions                    OpenCL C                                                         0x400000 (1.0.0)
                                                  OpenCL C                                                         0x401000 (1.1.0)
                                                  OpenCL C                                                         0x402000 (1.2.0)
                                                  OpenCL C                                                         0xc00000 (3.0.0)
  Device OpenCL C features                        __opencl_c_int64                                                 0xc00000 (3.0.0)
                                                  __opencl_c_3d_image_writes                                       0xc00000 (3.0.0)
                                                  __opencl_c_images                                                0xc00000 (3.0.0)
                                                  __opencl_c_read_write_images                                     0xc00000 (3.0.0)
                                                  __opencl_c_atomic_order_acq_rel                                  0xc00000 (3.0.0)
                                                  __opencl_c_atomic_order_seq_cst                                  0xc00000 (3.0.0)
                                                  __opencl_c_atomic_scope_all_devices                              0xc00000 (3.0.0)
                                                  __opencl_c_atomic_scope_device                                   0xc00000 (3.0.0)
                                                  __opencl_c_generic_address_space                                 0xc00000 (3.0.0)
                                                  __opencl_c_program_scope_global_variables                        0xc00000 (3.0.0)
                                                  __opencl_c_work_group_collective_functions                       0xc00000 (3.0.0)
                                                  __opencl_c_subgroups                                             0xc00000 (3.0.0)
                                                  __opencl_c_ext_fp32_global_atomic_add                            0xc00000 (3.0.0)
                                                  __opencl_c_ext_fp32_local_atomic_add                             0xc00000 (3.0.0)
                                                  __opencl_c_ext_fp32_global_atomic_min_max                        0xc00000 (3.0.0)
                                                  __opencl_c_ext_fp32_local_atomic_min_max                         0xc00000 (3.0.0)
                                                  __opencl_c_ext_fp16_global_atomic_load_store                     0xc00000 (3.0.0)
                                                  __opencl_c_ext_fp16_local_atomic_load_store                      0xc00000 (3.0.0)
                                                  __opencl_c_ext_fp16_global_atomic_min_max                        0xc00000 (3.0.0)
                                                  __opencl_c_ext_fp16_local_atomic_min_max                         0xc00000 (3.0.0)
                                                  __opencl_c_integer_dot_product_input_4x8bit                      0xc00000 (3.0.0)
                                                  __opencl_c_integer_dot_product_input_4x8bit_packed               0xc00000 (3.0.0)
  Latest comfornace test passed                   v2022-04-22-00
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               96
  Max clock frequency                             1400MHz
  Device Partition                                (core)
    Max number of sub-devices                     0
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             512x512x512
  Max work group size                             512
  Preferred work group size multiple (device)     64
  Preferred work group size multiple (kernel)     64
  Max sub-groups per work group                   64
  Sub-group sizes (Intel)                         8, 16, 32
  Preferred / native vector sizes                 
    char                                                16 / 16      
    short                                                8 / 8       
    int                                                  4 / 4       
    long                                                 1 / 1       
    half                                                 8 / 8        (cl_khr_fp16)
    float                                                1 / 1       
    double                                               0 / 0        (n/a)
  Half-precision Floating-point support           (cl_khr_fp16)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Single-precision Floating-point support         (core)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  No
  Double-precision Floating-point support         (n/a)
  Address bits                                    64, Little-Endian
  Global memory size                              13232603136 (12.32GiB)
  Error Correction support                        No
  Max memory allocation                           4294959104 (4GiB)
  Unified memory for Host and Device              Yes
  Shared Virtual Memory (SVM) capabilities        (core)
    Coarse-grained buffer sharing                 Yes
    Fine-grained buffer sharing                   No
    Fine-grained system sharing                   No
    Atomics                                       No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       1024 bits (128 bytes)
  Preferred alignment for atomics                 
    SVM                                           64 bytes
    Global                                        64 bytes
    Local                                         64 bytes
  Atomic memory capabilities                      relaxed, acquire/release, sequentially-consistent, work-group scope, device scope, all-devices scope
  Atomic fence capabilities                       relaxed, acquire/release, sequentially-consistent, work-item scope, work-group scope, device scope, all-devices scope
  Max size for global variable                    65536 (64KiB)
  Preferred total size of global vars             4294959104 (4GiB)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        3932160 (3.75MiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             16
    Max size for 1D images from buffer            268434944 pixels
    Max 1D or 2D image array size                 2048 images
    Base address alignment for 2D image buffers   4 bytes
    Pitch alignment for 2D image buffers          4 pixels
    Max 2D image size                             16384x16384 pixels
    Max planar YUV image size                     16384x16352 pixels
    Max 3D image size                             2048x2048x2048 pixels
    Max number of read image args                 128
    Max number of write image args                128
    Max number of read/write image args           128
  Pipe support                                    No
  Max number of pipe args                         0
  Max active pipe reservations                    0
  Max pipe packet size                            0
  Local memory type                               Local
  Local memory size                               65536 (64KiB)
  Max number of constant args                     8
  Max constant buffer size                        4294959104 (4GiB)
  Generic address space support                   Yes
  Max size of kernel argument                     2048 (2KiB)
  Queue properties (on host)                      
    Out-of-order execution                        Yes
    Profiling                                     Yes
  Device enqueue capabilities                     (n/a)
  Queue properties (on device)                    
    Out-of-order execution                        No
    Profiling                                     No
    Preferred size                                0
    Max size                                      0
  Max queues on device                            0
  Max events on device                            0
  Prefer user sync for interop                    Yes
  Profiling timer resolution                      52ns
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Non-uniform work-groups                       Yes
    Work-group collective functions               Yes
    Sub-group independent forward progress        No
    IL version                                    SPIR-V_1.2 
    ILs with version                              SPIR-V                                                           0x402000 (1.2.0)
    SPIR versions                                 1.2 
  printf() buffer size                            4194304 (4MiB)
  Built-in kernels                                (n/a)
  Built-in kernels with version                   (n/a)
  Device Extensions                               cl_khr_byte_addressable_store cl_khr_device_uuid cl_khr_fp16 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_intel_command_queue_families cl_intel_subgroups cl_intel_required_subgroup_size cl_intel_subgroups_short cl_khr_spir cl_intel_accelerator cl_intel_driver_diagnostics cl_khr_priority_hints cl_khr_throttle_hints cl_khr_create_command_queue cl_intel_subgroups_char cl_intel_subgroups_long cl_khr_il_program cl_intel_mem_force_host_memory cl_khr_subgroup_extended_types cl_khr_subgroup_non_uniform_vote cl_khr_subgroup_ballot cl_khr_subgroup_non_uniform_arithmetic cl_khr_subgroup_shuffle cl_khr_subgroup_shuffle_relative cl_khr_subgroup_clustered_reduce cl_intel_device_attribute_query cl_khr_suggested_local_work_size cl_intel_split_work_group_barrier cl_intel_spirv_media_block_io cl_intel_spirv_subgroups cl_khr_spirv_no_integer_wrap_decoration cl_intel_unified_shared_memory cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_ext_float_atomics cl_intel_planar_yuv cl_intel_packed_yuv cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_3d_image_writes cl_intel_media_block_io cl_intel_subgroup_local_block_io cl_khr_integer_dot_product cl_khr_gl_sharing cl_khr_gl_depth_images cl_khr_gl_event cl_khr_gl_msaa_sharing cl_intel_va_api_media_sharing cl_intel_sharing_format_query cl_khr_pci_bus_info 
  Device Extensions with Version                  cl_khr_byte_addressable_store                                    0x400000 (1.0.0)
                                                  cl_khr_device_uuid                                               0x400000 (1.0.0)
                                                  cl_khr_fp16                                                      0x400000 (1.0.0)
                                                  cl_khr_global_int32_base_atomics                                 0x400000 (1.0.0)
                                                  cl_khr_global_int32_extended_atomics                             0x400000 (1.0.0)
                                                  cl_khr_icd                                                       0x400000 (1.0.0)
                                                  cl_khr_local_int32_base_atomics                                  0x400000 (1.0.0)
                                                  cl_khr_local_int32_extended_atomics                              0x400000 (1.0.0)
                                                  cl_intel_command_queue_families                                  0x400000 (1.0.0)
                                                  cl_intel_subgroups                                               0x400000 (1.0.0)
                                                  cl_intel_required_subgroup_size                                  0x400000 (1.0.0)
                                                  cl_intel_subgroups_short                                         0x400000 (1.0.0)
                                                  cl_khr_spir                                                      0x400000 (1.0.0)
                                                  cl_intel_accelerator                                             0x400000 (1.0.0)
                                                  cl_intel_driver_diagnostics                                      0x400000 (1.0.0)
                                                  cl_khr_priority_hints                                            0x400000 (1.0.0)
                                                  cl_khr_throttle_hints                                            0x400000 (1.0.0)
                                                  cl_khr_create_command_queue                                      0x400000 (1.0.0)
                                                  cl_intel_subgroups_char                                          0x400000 (1.0.0)
                                                  cl_intel_subgroups_long                                          0x400000 (1.0.0)
                                                  cl_khr_il_program                                                0x400000 (1.0.0)
                                                  cl_intel_mem_force_host_memory                                   0x400000 (1.0.0)
                                                  cl_khr_subgroup_extended_types                                   0x400000 (1.0.0)
                                                  cl_khr_subgroup_non_uniform_vote                                 0x400000 (1.0.0)
                                                  cl_khr_subgroup_ballot                                           0x400000 (1.0.0)
                                                  cl_khr_subgroup_non_uniform_arithmetic                           0x400000 (1.0.0)
                                                  cl_khr_subgroup_shuffle                                          0x400000 (1.0.0)
                                                  cl_khr_subgroup_shuffle_relative                                 0x400000 (1.0.0)
                                                  cl_khr_subgroup_clustered_reduce                                 0x400000 (1.0.0)
                                                  cl_intel_device_attribute_query                                  0x400000 (1.0.0)
                                                  cl_khr_suggested_local_work_size                                 0x400000 (1.0.0)
                                                  cl_intel_split_work_group_barrier                                0x400000 (1.0.0)
                                                  cl_intel_spirv_media_block_io                                    0x400000 (1.0.0)
                                                  cl_intel_spirv_subgroups                                         0x400000 (1.0.0)
                                                  cl_khr_spirv_no_integer_wrap_decoration                          0x400000 (1.0.0)
                                                  cl_intel_unified_shared_memory                                   0x400000 (1.0.0)
                                                  cl_khr_mipmap_image                                              0x400000 (1.0.0)
                                                  cl_khr_mipmap_image_writes                                       0x400000 (1.0.0)
                                                  cl_ext_float_atomics                                             0x400000 (1.0.0)
                                                  cl_intel_planar_yuv                                              0x400000 (1.0.0)
                                                  cl_intel_packed_yuv                                              0x400000 (1.0.0)
                                                  cl_khr_int64_base_atomics                                        0x400000 (1.0.0)
                                                  cl_khr_int64_extended_atomics                                    0x400000 (1.0.0)
                                                  cl_khr_image2d_from_buffer                                       0x400000 (1.0.0)
                                                  cl_khr_depth_images                                              0x400000 (1.0.0)
                                                  cl_khr_3d_image_writes                                           0x400000 (1.0.0)
                                                  cl_intel_media_block_io                                          0x400000 (1.0.0)
                                                  cl_intel_subgroup_local_block_io                                 0x400000 (1.0.0)
                                                  cl_khr_integer_dot_product                                       0x800000 (2.0.0)
                                                  cl_khr_gl_sharing                                                0x400000 (1.0.0)
                                                  cl_khr_gl_depth_images                                           0x400000 (1.0.0)
                                                  cl_khr_gl_event                                                  0x400000 (1.0.0)
                                                  cl_khr_gl_msaa_sharing                                           0x400000 (1.0.0)
                                                  cl_intel_va_api_media_sharing                                    0x400000 (1.0.0)
                                                  cl_intel_sharing_format_query                                    0x400000 (1.0.0)
                                                  cl_khr_pci_bus_info                                              0x400000 (1.0.0)

  Platform Name                                   Intel(R) CPU Runtime for OpenCL(TM) Applications
Number of devices                                 1
  Device Name                                     11th Gen Intel(R) Core(TM) i7-1195G7 @ 2.90GHz
  Device Vendor                                   Intel(R) Corporation
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 2.1 (Build 0)
  Driver Version                                  18.1.0.0920
  Device OpenCL C Version                         OpenCL C 2.0 
  Device Type                                     CPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               8
  Max clock frequency                             2900MHz
  Device Partition                                (core)
    Max number of sub-devices                     8
    Supported partition types                     by counts, equally, by names (Intel)
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             8192x8192x8192
  Max work group size                             8192
  Preferred work group size multiple (kernel)     128
  Max sub-groups per work group                   1
  Preferred / native vector sizes                 
    char                                                 1 / 32      
    short                                                1 / 16      
    int                                                  1 / 8       
    long                                                 1 / 4       
    half                                                 0 / 0        (n/a)
    float                                                1 / 8       
    double                                               1 / 4        (cl_khr_fp64)
  Half-precision Floating-point support           (n/a)
  Single-precision Floating-point support         (core)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 No
    Round to infinity                             No
    IEEE754-2008 fused multiply-add               No
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  No
  Double-precision Floating-point support         (cl_khr_fp64)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Address bits                                    64, Little-Endian
  Global memory size                              16540758016 (15.4GiB)
  Error Correction support                        No
  Max memory allocation                           4135189504 (3.851GiB)
  Unified memory for Host and Device              Yes
  Shared Virtual Memory (SVM) capabilities        (core)
    Coarse-grained buffer sharing                 Yes
    Fine-grained buffer sharing                   Yes
    Fine-grained system sharing                   Yes
    Atomics                                       Yes
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       1024 bits (128 bytes)
  Preferred alignment for atomics                 
    SVM                                           64 bytes
    Global                                        64 bytes
    Local                                         0 bytes
  Max size for global variable                    65536 (64KiB)
  Preferred total size of global vars             65536 (64KiB)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        262144 (256KiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             480
    Max size for 1D images from buffer            258449344 pixels
    Max 1D or 2D image array size                 2048 images
    Base address alignment for 2D image buffers   64 bytes
    Pitch alignment for 2D image buffers          64 pixels
    Max 2D image size                             16384x16384 pixels
    Max 3D image size                             2048x2048x2048 pixels
    Max number of read image args                 480
    Max number of write image args                480
    Max number of read/write image args           480
  Max number of pipe args                         16
  Max active pipe reservations                    32767
  Max pipe packet size                            1024
  Local memory type                               Global
  Local memory size                               32768 (32KiB)
  Max number of constant args                     480
  Max constant buffer size                        131072 (128KiB)
  Max size of kernel argument                     3840 (3.75KiB)
  Queue properties (on host)                      
    Out-of-order execution                        Yes
    Profiling                                     Yes
    Local thread execution (Intel)                Yes
  Queue properties (on device)                    
    Out-of-order execution                        Yes
    Profiling                                     Yes
    Preferred size                                4294967295 (4GiB)
    Max size                                      4294967295 (4GiB)
  Max queues on device                            4294967295
  Max events on device                            4294967295
  Prefer user sync for interop                    No
  Profiling timer resolution                      1ns
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            Yes
    Sub-group independent forward progress        No
    IL version                                    SPIR-V_1.0
    SPIR versions                                 1.2
  printf() buffer size                            1048576 (1024KiB)
  Built-in kernels                                (n/a)
  Device Extensions                               cl_khr_icd 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_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_fp64 cl_khr_image2d_from_buffer cl_intel_vec_len_hint 


NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Intel(R) OpenCL Graphics
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [INTEL]
  clCreateContext(NULL, ...) [default]            Success [INTEL]
  clCreateContext(NULL, ...) [other]              Success [INTEL]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 Intel(R) OpenCL Graphics
    Device Name                                   Intel(R) Iris(R) Xe Graphics
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 Intel(R) OpenCL Graphics
    Device Name                                   Intel(R) Iris(R) Xe Graphics
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (1)
    Platform Name                                 Intel(R) OpenCL Graphics
    Device Name                                   Intel(R) Iris(R) Xe Graphics

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.3.2
  ICD loader Profile                              OpenCL 3.0
User Avatar
Member
6 posts
Joined: Dec. 2013
Offline
Seems like the device is not supported for some reason:

$ hgpuinfo -q
free(): invalid pointer
Aborted (core dumped)
$ export LD_PRELOAD="/usr/lib/libc_malloc_debug.so.0"
$ hgpuinfo -q
$
Edited by Michael Mussato - July 26, 2023 07:38:00
User Avatar
Member
7638 posts
Joined: July 2005
Offline
FWIW, I gave it a try installing a Manjaro Virtualbox VM but all the crashes were related to lack of OpenCL and didn't get the "free(): invalid pointer" message. I got it to bring up Houdini fine by installing pocl (software opencl) and telling Houdini to use that with:
export HOUDINI_USE_HFS_OCL=0
export HOUDINI_OCL_DEVICETYPE=CPU
export HOUDINI_OCL_FEATURE_DISABLE=CL_DEVICE_DEVICE_ENQUEUE_SUPPORT
So I don't know <shrugs>.
User Avatar
Member
13 posts
Joined: July 2023
Offline
Strange, I’m having opencl problems myself. If I explicitly set it to gpu in the houdini.env it works. Did you try that?
User Avatar
Member
6 posts
Joined: Dec. 2013
Offline
Thanks @Fx_enjoyer and @edward for your suggestions. Nothing worked so far (except
export LD_PRELOAD="/usr/lib/libc_malloc_debug.so.0"
).

I tried the following driver packages:
- https://aur.archlinux.org/packages/intel-opencl-runtime [aur.archlinux.org]
- https://aur.archlinux.org/packages/intel-cpu-runtime [aur.archlinux.org]
- https://aur.archlinux.org/packages/intel-opencl [aur.archlinux.org]
- intel-compute-runtime
- pocl

export HOUDINI_USE_HFS_OCL=0
export HOUDINI_OCL_DEVICETYPE=CPU
export HOUDINI_OCL_FEATURE_DISABLE=CL_DEVICE_DEVICE_ENQUEUE_SUPPORT
...did not make any difference compared to the env I have.
Edited by Michael Mussato - Aug. 4, 2023 06:54:33
  • Quick Links