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

Closed
opened 3 years ago by elbox01 · 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) ```
Poster

Added subscriber: @elbox01

Added subscriber: @elbox01
Collaborator

#72222 was marked as duplicate of this issue

#72222 was marked as duplicate of this issue
Collaborator

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

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

#70190 was marked as duplicate of this issue

#70190 was marked as duplicate of this issue
Collaborator

#70337 was marked as duplicate of this issue

#70337 was marked as duplicate of this issue
Collaborator

#69892 was marked as duplicate of this issue

#69892 was marked as duplicate of this issue
Collaborator

#70014 was marked as duplicate of this issue

#70014 was marked as duplicate of this issue
Collaborator

#70003 was marked as duplicate of this issue

#70003 was marked as duplicate of this issue
Collaborator

#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
Collaborator

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Collaborator

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
Collaborator

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
Poster

@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 ;)
Poster

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 :)
Collaborator

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
JulianEisel closed this issue 3 years ago
JulianEisel self-assigned this 3 years ago
Collaborator

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.
Collaborator

Added subscriber: @Still

Added subscriber: @Still
brecht commented 3 years ago
Owner

Added subscriber: @brecht

Added subscriber: @brecht
brecht commented 3 years ago
Owner

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'
brecht reopened this issue 3 years ago
brecht commented 3 years ago
Owner

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.
brecht commented 3 years ago
Owner

Added subscriber: @Stretch

Added subscriber: @Stretch
brecht commented 3 years ago
Owner

Added subscribers: @malnaanah, @Aranuvir

Added subscribers: @malnaanah, @Aranuvir
brecht changed title from Blender crash when trying to open a file. to Blender crash when trying to open a file window on Linux/Intel 3 years ago
Collaborator

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
capnm commented 3 years ago

Added subscriber: @capnm

Added subscriber: @capnm
capnm commented 3 years ago

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.
Collaborator

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...
Still commented 3 years ago

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
capnm commented 3 years ago

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`
Collaborator

Ubuntu could have backported some fixes.

Ubuntu could have backported some fixes.
Collaborator

Added subscriber: @Tilation

Added subscriber: @Tilation
JulianEisel removed their assignment 3 years ago

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.
brecht commented 3 years ago
Owner

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

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

Added subscriber: @domlysz

Added subscriber: @domlysz
brecht commented 3 years ago
Owner

Added subscriber: @rudals020619

Added subscriber: @rudals020619
brecht commented 3 years ago
Owner

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
brecht closed this issue 3 years ago
brecht self-assigned this 3 years ago
brecht commented 3 years ago
Owner

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
ThomasDinges added this to the 2.82 milestone 2 days ago
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/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Dependency Graph
Interest/Development Management
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/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Nodes & Physics
Interest/Overrides
Interest/Performance
Interest/Performance
Interest/Physics
Interest/Pipeline, Assets & I/O
Interest/Platforms, Builds, Tests & Devices
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
legacy module/Animation & Rigging
legacy module/Core
legacy module/Development Management
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Rendering & Cycles
legacy module/Sculpt, Paint & Texture
legacy module/Triaging
legacy module/User Interface
legacy module/VFX & Video
legacy project/1.0.0-beta.2
legacy project/Asset Browser (Archived)
legacy project/BF Blender: 2.8
legacy project/BF Blender: After Release
legacy project/BF Blender: Next
legacy project/BF Blender: Regressions
legacy project/BF Blender: Unconfirmed
legacy project/Blender 2.70
legacy project/Code Quest
legacy project/Datablocks and Libraries
legacy project/Eevee
legacy project/Game Animation
legacy project/Game Audio
legacy project/Game Data Conversion
legacy project/Game Engine
legacy project/Game Logic
legacy project/Game Physics
legacy project/Game Python
legacy project/Game Rendering
legacy project/Game UI
legacy project/GPU / Viewport
legacy project/GSoC
legacy project/Infrastructure: Websites
legacy project/LibOverrides - Usability and UX
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/Nodes
legacy project/OpenGL Error
legacy project/Papercut
legacy project/Pose Library Basics
legacy project/Retrospective
legacy project/Tracker Curfew
legacy project/Wintab High Frequency
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
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 & Devices
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 Information 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

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#69461
Loading…
There is no content yet.