Изменения

Перейти к: навигация, поиск

Блог:Виталий Филиппов/2021-06-09 Blender, OpenCL и Radeon ProRender

1036 байтов добавлено, 09:50, 5 июня 2021
Новая страница: «Hi, just a note for future users who face the same issue on how I solved it. I installed Blender 2.93 from the official site on Debian testing and Radeon ProRende…»
Hi, just a note for future users who face the same issue on how I solved it.
I installed Blender 2.93 from the official site on Debian testing and Radeon ProRender 3.1.0 "for Ubuntu 20" using Blender Addons -> Install...
It showed me this error message. Installing python3-cffi via apt-get didn't help.
The problem was that Radeon ProRender contains _cffi_backend.cpython-37m-x86_64-linux-gnu.so which is for Python 3.7 and official Blender uses Python 3.9. So I linked /usr/lib/python3/dist-packages/_cffi_backend.cpython-39-x86_64-linux-gnu.so to ~/.config/blender/2.93/scripts/addons/rprblender/_cffi_backend.cpython-39-x86_64-linux-gnu.so and it started to work.
By the way, I use a closed-source OpenCL driver from AMDGPU-Pro 20.40 with open-source 3D and kernel drivers.
I.e. it's sufficient to install opencl-amdgpu-pro-comgr, opencl-amdgpu-pro-icd and ocl-icd-libopencl1-amdgpu-pro and put

/opt/amdgpu-pro/lib/x86_64-linux-gnu
/opt/amdgpu-pro/lib/i386-linux-gnu

into /etc/ld.so.conf.d/10-amdgpu-pro.conf to get OpenCL working.

Навигация