FS#36139 - [blender] blender 2.68 doesn't start (maybe AMD related)

Attached to Project: Community Packages
Opened by alex (kabolt) - Saturday, 13 July 2013, 19:49 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 15 July 2013, 23:31 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Sven-Hendrik Haase (Svenstaro)
Laurent Carlier (lordheavy)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
the recent blender version crashs instantly after start and produces a very short crashlog (llvm).
Maybe this happens because I use the opensource ati graphic driver.

The previous version of blender (2.67) used to work for me (but doesn't work now because of some dependencies on old libs).
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 15 July 2013, 23:31 GMT
Reason for closing:  Fixed
Comment by Laurent Carlier (lordheavy) - Saturday, 13 July 2013, 20:17 GMT
Please confirm some information before closing:
- what is your graphic card?
- what is the mesa version?
Comment by Sven-Hendrik Haase (Svenstaro) - Saturday, 13 July 2013, 20:24 GMT
What do I need to do? I'm on mesa intel drivers and it works just fine.
Comment by Sven-Hendrik Haase (Svenstaro) - Saturday, 13 July 2013, 21:50 GMT
From the very short stacktrace it does indeed look like a mesa bug. I need you to rebuild blender on your machine please and test it. Also post details.
Comment by alex (kabolt) - Saturday, 13 July 2013, 22:09 GMT
1. doesn't work on my two ati computers => graphic card version is not the problem
2. there is error message
Two passes with the same argument (-alloca-hoisting) attempted to be registered!
Comment by Laurent Carlier (lordheavy) - Saturday, 13 July 2013, 22:44 GMT
It's not related to mesa, because mesa doesn't dépends on llvm-3.3, except mesa-9.1.4-4, now fixed and replaced with mesa-9.1.4-5, so please answer to the previous question:
- what are your graphic cards?
- what is the mesa version?
Comment by alex (kabolt) - Saturday, 13 July 2013, 22:48 GMT
blender doesn't compile. Here the error message:
In file included from /home/alex/prog/pkgbuilds/blender/src/blender-2.68.58183/source/blender/collada/AnimationImporter.cpp:50:
In file included from /home/alex/prog/pkgbuilds/blender/src/blender-2.68.58183/source/blender/collada/collada_utils.h:30:
In file included from /usr/include/opencollada/COLLADAFramework/COLLADAFWMeshPrimitive.h:18:
In file included from /usr/include/opencollada/COLLADAFramework/COLLADAFWEdge.h:16:
/usr/include/opencollada/COLLADABaseUtils/COLLADABUhash_map.h:67:18: fatal error:
'ext/hash_fun.h' file not found
#include <ext/hash_fun.h>
^
1 warning and 1 error generated.
make[2]: *** [source/blender/collada/CMakeFiles/bf_collada.dir/AnimationImporter.cpp.o] Fehler 1
make[1]: *** [source/blender/collada/CMakeFiles/bf_collada.dir/all] Fehler 2
make: *** [all] Fehler 2
Comment by alex (kabolt) - Sunday, 14 July 2013, 02:21 GMT
I use mesa 9.1.4-5 and ati 4200 onboard and an ati apu (I don't know the version exactly, but it's a thinkpad x121e)
Comment by alex (kabolt) - Sunday, 14 July 2013, 03:58 GMT
I use mesa 9.1.4-5 and ati 4200 onboard and an ati apu (I don't know the version exactly, but it's a thinkpad x121e)
Comment by alex (kabolt) - Sunday, 14 July 2013, 04:02 GMT
sorry for the duplicate.
Building blender-svn works and the result is runnable.
Don't know if it is the recompiling or the other svn-version
Comment by Siavash (siavashserver) - Sunday, 14 July 2013, 09:56 GMT
Same error here on:

- ATI RadeonHD 4890
- mesa 9.1.4-5
- blender 8:2.68.58182-1
- llvm-amdgpu-lib-snapshot 20130403-3

And I think ATI drivers for some rendering modes (GL_SELECT) use software code path (llvm backend) and aren't hardware accelerated, no idea about other usages.
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 14 July 2013, 12:42 GMT
Please test the rebuild I just pushed.
Comment by Siavash (siavashserver) - Sunday, 14 July 2013, 13:25 GMT
Same error with blender 8:2.68.58224-1
Comment by alex (kabolt) - Sunday, 14 July 2013, 14:04 GMT
have to confirm: the rebuild doesn't changed anything.
But blender-svn works flawless. (svn version 58228)
Comment by anonymus (Ingo R.) - Sunday, 14 July 2013, 16:39 GMT
Hello,

same here. I use Arch Linux (linux 3.9.9-1) for x86_64 with Open Source driver xf86-video-nouveau (1.0.8-1) for nvidia GT 630. As UI I use Gnome Desktop (3.8.3-2).

[xyz@xyz ~]$ blender
Two passes with the same argument (-alloca-hoisting) attempted to be registered!
Writing: /tmp/blender.crash.txt
Speicherzugriffsfehler (Speicherabzug geschrieben)

blender.crash.txt:

# Blender 2.67 (sub 1), Revision: 58224

# backtrace
blender() [0xbca38b]
/usr/lib/libc.so.6(+0x35240) [0x7f994c579240]
/usr/lib/libLLVM-3.3.so(+0x52a300) [0x7f9942609300]
/usr/lib/libLLVM-3.3.so(_ZN4llvm1XE+0) [0x7f9943992980]

pacman -Qs blender:

local/blender 8:2.68.58224-1
A fully integrated 3D graphics creation suite

After installation there is a folder "2.67" under "/usr/share/blender/".

pacman -Qs mesa:

local/glu 9.0.0-2
Mesa OpenGL Utility library
local/lib32-glu 9.0.0-2
Mesa OpenGL utility library (32 bits)
local/lib32-mesa 9.1.4-1
an open-source implementation of the OpenGL specification (32-bit)
local/lib32-mesa-libgl 9.1.4-1
Mesa 3-D graphics library (32-bit)
local/lib32-nouveau-dri 9.1.4-1
Mesa drivers for Nouveau (32-bit)
local/mesa 9.1.4-5
an open-source implementation of the OpenGL specification
local/mesa-libgl 9.1.4-5
Mesa 3-D graphics library
local/nouveau-dri 9.1.4-5
Mesa drivers for Nouveau
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 14 July 2013, 18:03 GMT
The reason for this is the llvm version mismatch in arch currently. Some Mesa drivers are built with llvm 3.2 while osl is built with llvm 3.3. The best fix would be building the drivers with llvm 3.3 but I suppose it's not trivial.
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 15 July 2013, 23:19 GMT
Please test the new openshadinglanguage package and see whether blender still crashes for you.
Comment by alex (kabolt) - Monday, 15 July 2013, 23:31 GMT
no, I can start blender. Seems to fix the problem.
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 15 July 2013, 23:31 GMT
Good enough, thanks.

Loading...