Cycles GPU render crashes when using Subsurface Scattering shader #80283
Labels
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
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Overlay
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
Interest
Workbench
Interest: X11
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
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#80283
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: (Linux Mint 19.3) Linux-5.4.0-42-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: AMD Radeon RX 5700 XT (NAVI10, DRM 3.38.0, 5.4.0-42-generic, LLVM 10.0.0) X.Org 4.6 (Core Profile) Mesa 20.0.8
Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-08-30 21:49, hash:
429afe0c62
Also confirmed not to work with 2.83.5
Worked: (newest version of Blender that worked as expected)
Short description of error
Rendering with Cycles GPU makes the computer "halt", i.e. the screen freezes (though mouse movement works) and I can't switch to a login terminal (CTRL+ALT+F[1,2,3,...]).
Seems to be caused by the Subsurface Scattering shader, see logs.
When rendering, it says "Loading render kernels" and after a while it switches to "Compiling render kernels". After a couple moments, the computer stops responding.
Works fine with Cycles CPU.
Exact steps for others to reproduce the error
Delete the Cycles cache (~/.cache/cycles). (This may not be necessary, but I've always done this before testing)
Create a fresh project and select the cube.
Go to the Shader tab, delete the default Principled BSDF shader.
Add a Subsurface Scattering shader (and connect it to the Material Output).
Switch from Eevees to Cycles GPU.
Press F12 to render.
system-info.txt
These logs were generated by running
./blender > <file>.log 2>&1
The
default.log
is the output of rendering the default cube.bug.log
is produced by following the above steps.default.log
bug.log
Added subscriber: @weerox
Added subscriber: @gabe2252
I've been generating some more log files using
./blender -b <args> <file> -f 1 > <logfile> 2>&1
.<file>
is the path to either of these files, wherebug.blend
is generated by following the steps to reproduce the error as stated in the description.default.blend
is the default cube with rendering set to Cycles GPU.bug.blend
default.blend
<args>
can be 4 different things.--log "*" --log-level -1
--debug
--debug-all
Here are the log files that was generated.
bug.1.log
bug.2.log
bug.3.log
bug.4.log
default.1.log
default.2.log
default.3.log
default.4.log
I will compare these logs and see if I can find anything that seems relevant.
After looking through the log files the only thing that stands out is that rendering stops at tile 74/510 in all 4 logs.
To figure out which tile it was that caused the problem I changed the Tile Order to Left to Right and rendered
bug.blend
again. I expected it to crash on another tile this time, but it didn't, it froze on tile 74/510 again and the 74th tile (using Left to Right order) just contains the background.I did some more experiments and managed to get into a terminal (CTRL+ALT+F[1,2,3,...]) after Blender crashed but before the computer froze completely. When trying to log in, the kernel sent out messages about
amdgpu
page faults, so this is probably a driver problem and not a problem with Blender. Though I still think it is peculiar that it stops at tile 74 irregardless of tile order.Here is the
kern.log
output concerningamdgpu
, if anyone is interested.amdgpu.log
Changed status from 'Needs Triage' to: 'Archived'
Yes, this was a driver problem, downgraded from
amdgpu-pro 20.30
toamdgpu-pro 20.10
and now it works great!Sweet! Can you test if this bug is present on that driver? https://developer.blender.org/T79724 It seems to be another 5700xt driver issue.
Woops, that freezes my computer too, using the older version of the driver...