Blender crash help?

i’m pretty sure it was working the other day. i know it was working within the past few weeks. today though it crashes no matter what i’m doing that has anything to do with cycles gpu rendering. (including opening system tab of the user preferences to try and change it to cpu rendering.

i’m running antergos with an rx480

here’s the terminal error

Read prefs: /home/USER/.config/blender/2.79/config/userpref.blend
amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-9)
Writing: /tmp/blender.crash.txt
Segmentation fault (core dumped)

here’s the crash.txt

# Blender 2.79 (sub 0), Commit date: 2018-05-26 21:51, Hash 32432d91bbe

# backtrace
blender(BLI_system_backtrace+0x34) [0x559f89b7d3f4]
blender(+0xb7b562) [0x559f89109562]
/usr/lib/libc.so.6(+0x37e00) [0x7f8828778e00]
/usr/lib/libdrm_amdgpo.so.1(amdgpu_get_marketing_name+0xc) [0x7f87d7401bdf]
/usr/lib/libamdocl-orca64.so(+0x8d871e) [0x7f87dcabb71e]
/usr/lib/libamdocl-orca64.so(+0x8d8cbf) [0x7f87dcabbcbf]
/usr/lib/libamdocl-orca64.so(+0x8dbc71) [0x7f87dcabec71]
/usr/lib/libamdocl-orca64.so(+0x8f5488) [0x7f87dcad8488]
/usr/lib/libamdocl-orca64.so(+0xc4bc7d) [0x7f87dce2ec7d]
/usr/lib/libamdocl-orca64.so(+0x8cb799) [0x7f87dcaae799]
/usr/lib/libamdocl-orca64.so(+0x8cb80f) [0x7f87dcaae80f]
/usr/lib/libamdocl-orca64.so(+0x8cc597) [0x7f87dcaaf597]
/usr/lib/libamdocl-orca64.so(+0xcf772e) [0x7f87dceda72e]
/usr/lib/libamdocl-orca64.so(+0xcf8c9a) [0x7f87dcedbc9a]
/usr/lib/libamdocl-orca64.so(+0xcf8eb6) [0x7f87dcedbeb6]
/usr/lib/libamdocl-orca64.so(+0x8a9787) [0x7f87dca8c787]
/usr/lib/libamdocl-orca64.so(clIcdGetPlatformIDsKHR+0x8a) [0x7f87dca6f68a]
/usr/lib/libOpenCL.so(+0x5d1e) [0x7f87e0de3d1e]
/usr/lib/libOpenCL.so(clGetPlatformIDs+0x115) [0x7f87e0de5c15]
blender(_ZN3ccl10OpenCLInfo17get_num_platformsEPjPi+0x1c) [0x559f8a0cd2fc]
blender(_ZN3ccl10OpenCLInfo13get_platformsEPNS_6vectorIP15_cl_platform_idNS_16GuardedAllocatorIS3_EEEEPi+0x39) [0x559f8a0ce3a9]
blender(_ZN3ccl10OpenCLInfo18get_usable_devicesEPNS_6vectorINS_20OpenCLPlatformDeviceENS_16GuardedAllocatorIS2_EEEEb+0x19b) [0x559f8a0d2fcb]
blender(_ZN3ccl18device_opencl_infoERNS_6vectorINS_10DeviceInfoENS_16GuardedAllocatorIS1_EEEE+0x56) [0x559f8a0bfcf6]
blender(_ZN3ccl6Device17available_devicesEv+0xe2) [0x559f8a094872]
blender(+0x1a0218a) [0x559f89f9018a]
/usr/lib/libpython3.7m.so.1.0(_PyMethodDef_RawFastCallKeywords+0x148) [0x7f8830046f68]
/usr/lib/libpython3.7m.so.1.0(_PyCFunction_FastCallKeywords+0x21) [0x7f8830047201]
/usr/lib/libpython3.7m.so.1.0(_PyEval_EvalFrameDefault+0x525d) [0x7f88300bcf5d]
/usr/lib/libpython3.7m.so.1.0(_PyFunction_FastCallDict+0x11b) [0x7f883000008b]
blender(+0xfac373) [0x559f8953a373]
blender(RNA_property_enum_items_ex+0x61) [0x559f899eaa71]
blender(RNA_property_enum_items+0x14) [0x559f899eab14]
blender(RNA_property_enum_items_gettexted+0x1c) [0x559f899eab3c]
blender(uiItemFullR+0xbb4) [0x559f89320e14]
blender(UILayout_prop_call+0x4b) [0x559f89ae6fdb]
blender(RNA_function_call+0x12) [0x559f899f4ad2]
blender(+0xf9ee8e) [0x559f8952ce8e]
/usr/lib/libpython3.7m.so.1.0(_PyObject_FastCallKeywords+0x3ac) [0x7f88300741ac]
/usr/lib/libpython3.7m.so.1.0(_PyEval_EvalFrameDefault+0x5a48) [0x7f88300bd748]
/usr/lib/libpython3.7m.so.1.0(_PyFunction_FastCallKeywords+0x10b) [0x7f88300467db]
/usr/lib/libpython3.7m.so.1.0(_PyEval_EvalFrameDefault+0x4c33) [0x7f88300bc933]
/usr/lib/libpython3.7m.so.1.0(_PyFunction_FastCallDict+0x11b) [0x7f883000008b]
blender(+0xf9f800) [0x559f8952d800]
blender(+0x1557843) [0x559f89ae5843]
blender(ED_region_panels+0x38a) [0x559f8940e83a]
blender(ED_region_do_draw+0x945) [0x559f8940d685]
blender(wm_draw_update+0x88e) [0x559f8910f00e]
blender(WM_main+0x2c) [0x559f8910a28c]
blender(main+0x478) [0x559f890f08e8]
/usr/lib/libc.so.6(__libc_start_main+0xf3) [0x7f8828765223]
blender(_start+0x2e) [0x559f8910601e]

