cancel
Showing results for 
Search instead for 
Did you mean: 

Blender Discussions

schulze1963
Adept II

RPR and other Linux distribution

In a forum I found instructions from an Arch Linux user on how to install opencl for an amd gpu on a non-officially supported Linux distribution:
downloads AMD's Pro driver package, then extracts the files and copies just the OpenCL part of it and packages. Here's the file listing, it's not a lot of files:
/etc/OpenCL/vendors/amdocl-orca64.icd
/etc/OpenCL/vendors/amdocl64.icd
/opt/amdgpu/share/libdrm/amdgpu.ids
/usr/lib/libamdocl-orca64.so
/usr/lib/libamdocl12cl64.so
/usr/lib/libamdocl64.so
/usr/lib/libdrm_amdgpo.so.1
/usr/lib/libdrm_amdgpo.so.1.0.0

With Ubuntu 20.04, Blender works perfectly with cycles and Luxcore. The Radeon Pro Render 2.3.35 also lets you activate it. the final render also works perfectly, only the viewport render only gives the following error:


2020-05-08 18: 33: 09,041 INFO rpr.engine.init [140054458392768]: RPR Core version 0x103500
2020-05-08 18: 33: 09.051 INFO rpr.engine.init [140054458392768]: Image Filters version 0x4140000053fccd8
2020-05-08 18: 33: 09.053 INFO rpr.default [140054458392768]: rprsdk_bin_path: /home/schulze/.config/blender/2.82/scripts/addons/rprblender
2020-05-08 18: 33: 09,449 INFO rpr.utils.material_library [140054458392768]: Material Library 2.0 found
2020-05-08 18: 33: 09,449 INFO rpr.material_library [140054458392768]: Material library located at / home / schulze / Documents / Radeon ProRender / Material Library / Xml
Updated output node "Material Output.001" in tree Material to new version
Warning: property 'release_confirm' not found in keymap item 'OperatorProperties'
2020-05-08 18: 33: 51,809 ERROR rpr.init [140054458392768]: RPR call CreateContext (1062144, [0], 1, 33, <cdata 'void * []' owning 24 bytes>, b '/ home / schulze / .config / blender / 2.82 / scripts / addons / rprblender / .cache / 0x103500_rpr ', <pyrpr.Context object at 0x7f6095c103d0>) returned error code <-23> with error message:' 'EXCEPTION: Traceback (most recent call load):
  File "/home/schulze/.config/blender/2.82/scripts/addons/rprblender/__init__.py", line 153, in view_update
    self.engine.sync (context, depsgraph)
  File "/home/schulze/.config/blender/2.82/scripts/addons/rprblender/engine/viewport_engine.py", line 432, in sync
    use_gl_interop = use_gl_interop)
  File "/home/schulze/.config/blender/2.82/scripts/addons/rprblender/properties/render.py", line 466, in init_rpr_context
    rpr_context.init (context_flags, context_props)
  File "/home/schulze/.config/blender/2.82/scripts/addons/rprblender/engine/context.py", line 83, in init
    self.context = self._Context (context_flags, context_props)
  File "/home/schulze/.config/blender/2.82/scripts/addons/rprblender/pyrpr.py", line 333, in __init__
    self)
  File "/home/schulze/.config/blender/2.82/scripts/addons/rprblender/pyrpr.py", line 78, in wrapped
    raise CoreError (status, f .__ name__, argv, module_name)
pyrpr.CoreError: RPR call CreateContext (1062144, [0], 1, 33, <cdata 'void * []' owning 24 bytes>, b '/ home / schulze / .config / blender / 2.82 / scripts / addons / rprblender /.cache/0x103500_rpr ', <pyrpr.Context object at 0x7f6095c103d0>) returned error code <-23> with error message:' '

Maybe it is possible to create a version that works on all Linux versions with executable opencl!

0 Likes
0 Replies