Viewport artifacts, slowdown, and crashing on Arch Linux w/ Intel graphics after driver update #94209

Closed
opened 2021-12-17 23:23:21 +01:00 by June · 46 comments

System Information
Operating system: Linux-5.15.8-arch1-1-x86_64-with-glibc2.33 64 Bits
Graphics card: Mesa Intel(R) HD Graphics 620 (KBL GT2) Intel 4.6 (Core Profile) Mesa 21.3.1

Blender Version
Broken: version: 3.0.0, branch: makepkg (modified), commit date: 2021-12-02 18:35, hash: f1cca30557
Worked: 3.0.0

Short description of error
This version of blender was working on my system until a few days ago. I think a mesa driver update may have broken it, but other software still works fine, so it seems like a it's possibly a Blender issue.

Viewport overlays flicker and don't update consistently, sometimes disappearing or hanging until a new input is received.

Objects show a black "ghost" artifact when moving in the view, and sometimes other artifacts when switching view modes.

Viewport performance is greatly degraded, especially in render or material preview modes, and there is high input latency.

After a while (roughly 20-30 minutes?) Blender crashes with just an "Abort (Core Dumped)" message on the console. Memory and CPU usage seems normal. These crashes may be unrelated, as they would also happen before, but not as frequently.

Changing viewport and system preferences in Blender improves performance slightly but has no effect otherwise.

I tested versions 2.83.18, 2.93.7, 3.0.0, 3.1.0-alpha+master.644eb68524b9 with default settings and they all exhibit the problem. 3.0.0 is from the Arch repo, the rest were downloaded from blender.org.

I tried troubleshooting some different kernel parameters for the i915 graphics module from the Arch wiki, but nothing made a difference, and the problem persists with the default driver config.

Here's a screen recording of the problem:
Screencast from 12-17-2021 02:04:34 PM.webm

Exact steps for others to reproduce the error
Launch Blender with factory settings and try to use the viewport.

**System Information** Operating system: Linux-5.15.8-arch1-1-x86_64-with-glibc2.33 64 Bits Graphics card: Mesa Intel(R) HD Graphics 620 (KBL GT2) Intel 4.6 (Core Profile) Mesa 21.3.1 **Blender Version** Broken: version: 3.0.0, branch: makepkg (modified), commit date: 2021-12-02 18:35, hash: `f1cca30557` Worked: 3.0.0 **Short description of error** This version of blender was working on my system until a few days ago. I think a mesa driver update may have broken it, but other software still works fine, so it seems like a it's possibly a Blender issue. Viewport overlays flicker and don't update consistently, sometimes disappearing or hanging until a new input is received. Objects show a black "ghost" artifact when moving in the view, and sometimes other artifacts when switching view modes. Viewport performance is greatly degraded, especially in render or material preview modes, and there is high input latency. After a while (roughly 20-30 minutes?) Blender crashes with just an "Abort (Core Dumped)" message on the console. Memory and CPU usage seems normal. These crashes may be unrelated, as they would also happen before, but not as frequently. Changing viewport and system preferences in Blender improves performance slightly but has no effect otherwise. I tested versions 2.83.18, 2.93.7, 3.0.0, 3.1.0-alpha+master.644eb68524b9 with default settings and they all exhibit the problem. 3.0.0 is from the Arch repo, the rest were downloaded from blender.org. I tried troubleshooting some different kernel parameters for the i915 graphics module from the Arch wiki, but nothing made a difference, and the problem persists with the default driver config. Here's a screen recording of the problem: [Screencast from 12-17-2021 02:04:34 PM.webm](https://archive.blender.org/developer/F12758832/Screencast_from_12-17-2021_02_04_34_PM.webm) **Exact steps for others to reproduce the error** Launch Blender with factory settings and try to use the viewport.
Author

Added subscriber: @lilapplecritter

Added subscriber: @lilapplecritter

#96090 was marked as duplicate of this issue

#96090 was marked as duplicate of this issue

#94843 was marked as duplicate of this issue

#94843 was marked as duplicate of this issue

#94734 was marked as duplicate of this issue

#94734 was marked as duplicate of this issue

#94206 was marked as duplicate of this issue

#94206 was marked as duplicate of this issue

#94690 was marked as duplicate of this issue

#94690 was marked as duplicate of this issue

#94665 was marked as duplicate of this issue

#94665 was marked as duplicate of this issue

#94437 was marked as duplicate of this issue

#94437 was marked as duplicate of this issue

#94289 was marked as duplicate of this issue

#94289 was marked as duplicate of this issue

#94271 was marked as duplicate of this issue

#94271 was marked as duplicate of this issue

Added subscriber: @deadpin

Added subscriber: @deadpin

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

You may have to contact Mesa directly about this, as this is the second Arch+Mesh 21 issue we've received this week. Mesa 19 didn't work either, then 20 did, and now it seems like 21 might be problematic again. Will triage this into the dev's queue for now.

