Page MenuHome

Can't start blender
Closed, ArchivedPublic

Description

System Information
Linux manjaro
AMD R9

Blender Version
Broken: Blender 2.79
Worked: (optional)

Short description of error
When i start blender, i have a direct core_dump

Exact steps for others to reproduce the error
Start blender

Blender 2.79 (sub 2), Commit date: 2018-02-16 09:42, Hash 8dfe9ef4e3c

backtrace

blender(BLI_system_backtrace+0x34) [0x55b2deb7f224]
blender(+0xa5ba65) [0x55b2de15ca65]
/usr/lib/libc.so.6(+0x348e0) [0x7f39e623a8e0]
/usr/lib/libdrm_amdgpo.so.1(amdgpu_get_marketing_name+0xc) [0x7f39a5748994]
/usr/lib/libamdocl64.so(+0xc08761) [0x7f39a817f761]
/usr/lib/libamdocl64.so(+0xc08d0f) [0x7f39a817fd0f]
/usr/lib/libamdocl64.so(+0xc0b769) [0x7f39a8182769]
/usr/lib/libamdocl64.so(+0xbeb708) [0x7f39a8162708]
/usr/lib/libamdocl64.so(+0x84d747) [0x7f39a7dc4747]
/usr/lib/libamdocl64.so(+0xc15d29) [0x7f39a818cd29]
/usr/lib/libamdocl64.so(+0xc15d9f) [0x7f39a818cd9f]
/usr/lib/libamdocl64.so(+0xc16b27) [0x7f39a818db27]
/usr/lib/libamdocl64.so(+0x80729a) [0x7f39a7d7e29a]
/usr/lib/libamdocl64.so(+0x8087a7) [0x7f39a7d7f7a7]
/usr/lib/libamdocl64.so(+0x808936) [0x7f39a7d7f936]
/usr/lib/libamdocl64.so(+0x7ed717) [0x7f39a7d64717]
/usr/lib/libamdocl64.so(clIcdGetPlatformIDsKHR+0xa2) [0x7f39a7d315a2]
/usr/lib/libOpenCL.so(+0x5d1e) [0x7f39abcdad1e]
/usr/lib/libOpenCL.so(clGetPlatformIDs+0x115) [0x7f39abcdcc15]
blender(_ZN3ccl18device_opencl_infoERNS_6vectorINS_10DeviceInfoENS_16GuardedAllocatorIS1_EEEE+0x49) [0x55b2df09bf09]
blender(_ZN3ccl6Device17available_devicesEv+0x219) [0x55b2df06b6b9]
blender(+0x187025a) [0x55b2def7125a]
/usr/lib/libpython3.6m.so.1.0(_PyCFunction_FastCallDict+0x90) [0x7f39ece13ad0]
/usr/lib/libpython3.6m.so.1.0(+0x184d1b) [0x7f39ece39d1b]
/usr/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x30a) [0x7f39ecdcdb5a]
/usr/lib/libpython3.6m.so.1.0(PyEval_EvalCodeEx+0x318) [0x7f39ece3a2c8]
/usr/lib/libpython3.6m.so.1.0(+0x151674) [0x7f39ece06674]
/usr/lib/libpython3.6m.so.1.0(PyObject_Call+0x4b) [0x7f39ece1deeb]
blender(+0xe9a5d3) [0x55b2de59b5d3]
blender(RNA_property_enum_items_ex+0x5b) [0x55b2de9e563b]
blender(RNA_property_enum_items+0x14) [0x55b2de9e56d4]
blender(RNA_property_enum_value+0x33) [0x55b2de9e5a13]
blender(+0xe8a462) [0x55b2de58b462]
blender(+0xe8aff4) [0x55b2de58bff4]
/usr/lib/libpython3.6m.so.1.0(PyObject_SetAttr+0x88) [0x7f39ece644e8]
/usr/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0xae2) [0x7f39ecdce332]
/usr/lib/libpython3.6m.so.1.0(PyEval_EvalCodeEx+0x318) [0x7f39ece3a2c8]
/usr/lib/libpython3.6m.so.1.0(+0x151674) [0x7f39ece06674]
/usr/lib/libpython3.6m.so.1.0(PyObject_Call+0x4b) [0x7f39ece1deeb]
blender(bpy_app_generic_callback+0xad) [0x55b2de5969fd]
blender(BLI_callback_exec+0x2d) [0x55b2deb3fa9d]
blender(WM_init+0x262) [0x55b2de16ea22]
blender(main+0x29a) [0x55b2de14049a]
/usr/lib/libc.so.6(__libc_start_main+0xea) [0x7f39e6226f4a]
blender(_start+0x2a) [0x55b2de1594ca]

Event Timeline

Brecht Van Lommel (brecht) lowered the priority of this task from 90 to 30.Feb 16 2018, 2:06 PM

It seems to be crashing in the AMD OpenCL code. Please try running clinfo from the command line (install package if needed) and attach its output here, so we can see the exact OpenCL implementations and versions installed.

If clinfo crashes as well, it means your OpenCL installation is broken in some way, and even if it doesn't there may well be something broken in it. It can help to uninstall all OpenCL implementations (AMD, NVIDIA, pocl, beignet, ..), see if Blender runs then, and only install the ones you really need again. Also installing the latest AMD driver version may help.

Vuk Gardašević (lijenstina) changed the task status from Unknown Status to Unknown Status.Feb 24 2018, 9:22 PM

More than a week passed without a reply.

Due to the tracker policy, archiving until the required additional information / data is provided.

I have a very similar error. I am on Arch Linux with an AMD RX 580. Using the latest AMDGPU version 18.0.1-2 from Arch Linux and opencl-amd 18.30.641594-1.

The error happens when I change to Cycles Renderer or go to Settings > System. Error Message:

amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-9)
Writing: /tmp/blender.crash.txt
Segmentation fault (core dumped) dumped)

Blender Crash Log attached.

I think AMD GPU Rendering seems to have a problem. Because when I uninstall opencl-amd, everything works fine. Probably because CPU Rendering is used. OpenCL does not seem to be broken, I get an output on clinfo

See T56791 for a newer task on this error, let's continue there.