Grease Pencil Z-depth drawing issue on OSX + AMD Graphic Cards #81169
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
18 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#81169
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: Darwin-19.6.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 5500M OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.10.16
Blender Version
Broken: version: 2.90.1, branch: master, commit date: 2020-09-23 06:43, hash:
3e85bb34d0
Worked: n.a.rotate_Z.mov
Short description of error
Rendering grease pencil strokes will produce distorted z-depth channel. Both compositor and viewport seems affected
Exact steps for others to reproduce the error
Open attached blend file and render.
z-ogl-gp_issue.blend
Added subscriber: @icappiello
Added subscriber: @fclem
Removed subscribers: @fclem, @icappiello
Added subscriber: @icappiello
Added subscriber: @antoniov
Added subscriber: @fclem
Added subscriber: @mano-wii
Can you run
blender --debug-gpu > debug_log.txt
from the command line, trigger the bug, and attach the resulting file here?https://docs.blender.org/manual/en/latest/advanced/command_line/launch/macos.html
Most likely this will contain more information about the error.
terminal shows this on launch with --debug-gpu
This is debug_log output after opening the scene and render one frame of the attached file
debug_log.txt
@fclem, discussed about the issue with @antoniov and seems you are the only one who can have a clue about what's going on here. A comment would be very welcome!
Added subscribers: @sebbas, @JulianEisel, @Jeroen-Bakker
Looks to me a platform specific issue. I am not able to tell what is going on without having access to the platform. @sebbas @JulianEisel can you reproduce this?
Added subscriber: @lichtwerk
Cannot reproduce on Linux
Changed status from 'Needs Triage' to: 'Confirmed'
Confirmed on 2.91 with macOS Catalina machine. Cannot say what's going on here though.
My first hunch is to add
GPU_flush
in several places (draw module) and see if the issue can be removed. I don't have access to a machine, but if so I would start with theimage_engine.c
draw function (image editor) as it is small and isolated.@Jeroen-Bakker anyone at BF can help with this? i am available to help with testing and building if needed but i'd need exact steps on what to change. Unfortunately "several places" doesn't mean lot for me.
Added subscriber: @rlneumiller
@icappiello - I think @Jeroen-Bakker is suggesting to try the following first. I don't have access to Apple hardware either, so I am unable to test.
@Jeroen-Bakker @fclem tested on more apple hardware. Seems that only AMD graphic cards are affected independently from being on OS 10 or even OS 11 (meaning drivers may have been updated by AMD through apple update without affecting the behaviour).
Tested and working fine on:
Intel hd 6000
Geforce GT640M
Affected by issue:
AMD Radeon Pro 555 2GB (iMac 4K 2017)
AMD Radeon Pro 5500M 8 GB (MacBook Pro 16" 2019)
@rlneumiller @Jeroen-Bakker
adding GPU_flush makes no difference.
also the issue is present only if camera is in perspective view. Same camera but in orthographic mode renders z with no issues.
Grease Pencil Z-depth drawing issue on OSXto Grease Pencil Z-depth drawing issue on OSX + AMD Graphic Cards@sebbas any update on this? passed another month since last report.
Added subscriber: @fsiddi
@icappiello Haven't had much luck with the
GPU_flush
either. Will try out a bit more, but it would be great if someone else with macOS could join the thread.Added subscriber: @FloridaJo
These are what I get on 2.91
2012 iMac AMD Radeon 6770M
system-info.txt
that confirms the issue with AMD graphic cards on Mac OS
Added subscriber: @cmzw
Confirmed on MacBook Pro 15" 2018 with Big Sur (11.1)
Attached debug_log.txt is from opening the .blend and rendering a frame.
debug_log.txt
Added subscriber: @berkehankucukaras
Lines are intertwined in solid view and render view when i open the file. Nothing changed when i removed the materials. What should I do to help you?
Macbook pro 2019 / i9 9980HK / 32GB RAM / Amd Radeon Pro 5500m (8GB)system-info.txt
Added subscriber: @Seba
Trying to help with this: I'm not sure it's a problem related to Radeon.
Check the attached screenshots: the problem is happening on both of my GPU's: Intel (Integrated) and Radeon (Discrete). I manually switched between both and the GPU history window shows which one is in use at the moment.
Added subscriber: @Maddin
I followed a call for help (https://www.blendernation.com/2021/01/12/macos-amd-gpu-users-help-needed-by-blender-developers/).
I am on Big Sur (11.0.1).
Here is my logfile and a rendering:
Added subscriber: @contact-21
Same Problem on Mac Pro 2013 catalina / AMD FireProD500 (system info attached)
Work fine on an MacBook Pro 2015 /High sierra / intel Iris Pro (both version2.91)
system-info.txt
Added subscriber: @slowboy
System Information
Operating system: Darwin-20.2.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 5700 XT OpenGL Engine ATI Technologies Inc. 4.1 ATI-4.2.13
Blender Version
Broken: version: 2.92.0 Alpha, branch: master, commit date: 2021-01-08 23:19, hash:
9c07454816
Worked: (newest version of Blender that worked as expected)
Short description of error
AS requested on Blendernation - opened file - error is present
Exact steps for others to reproduce the error
Open supplied file look closely at cube!
Can see a strange 'ghost cube' to the left of it.
Hope this helps!?
Cheers
Wayne
Please make sure you start Blender with factory settings when trying to log something. It looks like you have several add-ons enabled now.
Do you mind doing this again with the factory settings? Once you do that, you can update your original post and replace the log.
@Seba In order to correctly show the issue, please open file, click render image and take a screenshot showing both the compositor and the 3D viewport as shown in the first post, without moving the camera or changing any viewport setting. Since the issue is related to depth channel it will be more clearly visible in compositor.
From the screenshot is not clear what’s happening there.
Can you also detail your mac specs (i assume you are on a macbook since you have 2 gpus) and how do you show which cards is in use on mac OS?
Added subscriber: @ClaasKuhnen
Confirming the render issue
macPro 2012
Catalina
AMD RX 5600 XT
Blender 2.92 Alpha
Added subscriber: @db1264
Confimring AMD OS X render Issues
Setup:
Mac Pro (Late 2013)
Processor Name: 12-Core Intel Xeon E5
Processor Speed: 2.7 GHz
Number of Processors: 1
Total Number of Cores: 12
L2 Cache (per Core): 256 KB
L3 Cache: 30 MB
Hyper-Threading Technology: Enabled
Memory: 64 GB
2x AMD FirePro D300 2 GB graphics
Catalina 10.15.7
Sys-Info.txt:
Blender 2.92.0 Alpha System Information
Blender:
version: 2.92.0 Alpha, branch: master, commit date: 2021-01-10 23:58, hash:
d4330ae70b
, type: Releasebuild date: 2021-01-11, 00:01:50
platform: Darwin
binary path: '/Applications/Blender/blender-2.92/Blender.app/Contents/MacOS/Blender'
build cflags: -Wall -Werror=implicit-function-declaration -Werror=return-type -Wno-tautological-compare -Wno-unknown-pragmas -Wno-char-subscripts -Wstrict-prototypes -Wmissing-prototypes -Wunused-parameter -mmacosx-version-min=10.13 -Xclang -fopenmp -I'/Users/blender/blender-buildbot/macos_master/blender.git/../lib/darwin/openmp/include' -std=gnu11 -msse -pipe -funsigned-char -fno-strict-aliasing -msse2
build cxxflags: -Wall -Wno-tautological-compare -Wno-unknown-pragmas -Wno-char-subscripts -Wno-overloaded-virtual -Wno-sign-compare -Wno-invalid-offsetof -mmacosx-version-min=10.13 -ftemplate-depth=1024 -stdlib=libc++ -Xclang -fopenmp -I'/Users/blender/blender-buildbot/macos_master/blender.git/../lib/darwin/openmp/include' -std=c++17 -msse -pipe -funsigned-char -fno-strict-aliasing -msse2
build linkflags: -fexceptions -framework CoreServices -framework Foundation -framework IOKit -framework AppKit -framework Cocoa -framework Carbon -framework AudioUnit -framework AudioToolbox -framework CoreAudio -framework Metal -framework QuartzCore -framework ForceFeedback -liconv -Wl,-stack_size,0x100000 -Wl,-unexported_symbols_list,'/Users/blender/blender-buildbot/macos_master/blender.git/source/creator/osx_locals.map' -stdlib=libc++
build system: CMake
Python:
version: 3.7.7 (default, Jul 8 2020, 14:54:17) [Clang 11.0.0 (clang-1100.0.33.8)]
file system encoding: utf-8:surrogateescape
paths:
'/Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/scripts/startup'
'/Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/scripts/modules'
'/Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/python/lib/python37.zip'
'/Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/python/lib/python3.7'
'/Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/python/lib/python3.7/lib-dynload'
'/Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/python/lib/python3.7/site-packages'
'/Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/scripts/freestyle/modules'
'/Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/scripts/addons/modules'
'/Users/user/Library/Application Support/Blender/2.92/scripts/addons/modules'
'/Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/scripts/addons'
'/Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/scripts/addons_contrib'
Python (External Binary):
binary path: '/Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/python/bin/python3.7m'
version: Python 3.7.7
Directories:
scripts:
'/Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/scripts/modules'
'/Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/scripts'
user scripts: '/Users/user/Library/Application Support/Blender/2.92/scripts'
pref scripts: None
datafiles: '/Users/user/Library/Application Support/Blender/2.92/datafiles'
config: '/Users/user/Library/Application Support/Blender/2.92/config'
scripts : '/Users/user/Library/Application Support/Blender/2.92/scripts'
autosave: '/Users/user/Library/Application Support/Blender/2.92/autosave'
tempdir: '/var/folders/zz/vyw0y2wj7lzfzgc1nvbtrqxh0000gn/T/blender_ELKM74/'
FFmpeg:
avcodec: '58, 54, 100'
avdevice: '58, 8, 100'
avformat: '58, 29, 100'
avutil: '56, 31, 100'
swscale: ' 5, 5, 100'
SDL:
Version: 2.0.12
Loading method: linked (WITH_SDL_DYNLOAD=OFF)
Other Libraries:
OpenColorIO: 1, 1, 1
OpenImageIO: 2, 1, 15
OpenShadingLanguage: 1, 10, 10
OpenSubdiv: 0, 0, 0
OpenVDB: 7, 0, 0
Alembic: 1, 7, 12
USD: 0, 20, 5
OpenGL:
renderer: 'AMD Radeon HD - FirePro D300 OpenGL Engine'
vendor: 'ATI Technologies Inc.'
version: '4.1 ATI-3.10.19'
extensions:
GL_APPLE_client_storage
GL_APPLE_container_object_shareable
GL_APPLE_flush_render
GL_APPLE_object_purgeable
GL_APPLE_rgb_422
GL_APPLE_row_bytes
GL_APPLE_texture_range
GL_ARB_ES2_compatibility
GL_ARB_blend_func_extended
GL_ARB_draw_buffers_blend
GL_ARB_draw_indirect
GL_ARB_explicit_attrib_location
GL_ARB_gpu_shader5
GL_ARB_gpu_shader_fp64
GL_ARB_instanced_arrays
GL_ARB_internalformat_query
GL_ARB_occlusion_query2
GL_ARB_sample_shading
GL_ARB_sampler_objects
GL_ARB_separate_shader_objects
GL_ARB_shader_bit_encoding
GL_ARB_shader_subroutine
GL_ARB_shading_language_include
GL_ARB_tessellation_shader
GL_ARB_texture_buffer_object_rgb32
GL_ARB_texture_cube_map_array
GL_ARB_texture_gather
GL_ARB_texture_query_lod
GL_ARB_texture_rgb10_a2ui
GL_ARB_texture_storage
GL_ARB_texture_swizzle
GL_ARB_timer_query
GL_ARB_transform_feedback2
GL_ARB_transform_feedback3
GL_ARB_vertex_attrib_64bit
GL_ARB_vertex_type_2_10_10_10_rev
GL_ARB_viewport_array
GL_ATI_texture_mirror_once
GL_EXT_debug_label
GL_EXT_debug_marker
GL_EXT_depth_bounds_test
GL_EXT_texture_compression_s3tc
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_mirror_clamp
GL_EXT_texture_sRGB_decode
GL_NV_texture_barrier
Implementation Dependent OpenGL Limits:
Maximum DrawElements Vertices: 1048575
Maximum DrawElements Indices: 150000
GLSL:
Maximum Varying Floats: 150000
Maximum Vertex Attributes: 16
Maximum Vertex Uniform Components: 4096
Maximum Fragment Uniform Components: 4096
Maximum Vertex Image Units: 16
Maximum Fragment Image Units: 16
Maximum Pipeline Image Units: 80
Cycles:
CPU device capabilities: SSE2 SSE3 SSE41 AVX
Enabled add-ons:
io_anim_bvh (version: (1, 0, 0), path: /Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/scripts/addons/io_anim_bvh/init.py)
io_curve_svg (version: UNKNOWN, path: /Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/scripts/addons/io_curve_svg/init.py)
io_mesh_ply (version: UNKNOWN, path: /Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/scripts/addons/io_mesh_ply/init.py)
io_mesh_stl (version: (1, 1, 3), path: /Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/scripts/addons/io_mesh_stl/init.py)
io_mesh_uv_layout (version: (1, 1, 1), path: /Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/scripts/addons/io_mesh_uv_layout/init.py)
io_scene_fbx (version: (4, 22, 0), path: /Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/scripts/addons/io_scene_fbx/init.py)
io_scene_gltf2 (version: (1, 5, 13), path: /Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/scripts/addons/io_scene_gltf2/init.py)
io_scene_obj (version: (3, 8, 1), path: /Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/scripts/addons/io_scene_obj/init.py)
io_scene_x3d (version: (2, 2, 5), path: /Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/scripts/addons/io_scene_x3d/init.py)
cycles (version: UNKNOWN, path: /Applications/Blender/blender-2.92/Blender.app/Contents/Resources/2.92/scripts/addons/cycles/init.py)
@sebbas seems that all the reports are confirming the AMD + Mac OS issues with a variety of GPUs and different OS (meaning the diver shipped with mac os should be different and updated).
At this point what should be done to inspect the issue and find a possible solution?
@icappiello Right, so far there is just more confirmation that this is an AMD problem.
I still hope that there is someone out there with macOS GPU experience who can shed some light on this issue.
Findings we (@sebbas and I) detected that are relevant for this issue:
This issue was referenced by
cacc1d723c
Changed status from 'Confirmed' to: 'Resolved'
Confirm 2.92 Beta fixes the issue!
hash:
a9b53daf23
branch: master
Removed subscriber: @cmzw