Blender crash when trying to open a file window on Linux/Intel #69461

Closed
opened 2019-09-03 23:22:58 +02:00 by Mohamed El Hamd · 46 comments

System Information
Operating system: Linux-4.15.0-58-generic-x86_64-with-Ubuntu-18.04-bionic 64 Bits
Graphics card: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2) Intel Open Source Technology Center 4.5 (Core Profile) Mesa 19.0.8

Blender Version
Broken: version: 2.81 (sub 5), branch: master, commit date: 2019-09-03 20:34, hash: 5ba0ce8544
Worked: (optional)

Short description of error
Blender closes when trying to open a file, with this message:

blender: src/intel/genxml/gen8_pack.h:72: __gen_uint: Assertion `v <= max' failed.
Aborted (core dumped)
**System Information** Operating system: Linux-4.15.0-58-generic-x86_64-with-Ubuntu-18.04-bionic 64 Bits Graphics card: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2) Intel Open Source Technology Center 4.5 (Core Profile) Mesa 19.0.8 **Blender Version** Broken: version: 2.81 (sub 5), branch: master, commit date: 2019-09-03 20:34, hash: `5ba0ce8544` Worked: (optional) **Short description of error** Blender closes when trying to open a file, with this message: ``` blender: src/intel/genxml/gen8_pack.h:72: __gen_uint: Assertion `v <= max' failed. Aborted (core dumped) ```

Added subscriber: @elbox01

Added subscriber: @elbox01

#72222 was marked as duplicate of this issue

#72222 was marked as duplicate of this issue

blender/blender-addons#71855 was marked as duplicate of this issue

blender/blender-addons#71855 was marked as duplicate of this issue

#70190 was marked as duplicate of this issue

#70190 was marked as duplicate of this issue

#70337 was marked as duplicate of this issue

#70337 was marked as duplicate of this issue

#69892 was marked as duplicate of this issue

#69892 was marked as duplicate of this issue

#70014 was marked as duplicate of this issue

#70014 was marked as duplicate of this issue

#70003 was marked as duplicate of this issue

#70003 was marked as duplicate of this issue

#69500 was marked as duplicate of this issue

#69500 was marked as duplicate of this issue

Added subscriber: @PiotrKudzin

Added subscriber: @PiotrKudzin

ehhhh ... I searched the bug tracker few times for the crash keyword and did not find your report or any other report related to this error, as soon as I added my report I suddenly see your bug report :P

ehhhh ... I searched the bug tracker few times for the crash keyword and did not find your report or any other report related to this error, as soon as I added my report I suddenly see your bug report :P
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

This does seem like a GPU driver issue, we already had one in #69483.

Please try if it works when starting Blender through the blender-softwaregl script bundled with release/buildbot builds.
If this affects many users we should probably look into a workaround, although this will be difficult to do with no way to recreate it.

This does seem like a GPU driver issue, we already had one in #69483. Please try if it works when starting Blender through the `blender-softwaregl` script bundled with release/buildbot builds. If this affects many users we should probably look into a workaround, although this will be difficult to do with no way to recreate it.

blender-softwaregl works for me (it does save), but then blender is to slow to use it for modeling

blender-softwaregl works for me (it does save), but then blender is to slow to use it for modeling
Member

