Regression: Blender 3.5 crashes when selecting either Viewport Shading Material and Rendered
#106278
Closed
opened
No Branch/Tag Specified
main
blender-v3.6-release
temp-sculpt-dyntopo-hive-alloc
temp-sculpt-dyntopo
asset-shelf
cycles-light-linking
tmp-usd-python-mtl
brush-assets-project
blender-v2.93-release
blender-v3.3-release
universal-scene-description
node-group-operators
asset-browser-frontend-split
temp-sculpt-attr-api
blender-v3.5-release
realtime-clock
sculpt-dev
gpencil-next
bevelv2
microfacet_hair
blender-projects-basics
principled-v2
v3.3.7
v2.93.18
v3.5.1
v3.3.6
v2.93.17
v3.5.0
v2.93.16
v3.3.5
v3.3.4
v2.93.15
v2.93.14
v3.3.3
v2.93.13
v2.93.12
v3.4.1
v3.3.2
v3.4.0
v3.3.1
v2.93.11
v3.3.0
v3.2.2
v2.93.10
v3.2.1
v3.2.0
v2.83.20
v2.93.9
v3.1.2
v3.1.1
v3.1.0
v2.83.19
v2.93.8
v3.0.1
v2.93.7
v3.0.0
v2.93.6
v2.93.5
v2.83.18
v2.93.4
v2.93.3
v2.83.17
v2.93.2
v2.93.1
v2.83.16
v2.93.0
v2.83.15
v2.83.14
v2.83.13
v2.92.0
v2.83.12
v2.91.2
v2.83.10
v2.91.0
v2.83.9
v2.83.8
v2.83.7
v2.90.1
v2.83.6.1
v2.83.6
v2.90.0
v2.83.5
v2.83.4
v2.83.3
v2.83.2
v2.83.1
v2.83
v2.82a
v2.82
v2.81a
v2.81
v2.80
v2.80-rc3
v2.80-rc2
v2.80-rc1
v2.79b
v2.79a
v2.79
v2.79-rc2
v2.79-rc1
v2.78c
v2.78b
v2.78a
v2.78
v2.78-rc2
v2.78-rc1
v2.77a
v2.77
v2.77-rc2
v2.77-rc1
v2.76b
v2.76a
v2.76
v2.76-rc3
v2.76-rc2
v2.76-rc1
v2.75a
v2.75
v2.75-rc2
v2.75-rc1
v2.74
v2.74-rc4
v2.74-rc3
v2.74-rc2
v2.74-rc1
v2.73a
v2.73
v2.73-rc1
v2.72b
2.72b
v2.72a
v2.72
v2.72-rc1
v2.71
v2.71-rc2
v2.71-rc1
v2.70a
v2.70
v2.70-rc2
v2.70-rc
v2.69
v2.68a
v2.68
v2.67b
v2.67a
v2.67
v2.66a
v2.66
v2.65a
v2.65
v2.64a
v2.64
v2.63a
v2.63
v2.61
v2.60a
v2.60
v2.59
v2.58a
v2.58
v2.57b
v2.57a
v2.57
v2.56a
v2.56
v2.55
v2.54
v2.53
v2.52
v2.51
v2.50
v2.49b
v2.49a
v2.49
v2.48a
v2.48
v2.47
v2.46
v2.45
v2.44
v2.43
v2.42a
v2.42
v2.41
v2.40
v2.37a
v2.37
v2.36
v2.35a
v2.35
v2.34
v2.33a
v2.33
v2.32
v2.31a
v2.31
v2.30
v2.28c
v2.28a
v2.28
v2.27
v2.26
v2.25
Labels
Clear labels
Issues relating to security: https://wiki.blender.org/wiki/Process/Vulnerability_Reports
Apply labels
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
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
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
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
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
Issues relating to security: https://wiki.blender.org/wiki/Process/Vulnerability_Reports
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 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
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
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
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
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
Milestone
Set milestone
Clear milestone
No items
No Milestone
Projects
Set Project
Clear projects
No project
Assignees
Assign users
Clear assignees
No Assignees
11 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#106278
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. It CANNOT be undone. Continue?
System Information
Operating system: Windows 10 home : Laptop Lenovo G50-80
Graphics card: Intel(R) HD Graphics 5500 4.4.0 - Build 20.19.15.5171
Blender Version
Broken: 3.5
Worked: (3.4.1)
Short description of error
Exact steps for others to reproduce the error
Just installed Blender 3.5. Everything is factory default; no Addons were imported over from blender 3.4.1.
Went to check viewport shading previews. Every time I clicked on Viewport Materiel or Rendered, Blender 3.5 crashes. This happens in Eevee and Cycles. No Blend file is loaded.This is from the Splash Screen, New session factory default.
Please open Blender's installation directory and double click on the
blender_debug_gpu.cmd
. This will start Blender in debug mode and create log files. Try to reproduce theerror again. Once it crashes or you close Blender manually the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them
to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located in
C:\Users\[your username]\AppData\Local\Temp\[project name].crash.txt
(or simply type%TEMP%
into the path bar of the Windows Explorer).@PratikPB2123. Thanks for letting me know how to create the crash files. I didn't see any when Blender 3.5 crashed....
The same thing happened in Blender 3.6 Alpha.
Hi, old GPU/GPU drivers are causing the crash here.
Upgrading GPU drivers might fix the crash: https://docs.blender.org/manual/en/dev/troubleshooting/gpu/windows/intel.html
I tried and it didn't work
Start blender from
blender_debug_gpu_glitchworkaround.cmd
batch file. See if that helps.Thanks for trying to help. Your suggestion blender_debug_gpu_glitchworkaround.cmd. didn’t work, only produce crash log error files.
I know my Laptop is not brand new anymore, but my Intel Driver is supported according to Blender System requirements, and is up to date.
There was an issue some time back with one of the Blender Builds, causing a weird distortion on the Cube when entering Edit Mode. There were quite a few bug reports, because it only affected intel drivers. Somebody forgot to add a line in the code, causing that to happen.
Blender 3.4.1 works just fine, so something has changed again making Blender 3.5 crash, just by selecting Viewport Material or Rendered.
take look at mine
It's happening for me on older versions of Blender too. It will either get killed or just hang, but with similar debug info. It seems to have something to do with CUEW and HIPEW initialization failing, but have no idea what that means. As it's not our drivers, perhaps it's OpenGL or another app that has been installed recently. I recently installed Bluestacks (Android emulator)—either of you done that?
@Edmund-Wood . I haven't installed Bluestacks (Android emulator).
My OpenGL is 4.4
Blender 3.4.1 works perfectly. Something has changed in Blender 3.5 making the intel drivers we have installed not work properly.
@PratikPB2123 . I noticed a new feature in Blender 3.6 Alpha. The N-Panel has a scrolling feature, which is really good, beacuse you can see all the Addons Names.
I only checked Blender 3.6 Alpha to see if the Viewport Material, Rendered issue was still there, and it is.
If the new N-Panel feature is implemented in Blender 3.6 Alpha. Will that feature be in Blender 3.3LTS?
The reason I ask, because some of the Addons I have bought need Blender 3.4 to work. They can't run in the Blender 3.3LTS version.
The N-Panel needed a fix, and Blender 3.6 Alpha seems to have solved it. But it won't be in Blender 3.4 because it's not LTS. Is that how Blender LTS works? new features added?
Sorry to go off topic, but right now the N-Panel scrolling feature is really needed, as the Addons are all bunched up and squashed.
having facing and shareds issue too blender just crashes #106377
I don't have same hardware to verify/investigate the problem but it appears to be a valid crash report since multiple users are affected by this.
Perhaps the recent changes in shader code for metal support has introduced the issue.
Will raise the priority for now.
cc @fclem
cc @Jeroen-Bakker
Depends on commit. Bigger changes and new features sometimes introduces newer issues so they are not backported to LTS. I'll check which commit has implemented the scrolling feature.
Lets halt the discussion here :)
Blender 3.5 crashes when selecting either Viewport Shading Material and Renderedto Regression: Blender 3.5 crashes when selecting either Viewport Shading Material and RenderedI installed 3.3 and it works fine, the older ones no longer matter now and will uninstall.
Installed 3.5 on another computer and crashes the same upon opening material properties.
cant install version 3.3 from steam
I am currently building a system to try to replicate the issue. I have found a system, but doesn't have windows installed so it might take some time to get it reproducable.
Sorry for my late answer! ... For your information, I loaded the 3.4 version to see if I have the same issue. I can confirm that 3.4 version is running well on my computer
@John-Valley thanks for the information.
Looking into the code it might be related to the next part.
In case the world materials cannot be compiled the grp might still be invalid and isn't taken into account in this part.
Some questions to check when I have a system:
Many different questions to look into.
I am not able to reproduce the issue due to not having access to a system with a HD5500 series iGPU.
Looking at some reports https://projects.blender.org/attachments/4707422e-062f-44ee-91d2-75ceedf4e726 shows that unrolling macros isn't working on this platform. @fclem what do you think this could be?
Can someone download https://builder.blender.org/download/patch/PR106535/ install it and check if it runs correctly. When it doesn't please attach the debug_output from this version in order to see if we are on the right track.
NOTE: that this is Blender 3.6. After the issue is fixed it will be backported to 3.5.1
@Jeroen-Bakker
I ran the Blender 3.6 Build in normal mode first, it crashed as before, so ran in blender_debug_gpu and blender_debug_gpu_glitchworkaround.
Thanks, I will have another try!
There is a new build available at https://builder.blender.org/download/patch/PR106535/
Please try again and when failing attache the debug output. Thanks a lot!
Ok, seems there are no macro errors anymore, but somehow it is complaining about an illegal character. '`' To my knowledge we use this all the time. not sure why it is now failing. Anyhow will patch the shader for the next try!
I found a possible cause of the next issue. Can someone test again? New version is available at https://builder.blender.org/download/patch/PR106535/
I am signing off for today and will be back on Thursday to continue to work on this issue.
@Jeroen-Bakker. This version is working! I have clicked on Viewport Material and Rendered, and also the Material Properties Tab, No Crashes!
Can other users test and confirm!
also big thanks to all of you for reporting and testing! I will wait for some more feedback and if everything is fine commit it to 3.6 and 3.5
@Jeroen-Bakker The first try was with No Addons imported over from Blender 3.4.1. Factory default.
The second try which I just done now, with Addons imported from Blender 3.4.1, and my personal settings. No crashes. I have quite a few Addons.
Just to add. Tested in Cycles as well, no crashes. Cycles feels quicker!
Yep, it looks like you've fixed it. No problems here. Thank you.
Cherry-2 referenced this issue2023-04-05 07:01:17 +07:00
Hey Jeroen,
I also had a similar issue like yours. You just need to download this patch build and it seems like it works.( It solved my problem )
here - https://builder.blender.org/download/patch/PR106535/
download this file and test it.
This is blender 3.6 Alpha build, its not the final release but it may solve your issue.
I tested it and it works. There is no issue using it.
Have a nice day!
LOL @Cherry-2 yes I am the developer of that patch :-)
Jeroen Bakker referenced this issue2023-04-06 08:05:10 +07:00
Another positive. The patch works for me also. Thx.
3.6 fixes crash for me when picking viewport shading.
thanks this vesrion is working well i have reported simillar issue #106412 and its working for me :)
There is a chance that we have to revert this change as more users are reporting that since this change MacOS/AMD has major regressions. We try to fix this, but if we are only able to support one or the other....
@Jeroen-Bakker Do you mean the Blender 3.6 Alpha build you patched? And there's a possibility to go back as it was, in Blender 3.5
I thought it was for Windows users, using Intel Graphic drivers.
It’s a shame that there isn’t a check box in the System Preferences, to allow users to disable certain display features and use Blender 3.4 display settings.
Changes that are being made are not for specific platforms. They are for all platforms. Due to platform differences (bugs in drivers) we try to find solutions that work for all platforms. So adding this change created a bigger regression on MacOS/AMD platform.
Adding a checkbox doesn't work as that might require two different versions of Eevee. Meaning two times the effort in support or adding new features. The fix of this patch is so low level that it can impact many things.
That checkbox would therefore be the same as installing Blender 3.4. I will have access to a system this morning and will try to find a solution that will work on both platforms. If I am not able to find it we might need to make a hard decision on platform support.
Would like your help on testing the eventual fix so we know for sure it works on your system as well.
When the builds are available can anyone check https://builder.blender.org/download/patch/PR106887/
@Jeroen-Bakker
This build is working, not sure if it's altered yet. Just letting you know.
I was looking at the date and time. April 13, 10:42:25 106887 zip 294.81MB
Thanks a lot. Seems we have found a winner.
@Jeroen-Bakker
That's Great News! Glad I could help testing! :)
I tested again with my personals settings and Addons, and they're working as well.
Tried in Cycles, that's working too. Not sure what you Guys are doing, but Cycles feels faster than the last build I tried. My CPU doesn't like it LOL, but I know that from before, so not an issue. Nice Job on this Blender 3.6 Alpha Build.