You are not logged in.

#1 2022-10-23 15:53:16

RudderDuck
Member
Registered: 2022-08-03
Posts: 12

Blender rendering error: undefined symbol: __oclc_ABI_version

I'm trying to use my GPU for rendering in Blender. I can select the rendering device (Edit/Preferences/System) as HIP (AMD Radeon RX 6600 XT) but as soon as I select Cycles als the Render Engine and GPU Compute as my Device I get the error message:

lld: error: undefined symbol: __oclc_ABI_version

I can see that this is part of the process of compiling the HIP kernel:

Read prefs: /home/user/.config/blender/3.3/config/userpref.blend
Use of uninitialized value $HIP_CLANG_INCLUDE_PATH in concatenation (.) or string at /opt/rocm-5.3.0/bin//hipcc.pl line 195.
Use of uninitialized value $HIP_CLANG_INCLUDE_PATH in concatenation (.) or string at /opt/rocm-5.3.0/bin//hipcc.pl line 196.
Compiling HIP kernel ...
hipcc -Wno-parentheses-equality -Wno-unused-value --hipcc-func-supp -O3 -ffast-math --amdgpu-target=gfx1032 -I /usr/share/blender/3.3/scripts/addons/cycles/source --genco /usr/share/blender/3.3/scripts/addons/cycles/source/kernel/device/hip/kernel.cpp -o "/home/user/.cache/cycles/kernels/cycles_kernel_gfx1032_69B7EBFF4F762B03BCEA606CC4A0E9CB"
Use of uninitialized value $HIP_CLANG_INCLUDE_PATH in concatenation (.) or string at /opt/rocm-5.3.0/bin//hipcc.pl line 195.
Use of uninitialized value $HIP_CLANG_INCLUDE_PATH in concatenation (.) or string at /opt/rocm-5.3.0/bin//hipcc.pl line 196.
lld: error: undefined symbol: __oclc_ABI_version
>>> referenced by /tmp/kernel-c25027/kernel-gfx1032.o:(kernel_gpu_integrator_reset)
>>> referenced by /tmp/kernel-c25027/kernel-gfx1032.o:(kernel_gpu_integrator_reset)
>>> referenced by /tmp/kernel-c25027/kernel-gfx1032.o:(kernel_gpu_integrator_init_from_camera)
>>> referenced 105 more times
clang-14: error: amdgcn-link command failed with exit code 1 (use -v to see invocation)
Failed to execute compilation command, see console for details.

The error code does not give me much search results to solve this problem, hoping someone can offer some pointers to a solution. Thanks!

Some system info:

OS: Arch Linux x86_64
Kernel: 5.15.74-1-lts
CPU: Intel i5-6600K (4) @ 3.900GHz
GPU: Intel HD Graphics 530
GPU: AMD ATI Radeon RX 6600/6600 XT/6600M

Offline

#2 2022-10-23 20:44:13

RudderDuck
Member
Registered: 2022-08-03
Posts: 12

Re: Blender rendering error: undefined symbol: __oclc_ABI_version

It seems to be working as expected now. I removed/re-installed a number of packages and it seems that opencl-amd is the main package to be keeping an eye on.

Removing this package results in an error message in Blender when trying to set HIP as rendering device (No compatible GPUs found for Cycles). Installing this package allows selecting the GPU. Then changing to GPU rendering installs HIP and on my machine now allows for GPU rendering.

Offline

Board footer

Powered by FluxBB