Page MenuHome

Eevee: Crash upon expanding material preview
Confirmed, NormalPublicBUG

Description

System Information
Operating system: Darwin-18.7.0-x86_64-i386-64bit 64 Bits
Graphics card: Intel(R) HD Graphics 6000 Intel Inc. 4.1 INTEL-12.10.12

Blender Version
Broken: version: 2.83 (sub 6), branch: pseudomaster, commit date: 2020-03-03 14:06, hash: rBdcfc399066d4. This is same as rBed29ff944a7381ba893d186f3c6095801c51d799 in master but with little changes in CMakeLists.txt for ccache.

Short description of error
Expanding this Preview hangs the system, & returns

GPU hang occurred, msgtracer returned -1
GPU hang occurred, msgtracer returned -1
(lldb)

Exact steps for others to reproduce the error
open the file, click on preview to open it.

notes


Event Timeline

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Confirmed.Mar 3 2020, 3:57 PM
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".

It is also good to inform if this is a regression and which commit introduced this problem.

I can reproduce this crash with Intel Iris Graphics 6000 on macOS 10.15.3.

I'm not sure if this is a regression or not, unlike the comment in T74174#882160 seems to imply, going back to rB7e7c9276022f44495d9c7f9b3e09a2bd592aeab5 does not stop the crash.

So the next step would be to either figure out which commit broke this, or to simplify the .blend file and shader nodes to isolate the problem.

I will start bisecting in 2 hrs... and as I had said in the other report, it’s not my file & I cannot don’t know what to edit either. Tagging @DrawingistMushashi for that.

Will also verify once again if log2 commit is working or not.

Ankit Meel (ankitm) added a comment.EditedMar 4 2020, 5:29 PM
  • So I jumped 4-5 days each test, reached 2.82 & it's still crashing. Do I check further?
  • @Deckerd Rose (DrawingistMusashi) could you simplify the blend file, remove extraneous elements please ? (keep material properties open, preview closed while saving)
  • Here's the crash report, if clicking links seems terrible :p
Application Specific Information:
abort() called

Application Specific Signatures:
Graphics hardware encountered an error and was reset: 0x00000813

was browsing GitHub with "application specific signatures"..
https://github.com/buddhi1980/mandelbulber2/issues/538#issuecomment-436699732 see this & two below it.

.. after your latest comment now I'm sure that it is GPU timeout problem. When DE_factor is low and detail level high, there is quite long time to render one tile of image (to process one single job (workgroup) by GPU). Now there is needed to figure out how to disable GPU watchdog on MacOS. On Linux watchdog is disabled by default. On Windows we are disabling it by adding registry entry using regedit.

I was thinking that it is known issue/ expected behaviour but here it goes: when changing viewport shading to material, there is a momentary freeze, also when on default cube, we open this preview in material properties. it seems GPU never recovers from it, in this particular file.

I tried opening a file with default cube, Eevee render, from the build bot on February 24th, a322b43e3d08 , and did still get a crash when attempting to navigate to or change material properties tab. Testing the latest build, same situation, no crash. All settings should be on factory default for both test.

Same results when testing my example file, and it even seems that the current build fixed something I almost brought up about weird latency issues for the freestyle render pass.

@Ankit Meel (ankitm), totally up to you if you want to keep debugging this, but if you were then:

  • So I jumped 4-5 days each test, reached 2.82 & it's still crashing. Do I check further?

It's probably easiest to test the 2.80 and 2.81 releases downloaded from blender.org.

I will start bisecting in 2 hrs... and as I had said in the other report, it’s not my file & I cannot don’t know what to edit either. Tagging @DrawingistMushashi for that.

What I would do is remove as much as possible until the crash no longer happens. In this particular case, that be removing shader nodes until we find that there is a particular shader node that is problematic, or that things simplify start failing at a certain amount of shader nodes.

Ankit Meel (ankitm) added a comment.EditedMar 5 2020, 7:41 PM


Broken working rather: version: 2.80 (sub 75), branch: master, commit date: 2019-07-24 14:22, hash: rB507ffee6e1f4
off for bisecting

T74547 Image texture with this specific configuration cause a crash in EEVEE or material preview

@Ankit Meel (ankitm) I don't think T74547 is related.
For this report, it looks like the shader is taking a long time to compile and this could mean the drivers choke on it. Can you try simplifying the shader?

I could not reproduce the crash and asan does not find anything anormal.

Ankit Meel (ankitm) added a comment.EditedMar 31 2020, 10:00 AM

Just found, also happens when clicking this icon to get a list of materials.

Can you try simplifying the shader?

will do .

b555b8dedce058985bfe8c544c8c46ba4821bc1a

Ankit Meel (ankitm) added a comment.EditedMar 31 2020, 10:46 AM
  • Original: hangs

  • removing the two top links, still hangs

  • removing color ramp from between, doesn't hang.