That means it is indeed a GPU driver issue. (The scripts make graphics work run on the CPU rather than the GPU, bypassing the driver. It's only usable for testing.)
Interestingly all three reports are with Mesa 19.0.8. You can try installing newer versions, https://mesa3d.org/.

Not sure what to do with the report, technically it's not a bug on our side. But this seems to affect a number of people, so we better find a workaround.
Maybe I can try to get 19.0.8 installed to see if I can recreate it then.

That means it is indeed a GPU driver issue. (The scripts make graphics work run on the CPU rather than the GPU, bypassing the driver. It's only usable for testing.) Interestingly all three reports are with Mesa 19.0.8. You can try installing newer versions, https://mesa3d.org/. Not sure what to do with the report, technically it's not a bug on our side. But this seems to affect a number of people, so we better find a workaround. Maybe I can try to get 19.0.8 installed to see if I can recreate it then.

glxinfo | grep "OpenGL version"
OpenGL version string: 3.3 (Compatibility Profile) Mesa 19.1.4

Works OK

glxinfo | grep "OpenGL version" OpenGL version string: 3.3 (Compatibility Profile) Mesa 19.1.4 Works OK

@PiotrKudzin @JulianEisel
Running Blender through that script doesn't do much, and yeah it's apparent that the bug is on GPU side.
Unfortunately I can't risk my system stability by updating GPU's driver from other repository other than System repository.
I will wait for a workaround or until Ubuntu release Mesa update.
Thanks for your reply

@PiotrKudzin @JulianEisel Running Blender through that script doesn't do much, and yeah it's apparent that the bug is on GPU side. Unfortunately I can't risk my system stability by updating GPU's driver from other repository other than System repository. I will wait for a workaround or until Ubuntu release Mesa update. Thanks for your reply

Added subscriber: @Baron2020

Added subscriber: @Baron2020

@Baron2020 El Hamd (elbox01)

There is mesa ppa repository prepared by Canonical, which i used for upgrade.

http://ubuntuhandbook.org/index.php/2019/08/mesa-19-1-4-available-to-install-in-ubuntu-18-04-19-04/

There are given steps for easy install and easy uninstall (if something goes wrong) - just few commands

my computer has not yet exploded ;)

@Baron2020 El Hamd (elbox01) There is mesa ppa repository prepared by Canonical, which i used for upgrade. http://ubuntuhandbook.org/index.php/2019/08/mesa-19-1-4-available-to-install-in-ubuntu-18-04-19-04/ There are given steps for easy install and easy uninstall (if something goes wrong) - just few commands my computer has not yet exploded ;)

Haha ... @PiotrKudzin Thank you for the hint, I didn't know about that repo .
Now, everything works as expected :)

Haha ... @PiotrKudzin Thank you for the hint, I didn't know about that repo . Now, everything works as expected :)
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Julian Eisel self-assigned this 2019-09-09 11:10:23 +02:00
Member

Okay so we haven't gotten any new reports on this and the issue is fixed with updated drivers. So it's probably not worth doing workarounds from our side. I'll close this now, but surely look out for similar reports.

Okay so we haven't gotten any new reports on this and the issue is fixed with updated drivers. So it's probably not worth doing workarounds from our side. I'll close this now, but surely look out for similar reports.
Member

Added subscriber: @Still

Added subscriber: @Still

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'

We can't assume our user are running the very latest drivers on Linux. Running Blender on common Linux distributions should not require installing custom drivers to be able to open files.

We can't assume our user are running the very latest drivers on Linux. Running Blender on common Linux distributions should not require installing custom drivers to be able to open files.

Added subscriber: @Stretch

Added subscriber: @Stretch

Added subscribers: @malnaanah, @Aranuvir

Added subscribers: @malnaanah, @Aranuvir
Brecht Van Lommel changed title from Blender crash when trying to open a file. to Blender crash when trying to open a file window on Linux/Intel 2019-09-18 14:45:50 +02:00
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker

Hi folks

Thanks for your efforts. Really appreciated as it seems my only way forward with 2.81 and beyond would be a new laptop that I cqn't really afford at the moment. So two things:

Had a scout around for a way to update Mesa on my system - nothing found.
Also just to make it clear - 2.81 was working fine. It started crashing with the new file browser.

Anything you need in the way of testing just let me know.

Thanks
Jeff

Hi folks Thanks for your efforts. Really appreciated as it seems my only way forward with 2.81 and beyond would be a new laptop that I cqn't really afford at the moment. So two things: Had a scout around for a way to update Mesa on my system - nothing found. Also just to make it clear - 2.81 was working fine. It started crashing with the new file browser. Anything you need in the way of testing just let me know. Thanks Jeff

Added subscriber: @capnm

Added subscriber: @capnm

Had a scout around for a way to update Mesa on my system - nothing found.

You need mesa >=19.1.1 to fix the AMD driver context switch bug:
https://developer.blender.org/T61093#716608

Edit: sorry missed that this is about the Intel driver :-/

