Trying to enable plugin in final 2.80 under Ubuntu 19.04. Getting this error:
2019-08-08 09:39:44,814 INFO rpr.core [140658589282240]: RPR Core version 0x103401
2019-08-08 09:39:44,816 CRITICAL rpr [140658589282240]: Traceback (most recent call last):
File "/home/shrisha/.config/blender/2.80/scripts/addons/rprblender/engine/__init__.py", line 29, in pyrpr_init
pyrpr.init(log_pyrpr, rprsdk_bin_path=rprsdk_bin_path)
File "/home/shrisha/.config/blender/2.80/scripts/addons/rprblender/pyrpr.py", line 140, in init
ctypes.CDLL(str(rpr_lib_path))
File "/home/shrisha/blender/2.80/python/lib/python3.7/ctypes/__init__.py", line 356, in __init__
self._handle = _dlopen(self._name, mode)
OSError: libOpenCL.so.1: cannot open shared object file: No such file or directory
2019-08-08 09:39:44,816 WARNING rpr.default [140658589282240]: Failed to load rpr from /home/shrisha/.config/blender/2.80/scripts/addons/rprblender. One more attempt will be provided.
2019-08-08 09:39:44,816 INFO rpr.core [140658589282240]: RPR Core version 0x103401
Shared lib does not exists "libRadeonProRender64.so"
2019-08-08 09:39:44,816 CRITICAL rpr [140658589282240]: Traceback (most recent call last):
File "/home/shrisha/.config/blender/2.80/scripts/addons/rprblender/engine/__init__.py", line 29, in pyrpr_init
pyrpr.init(log_pyrpr, rprsdk_bin_path=rprsdk_bin_path)
File "/home/shrisha/.config/blender/2.80/scripts/addons/rprblender/pyrpr.py", line 156, in init
assert False
AssertionError
Traceback (most recent call last):
File "/home/shrisha/blender/2.80/scripts/modules/addon_utils.py", line 351, in enable
mod = __import__(module_name)
File "/home/shrisha/.config/blender/2.80/scripts/addons/rprblender/__init__.py", line 19, in <module>
from .engine.engine import Engine
File "/home/shrisha/.config/blender/2.80/scripts/addons/rprblender/engine/__init__.py", line 83, in <module>
assert pyrpr_init(bindings_import_path, rprsdk_bin_path)
AssertionError
Cycles and system see's my GPU with no problem. GPU - Titan RTX.
Edited: Lol, my library just called "libOpenImageDenoise.so" without ".0" at the end. So I made a soft link with that name and now it is loading.
Likewise here but without the libOpenCL.so.1 part.
[...]
OSError: libOpenImageDenoise.so.0: cannot open shared object file: No such file or directory
[...]
2019-08-13 16:13:35,869 INFO rpr.core [139971511804096]: RPR Core version 0x103401
Shared lib does not exists "libRadeonProRender64.so"
Weird because that libs are really present.
I guess what you need is to install the OpenCL library in your system.
For doing that in Ubuntu 19.04:
sudo apt install ocl-icd-libopencl1
Thanks, will try that.
Creating symlink helped to load RPR. But it is crashing when trying to render something. Investigating further.
creating symlink and installing ocl-icd-libopencl1 package solved this issue.
Thanks. We'll fix the installer.