Page MenuHome

Cycles X crashes if MESA_NO_ERROR is enabled
Closed, ResolvedPublic

Description

System Information
Operating system: Clear Linux OS 35050
Graphics card: Intel(R) UHD Graphics 620 (KBL GT2)

Blender Version
Broken: ca9ece306400 (blender-3.0.0-alpha+cycles-x.ca9ece306400-linux.x86_64-release)
Worked: a1c65748c40d (blender-3.0.0-alpha+master.a1c65748c40d-linux.x86_64-release)

Short description of error
If environmental variable MESA_NO_ERROR is set to 1, then Cycles X crashes right after starting the render. Unsetting this variable or setting it to 0 fixes this issue.

This does not occur on pre-Cycles X builds.
This occurs even with blender-softwaregl.

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).

  1. Run blender with MESA_NO_ERROR=1
MESA_NO_ERROR=1 ./blender
  1. Set renderer to Cycles
  2. Either render in viewport or using F12
  3. Blender crashes

Below I'm appending blender.crash.txt that was created after the crash.