You may have to contact Mesa directly about this, as this is the second Arch+Mesh 21 issue we've received this week. Mesa 19 didn't work either, then 20 did, and now it seems like 21 might be problematic again. Will triage this into the dev's queue for now.

Added subscriber: @Wovchick

Added subscriber: @Wovchick

I using Manjaro Linux (Arch) with last updates and have intel HD Graphics 4600. I don't have this issue. You using AUR? In PKGBUILD may apply third party patches before compilation that affect of using application. You need to try recompile Blender build again run PKGBUILD and then reinstall its in the System.

I using Manjaro Linux (Arch) with last updates and have intel HD Graphics 4600. I don't have this issue. You using AUR? In PKGBUILD may apply third party patches before compilation that affect of using application. You need to try recompile Blender build again run PKGBUILD and then reinstall its in the System.
Author

I confirmed it's the Mesa update that caused the problem on my system. After downgrading Mesa from 21.3.1 to 21.2.5, the artifacts and performance issue were resolved, but Blender still crashes every few minutes.

I'm not using the AUR, just the official Arch repo. I believe Manjaro uses its own repositories rather than the official Arch ones, so maybe they just haven't pushed the broken version of mesa out on Manjaro yet, or it might be a problem more specific to my hardware.

Thanks for the additional info about the Arch+Mesa issues. I'll look in to submitting a report to the Mesa devs as well.

I confirmed it's the Mesa update that caused the problem on my system. After downgrading Mesa from 21.3.1 to 21.2.5, the artifacts and performance issue were resolved, but Blender still crashes every few minutes. I'm not using the AUR, just the official Arch repo. I believe Manjaro uses its own repositories rather than the official Arch ones, so maybe they just haven't pushed the broken version of mesa out on Manjaro yet, or it might be a problem more specific to my hardware. Thanks for the additional info about the Arch+Mesa issues. I'll look in to submitting a report to the Mesa devs as well.

Added subscribers: @dbelov, @Garek

Added subscribers: @dbelov, @Garek

Added subscriber: @blenderuser0

Added subscriber: @blenderuser0

In #94209#1275264, @lilapplecritter wrote:
I confirmed it's the Mesa update that caused the problem on my system. After downgrading Mesa from 21.3.1 to 21.2.5, the artifacts and performance issue were resolved...

How was the downgrading done? I'm asking for specific commands. I'm having a similar problem but had trouble with finding the specific drivers, being prevented from uninstalling due to dependencies, and gnupg problems in attempting to install mesa-i915g with yay.

I've posted details about my particular predicament here

> In #94209#1275264, @lilapplecritter wrote: > I confirmed it's the Mesa update that caused the problem on my system. After downgrading Mesa from 21.3.1 to 21.2.5, the artifacts and performance issue were resolved... How was the downgrading done? I'm asking for specific commands. I'm having a similar problem but had trouble with finding the specific drivers, being prevented from uninstalling due to dependencies, and gnupg problems in attempting to install mesa-i915g with yay. I've posted details about my particular predicament [here ](https://developer.blender.org/T94289)

In #94209#1276326, @blenderuser0 wrote:
How was the downgrading done? I'm asking for specific commands.

Hi @blenderuser0 , this helped me:

  1. sudo pacman -U /var/cache/pacman/pkg/mesa-21.2.5-1-x86_64.pkg.tar.zst
  2. add IgnorePkg = mesa to the /etc/pacman.conf under the [options] section (and remove it when mesa fixes the bug).
> In #94209#1276326, @blenderuser0 wrote: > How was the downgrading done? I'm asking for specific commands. Hi @blenderuser0 , this helped me: 1. `sudo pacman -U /var/cache/pacman/pkg/mesa-21.2.5-1-x86_64.pkg.tar.zst` 2. add `IgnorePkg = mesa` to the `/etc/pacman.conf` under the `[options]` section (and remove it when mesa fixes the bug).

Added subscriber: @breezykermo

Added subscriber: @breezykermo

Added subscriber: @iss

Added subscriber: @iss

Added subscriber: @h0m3

Added subscriber: @h0m3

Added subscriber: @KerrickStaley

Added subscriber: @KerrickStaley

I'm not sure if anyone filed a bug in Mesa's tracker yet, so I filed one: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5782

I'm not sure if anyone filed a bug in Mesa's tracker yet, so I filed one: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5782

Added subscriber: @danielt117

Added subscriber: @danielt117

Added subscriber: @vignette

Added subscriber: @vignette

Added subscriber: @actuday

Added subscriber: @actuday
Member

Added subscribers: @mykomurcu1, @PratikPB2123

Added subscribers: @mykomurcu1, @PratikPB2123

Added subscriber: @cooperrc

Added subscriber: @cooperrc

Added subscriber: @LawBr3aker

Added subscriber: @LawBr3aker
Member

Added subscriber: @opalkanok

Added subscriber: @opalkanok

