Page MenuHome

Regression: Freeze when switching to material preview or render view
Closed, ResolvedPublic

Description

System Information
Operating system: Linux-5.17.4-xanmod1-1-x86_64-with-glibc2.35 64 Bits
Graphics card: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 510.60.02

Blender Version
Broken: version: 3.2.0 Alpha, branch: master, commit date: 2022-04-27 23:53, hash: rB8399375098fa
Worked: not sure

Not bisected but appears to be caused by rB9c82c00b3280: GPUMaterial: Rework the deferred compilation to not use double locks

Short description of error
started blender and turned to eevee shading and it freezes. nothing can click anymore.
found out its because my saved startup file didnt have material on default cube what causes it. so i deleted startup.blend file in config folder and started and eevee shading works again.
i think its bug because what if people dont want have material on default cube on startup file

Steps to Reproduce

  • Open attached file
  • Switch to material preview or render view

Event Timeline

Pratik Borhade (PratikPB2123) changed the task status from Needs Triage to Needs Information from User.Apr 28 2022, 8:02 PM

Thanks for the report.

found out its because my saved startup file didnt have material on default cube

I followed your steps and changed the startup file. I did not see any freeze with the new startup file after switching to viewport rendering
Can you confirm the issue with the file I've attached? Do you still have your old startup file? Can you upload that?

I can reproduce this:

  • Open the 2D Animation template
  • Go to object mode and add a mesh, e.g. Monkey
  • Blender freezes

The issue seems to be in rB9c82c00b32802a88b71c22929e9660f7ba4023a8. There is a while loop with a sleep that keeps looping forever.

Thomas Dinges (dingto) renamed this task from eevee freeze without having material on startup file to EEVEE freeze without having material on startup file.Apr 29 2022, 3:29 PM
Thomas Dinges (dingto) triaged this task as High priority.
Pratik Borhade (PratikPB2123) renamed this task from EEVEE freeze without having material on startup file to Regression: Freeze when switching to material preview or render view.Apr 29 2022, 3:30 PM
Pratik Borhade (PratikPB2123) lowered the priority of this task from High to Normal.
Pratik Borhade (PratikPB2123) triaged this task as High priority.
Pratik Borhade (PratikPB2123) updated the task description. (Show Details)