Blender keeps crashing

Running on Kde Manjaro now on ASUS TUF 505dt with radeon 560x. For some reason blender keeps crashing when I open Preferences or change rendering to gpu and go to rendered view. Also I see no indication that it is actually able to use the mentioned gpu. I’m using the 5.8 kernel if that makes a difference.
Output of "blender --debug’:

Switching to fully guarded memory allocator.
Blender 2.91.0
Build: 2020-11-25 17:25:04 Linux Release
argv[0] = blender
argv[1] = --debug
Read prefs: /home/dave/.config/blender/2.91/config/userpref.blend
read file
Version 280 sub 39 date unknown hash unknown
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not perm
itted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not perm
itted (1)
LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruc
tion violates constant bus restriction
renamable $vgpr4 = V_CNDMASK_B32_e32 32768, killed $vgpr5, implicit killed $v
cc, implicit $exec
LLVM failed to compile shader
radeonsi: can’t compile a main shader part
LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruc
tion violates constant bus restriction
renamable $vgpr4 = V_CNDMASK_B32_e32 32768, killed $vgpr4, implicit killed $v
cc, implicit $exec
LLVM failed to compile shader
radeonsi: can’t compile a main shader part
ac: Unknown GPU, using 0 for raster_config
Writing: /tmp/blender.crash.txt
Segmentation fault (core dumped)

Blender crash report:

#Blender 2.91.0, Commit date: 2020-11-25 11:06, Hash b50598bc78c7

#backtrace
blender(BLI_system_backtrace+0x34) [0x559ca10295b4]
blender(+0xda047d) [0x559c9ebc447d]
/usr/lib/libc.so.6(+0x3d6a0) [0x7ff91f1266a0]
/usr/lib/gallium-pipe/pipe_radeonsi.so(+0x146ff0) [0x7ff8d3444ff0]
/usr/lib/dri/radeonsi_dri.so(amdgpu_winsys_create+0x4b8) [0x7ff8f0542f68]
/usr/lib/gallium-pipe/pipe_radeonsi.so(+0xb7909) [0x7ff8d33b5909]
/usr/lib/libMesaOpenCL.so.1(+0x297a0) [0x7ff8e1b607a0]
/usr/lib/libMesaOpenCL.so.1(+0x2949e) [0x7ff8e1b6049e]
/lib64/ld-linux-x86-64.so.2(+0x112de) [0x7ff929ef32de]
/lib64/ld-linux-x86-64.so.2(+0x113c8) [0x7ff929ef33c8]
/usr/lib/libc.so.6(_dl_catch_exception+0xe5) [0x7ff91f2240e5]
/lib64/ld-linux-x86-64.so.2(+0x15705) [0x7ff929ef7705]
/usr/lib/libc.so.6(_dl_catch_exception+0x88) [0x7ff91f224088]
/lib64/ld-linux-x86-64.so.2(+0x14f3e) [0x7ff929ef6f3e]
/usr/lib/libdl.so.2(+0x134c) [0x7ff929b9934c]
/usr/lib/libc.so.6(_dl_catch_exception+0x88) [0x7ff91f224088]
/usr/lib/libc.so.6(_dl_catch_error+0x33) [0x7ff91f224153]
/usr/lib/libdl.so.2(+0x1b89) [0x7ff929b99b89]
/usr/lib/libdl.so.2(dlopen+0x48) [0x7ff929b993d8]
/usr/lib/libOpenCL.so(+0x597c) [0x7ff90280d97c]
/usr/lib/libOpenCL.so(+0x5e80) [0x7ff90280de80]
/usr/lib/libOpenCL.so(clGetPlatformIDs+0xf5) [0x7ff90280fa25]
blender(_ZN3ccl18device_opencl_infoERNS_6vectorINS_10DeviceInfoENS_16GuardedAllocatorIS1_EEEE+0x49) [0x559c9ff55cb9]
blender(_ZN3ccl6Device17available_devicesEj+0x319) [0x559c9ff368b9]
blender(+0x209dd89) [0x559c9fec1d89]
/usr/lib/libpython3.8.so.1.0(PyCFunction_Call+0x19a) [0x7ff92175d8fa]
/usr/lib/libpython3.8.so.1.0(_PyObject_MakeTpCall+0x464) [0x7ff9217504d4]
/usr/lib/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x50e8) [0x7ff92174bda8]
/usr/lib/libpython3.8.so.1.0(+0x13e046) [0x7ff921767046]
/usr/lib/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x4ca7) [0x7ff92174b967]
/usr/lib/libpython3.8.so.1.0(+0x13e046) [0x7ff921767046]
/usr/lib/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x4ca7) [0x7ff92174b967]
/usr/lib/libpython3.8.so.1.0(+0x13e046) [0x7ff921767046]
/usr/lib/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x4ca7) [0x7ff92174b967]
/usr/lib/libpython3.8.so.1.0(_PyFunction_Vectorcall+0x108) [0x7ff921757838]
/usr/lib/libpython3.8.so.1.0(PyObject_Call+0x212) [0x7ff92176aab2]
blender(+0x15f84be) [0x559c9f41c4be]
blender(+0x159b8c0) [0x559c9f3bf8c0]
blender(+0x1619c24) [0x559c9f43dc24]
blender(ED_region_panels_layout_ex+0x508) [0x559c9f43f7e8]
blender(+0x2b6124a) [0x559ca098524a]
blender(ED_region_do_layout+0x60) [0x559c9f43e8e0]
blender(wm_draw_update+0x447) [0x559c9ef2ed67]
blender(WM_main+0x34) [0x559c9ef2cd24]
blender(main+0x363) [0x559c9eb96683]
/usr/lib/libc.so.6(__libc_start_main+0xf2) [0x7ff91f111152]
blender(_start+0x2e) [0x559c9ebc064e]

#Python backtrace
File “/usr/share/blender/2.91/scripts/addons/cycles/properties.py”, line 1589 in get_devices_for_type
File “/usr/share/blender/2.91/scripts/addons/cycles/properties.py”, line 1666 in draw_impl
File “/usr/share/blender/2.91/scripts/startup/bl_ui/space_userpref.py”, line 593 in draw_centered
File “/usr/share/blender/2.91/scripts/startup/bl_ui/space_userpref.py”, line 182 in draw

Pls help

Try using the older driver. Check out opencl-amd on the AUR Website and see the top pinned comment there, it’s all explained there and blender users might experience problems with the current version (sorry, I’d post the URL but unfortunately I’m not allowed to).

In any case I had the exact same problem and got it working with the older version.

Any idea where I can get the older version? I’m new to this. I don’t see any links in the aur website.
There’s this but I don’t know how to use it

opencl-amd follows the AMDGPU-Pro upstream releases. If the latest version is not working for your system, you can download and install the 20.40 version. The link to the 20.40 PKGBUILD is here

yes you found it. Download that PKGBUILD file (right click: save link as…) and put it into some folder. Then open a terminal in there and write: makepkg -si

That’s what did the trick for me.

Thanks. That worked :grin:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.