voronoi texture not showing in EEVEE in blender 4.0 #113235

Closed
opened 2023-10-04 07:09:19 +02:00 by Devansh-Soni · 25 comments

System Information
Operating system: Windows 10
Graphics card: Intel® HD Graphics 4400

Blender Version
Broken: (blender-4.0.0-beta+v40.779239f5e180)
Worked: (3.60 LTS)

Short description of error
image
image

System Information Operating system: Windows 10 Graphics card: Intel® HD Graphics 4400 Blender Version Broken: (blender-4.0.0-beta+v40.779239f5e180) Worked: (3.60 LTS) **Short description of error** ![image](/attachments/9755bbc0-4f72-4f12-8a5d-d8fedc28d4f2) ![image](/attachments/eca0917b-5f85-4c4a-a622-34a892fbe42c)
Devansh-Soni added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-10-04 07:09:20 +02:00
Member

Hi, thanks for the report. Not sure if it's related to "removed ssbo support" or shader drawing code.
Does it work if blender is launched from command line with --debug-gpu-force-workarounds argument?
Is any opengl warning/error printed in console?

Hi, thanks for the report. Not sure if it's related to "removed ssbo support" or shader drawing code. Does it work if blender is launched from command line with `--debug-gpu-force-workarounds` argument? Is any opengl warning/error printed in console?
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-10-04 11:08:01 +02:00
Author

image
Tis the error from the console

and i get the same error with --debug-gpu-force-workarounds as well

![image](/attachments/389f7f8e-8837-47de-8c76-eced33444e8c) Tis the error from the console and i get the same error with --debug-gpu-force-workarounds as well
Member

@Jeroen-Bakker , can you check?

@Jeroen-Bakker , can you check?
Member

Might indicate a missing vec3(...) somewhere. Will need to review the latest changes that the node has.

Might indicate a missing `vec3(...)` somewhere. Will need to review the latest changes that the node has.
Member

144ad4d20b might have introduced this regression?

144ad4d20b051997fd9729682b3abe1f353584b1 might have introduced this regression?
Member

@fclem what was it with function overloading with legacy intel drivers? IIRC shouldn't we add a parameter type to the function name as well.

@fclem what was it with function overloading with legacy intel drivers? IIRC shouldn't we add a parameter type to the function name as well.
Jeroen Bakker added
Type
Bug
and removed
Type
Report
labels 2023-10-16 08:13:09 +02:00
Jeroen Bakker added this to the EEVEE & Viewport project 2023-10-16 08:13:12 +02:00
Jeroen Bakker added this to the 4.0 milestone 2023-10-16 08:13:16 +02:00
Jeroen Bakker self-assigned this 2023-10-16 08:13:21 +02:00
Member

@Devansh-Soni I am not able to reproduce it on my system, but have a hunch what is wrong. Would you be able to do some back and forth to see if we can fix the issue.

I will be providing some blender builds (one at a time) you download and test. If not working just provide the console output.
The first set of builds will be available soon at https://builder.blender.org/download/patch/PR113756/

@Devansh-Soni I am not able to reproduce it on my system, but have a hunch what is wrong. Would you be able to do some back and forth to see if we can fix the issue. I will be providing some blender builds (one at a time) you download and test. If not working just provide the console output. The first set of builds will be available soon at https://builder.blender.org/download/patch/PR113756/
Author

image

![image](/attachments/9312ad4e-99b4-4d0c-b2f6-6f387616bf7c)
Member

@Devansh-Soni there is a new build ready. Can you check?

@Devansh-Soni there is a new build ready. Can you check?
Author

Here you go
image
I clicked the wrong button

Here you go ![image](/attachments/2bd471b4-b553-4b2a-9772-6cac1b464311) I clicked the wrong button
Blender Bot added
Status
Archived
and removed
Status
Needs Info from Developers
labels 2023-10-16 16:41:59 +02:00
Blender Bot added
Status
Confirmed
and removed
Status
Archived
labels 2023-10-16 16:42:07 +02:00
Author

@Jeroen-Bakker i clicked the wrong button by mistake which changed some tags

@Jeroen-Bakker i clicked the wrong button by mistake which changed some tags
Member

Seems like we are back where we started. Might indicate a different issue than I expected.

Seems like we are back where we started. Might indicate a different issue than I expected.
Member

I increased the logging in https://builder.blender.org/download/patch/PR113834/ if available can you test and paste the console log here? Perhaps it gives us some clues.

