Material Library VX causes permanent freeze with EEVEE rendering #72279

Open
opened 2019-12-08 18:32:59 +01:00 by Wilbur Jaywright · 31 comments

System Information
Operating system: Windows 10, 64 bit
Graphics card: Intel HD Graphics

Blender Version
Broken: 2.81

Short description of error
Using materials from Material Library VX addon, particularly Floor Wood and Rusty Metal, causes EEVEE to freeze all of Blender. They work fine with Cycles, so it's not the addon. Not even the partial "developer view" render can take the materials.

Exact steps for others to reproduce the error
Open default blend file.
Enable Material Library VX addon.
Apply "Floor Wood" to the cube.
Switch to "render view" without changing the engine off of EEVEE. Blender 2.81 will freeze.

Note: If you try to view the material preview and EEVEE is the render engine even that will freeze Blender 2.81.

**System Information** Operating system: Windows 10, 64 bit Graphics card: Intel HD Graphics **Blender Version** Broken: 2.81 **Short description of error** Using materials from Material Library VX addon, particularly Floor Wood and Rusty Metal, causes EEVEE to freeze all of Blender. They work fine with Cycles, so it's not the addon. Not even the partial "developer view" render can take the materials. **Exact steps for others to reproduce the error** Open default blend file. Enable Material Library VX addon. Apply "Floor Wood" to the cube. Switch to "render view" without changing the engine off of EEVEE. Blender 2.81 will freeze. Note: If you try to view the material preview and EEVEE is the render engine even *that* will freeze Blender 2.81.

Added subscriber: @zargul

Added subscriber: @zargul
Member

Added subscriber: @BrendonMurphy

Added subscriber: @BrendonMurphy
Member

hi, I've noticed this too, it seems to be mostly on first load of the material/s. The materials appear to stall Eevee for 3 to 6 seconds then they load. After this they load fast. I'll try to look at the materials shortly and see if I can identify the slowdown. I'm not sure if this is graphics driver related or another issue.
Whilst we are on the subject of materials, could you test Blenderkit materials? I had some troubles with them yesterday in Cycles and Eevee. Some materials seemed to have some strange volume flicker in both Cycles and Eevee.

hi, I've noticed this too, it seems to be mostly on first load of the material/s. The materials appear to stall Eevee for 3 to 6 seconds then they load. After this they load fast. I'll try to look at the materials shortly and see if I can identify the slowdown. I'm not sure if this is graphics driver related or another issue. Whilst we are on the subject of materials, could you test Blenderkit materials? I had some troubles with them yesterday in Cycles and Eevee. Some materials seemed to have some strange volume flicker in both Cycles and Eevee.

Nonono, I know about that, and it's also a bug, but the Floor Wood material puts ice in the heart of Blender.

Nonono, I know about that, and it's also a bug, but the Floor Wood material puts ice in the heart of Blender.
Wilbur Jaywright changed title from Material Library VX causes freeze with EEVEE rendering to Material Library VX causes permanent freeze with EEVEE rendering 2019-12-10 16:15:11 +01:00
Member

hi, the simple thing here is to remove those materials from the library. Some of the materials are quite old. I also have issue with Eevee and all the transparent materials failing due to the blend modes not being available in the node trees.
Optimally I would have added a Eevee section by now with fully compat materials. This may have helped people using the Cycles library materials that fail in the wrong engine.... I'll take a look at this over the next few weeks as fixing the matlib vx content is high on my list of to do.

Please note. this has nothing to do with the addon or addon code, it's a compatibility issue between Cycles nodes and Eevee's interpretations of those nodes.

hi, the simple thing here is to remove those materials from the library. Some of the materials are quite old. I also have issue with Eevee and all the transparent materials failing due to the blend modes not being available in the node trees. Optimally I would have added a Eevee section by now with fully compat materials. This may have helped people using the Cycles library materials that fail in the wrong engine.... I'll take a look at this over the next few weeks as fixing the matlib vx content is high on my list of to do. Please note. this has nothing to do with the addon or addon code, it's a compatibility issue between Cycles nodes and Eevee's interpretations of those nodes.

Thanks! Encouragement.

Thanks! Encouragement.
Brendon Murphy self-assigned this 2019-12-13 06:27:12 +01:00
Member

hi, just to let you know I'm updating the materials. I've only done the first one 1970's tiles and I identified and removed the bottlenecks. It now switches seamlessly between viewport display modes and Eevee/Cycles. I'll have everything ready in nightly builds within a couple of weeks.
@zargul can you test the current 1970's tiles then test this new version to see if it speeds up loading for you also?
mat_test.blend

