Missing textures during Eevee render for "Tree Creature" scene Blender ARM64 version. #83992

Closed
opened 2020-12-20 21:29:45 +01:00 by Timothy Cook · 15 comments

System Information
Operating system: Darwin-20.2.0-arm64-arm-64bit 64 Bits
Graphics card: Apple M1 Apple 4.1 Metal - 71.0.7

Blender Version
Broken: version: 2.91.0 Beta, branch: master (modified), commit date: 2020-11-24 10:03, hash: 5d82d2a207
Worked: (newest version of Blender that worked as expected)

Short description of error
Blender default Tree Creature scene is missing textures when trying to view in Eevee. Same file works fine on Windows version.

Exact steps for others to reproduce the error
Viewport render scene with Eevee enabled. Tree bark textures are missing (Pink).tree_creature.blend

Screen Shot 2020-12-20 at 2.05.46 PM.png

Screenshot 2020-12-20 141057.PNG

**System Information** Operating system: Darwin-20.2.0-arm64-arm-64bit 64 Bits Graphics card: Apple M1 Apple 4.1 Metal - 71.0.7 **Blender Version** Broken: version: 2.91.0 Beta, branch: master (modified), commit date: 2020-11-24 10:03, hash: `5d82d2a207` Worked: (newest version of Blender that worked as expected) **Short description of error** Blender default Tree Creature scene is missing textures when trying to view in Eevee. Same file works fine on Windows version. **Exact steps for others to reproduce the error** Viewport render scene with Eevee enabled. Tree bark textures are missing (Pink).[tree_creature.blend](https://archive.blender.org/developer/F9519891/tree_creature.blend) ![Screen Shot 2020-12-20 at 2.05.46 PM.png](https://archive.blender.org/developer/F9520041/Screen_Shot_2020-12-20_at_2.05.46_PM.png) ![Screenshot 2020-12-20 141057.PNG](https://archive.blender.org/developer/F9520047/Screenshot_2020-12-20_141057.PNG)
Author

Added subscriber: @CookItOff

Added subscriber: @CookItOff

Added subscriber: @rjg

Added subscriber: @rjg

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Please test this again with the [release version of 2.91 ]] and the [ https:*builder.blender.org/download/ | current daily build of 2.92 .

If the problem persists, please start Blender from a terminal with the --debug and --debug-gpu flags, redirect the output into a file, repeat the steps to get the pink shader, close Blender and attach the log file to your report.

/Applications/Blender.app/Contents/MacOS/Blender --debug --debug-gpu > ~/blender_debug_output.txt 2>&1

(Note: The path to Blender might be different on your system)

Please test this again with the [release version of 2.91 ]] and the [[ https:*builder.blender.org/download/ | current daily build of 2.92 ](https:*download.blender.org/release/Blender2.91/). If the problem persists, please start Blender from a terminal with the `--debug` and `--debug-gpu` flags, redirect the output into a file, repeat the steps to get the pink shader, close Blender and attach the log file to your report. ``` /Applications/Blender.app/Contents/MacOS/Blender --debug --debug-gpu > ~/blender_debug_output.txt 2>&1 ``` (Note: The path to Blender might be different on your system)
Author

@rjg Same results as before when trying on the "Rosetta" translated version of Blender 2.91 final. I saved the Terminal script for the ARM64 version in a file as asked.
Let me know if there is any thing else I can do to help as I'm positive no one at the BF has a M1 Mac to run test with.

Hope this helps. Terminal Saved Output M1 Mini (Tree Creature)

Tagging @Stefan_Werner just incase he wants to peek at that Terminal file, since he has been the developer heading up the ARM builds

@rjg Same results as before when trying on the "Rosetta" translated version of Blender 2.91 final. I saved the Terminal script for the ARM64 version in a file as asked. Let me know if there is any thing else I can do to help as I'm positive no one at the BF has a M1 Mac to run test with. Hope this helps. [Terminal Saved Output M1 Mini (Tree Creature)](https://archive.blender.org/developer/F9523959/Terminal_Saved_Output_M1_Mini__Tree_Creature_) Tagging @Stefan_Werner just incase he wants to peek at that Terminal file, since he has been the developer heading up the ARM builds
Author

Added subscriber: @Stefan_Werner

Added subscriber: @Stefan_Werner

Added subscriber: @JacobMerrill-1

Added subscriber: @JacobMerrill-1
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member
| 
| Error: Implementation limit of 16 active fragment shader samplers (e.g., maximum number of supported image units) exceeded, fragment shader uses 21 samplers

So is that just a limitation in the code, or a hardware limitation?

@CookItOff can you upload your blender_system_info.txt to check if this a hardware limitation?
Help->Save System Info

Save_System_Info.png

```ERROR (gpu.shader): GPU_material_compile Linking: ``` | | Error: Implementation limit of 16 active fragment shader samplers (e.g., maximum number of supported image units) exceeded, fragment shader uses 21 samplers ``` ``` So is that just a limitation in the code, or a hardware limitation? @CookItOff can you upload your blender_system_info.txt to check if this a hardware limitation? Help->Save System Info ![Save_System_Info.png](https://archive.blender.org/developer/F9525566/Save_System_Info.png)
Author

@EAW no problem.
Here you go system-info.txt

@EAW no problem. Here you go [system-info.txt](https://archive.blender.org/developer/F9526007/system-info.txt)

This appear to be limit set by macOS, see this comment by Brecht and the many other applications that report the same problem.

@CookItOff Could you please try to simplify the material and check if this allows you to render it? If it works, then this is the same issue as discussed in the linked ticket.

This appear to be limit set by macOS, see [this comment by Brecht ](https://developer.blender.org/T61641#625317) and the many other applications that report the same problem. @CookItOff Could you please try to simplify the material and check if this allows you to render it? If it works, then this is the same issue as discussed in the linked ticket.
Member

Relevant part of the system-info.txt:

****

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```

I agree with @rjg, the material in question just looks like it is going over the limit. Easy enough to test @CookItOff, just connect only one of the Principled BSDFs instead of the two that are currently connected.  Or just delete part of the node tree.
![T83992_tree_creature_branch_shader.png](https://archive.blender.org/developer/F9526264/T83992_tree_creature_branch_shader.png)
Relevant part of the system-info.txt: ```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``` I agree with @rjg, the material in question just looks like it is going over the limit. Easy enough to test @CookItOff, just connect only one of the Principled BSDFs instead of the two that are currently connected. Or just delete part of the node tree. ![T83992_tree_creature_branch_shader.png](https://archive.blender.org/developer/F9526264/T83992_tree_creature_branch_shader.png)
Author

@rjg Thanks for the link.
I disconnected one of the node inputs in the "Bark" material and it indeed render as expected, minus of course the previous linked nodes.
Thanks for working with me to diagnose the issue.
I wonder if other DCCs are having this same issue when working with materials on a Mac.

@rjg Thanks for the link. I disconnected one of the node inputs in the "Bark" material and it indeed render as expected, minus of course the previous linked nodes. Thanks for working with me to diagnose the issue. I wonder if other DCCs are having this same issue when working with materials on a Mac.

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'

@CookItOff thanks you for checking. Yes, it seems that other software had the same issue, for instance Substance Designer had a long forum post about this as well.

@CookItOff thanks you for checking. Yes, it seems that other software had the same issue, for instance Substance Designer had a long forum post about this as well.
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
4 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#83992
No description provided.