Eevee: MacOS/ATI doesn't work.
#106786
Closed
Jeroen Bakker
wants to merge 6 commits from Jeroen-Bakker:eevee-legacy-macos-ati
into main
pull from: Jeroen-Bakker:eevee-legacy-macos-ati
merge into: blender:main
blender:main
blender:blender-v3.6-release
blender:temp-sculpt-dyntopo-hive-alloc
blender:temp-sculpt-dyntopo
blender:asset-shelf
blender:cycles-light-linking
blender:tmp-usd-python-mtl
blender:brush-assets-project
blender:blender-v2.93-release
blender:blender-v3.3-release
blender:universal-scene-description
blender:node-group-operators
blender:asset-browser-frontend-split
blender:temp-sculpt-attr-api
blender:blender-v3.5-release
blender:realtime-clock
blender:sculpt-dev
blender:gpencil-next
blender:bevelv2
blender:microfacet_hair
blender:blender-projects-basics
blender:principled-v2
When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Reviewers
Request review
No reviewers
Labels
Clear labels
Issues relating to security: https://wiki.blender.org/wiki/Process/Vulnerability_Reports
Apply labels
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
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
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
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
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
Issues relating to security: https://wiki.blender.org/wiki/Process/Vulnerability_Reports
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 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
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
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
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
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
Milestone
Set milestone
Clear milestone
No items
No Milestone
Projects
Set Project
Clear projects
No project
Assignees
Assign users
Clear assignees
No Assignees
5 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#106786
Reference in New Issue
There is no content yet.
Delete Branch "Jeroen-Bakker:eevee-legacy-macos-ati"
Deleting a branch is permanent. It CANNOT be undone. Continue?
Due to compatibility issues between legacy Intel drivers that doesn't
unroll macros as expected we added an underscore before the attribute
name to make a distinction between the macro name and the variable it
needs to access. This fails on MacOS/ATI resulting in failing to
render Eevee on those devices. Issue happens both on Metal and OpenGL
backend.
This is a quick fix to support both issues until we have a better
solution or that Eevee is replaced.
Introduced by: #106535
Fix: #106672
Fix: #106702
@blender-bot package
Package build started. Download here when ready.
@Sergey can you check if the package works for you (both Metal and OpenGL) should be checked.
I might have a system back home able to test the intel driver, but otherwise we should ask the community.
@ -260,3 +273,4 @@
# define renderPassAOVActive renderpass_block.BLOCK_ATTR(renderPassAOVActive)
/* SSSProfileBlock */
# define sss_kernel sssProfile._sss_kernel
Why is this one left unchanged?
@blender-bot package
Package build started. Download here when ready.
The issue with this approach is that it might trigger recursive expansion error on some drivers (like the one fixed by #106535).
@Jeroen-Bakker Unfortunately, the monkey is still invisible in my startup file :(
Note that it has been validated that this change works on Metal, but not yet on OpenGL. I will update this patch to fix this for opengl as well as we should still
support opengl on MacOS devices for now.
@blender-bot package
Package build started. Download here when ready.
Current state is that on main MacOS/ATI doesn't work using OpenGL. It does work when using Metal. This patch doesn't seem to change anything compared to main.
Next step to do is to check if the workaround is enabled when using this specific platform.
14b112ef82
main 04-03-2023)Screen Recording 2023-04-11 at 11.38.42.mov
Test machine:
macOS Monterey 12.6.4 (21G526)
Mac Pro (Late 2013)
2,7 GHz 12-Core Intel Xeon E5
64 GB 1866 MHz DDR3
AMD FirePro D500 3 GB
@Caco-Oportot Can you create a report for that. It doesn't seem to be related to what we are trying to fix here. Thanks!
Sorry @Jeroen-Bakker, I posted here because my bug report #106702 was marked to be fixed/deleted by this. I installed the PR106786 build and all the issues persist. My bad.
Reviewers