Houdini Can't Find Nividia's Linux OpenCL instillation...

   1456   0   1
User Avatar
Member
63 posts
Joined: Aug. 2013
Offline
I hope it's not a Manjaro-exclusive issue, since they like to re-organize Arch to be useless to Arch users, but even though I'm using the Nvidia proprietary drivers Houdini keeps crashing with this:

Traceback (most recent call last):
  File "/opt/hfs18.5.408/python/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/opt/hfs18.5.408/houdini/python2.7libs/houdinihelp/api.py", line 552, in run
    with indexer.writer() as w:
  File "/opt/hfs18.5.408/houdini/python2.7libs/bookish/search.py", line 408, in writer
    return self.index.writer(**kwargs)
  File "/opt/hfs18.5.408/houdini/python2.7libs/whoosh/index.py", line 464, in writer
    return SegmentWriter(self, **kwargs)
  File "/opt/hfs18.5.408/houdini/python2.7libs/whoosh/writing.py", line 514, in __init__
    delay=delay):
  File "/opt/hfs18.5.408/houdini/python2.7libs/whoosh/util/filelock.py", line 54, in try_for
    v = fn()
  File "/opt/hfs18.5.408/houdini/python2.7libs/whoosh/util/filelock.py", line 98, in acquire
    self.fd = os.open(self.filename, flags)
OSError: [Errno 13] Permission denied: '/home/redacted/houdini18.5/config/Help/index2.7/MAIN_WRITELOCK'

No OpenCL platform has the specified device type (HOUDINI_OCL_DEVICETYPE): GPU.  Falling back to built-in CPU OpenCL driver.
No OpenCL platform has the specified device type (HOUDINI_OCL_DEVICETYPE): GPU.  Falling back to built-in CPU OpenCL driver.
325048: Fatal error: Segmentation fault (sent by pid 0)
Crash log saved to /tmp/houdini_temp/crash.untitled.tbd_325048_log.txt
Warning: Unable to load any usable ISO8859 font

The only workaround I've found is to launch from Konsole with
LD_PRELOAD=/usr/lib/libnvidia-opencl.so.455.45.01 happrentice -foreground
(foreground was added so I could check the output)....But why can't Houdini find the library on its own?
Edited by HongMao - Jan. 5, 2021 14:04:46
  • Quick Links