Blender crashes on start up (Ubuntu with AMD GPU) #51440

Closed
opened 2017-05-08 23:50:08 +02:00 by Alexey Mitrofanov · 6 comments

System Information
Ubuntu 16.04.2 x64 4.4.0-77
GPU AMD R9 380X 4Gb
Driver:
Mesa 12.0.6 (original Ubuntu rep)
Mesa 17.0.2 (https://launchpad.net/~ubuntu-x-swat/+archive/ubuntu/updates)

  OpenGL vendor string: X.Org
  OpenGL renderer string: Gallium 0.4 on AMD TONGA (DRM 3.1.0 / 4.4.0-77-generic, LLVM 4.0.0)
  OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.0.2
  OpenGL core profile shading language version string: 4.50
  OpenGL core profile context flags: (none)
  OpenGL core profile profile mask: core profile
  OpenGL core profile extensions:
  OpenGL version string: 3.0 Mesa 17.0.2
  OpenGL shading language version string: 1.30

Mesa 17.0.4 (https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/pkppa)

Blender Version
Broken: 2.78 from Steam or last daily build.

Short description of error
Well, It just does not start. Latest (Mon May 8 05:02:20 2017 ) daily build terminal output:

 alex@maindesktop:~/Blender/blender-2.78-dc5bd2784f-linux-glibc219-x86_64$ ./blender
 found bundled python: /home/alex/Blender/blender-2.78-dc5bd2784f-linux-glibc219-x86_64/2.78/python
 Writing: /tmp/blender.crash.txt
 Segmentation fault (core dumped)

blender.crash.txt

blender-softwaregl works fine.
Blender-tpaw (snap packge) works as well, but if I remember correctly it also uses softwaregl.
Blender starts up and works perfectly well if I use AMDGPU-PRO drivers, but I cannot use this all the time (due to other GPU-related tasks not working with it).
If I use laptop with integrated Intel GPU it also works perfectly with i915 from Mesa 17.0.2.

**System Information** Ubuntu 16.04.2 x64 4.4.0-77 GPU AMD R9 380X 4Gb Driver: Mesa 12.0.6 (original Ubuntu rep) Mesa 17.0.2 (https://launchpad.net/~ubuntu-x-swat/+archive/ubuntu/updates) ``` OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD TONGA (DRM 3.1.0 / 4.4.0-77-generic, LLVM 4.0.0) OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.0.2 OpenGL core profile shading language version string: 4.50 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 17.0.2 OpenGL shading language version string: 1.30 ``` Mesa 17.0.4 (https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/pkppa) **Blender Version** Broken: 2.78 from Steam or last daily build. **Short description of error** Well, It just does not start. Latest (Mon May 8 05:02:20 2017 ) daily build terminal output: ``` alex@maindesktop:~/Blender/blender-2.78-dc5bd2784f-linux-glibc219-x86_64$ ./blender found bundled python: /home/alex/Blender/blender-2.78-dc5bd2784f-linux-glibc219-x86_64/2.78/python Writing: /tmp/blender.crash.txt Segmentation fault (core dumped) ``` [blender.crash.txt](https://archive.blender.org/developer/F592726/blender.crash.txt) blender-softwaregl works fine. Blender-tpaw (snap packge) works as well, but if I remember correctly it also uses softwaregl. Blender starts up and works perfectly well if I use AMDGPU-PRO drivers, but I cannot use this all the time (due to other GPU-related tasks not working with it). If I use laptop with integrated Intel GPU it also works perfectly with i915 from Mesa 17.0.2.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @alexmitroff

Added subscriber: @alexmitroff

Added subscriber: @Sergey

Added subscriber: @Sergey

There seems to be a conflict in LLVM version used by various components (the backtrace goes from libLLVM-3.6.so.1 to libLLVM-4.0.so.1), This is never a good idea to mix various LLVM version in the same namespace. In Blender we work around that by marking all LLVM/Boost related symbols as private and not visible by other process.

My guess here is that there is some OpenCL component which is linked against different LLVM version that your Mesa. Some steps to try and see how that affects on the issue:

  • Check whether clinfo command also crashes
  • Uninstall all Beginet OpenCL packages
  • Run Blender in a following way CYCLES_OPENCL_TEST=NONE ./blender
There seems to be a conflict in LLVM version used by various components (the backtrace goes from libLLVM-3.6.so.1 to libLLVM-4.0.so.1), This is never a good idea to mix various LLVM version in the same namespace. In Blender we work around that by marking all LLVM/Boost related symbols as private and not visible by other process. My guess here is that there is some OpenCL component which is linked against different LLVM version that your Mesa. Some steps to try and see how that affects on the issue: - Check whether `clinfo` command also crashes - Uninstall all Beginet OpenCL packages - Run Blender in a following way `CYCLES_OPENCL_TEST=NONE ./blender`

Thank you!

I purged all Beginet OpenCL packages and Blender started up normaly.

Thank you! I purged all Beginet OpenCL packages and Blender started up normaly.
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Lukas Stockner self-assigned this 2017-05-10 10:44:42 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#51440
No description provided.