hi, just to let you know I'm updating the materials. I've only done the first one 1970's tiles and I identified and removed the bottlenecks. It now switches seamlessly between viewport display modes and Eevee/Cycles. I'll have everything ready in nightly builds within a couple of weeks. @zargul can you test the current 1970's tiles then test this new version to see if it speeds up loading for you also? [mat_test.blend](https://archive.blender.org/developer/F8239972/mat_test.blend)
Brendon Murphy was unassigned by Dalai Felinto 2019-12-23 13:40:48 +01:00
Member

Added subscriber: @dfelinto

Added subscriber: @dfelinto
Member

@dfelinto hi, I was not sure why you removed me as assignee here? Then thinking on it, there's a couple of issues here that should be split into 2 tasks.

  • 1st task: I'm responsible for the content of the material library vx addon. As there's compatibility issues between Cycles and Eevee I'm fixing the materials so they are compatible. I'm close to finishing this already and will have solved the issues on the addon's content part before the new year. I was aware that the content needed work but have been busy with the manual, 2.82 addons release, release notes and general bug fixes/tracker work. Here I can at least address the issues raised by @zargul and update the materials.

  • 2nd task: This would relate to the incompatibility and slow read times for some older materials and indeed now I have a reproducible crash relating relating to Eevee/Cycles. The materials crashes Blender if use in Eevee. I need still to consolidate this into a proper report. Would "Eevee breaks with older materials" With a crash file and mention of the slow compute times for drawing some materials or is this just a known issue? It's not something i would be involved in. I'm happy to do a report if needed.

Thanks.

@dfelinto hi, I was not sure why you removed me as assignee here? Then thinking on it, there's a couple of issues here that should be split into 2 tasks. - 1st task: I'm responsible for the content of the material library vx addon. As there's compatibility issues between Cycles and Eevee I'm fixing the materials so they are compatible. I'm close to finishing this already and will have solved the issues on the addon's content part before the new year. I was aware that the content needed work but have been busy with the manual, 2.82 addons release, release notes and general bug fixes/tracker work. Here I can at least address the issues raised by @zargul and update the materials. - 2nd task: This would relate to the incompatibility and slow read times for some older materials and indeed now I have a reproducible crash relating relating to Eevee/Cycles. The materials crashes Blender if use in Eevee. I need still to consolidate this into a proper report. Would "Eevee breaks with older materials" With a crash file and mention of the slow compute times for drawing some materials or is this just a known issue? It's not something i would be involved in. I'm happy to do a report if needed. Thanks.
Member

just a follow up that the Stone Red material is a solid crasher in both cycles and eevee. not sure what's wrong there. Going back to 2.81 3 months ago it lags but still loads. now it fails to load and instant crash in Cycles and Eevee. Looking back at the included nodes in the material, there seems little there to cause any issue.

just a follow up that the Stone Red material is a solid crasher in both cycles and eevee. not sure what's wrong there. Going back to 2.81 3 months ago it lags but still loads. now it fails to load and instant crash in Cycles and Eevee. Looking back at the included nodes in the material, there seems little there to cause any issue.

Glad to see something's happening! Will try and test the mat_blend (although it will now be in 2.81a)

Glad to see something's happening! Will try and test the mat_blend (although it will now be in 2.81a)
Member

@zargul
hi, this is getting closer, It's a near complete file with many materials, I'm still getting a slowdown 1 second on the new wood and the brushed metal. This will give you a better overall view on what's improved now and potentially any slowdowns.
sample_materials.blend

Edit, note that most all will work in both cycles and eevee. it's worth doing the switch engine test too.

note 2, I'm using nightly builds from here: https://builder.blender.org/download/

@zargul hi, this is getting closer, It's a near complete file with many materials, I'm still getting a slowdown 1 second on the new wood and the brushed metal. This will give you a better overall view on what's improved now and potentially any slowdowns. [sample_materials.blend](https://archive.blender.org/developer/F8247185/sample_materials.blend) Edit, note that most all will work in both cycles and eevee. it's worth doing the switch engine test too. note 2, I'm using nightly builds from here: https://builder.blender.org/download/

Tested original with EEVEE, and the tile worked, but noticed two-and-a-half differences from the original. May or may not be intentional.

