Grease Pencil Anti-Aliasing Broken on Linux/AMD #114338
Labels
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#114338
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux (Endeavour OS) Kernel - 6.5.8-arch1-1
Graphics card: AMD Radeon RX 7800 XT
Blender Version
Broken:
21bfc5e7fe
, makepkgcf1e1ed46b
, makepkg9934381733
, mainCould not find a working version.
Short description of error
When either a Line Art modifier is applied to a grease pencil object, or a grease pencil stroke is drawn into the environment, if the Grease Pencil Anti-Aliasing Threshold is anything other than 0, severe artifacting occurs.
This issue seems specific to AMD cards, or AMD cards on Linux. I tested using a laptop that has an Intel integrated graphics card, and it worked as expected (picture at the bottom).
Example of lines at 0 anti-aliasing threshold:
Example of lines at any other value:
Image of anti-aliasing working as expected on Linux with Intel Integrated Graphics:
Attached is the blend file in the photo, in a currently broken state.
Exact steps for others to reproduce the error
Seems to work fine on:
Operating system: Windows-10-10.0.23575-SP0 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.6.0 Core Profile Context 23.20.01.04.230725
It appears that this issue might be specific to AMD graphics cards on Linux.
Please double-check if the drivers are up to date.
To upgrade to the latest driver, see here for more information: https://docs.blender.org/manual/en/dev/troubleshooting/gpu/index.html
I agree that this does seem to be Linux + AMD specific. As far as I can tell, my drivers are as up-to-date as possible. I did a system update to be sure, and everything looks to be up-to-date:
The only "custom" thing I've done is install the
opencl-amd
andhip-runtime-amd
packages to allow me to use Cycles HIP rendering with my GPUDoes Blender require the proprietary drivers be installed for something like this?
Hi, unable to confirm either with integrated AMD GPU on Windows
Would be helpful if you check with official AMD drivers
Ill try and get the proprietary drivers installed here soon and see if there is a difference.
The proprietary drivers do not appear to have this problem. Once those were installed, it appears antialiasing works as intended again. Having these drivers installed is really not preferable, however, if I want to use this machine for pretty much anything else. Is this something I should report to an upstream, or is this something that can be fixed on the Blender side?
For anyone who might need it, here are the steps I took for Arch, essentially using this Arch Wiki article:
Thanks.
@Jeroen-Bakker hi, can you check further? Do we handle such cases on tracker?
yes we first need to make a case and find out if it is not an error on our side.
Grease Pencil Anti-Aliasing Broken And Causes Severe Artifactsto Grease Pencil Anti-Aliasing Broken on Linux/AMD@filedescriptor @ChengduLittleA any insight from your side?
If I understand it correctly it is when you apply the line art modifier. So it might also indicate that it might point to an issue in grease pencil core as well.
Just to clarify. It's not just the Line Art modifier, this happens to pretty much any Grease Pencil line. Both in a "2D" project, as well as manually drawn lines inside a 3D scene.
I am happy to provide screenshots / blend files if those are needed.
Unable to reproduce on:
Able to reproduce on:
The latter is comparable to a RX 7800 XT so it might be specific to the RDNA3.
Failing SMAA?
SMAA edge detection and weight calculation seems to be correct. When apply-ing it seems to be incorrect.
It still points out to a driver bug in mesa, ut for RDNA3 cards specificly.
This appears to be resolved. I am unsure at what mesa / blender version it got fixed at, but I am no longer seeing this issue
Closing then