Geometry node/shader texture race condition? #102171

Closed
opened 2022-10-30 19:56:10 +01:00 by PBnFlash · 14 comments

System Information
Operating system: Linux mint 20.3
Graphics card: 3090
CPU: AMD Ryzen 5 2600

Blender Version
Broken: 3.3.1

Short description of error
Using the same image texture sequence texture in both geometry nodes and shader is producing unexpected and inconsistent results.

Exact steps for others to reproduce the error
A geo-nodes setup that uses the alpha channel from a texture with the frame driven by a driver linked to the shader image sequence texture will only preform the geonodes operation on part of the image texture. Moving the frame forward and back will load the texture properly. However during a render with "persistent data" turned off/on many frames will have this kind of error.
(this should have all faces where the texture alpha > 0 remaining)
image.png
Go forward and back to reload textures on this frame
image.png

Load a longer than buffer length image sequence with alpha channel into this file for geonodes and shader, this may be a side effect of my lopsided system. Geo Nodes execution is still less than 100 ms on my system. I suspect the geonodes starts execution then the shader interrupts somehow.
GeoNodesShaderRace.blend

**System Information** Operating system: Linux mint 20.3 Graphics card: 3090 CPU: AMD Ryzen 5 2600 **Blender Version** Broken: 3.3.1 **Short description of error** Using the same image texture sequence texture in both geometry nodes and shader is producing unexpected and inconsistent results. **Exact steps for others to reproduce the error** A geo-nodes setup that uses the alpha channel from a texture with the frame driven by a driver linked to the shader image sequence texture will only preform the geonodes operation on part of the image texture. Moving the frame forward and back will load the texture properly. However during a render with "persistent data" turned off/on many frames will have this kind of error. (this should have all faces where the texture alpha > 0 remaining) ![image.png](https://archive.blender.org/developer/F13811632/image.png) Go forward and back to reload textures on this frame ![image.png](https://archive.blender.org/developer/F13811653/image.png) Load a longer than buffer length image sequence with alpha channel into this file for geonodes and shader, this may be a side effect of my lopsided system. Geo Nodes execution is still less than 100 ms on my system. I _suspect_ the geonodes starts execution then the shader interrupts somehow. [GeoNodesShaderRace.blend](https://archive.blender.org/developer/F13811290/GeoNodesShaderRace.blend)
Author

Added subscriber: @PBn

Added subscriber: @PBn

Added subscriber: @mod_moder

Added subscriber: @mod_moder

Please simplify your file. This file is too complicated to find a bug.

Please simplify your file. This file is too complicated to find a bug.

Added subscriber: @edward88

Added subscriber: @edward88

Can you provide the image sequence please?

Can you provide the image sequence please?
Author

In #102171#1439007, @mod_moder wrote:
Please simplify your file. This file is too complicated to find a bug.

I will try I am having a hard time reproducing it with another node-setup.

In #102171#1439009, @edward88 wrote:
Can you provide the image sequence please?

The majority of the image sequences in the project are .exr dwaa, but a few early shots were png, I didn't see a reason to replace them but the png sequences seem more likely to do it.
frames.zip
Please point the shader and geonodes textures to this sequence.

> In #102171#1439007, @mod_moder wrote: > Please simplify your file. This file is too complicated to find a bug. I will try I am having a hard time reproducing it with another node-setup. > In #102171#1439009, @edward88 wrote: > Can you provide the image sequence please? The majority of the image sequences in the project are .exr dwaa, but a few early shots were png, I didn't see a reason to replace them but the png sequences _seem_ more likely to do it. [frames.zip](https://archive.blender.org/developer/F13811939/frames.zip) Please point the shader and geonodes textures to this sequence.
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

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

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

I can't replicate the issue myself. Is having the driver significant to reproduce the issue? I mean, does removing it and setting the start frame to 1 manually fix the issue?

I can't replicate the issue myself. Is having the driver significant to reproduce the issue? I mean, does removing it and setting the start frame to 1 manually fix the issue?
Author

I tried rendering again with the ranges in my project manually set.
I am still experiencing the issue.
It seems less common but it's hard to judge.
I will try to produce a node tree that has the glitch more consistently this weekend.

I tried rendering again with the ranges in my project manually set. I am still experiencing the issue. It *seems* less common but it's hard to judge. I will try to produce a node tree that has the glitch more consistently this weekend.

This will help a lot

This will help a lot
Author

I really can't get it to replicate. Even shots that have it almost every other frame in my scene files will stop doing it entirely when isolated to another file w/o backgrounds or with timings shifted.

I really can't manage to replicate it in a portable, consistent way.

My apologies.

I really can't get it to replicate. Even shots that have it almost every other frame in my scene files will stop doing it entirely when isolated to another file w/o backgrounds or with timings shifted. I really can't manage to replicate it in a portable, consistent way. My apologies.

If there is no more bug, it can be closed

If there is no more bug, it can be closed

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

Changed status from 'Needs User Info' to: 'Archived'
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
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#102171
No description provided.