Geometry input node breaks after adding Displacement Texture in Shader Editor #98538

Closed
opened 2022-06-01 12:07:10 +02:00 by Krzysztof Kowalczyk · 22 comments

System Information
Reproducible on:
Operating system: Windows 10
Graphics card: GeForce GTX 560- 391.35
Graphics card: Quadro K2100M- 389.08

Not reproducible on:
Graphics card: Quadro K2100M- 426.78

Blender Version
Broken: version: 3.2.0 Beta, branch: master, commit date: 2022-05-31 22:46, hash: 75162ab8c2
Worked: version: 3.1.2

Short description of error
In Shader Editor, Geometry node outputs get pink after plugging some textures into Displacement node. It happens with Brick, Checker, Gradient, Magic, Musgrave, Noise, Sky, Voronoi and Wave Textures.

Exact steps for others to reproduce the error

  1. Go to Shader Editor;
  2. Add Input Geometry node;
  3. Add Displacement node;
  4. Plug Displacement node output into Displacement socket in Material Output node;
  5. Add Noise Texture;
  6. Plug Noise Texture node into Height socket in Displacement node;
  7. Check Geometry node outputs, all get pink after plugging Noise Texture;

Test file with all steps included:
Geometry_node_bug.blend

version: 3.1.2 ( cc66d1020c ) image_3.1.2.JPG version: 3.2.0 Beta ( 75162ab8c2 ) image_3.2.0.JPG
**System Information** Reproducible on: Operating system: Windows 10 Graphics card: GeForce GTX 560- 391.35 Graphics card: Quadro K2100M- 389.08 Not reproducible on: Graphics card: Quadro K2100M- 426.78 **Blender Version** Broken: version: 3.2.0 Beta, branch: master, commit date: 2022-05-31 22:46, hash: `75162ab8c2` Worked: version: 3.1.2 **Short description of error** In Shader Editor, Geometry node outputs get pink after plugging some textures into Displacement node. It happens with Brick, Checker, Gradient, Magic, Musgrave, Noise, Sky, Voronoi and Wave Textures. **Exact steps for others to reproduce the error** 1. Go to Shader Editor; 2. Add Input Geometry node; 3. Add Displacement node; 4. Plug Displacement node output into Displacement socket in Material Output node; 5. Add Noise Texture; 6. Plug Noise Texture node into Height socket in Displacement node; 7. Check Geometry node outputs, all get pink after plugging Noise Texture; Test file with all steps included: [Geometry_node_bug.blend](https://archive.blender.org/developer/F13126366/Geometry_node_bug.blend) | version: 3.1.2 ( `cc66d1020c` ) ![image_3.1.2.JPG](https://archive.blender.org/developer/F13126528/image_3.1.2.JPG) | version: 3.2.0 Beta ( `75162ab8c2` ) ![image_3.2.0.JPG](https://archive.blender.org/developer/F13126718/image_3.2.0.JPG) | | -- | -- |

Added subscriber: @KrzysztofKowalczyk

Added subscriber: @KrzysztofKowalczyk
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

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

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

Thanks for the report. Is there any information you've missed to add under reproducing steps?

Add Input Geometry node;

Are we talking about the same Geometry node ? How you're using this in your node tree? Could you share your .blend file?

Thanks for the report. Is there any information you've missed to add under reproducing steps? > Add Input Geometry node; Are we talking about the same [Geometry node ](https://docs.blender.org/manual/en/latest/render/shader_nodes/input/geometry.html)? How you're using this in your node tree? Could you share your .blend file?

Yes, it's the same Geometry node.
Just adding it into my node tree, there is no need to plug it anywhere.
After plugging Noise Texture I check the Geometry outputs with Node Wrangler Shader Viewer (Shift+Ctrl+LMB). They are pink in Material Preview.
Geometry_node_bug.blend

Yes, it's the same Geometry node. Just adding it into my node tree, there is no need to plug it anywhere. After plugging Noise Texture I check the Geometry outputs with Node Wrangler Shader Viewer (Shift+Ctrl+LMB). They are pink in Material Preview. [Geometry_node_bug.blend](https://archive.blender.org/developer/F13126366/Geometry_node_bug.blend)
Member

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

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

Hi, thanks for the info. I don't think I'm able to reproduce this

3.1.2 3.2(75162ab8c239)
image.png image.png
Operating system : Windows-10-10.0.18362-SP0 64 Bits
Graphics card : AMD Radeon(TM) 535 ATI Technologies 
Graphics card: Intel(R) UHD Graphics 620 Intel 4.5.0 - Build 30.0.101.1660```
Hi, thanks for the info. I don't think I'm able to reproduce this | 3.1.2 | 3.2(`75162ab8c239`) | | -- | -- | | ![image.png](https://archive.blender.org/developer/F13126419/image.png) | ![image.png](https://archive.blender.org/developer/F13126421/image.png) | ```System Information Operating system : Windows-10-10.0.18362-SP0 64 Bits Graphics card : AMD Radeon(TM) 535 ATI Technologies Graphics card: Intel(R) UHD Graphics 620 Intel 4.5.0 - Build 30.0.101.1660```

I can reproduce it on another hardware:
System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: Quadro K2100M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 389.08

version: 3.1.2 ( cc66d1020c ) image_3.1.2.JPG version: 3.2.0 Beta ( 75162ab8c2 ) image_3.2.0.JPG
I can reproduce it on another hardware: **System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: Quadro K2100M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 389.08 | version: 3.1.2 ( `cc66d1020c` ) ![image_3.1.2.JPG](https://archive.blender.org/developer/F13126528/image_3.1.2.JPG) | version: 3.2.0 Beta ( `75162ab8c2` ) ![image_3.2.0.JPG](https://archive.blender.org/developer/F13126718/image_3.2.0.JPG) | | -- | -- |
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

Cannot repro in master nor 3.2

**System Information**
Operating system: Linux-5.13.0-0.rc6.45.fc35.x86_64-x86_64-with-glibc2.34.9000 64 Bits
Graphics card: NVIDIA GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 495.44
version: 3.2.0 Beta, branch: master, commit date: 2022-05-31 22:46, hash: `rB75162ab8c239`

noticed both driver versions are oldish (NVIDIA 389.08 & NVIDIA 391.35), could we try updrading these? See here for more information: https://docs.blender.org/manual/en/dev/troubleshooting/gpu/index.html

Cannot repro in master nor 3.2 ``` **System Information** Operating system: Linux-5.13.0-0.rc6.45.fc35.x86_64-x86_64-with-glibc2.34.9000 64 Bits Graphics card: NVIDIA GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 495.44 version: 3.2.0 Beta, branch: master, commit date: 2022-05-31 22:46, hash: `rB75162ab8c239` ``` noticed both driver versions are oldish (NVIDIA 389.08 & NVIDIA 391.35), could we try updrading these? See here for more information: https://docs.blender.org/manual/en/dev/troubleshooting/gpu/index.html
Member

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

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

Ah, sorry, wasnt aware NVIDIA 391.35 is actually the most recent one for the Geforce 500 series...

Ah, sorry, wasnt aware NVIDIA 391.35 is actually the most recent one for the Geforce 500 series...

Yes, NVIDIA 391.35 is the most recent, for the second hardware (NVIDIA 389.08) I had some problems with updating it to 426.78 and cannot check it. So, if no one can reproduce it, I guess it is time for GPU update.

Yes, NVIDIA 391.35 is the most recent, for the second hardware (NVIDIA 389.08) I had some problems with updating it to 426.78 and cannot check it. So, if no one can reproduce it, I guess it is time for GPU update.

I've finally managed to update my Quadro K2100M driver 389.08 to the most recent 426.78 and the problem dissapeared. I assume this issue is specific for older GPU's.

I've finally managed to update my Quadro K2100M driver 389.08 to the most recent 426.78 and the problem dissapeared. I assume this issue is specific for older GPU's.
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

Thanks for the update.
GeForce 500 series GPU's are still supported as stated in Minimum requirements page (GeForce 400 and newer)
I'm forwarding this report to #eevee_viewport developers since issue is reproducible with old GPU drivers

Thanks for the update. GeForce 500 series GPU's are still supported as stated in [Minimum requirements page ](https://www.blender.org/download/requirements/) (GeForce 400 and newer) I'm forwarding this report to #eevee_viewport developers since issue is reproducible with old GPU drivers
Member

Added subscribers: @fclem, @EAW

Added subscribers: @fclem, @EAW
Member

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
Member

I can reproduce. GeForce GTX 470 NVIDIA 391.35.

Current 3.3 Alpha master hash 46cb24e7c2

ERROR (gpu.shader): GPU_material_compile VertShader: 
      | 
 1440 |     tangent_orco_z(orco, orco);
      | 
      | gpu_shader_material_geometry.glsl:24:0: Error: C7565: assignment to varying 'orco'

Broken 3.2.0 Alpha, branch: master, commit date: 2022-04-14 19:51, hash: 48ff456a4b

ERROR (gpu.shader): GPU_material_compile VertShader: 
      | 
 1909 |     tangent_orco_z(orco, orco);
      | 
      | gpu_shader_material_geometry.glsl:24:0: Error: C7565: assignment to varying 'orco'

66dc4d4efb is ok.

I compiled {80859a6cb272}, but there is an issue with it crashing at launch. That being said, I am pretty sure that is the responsible commit. Mind taking a look @fclem?

80859a6cb2 added #pragma BLENDER_REQUIRE(gpu_shader_material_tangent.glsl) to the top of gpu_shader_material_geometry.glsl

gpu_shader_material_tangent.glsl has:

void tangent_orco_z(vec3 orco_in, out vec3 orco_out)
{
  orco_out = orco_in.yxz * vec3(-0.5, 0.5, 0.0) + vec3(0.25, -0.25, 0.0);
}

Not sure if that is helpful.
blender_system_info.txt

blender_debug_output.txt

I can reproduce. GeForce GTX 470 NVIDIA 391.35. Current 3.3 Alpha master hash 46cb24e7c253 ``` ERROR (gpu.shader): GPU_material_compile VertShader: | 1440 | tangent_orco_z(orco, orco); | | gpu_shader_material_geometry.glsl:24:0: Error: C7565: assignment to varying 'orco' ``` Broken 3.2.0 Alpha, branch: master, commit date: 2022-04-14 19:51, hash: 48ff456a4bda ``` ERROR (gpu.shader): GPU_material_compile VertShader: | 1909 | tangent_orco_z(orco, orco); | | gpu_shader_material_geometry.glsl:24:0: Error: C7565: assignment to varying 'orco' ``` 66dc4d4efb88 is ok. I compiled {80859a6cb272}, but there is an issue with it crashing at launch. That being said, I am pretty sure that is the responsible commit. Mind taking a look @fclem? 80859a6cb272 added `#pragma BLENDER_REQUIRE(gpu_shader_material_tangent.glsl)` to the top of `gpu_shader_material_geometry.glsl` `gpu_shader_material_tangent.glsl` has: ``` void tangent_orco_z(vec3 orco_in, out vec3 orco_out) { orco_out = orco_in.yxz * vec3(-0.5, 0.5, 0.0) + vec3(0.25, -0.25, 0.0); } ``` Not sure if that is helpful. [blender_system_info.txt](https://archive.blender.org/developer/F13128225/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F13128226/blender_debug_output.txt)

This issue was referenced by 33eeed5b3c

This issue was referenced by 33eeed5b3ca94c49c4c7aca26f63e913bfd59414

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Clément Foucault self-assigned this 2022-06-02 10:05:46 +02:00
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
6 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#98538
No description provided.