doesn’t matter what version of blender i try it on. (2.8 crashes as well as some older blender versions that i dl’d and happened to still have around.)

i’m pretty much an end user here so any help with this and any help teaching me how to figure this out should something similar happen in the future would also be appreciated.

i’ve been a linux user for 10 years now but i really haven’t had many problems i couldn’t learn to fix with a net search or just reinstalling.

Might this be related?

https://developer.blender.org/T53119

Oct 21 2017

Date seems older though… Are you running open-source drivers? They mention they are unstable.

I am running GCN 1 R9 270X with open-source amdgpu drivers on Arch Linux (4.18.5-arch1-1-ARCH). blender 17:2.79.b.git3.32432d91-5

I installed opencl-amd package from AUR and I get the same error. It works if I uninstall it. But if I don’t have that package I don’t have the option for OpenCL devices tho.

1 Like

well, wish i had thought to try that. kind of missing an obvious temporary solution there.

uninstalling it at least got me going again with cycles rendering even if i can’t use my gpu. so thanks for mentioning that.

maybe not such a big deal considering i only have an rx480 but dang if it isn’t annoying for it not to be working now.

i am running the open source drivers.

thing is this is a recent error. looks like it’s from an update today.
https://aur.archlinux.org/packages/opencl-amd

try installing amdgpu-pro? I wouldn’t be surprised if that would work, My card is too old for the pro drivers I think, so can’t test. :confused:

I’ve got the same problem and yep it was the opencl-amd update that “broke” it. AMD Radeon Pro WX-5100 POLARIS10 I’ll try the pro driver over the weekend and update here.

Thank you for useful information :slight_smile:

I’ve downgraded opencl-amd and this didn’t resolve the issue. :frowning:

Problem found and I have a workaround, it’s not a problem in the latest opencl-amd but it is caused by package libdrm downgrading to 1.93 fixes this issue and gets my hardware working again. :slight_smile: will flag upstream.