Page MenuHome

Segmentation Fault when rendering with Cycles on 2.92
Needs Triage, NormalPublic

Description

System Information
Operating system: Linux Mint 20.1 Cinnamon, Linux-5.4.0-72-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: AMD Radeon RX 570 Series ATI Technologies Inc. 4.5.14735 Core Profile Context 21.10 (Driver: amdgpu 21.10)

Blender Version
Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: rB02948a2cab44
Worked: 2.83.13 LTS, 2.83.14-d35974cd870b, (all previous LTS at this date)

Short description of error
Blender crashes with "Segmentation Fault (core dumped)" when rendering using Cycles and GPU Rendering

Exact steps for others to reproduce the error

  1. Open Blender
  2. Go to "Render Properties" and switch the engine to Cycles
  3. Switch the "Device" option to GPU Compute
  4. Make sure your graphics card is selected and enabled on Preferences > System
  5. Switch to Viewport Shading or start a normal rendering of the actual default cube
  6. After a couple minutes while compiling the render kernels, Blender should crash with a Segmentation Fault on console

Below i'll leave the blender.crash.txt generated:

And the console output (with the flags --debug and --debug-cycles):

And my system-info.txt:

What i have tried

  • Upgrading and downgrading my GPU Driver
  • Clearing cycles cache ($HOME/.cache/cycles) before rendering
  • Switching to Experimental on Cycles options under the Render Properties
  • Running as root

CPU Rendering with Cycles and EEVEE runs fine without problems, only when using GPU Rendering problems start to appear.
All LTS versions of Blender at this date runs fine without these problems at all.
I don't have a Windows PC with me right now for test, might update in a while when i have access to it.

On Blender 2.93 and 3.0.0 this bug doesn't take effect, but there's a new different bug by doing the same steps on those versions which you can see here

Event Timeline

Francisco Medina (PANCHO7532) renamed this task from Segmentation Fault when rendering with Cycles on 2.92+ to Segmentation Fault when rendering with Cycles on 2.92.Thu, Apr 22, 8:50 PM
Francisco Medina (PANCHO7532) updated the task description. (Show Details)

I am also getting a segmentation fault when using cycles, however under CPU rendering not GPU. Running fedora 33 (kernel 5.11.13-200.fc33.x86_64) on an Intel® Core™ i5-8350U CPU under wayland.

System Information
Operating system: Linux-5.12.1-custom-x86_64-AMD_Ryzen_5_5600X_6-Core_Processor-with-slackware-14.2 64 Bits
Graphics card: AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.40.0, 5.12.1-custom, LLVM 11.1.0) AMD 4.6 (Core Profile) Mesa 21.0.3

Blender Version
Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: rB02948a2cab44
Worked: (newest version of Blender that worked as expected)

Short description of error
I have the same issue.

./blender --debug-gpu
Read prefs: /home/sanjuro/.config/blender/2.92/config/userpref.blend
Cycles: compiling OpenCL program background...
Cycles: compiling OpenCL program background...
Writing: /tmp/blender.crash.txt
Segmentation fault