> Had a scout around for a way to update Mesa on my system - nothing found. You need mesa >=19.1.1 to fix the AMD driver context switch bug: https://developer.blender.org/T61093#716608 Edit: sorry missed that this is about the Intel driver :-/

In case you miss it on the other page - Thankyou Martin, it worked fine. Really appreciated.

In case you miss it on the other page - Thankyou Martin, it worked fine. Really appreciated.
Member

Currently not able to reproduce it to see what the actual issue is. Will need to find a specific machine where it fails. According to the specs my home machine would have failed, but didn't

Currently not able to reproduce it to see what the actual issue is. Will need to find a specific machine where it fails. According to the specs my home machine would have failed, but didn't

Recently I received an update of Mesa and the issue seems to be fixed. Now, I cannot reproduce it, either.
Tested it on both versions e2df789c48, where the issue occurred, as well as with the latest build 5a6ab6f594.
Curiously Mesa still reports 19.0.8. Better version tracking by the distributor would be desirable...

Recently I received an update of Mesa and the issue seems to be fixed. Now, I cannot reproduce it, either. Tested it on both versions e2df789c4800, where the issue occurred, as well as with the latest build 5a6ab6f59468. Curiously Mesa still reports 19.0.8. Better version tracking by the distributor would be desirable...

I also received several software updates from Ubuntu / Canonical updating Mesa and can now open blend files. I used version
blender-2.81-52bdf522afcd-linux-glibc217-x86_64. Note: I did not install the custom Mesa drivers from the PPA

The Mesa version does still report 19.0.8

I also received several software updates from Ubuntu / Canonical updating Mesa and can now open blend files. I used version blender-2.81-52bdf522afcd-linux-glibc217-x86_64. **Note: I did not install the custom Mesa drivers from the PPA** The Mesa version does still report 19.0.8

The Mesa version does still report 19.0.8

You can ask the packet manager. On debian based systems:

dpkg -l | grep mesa
ii  libegl-mesa0:amd64                                          1:19.2~git190714221300.4e102a6~b~padoka0                    amd64        free implementation of the EGL API -- Mesa vendor library
…

or try glxinfo | grep Mesa

> The Mesa version does still report 19.0.8 You can ask the packet manager. On debian based systems: ``` dpkg -l | grep mesa ii libegl-mesa0:amd64 1:19.2~git190714221300.4e102a6~b~padoka0 amd64 free implementation of the EGL API -- Mesa vendor library … ``` or try `glxinfo | grep Mesa`
Member

Ubuntu could have backported some fixes.

Ubuntu could have backported some fixes.
Member

Added subscriber: @Tilation

Added subscriber: @Tilation
Julian Eisel removed their assignment 2019-11-04 10:30:19 +01:00

I just wanted to come back to the comment of Martin Capitanio. Running glxinfo doesn't give more information as we already know. The dpkg command indeed showed that there was a change in package version, though it is not a very convenient solution, since one has to know the faulty package name for each Linux Distribution and for each of its supported Versions ...

Probably this issue should be closed. You can only document the problem and recommend affected users to update their system.

I just wanted to come back to the comment of Martin Capitanio. Running glxinfo doesn't give more information as we already know. The dpkg command indeed showed that there was a change in package version, though it is not a very convenient solution, since one has to know the faulty package name for each Linux Distribution and for each of its supported Versions ... Probably this issue should be closed. You can only document the problem and recommend affected users to update their system.

Added subscribers: @scrippen, @intrigus-3, @lichtwerk

Added subscribers: @scrippen, @intrigus-3, @lichtwerk
Member

Added subscriber: @domlysz

Added subscriber: @domlysz

Added subscriber: @rudals020619

Added subscriber: @rudals020619

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Brecht Van Lommel self-assigned this 2019-12-08 15:46:41 +01:00

Seems like we will not have a workaround for this on the Blender side, so closing since it's fixed upstream.

Seems like we will not have a workaround for this on the Blender side, so closing since it's fixed upstream.

Added subscriber: @ClinToch

Added subscriber: @ClinToch
Thomas Dinges added this to the 2.82 milestone 2023-02-08 16:41:47 +01: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
11 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#69461
No description provided.