First off, the black [insert tile equivalent for mortar's name] was missing.
Second, I don't remember them quite as glossy or displaced, though they may have just not been one or the other.

Tested original with EEVEE, and the tile worked, but noticed two-and-a-half differences from the original. May or may not be intentional. First off, the black [insert tile equivalent for mortar's name] was missing. Second, I don't remember them quite as glossy or displaced, though they may have just not been one or the other.
Member

fdaa6f6b797b
This commit mostly resolves issues in the materials. I'm not quite finished with the final content but you should find that there's very fast shader compile times in the supplied samples.
This issue was not really a bug but an issue with incompatible shader trees. Many of the materials were created in Blender 2.7x and needed updating to work with both Eevee and Cycles.
Note: I'm removing Addons from this task. The issue still remains that if you test the 2.81 materials lib vx samples there are crashes and stalls. If Eevee is the active render pressing either rendered or preview is causing stalls and crashes in many cases. I've also sampled many materials, created for Cycles in Blender 2.6 and 7x with crashes and stalls in around 70%.
*stalls do not report shader compiling.
Thanks.

fdaa6f6b797b This commit mostly resolves issues in the materials. I'm not quite finished with the final content but you should find that there's very fast shader compile times in the supplied samples. This issue was not really a bug but an issue with incompatible shader trees. Many of the materials were created in Blender 2.7x and needed updating to work with both Eevee and Cycles. **Note:** I'm removing Addons from this task. The issue still remains that if you test the 2.81 materials lib vx samples there are crashes and stalls. If Eevee is the active render pressing either rendered or preview is causing stalls and crashes in many cases. I've also sampled many materials, created for Cycles in Blender 2.6 and 7x with crashes and stalls in around 70%. *stalls do not report shader compiling. Thanks.

Added subscriber: @mano-wii

Added subscriber: @mano-wii

I cannot reproduce this with either the 2.81 stable release or current development versions of Blender.
If the problem is not directly related to the addon, I suggest creating another report detailing more specifically the steps to reproduce the problem.

I cannot reproduce this with either the 2.81 stable release or current development versions of Blender. If the problem is not directly related to the addon, I suggest creating another report detailing more specifically the steps to reproduce the problem.

@BrendonMurphy all existing bugs had their assigned developers unassigned. So they can be properly triaged between known issue and bug. Some developers had literally hundred of issues assigned to them.

@BrendonMurphy all existing bugs had their assigned developers unassigned. So they can be properly triaged between known issue and bug. Some developers had literally hundred of issues assigned to them.

@mano-wii Try using the wood floor material in EEVEE.

@mano-wii Try using the wood floor material in EEVEE.

Added subscriber: @fclem

Added subscriber: @fclem

I can't reproduce either. the wood floor works. I've tested with latest 2.82 and with 2.81. So it might be dependent on the hardware I guess. The shader sure is long to compile but it's not the worst I've seen.

The issue is that with 2.81 we introduced high quality bump mapping. But this has lead to a really big performance issues for most procedural materials. Cycles handle this fine because it does not use the same rendering model as eevee.

@zargul The fact that you are using intel integrated GPU maybe the cause of the freeze. But this is because of the driver glsl compiler not being able to digest the shader we give it.

So I would just close this as known issue. But I don't really have a plan about this.

If there is a hard freeze because of a certain node setup causing infinite recursion I would be glad if you simplify the file to isolate what causes this issue.

I can't reproduce either. the wood floor works. I've tested with latest 2.82 and with 2.81. So it might be dependent on the hardware I guess. The shader sure is long to compile but it's not the worst I've seen. The issue is that with 2.81 we introduced high quality bump mapping. But this has lead to a really big performance issues for most procedural materials. Cycles handle this fine because it does not use the same rendering model as eevee. @zargul The fact that you are using intel integrated GPU maybe the cause of the freeze. But this is because of the driver glsl compiler not being able to digest the shader we give it. So I would just close this as known issue. But I don't really have a plan about this. If there is a hard freeze because of a certain node setup causing infinite recursion I would be glad if you simplify the file to isolate what causes this issue.

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

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

Is this still happening in 2.90?

Is this still happening in 2.90?

Added subscriber: @iss

Added subscriber: @iss

@zargul can you check if this issue exists in latest version?

@zargul can you check if this issue exists in latest version?

Added subscriber: @MTKing

Added subscriber: @MTKing

happening with me as of feb 2022 with EVEE and Cycles, the App freezes and goes not responding when i try to pick "Sample Materials" or "Templates" from "Select a library" Tab, meaning i don't get to choose 'floor wood" it was working couple of weeks ago on the same version and hardware.

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1060 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.65

Blender Version
Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: f1cca30557
Worked: (newest version of Blender that worked as expected)

happening with me as of feb 2022 with EVEE and Cycles, the App freezes and goes not responding when i try to pick "Sample Materials" or "Templates" from "Select a library" Tab, meaning i don't get to choose 'floor wood" it was working couple of weeks ago on the same version and hardware. System Information Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1060 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.65 Blender Version Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: f1cca30557 Worked: (newest version of Blender that worked as expected)

In #72279#1307458, @MTKing wrote:
when i try to pick "Sample Materials" or "Templates" from "Select a library"

That is not the issue mentioned here. This issue is that once a material has loaded, it freezes the EEVEE render engine, but not Cycles. The problem you describe is happening earlier in the process.

Note that while this library loading has always taken a moment or two for me (especially on weaker personal computers), it never permanently froze the program. Have you actually waited a minute or two to see if functionality eventually comes back?

> In #72279#1307458, @MTKing wrote: > when i try to pick "Sample Materials" or "Templates" from "Select a library" > That is not the issue mentioned here. This issue is that once a material has loaded, it freezes the EEVEE render engine, but not Cycles. The problem you describe is happening earlier in the process. Note that while this library loading has always taken a moment or two for me (especially on weaker personal computers), it never permanently froze the program. Have you actually waited a minute or two to see if functionality eventually comes back?

In #72279#1307546, @zargul wrote:

In #72279#1307458, @MTKing wrote:
when i try to pick "Sample Materials" or "Templates" from "Select a library"

That is not the issue mentioned here. This issue is that once a material has loaded, it freezes the EEVEE render engine, but not Cycles. The problem you describe is happening earlier in the process.

Note that while this library loading has always taken a moment or two for me (especially on weaker personal computers), it never permanently froze the program. Have you actually waited a minute or two to see if functionality eventually comes back?

Yes i know i just posted this message on multiple reports that discuss Material Library VX crashes not knowing which is the most active to get noticed.

It almost always used to load for me instantly or at least too little of a delay for me to notice, but now it's taking minutes, and yes i did let it run for a bit because i didn't want to lose my unsaved progress, and it didn't come back

> In #72279#1307546, @zargul wrote: >> In #72279#1307458, @MTKing wrote: >> when i try to pick "Sample Materials" or "Templates" from "Select a library" >> > > That is not the issue mentioned here. This issue is that once a material has loaded, it freezes the EEVEE render engine, but not Cycles. The problem you describe is happening earlier in the process. > > Note that while this library loading has always taken a moment or two for me (especially on weaker personal computers), it never permanently froze the program. Have you actually waited a minute or two to see if functionality eventually comes back? Yes i know i just posted this message on multiple reports that discuss Material Library VX crashes not knowing which is the most active to get noticed. It almost always used to load for me instantly or at least too little of a delay for me to notice, but now it's taking minutes, and yes i did let it run for a bit because i didn't want to lose my unsaved progress, and it didn't come back

In #72279#1307646, @MTKing wrote

Yes i know i just posted this message on multiple reports that discuss Material Library VX crashes not knowing which is the most active to get noticed.

That’s just spam. Create your own report per site rules and proper operation.

> In #72279#1307646, @MTKing wrote > > Yes i know i just posted this message on multiple reports that discuss Material Library VX crashes not knowing which is the most active to get noticed. > That’s just spam. Create your own report per site rules and proper operation.

How exactly is it spam if I'm trying to help solving the problem by Posting on related topics? Wouldn't it be spam if you have 600 Material VX Similar Crash reports? But sure have it your way

How exactly is it spam if I'm trying to help solving the problem by Posting on related topics? Wouldn't it be spam if you have 600 Material VX Similar Crash reports? But sure have it your way

In #72279#1307662, @MTKing wrote:
How exactly is it spam if I'm trying to help solving the problem by Posting on related topics? Wouldn't it be spam if you have 600 Material VX Similar Crash reports? But sure have it your way

It’s spam because this is a separate issue that you are experiencing, and as far as you know you are experiencing it uniquely. Report it as its own bug.

> In #72279#1307662, @MTKing wrote: > How exactly is it spam if I'm trying to help solving the problem by Posting on related topics? Wouldn't it be spam if you have 600 Material VX Similar Crash reports? But sure have it your way It’s spam because this is a separate issue that you are experiencing, and as far as you know you are experiencing it uniquely. Report it as its own bug.
Philipp Oeser removed the
Interest
EEVEE & Viewport
label 2023-02-09 15:15:15 +01: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
7 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#72279
No description provided.