Added subscriber: @igoracmelo

Added subscriber: @igoracmelo

I'm having a very similar issue with Manjaro and mesa 21.
Including these huge artifacts when splitting the 3d view.record-2022-01-16_13.52.03.mkv

I'm having a very similar issue with Manjaro and mesa 21. Including these huge artifacts when splitting the 3d view.[record-2022-01-16_13.52.03.mkv](https://archive.blender.org/developer/F12807305/record-2022-01-16_13.52.03.mkv)

Added subscriber: @tlm-3

Added subscriber: @tlm-3

I was having a very similar problem of viewport flickering in Fedora 35 in Blender 2.93, 3.0 and 3.1. The problem went away after updating Mesa on my system, which only required a 34 MB download. Thanks.

The update command was simply

sudo dnf update mesa*
I was having a very similar problem of viewport flickering in Fedora 35 in Blender 2.93, 3.0 and 3.1. The problem went away after updating Mesa on my system, which only required a 34 MB download. Thanks. The update command was simply ``` sudo dnf update mesa* ```

Added subscriber: @WCN

Added subscriber: @WCN

In #94209#1293600, @tlm-3 wrote:
I was having a very similar problem of viewport flickering in Fedora 35 in Blender 2.93, 3.0 and 3.1. The problem went away after updating Mesa on my system, which only required a 34 MB download. Thanks.

The update command was simply

sudo dnf update mesa*

Mesa version before and after?

Also: Fixed upstream: 28f677e6dc

> In #94209#1293600, @tlm-3 wrote: > I was having a very similar problem of viewport flickering in Fedora 35 in Blender 2.93, 3.0 and 3.1. The problem went away after updating Mesa on my system, which only required a 34 MB download. Thanks. > > The update command was simply > ``` > sudo dnf update mesa* > ``` Mesa version before and after? Also: Fixed upstream: https://gitlab.freedesktop.org/mesa/mesa/-/commit/28f677e6dc929969fc65154d64cfcf43b2e789fe

Current installed mesa found with dnf ls mesa* is:

mesa-dri-drivers.x86_64 21.3.4-3.fc35

All mesa packages have this number except:

mesa-libGLU.x86_64 9.0.1-5.fc35

The record of which mesa version had the problem wasn't noted and is now gone.

Current installed mesa found with dnf ls mesa* is: mesa-dri-drivers.x86_64 21.3.4-3.fc35 All mesa packages have this number except: mesa-libGLU.x86_64 9.0.1-5.fc35 The record of which mesa version had the problem wasn't noted and is now gone.

Added subscriber: @golyalpha

Added subscriber: @golyalpha

In #94209#1293600, @tlm-3 wrote:
I was having a very similar problem of viewport flickering in Fedora 35 in Blender 2.93, 3.0 and 3.1. The problem went away after updating Mesa on my system, which only required a 34 MB download. Thanks.

The update command was simply

sudo dnf update mesa*

Can confirm it worked, both the flicker, and the performance issues are gone, though I had to put the mesa* in quotes because of zsh.

> In #94209#1293600, @tlm-3 wrote: > I was having a very similar problem of viewport flickering in Fedora 35 in Blender 2.93, 3.0 and 3.1. The problem went away after updating Mesa on my system, which only required a 34 MB download. Thanks. > > The update command was simply > ``` > sudo dnf update mesa* > ``` Can confirm it worked, both the flicker, and the performance issues are gone, though I had to put the `mesa*` in quotes because of zsh.

Added subscriber: @maochoa

Added subscriber: @maochoa

Release notes look like this was fixed in Mesa 21.3.6:

https://docs.mesa3d.org/relnotes/21.3.6.html

Flickering Intel Uhd 620 Graphics

Will try 21.3.7. If I don't update this comment further, then it's probably working for me.

Release notes look like this was fixed in Mesa 21.3.6: https://docs.mesa3d.org/relnotes/21.3.6.html > Flickering Intel Uhd 620 Graphics Will try 21.3.7. If I don't update this comment further, then it's probably working for me.

I had the same problem, I solved it by updating all the graphics drivers of the system including mesa.

SO: Manjaro
Graphics:

  • Intel UHD Graphics
  • NVIDIA GeForce GTX 3050 Ti
I had the same problem, I solved it by updating all the graphics drivers of the system including mesa. SO: Manjaro Graphics: - Intel UHD Graphics - NVIDIA GeForce GTX 3050 Ti
Member

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'
Pratik Borhade self-assigned this 2022-06-17 08:57:44 +02:00
Member

It seems newer drivers has solved the issue so I think it's fair to close this report.
Feel free to open a new report or just comment here if anyone still having this issue
Thanks again for the report

It seems newer drivers has solved the issue so I think it's fair to close this report. Feel free to open a new report or just comment here if anyone still having this issue Thanks again for the report
Pratik Borhade removed their assignment 2022-06-17 08:57:51 +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
18 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#94209
No description provided.