I increased the logging in https://builder.blender.org/download/patch/PR113834/ if available can you test and paste the console log here? Perhaps it gives us some clues.
Author

This is what I got
image

This is what I got ![image](/attachments/34617ce8-d7c6-4a26-8638-8c77a6662a21)
Member

Ok, it seems that the messages points to

FRACTAL_VORONOI_X_FX(float/vec2/vec3/vec4) inside gpu_shader_material_fractal_voronoi.glsl. So was correct about the location.

Next try I want to do is to unroll one macro and see if it points to a specific line inside the macro. Will try to have a build ready tomorrow.

Ok, it seems that the messages points to `FRACTAL_VORONOI_X_FX(float/vec2/vec3/vec4)` inside `gpu_shader_material_fractal_voronoi.glsl`. So was correct about the location. Next try I want to do is to unroll one macro and see if it points to a specific line inside the macro. Will try to have a build ready tomorrow.
Member

I unrolled the float macro and started a new build. In an hour the new build would be available at https://builder.blender.org/download/patch/PR113834/

Hopefully it will point out to the actual line in the glsl that fails

I unrolled the `float` macro and started a new build. In an hour the new build would be available at https://builder.blender.org/download/patch/PR113834/ Hopefully it will point out to the actual line in the glsl that fails
Author

Is this any different?
image
oh right btw to check for voronoi I'm just plugging the voronoi distance into the roughness of principled bsdf, thou it gives the same error if I put it in bump->normal or color

Is this any different? ![image](/attachments/f36d957b-5f11-4e50-aae4-a6edd43f7acb) oh right btw to check for voronoi I'm just plugging the voronoi distance into the roughness of principled bsdf, thou it gives the same error if I put it in bump->normal or color
Member

Yes thanks.

It seems that manually unrolling hides the actual error. Need to think if we should remove the macro... It has some maintainability side effects to consider. I will check with other developers and come back to you.

Yes thanks. It seems that manually unrolling hides the actual error. Need to think if we should remove the macro... It has some maintainability side effects to consider. I will check with other developers and come back to you.
Member

I just started a new build at https://builder.blender.org/download/patch/PR113834/ where the parameters for the macro is removed. Lets see if that makes a difference. Should be finished in half an hour orso

I just started a new build at https://builder.blender.org/download/patch/PR113834/ where the parameters for the macro is removed. Lets see if that makes a difference. Should be finished in half an hour orso
Author

This it?
image
what's a macro?

This it? ![image](/attachments/beab4e10-2ee9-4434-b994-c9a1c6827fb3) what's a macro?
Member

That's to bad to see. Think the only solution is to remove the macros...

That's to bad to see. Think the only solution is to remove the macros...
Member

I unrolled all failing macros. https://builder.blender.org/download/patch/PR113834/ Please check if this one works. Build will be available in an hour orso.

Ps I was reviewing your bug report info and I don't see a system-info.txt can you start blender and navigate to Help -> Save System Info and upload this to this report. I want to be sure that there isn't a driver update that fixes this issue for you.

I unrolled all failing macros. https://builder.blender.org/download/patch/PR113834/ Please check if this one works. Build will be available in an hour orso. Ps I was reviewing your bug report info and I don't see a `system-info.txt` can you start blender and navigate to Help -> Save System Info and upload this to this report. I want to be sure that there isn't a driver update that fixes this issue for you.
Author

Right voronoi did work this time
image

Right voronoi did work this time ![image](/attachments/91bef960-50c2-450d-953e-fd5210968ed2)
Member

I tried to lookup your driver. and it seems that it is known to be a bad supported driver "20.19.15.4531"
Have you tried to use an up to date driver from the intel website instead?

I tried to lookup your driver. and it seems that it is known to be a bad supported driver "20.19.15.4531" Have you tried to use an up to date driver from the intel website instead?
Author

I cant update my drivers from intel as I have a dell system and it blocks any driver that is not from dell's website and because of dell's incompetent trojan horse of a software, I just cant do anything driver related.
Edit - It seems like dell has just not updated the driver and so im just stuck with a older version of driver

I cant update my drivers from intel as I have a dell system and it blocks any driver that is not from dell's website and because of dell's incompetent trojan horse of a software, I just cant do anything driver related. Edit - It seems like dell has just not updated the driver and so im just stuck with a older version of driver
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-10-24 14:49:22 +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 Assignees
3 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#113235
No description provided.