Shader compilation freeze Blender on Intel Arc770 #111556
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser Project (Legacy)
Interest
Asset System
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#111556
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows 10
Graphics card: Intel Arc770 16Gb (Resizable Bar enabled)
Blender Version
3.6.0
Date: 2023-06-27 08:08
Hash:
c7fc78b81e
Branch: blender-v3.6-release
Intel driver version
31.0.101.4665
Released 11.08.2023 (latest on moment of this post)
Short description of error
All modes of viewport on new scene (default, for example) works fine: solid, material preview, display render. But, if I open my scene, works only 1 and 3 option. Building a shaders freezes Blender. It's around 800+ materials on scene, and GeForce cards works fine with that. The video card works at full power, with enabled Resizable Bar function. Cycles render (oneAPI) also works fine, but i can't switch the viewport on material preview. Blender freezes when shaders start compile.
Can you please share the .blend file you're having issues with so we can investigate it?
Only in private mode, because this is working file, not for public release.
@Raid9000 We need some kind of simple blend. file just to reproduce the bug.
Okay, I just ask can I give a non-public link or not.
@Raid9000 , you can provide a private link to people if need be. However, it typically interfers with the triaging and bug fixing process.
It's preferred if you share the file publicly, or simplify the file to only what's necessary to reproduce the bug then share it publicly.
Here's an example of how you might simplify the file:
For reference, the triaging and bug fixing process typically goes like this:
I am a volunteer, and I'm helping out with the triaging team. I have an Intel Arc A750. If you give me the file, I can investigate it, confirm whether or not the issue happens on other Intel Arc GPUs, and potentially simplify the file to help a developer that wants to work on fixing it. And if the file can be highly simplified, I will share the simplified file here.
But since I'm not an experienced developer and do not have much knowledge in the EEVEE shader compilation code, I can not fix the issue. So after doing my tests, confirming whether or not he issue occurs, a developer with a Intel Arc GPU will come along and investigate the issue and then proceed to fix it or identify the exact cause.
It's up to you on how you want to handle this.
Not shure that simplifying is an option. This it an experimental line of videocards, so problems was expected. Scene itself is also experimental, I was try Blender as a level editor. So following conclusion about:
This option definently. Just because I have any clue what's can go wrong: if I delete whole meshes - no problems with shaders to see. It's can about scale of scene, or just in "broken" shader that was imported with objects.
Where I can send link?
Upd:
I just switched off and on back a visibility of collections in some sequence, so shaders built now (problem technically solved by itself). Strange.
Blender versions 3.6.2
e53e55951e
Windows 10 - update 19045.2965
Intel Software Component - 1.41.2021.121
Intel Arc driver - 31.0.101.4665
Also bug from this topic.
So is the issue resolved? Or is this just a temporary work around?
You can send me a link over here (After logging in with your Blender ID, there should be a message button on the upper right portion of the page): https://devtalk.blender.org/u/alaska/summary
Sometimes new/inactive users are unable to send private messages to people. If that's the case for you, you can share your devtalk profile page here and I'll send you a message.
The other option is with Blender chat. You should be able to find me under the same name (Alaska) in the link below. https://blender.chat/channel/render-cycles-module
Just click on my name and a little "bubble" will pop up with an option to direct message me.
I recieve PM from bot, but can't create one.
Chat falls into endless load.
Can you send me your profile on devtalk and I'll send you a private message and you should be able to respond to it.
Any updates here?
@Raid9000 @Alaska ? Otherwise we can close the report.
Sorry, I haven't received any messages. So we'll need to wait for @Raid9000
Mostly crash can be solved if I uncheck "Load UI" when open file that crashes. Because default viewport shading is a "Solid", when I switch to "Material Preview" all shaders builds at scratch, and on this stage I not see crashes yet. So I can conclude, that problem In shader cash probably, In shaders that was built on NVIDIA and saves into file in the NVIDIA-specified form, that can't be readed by Arc.
Compiled shaders are saved to the shader cache file managed by the GPU driver. They are not saved to the .blend file.
So the .blend file working fine when "load UI" is unchecked suggests there's something wrong with your UI setup in the file, potentially the UI combined with some Intel Arc feature.s Are you willing to share the .blend file with us?
Previously you said you wanted to share the file privately. Please let me know how you would like to share the file privately if you would still like to keep it private. E.G. Send me a private link in blender chat. Or I can contact you privately on devtalk or blender chat and send you a link to upload your file or something like that.
I can give a link privately , but I need some instruction for access to Blender chat. Previously I was can't, because I'm stuck on endless page loading.
If your file is less than 2GB in size, you can share it here. https://www.dropbox.com/request/y8rh6zO4OkJ1RHpoi4e7
If it's more than 2GB, then are you able to send me your devtalk profile page link? And I'l contact you there with an alternative way to share the file.
I'm not sure what's going on with Blender chat for you so I don't know how to fix it.
I am having the same issue with Blender 4.0.2. On an A380.
Compiling shaders, especially complex ones take a long time and freezes Blender until it's unusable or crashes. (Every time my cursor dissapears is a freeze)
Video Demonstration
Node Setup
Blend File: vending_machine_test.blend
Is this a Blender related problem or an Intel one? So I know where to report to.
This might be unrelated. But Cycles rendering also broke:
https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/issues/694 (Read until end)
@NicCrimson. Using the vending machine file you attached, I got these results:
Ryzen 5 5600 + AMD RX 7800XT on Windows: 71 second shader compilation time from a clean shader cache
Ryzen 5 5600 + Intel Arc A750 on Windows: 72 second shader compilation time from a clean shader cache
I would test my RTX 4090 to see how NVIDIA compares. But it's a bit of a hassle to get things setup for this test with that specific hardware setup with my current computer layout.
Based on the results above, it seems the shader compilation time between AMD and Intel are close to identical and there's nothing obviously wrong here.
As for the Blender freezing during shader compilation, and shader compilation taking a long time, these are expected at the moment. Complex materials (like the ones you use) take a long time to compile. And the way Blender is setup at the moment means Blender will freeze while compiling the shaders. I do not believe there is a issue here.
As for the Cycles rendering breaking, please file one report per bug. However based on the link provided, it seems to be fixed already.
@Raid9000 are you able to share the .blend file you're having issues with. I have included a dropbox link for you to privately share your file (if it's below 2GB): https://www.dropbox.com/request/y8rh6zO4OkJ1RHpoi4e7
If the file is bigger than 2GB, feel free to upload the file to a different service. Copy the link to that, past it in a .txt file, and upload the .txt file to Dropbox.
Sended.
@Raid9000 here are my observations with the file provided:
Ryzen 9 5950X + Nvidia RTX 4090: Shaders compile quickly.
Ryzen 5 5600 + AMD RX 7800 XT: Shaders compile quickly.
Ryzen 5 5600 + Intel Arc A750: Shaders compile quickly.
M1 Pro + M1 Pro GPU: Shaders compile quickly.
All of them had freezing issues during compilation. But nothing out of the ordinary for shader compilation.
I did want to confirm that I tested against a few versions of Blender:
3.6.0
3.6.8
4.0.2 (Crashes while opening the file on all platforms I tested - This is a different bug, and has already been fixed for future releases)
4.1.0 2024-02-12 20:16, hash:
d45175c919f3
System Information
Operating system: Windows-10-10.0.22631-SP0 64 Bits (This is Windows 11)
Graphics card: Intel(R) Arc(TM) A750 Graphics Intel 4.6.0 - Build 31.0.101.5194
I did want to bring up some points.
The file you uploaded is missing it's textures. This might influence the test. Can you please re-upload the file with textures included? You can upload the file to the same link as before https://www.dropbox.com/request/y8rh6zO4OkJ1RHpoi4e7. Same rules applys. If it's less than 2GB, upload it there. If it's more than 2GB, upload it somewhere else, and share the link to the file in the dropbox.
File -> External Data -> Pack Resources
then save the .blend file somewhere. Now all the textures will be included inside the .blend file you just saved.I also just wanted to confirm how I am supposed to test this bug report.
Material Preview
and waiting until all the shaders have compiled, then navigate around the viewport.What is the issue? Based on your report it seems to be: When switching to material preview, shaders will be compiled and Blender will freeze (forever?). Is this correct?
Have you tried updating to newer drivers? It has been a few months since you made the report and newer drivers may of fixed your issue.
It's possible you might have a configuration or add-on issue. Does loading Blender with factory settings help? The steps to do so are:
File -> Load Factory Settings
What CPU do you have?
Not relevant, because I tested separately, and also was same freezes. For now I don't see problems, at least for 3.6 Any new statistics will be available after migration on 4+ version.
Intel core i5 15400f
Does that mean the issue has gone away?
Seems like so.
I'll close this issue for now. If you encounter this issue again, feel free to create a new report.