UI drawing artifacts on Mesa after recent commit. #78803

Closed
opened 2020-07-10 19:04:35 +02:00 by Omar Emara · 20 comments
Member

System Information
Operating system: Linux + Mesa
Graphics card: AMD HD5450

Blender Version
This issue was introduced in 630c6226e2.

Short description of error

Triangle-like artifacts appears in the UI. Viewport seems unaffected.

20200710-190050.png

**System Information** Operating system: Linux + Mesa Graphics card: AMD HD5450 **Blender Version** This issue was introduced in 630c6226e29444113950d1073175fdf1723fbe34. **Short description of error** Triangle-like artifacts appears in the UI. Viewport seems unaffected. ![20200710-190050.png](https://archive.blender.org/developer/F8684200/20200710-190050.png)
Author
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev

#87108 was marked as duplicate of this issue

#87108 was marked as duplicate of this issue
Member

Added subscribers: @fclem, @ankitm

Added subscribers: @fclem, @ankitm
Member

@fclem Looks like Mesa is not happy with the fix for macOS glitches in the UI.
630c6226e2

@OmarEmaraDev Please add system info.txt.

@fclem Looks like Mesa is not happy with the fix for macOS glitches in the UI. 630c6226e2 @OmarEmaraDev Please add system info.txt.
Author
Member
[system-info.txt](https://archive.blender.org/developer/F8684532/system-info.txt)
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Keeping Mesa glitch separate from Catalina + Intel HD 6xx issues in #78307 (Drawing artifacts in the Blender UI on macOS)

Keeping Mesa glitch separate from Catalina + Intel HD 6xx issues in #78307 (Drawing artifacts in the Blender UI on macOS)
Member

Changing status since this is being worked upon, & #78307 is a 2.90 release target too.
3886392430

Changing status since this is being worked upon, & #78307 is a 2.90 release target too. 3886392430
Member

@OmarEmaraDev Could you retry on latest build ? {388639243053} has been reported to have fixed the issue on macOS at least.

@OmarEmaraDev Could you retry on latest build ? {388639243053} has been reported to have fixed the issue on macOS at least.
Author
Member

@ankitm The problem is still there. Compiled at 1e999c7bdb.

@ankitm The problem is still there. Compiled at 1e999c7bdb63576fd66815c1770d096d165b8281.
Member

Added subscriber: @Sergey

Added subscriber: @Sergey
Member

In #78803#985113, @OmarEmaraDev wrote:
@ankitm The problem is still there. Compiled at 1e999c7bdb.

@Sergey {388639243053} is not working for Mesa + AMD setup. It fixed the macOS + intel issues though.

> In #78803#985113, @OmarEmaraDev wrote: > @ankitm The problem is still there. Compiled at 1e999c7bdb63576fd66815c1770d096d165b8281. @Sergey {388639243053} is not working for Mesa + AMD setup. It fixed the macOS + intel issues though.

Can you explain a bit more what exactly you mean by "is not working for Mesa + AMD setup" ?
Is the commit did not fix the problem? Did the change made things worse?

Can you explain a bit more what exactly you mean by "is not working for Mesa + AMD setup" ? Is the commit did not fix the problem? Did the change made things worse?
Member

It was also reported that certain AMD and Mesa driver suffer from similar issue, so disabled instancing for this configuration as well.

Isn't this line indicating that 3886392430 should've fixed the problem reported in this report ? If so, it didn't fix it, as Omar said. The problem here was introduced in 630c6226e2.
I don't have AMD gpu or mesa driver to test if it made things worse.

> It was also reported that certain AMD and Mesa driver suffer from similar issue, so disabled instancing for this configuration as well. Isn't this line indicating that 388639243053 should've fixed the problem reported in this report ? If so, it didn't fix it, as Omar said. The problem here was introduced in 630c6226e294. I don't have AMD gpu or mesa driver to test if it made things worse.
Author
Member

Disabling the back-end SB shader optimizer fixes the issue. So perhaps the best option would be to report that to Mesa. Gert Wollny of the R600 team have the same GPU I have, so maybe he can help fix this upstream. What do you think?

Disabling the back-end SB shader optimizer fixes the issue. So perhaps the best option would be to report that to Mesa. Gert Wollny of the R600 team have the same GPU I have, so maybe he can help fix this upstream. What do you think?

@OmarEmaraDev Or maybe he could give us a hint on what triggers the issue. This way we could have a real fix for MacOS and Mesa.

@OmarEmaraDev Or maybe he could give us a hint on what triggers the issue. This way we could have a real fix for MacOS and Mesa.
Author
Member

Apparently the SB backend is no longer maintained and will be superseded by an NIR backend. Mesa developers suggested we disable the SB backend R600_DEBUG=nosb as a workaround until the NIR path is mature enough to be used. Since this only affects the R600/SB path that is not officially supported by Blender, I guess we can close this and maybe mention the workaround somewhere.

https://gitlab.freedesktop.org/mesa/mesa/-/issues/3330

Apparently the SB backend is no longer maintained and will be superseded by an NIR backend. Mesa developers suggested we disable the SB backend `R600_DEBUG=nosb` as a workaround until the NIR path is mature enough to be used. Since this only affects the R600/SB path that is not officially supported by Blender, I guess we can close this and maybe mention the workaround somewhere. https://gitlab.freedesktop.org/mesa/mesa/-/issues/3330
Member

Added subscriber: @maslobojik

Added subscriber: @maslobojik
Author
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Omar Emara self-assigned this 2021-04-13 22:33:57 +02:00

This issue was referenced by d63b72e9f9

This issue was referenced by d63b72e9f9305ac275584e801244741f2a14e5d3
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
6 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#78803
No description provided.