Cycles Render - Textures Disappear then Crashes the Render #89747
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#89747
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
Blender Version
Broken: 2.93
Broken: 3.1
Broken: 3.2
Short description of error
If I render this scene, the textures eventually start disappearing and turning pink then it crashes.
At first it renders the output just fine but eventually textures start disappearing then it crashes
Exact steps for others to reproduce the error
Render the blend file above as an animation and it should start producing errors and crash at around frame 240.
ErrorTestRoom_Smallester.rar
One thing I noticed was this in the console (on every frame):
That message is the same as in #95651 (GPU error (Invalid graphics context in cuGraphicsUnregisterResource)), these might have the same underlying root cause, guess #render_cycles devs will need to check that
Then on the last frames rendered I get this:
Original report
Blend File and Textures Here (650MB)
How it's supposed to render
In the last few frames it renders with glitched out textures:
https://i.imgur.com/vNoCk39.png
https://i.imgur.com/fj1tqif.png
https://i.imgur.com/xKdk8vA.png
https://i.imgur.com/ErTXneV.png
Then it crashes.
Full render output here
Smaller File Size:
Smaller size file sample (180MB)
Even with less textures the error still happens.
This is how the render is supposed to look
Then last few frames it renders:
https://i.imgur.com/X3nhTh5.png
https://i.imgur.com/4UFJUYH.png
https://i.imgur.com/8v5Fvgc.png
https://i.imgur.com/LTfk5hY.png
Full render output here
Even more smaller rar file samples:
74MB
28MB
13MB
I won't repeat the description above, essentially same results even with less and less textures involved in the blend file. First 2 crash in the 80-90 frame range, smallest (13MB) crashes at around frame 130. No errors occur when there are no textures.
Exact steps for others to reproduce the error
Render the blend file above as an animation and it should start producing errors and crash at around frame 80-90.
Extra Notes
I've tried both OPTIX and CUDA and GPU only and GPU+CPU rendering and it produces the same error. CPU only rendering produces same error.
Rendering the blend in 2.92 produces the same error.
This does not happen when rendered in Eevee.
If I start the render in the frames that it glitches out on it renders the frame without error.
Rendering with "Persistent Data" option on fixes the issue but I'm not sure if it's a real fix.
Added subscriber: @Fuegonasus
Added subscriber: @iss
Changed status from 'Needs Triage' to: 'Needs User Info'
Thank you for report, but provided sample file is very big. Please simplify it as much as possible by removing objects not needed to reproduce the issue.
It used to be a lot bigger because I thought reducing the number of objects and textures would fix the issue but it didn't. I will try to make it smaller and update the report.
Changed status from 'Needs User Info' to: 'Needs Triage'
Changed status from 'Needs Triage' to: 'Needs User Info'
I am unable to reproduce this issue.
Please upload sample fle directly to this site. Does this issue happen when you render with CPU only? I can't check GPU rendering.
Changed status from 'Needs User Info' to: 'Needs Triage'
Added a smaller size.
Uploaded the smallest file to the site. Haven't tried CPU only, will try it the next time I can.
CPU only rendering produces the same error.
Added subscriber: @lichtwerk
Changed status from 'Needs Triage' to: 'Confirmed'
Sorry this has slipped under the radar for so long.
I have given
ErrorTestRoom_Smallester.rar
(some textures are missing here, but I assume this is intentional?) a try in 3.2:This rendered 243 frames, then indeed crashed (GPU memory and system memory consumption was pretty much stable throughout)
One thing I noticed was this in the console (on every frame):
That message is the same as in #95651 (GPU error (Invalid graphics context in cuGraphicsUnregisterResource)), these might have the same underlying root cause, guess #render_cycles devs will need to check
Then on the last frames rendered I get this:
Added subscriber: @juang3d
This seems to be the same error I reported here:
https://developer.blender.org/T95651
The example scene I have there is way smaller.
I suspect is related to the Nvidia driver version, with 510 on Linux and 511 on windows this happens, but I had no opportunity to test it with older drivers
P.S.: sorry you already mentioned it, I missed that, I’m on the phone
We now have #95837 (Regression: GPU memory accumulation in Cycles render) with the same error message. Not sure if this is exactly the same, but I've made that one High priority (since it also shows that memory is not freed on the GPU)
Strange thing in this report is that I think I watched GPU memory (and I think it was stable...)
This issue was referenced by
e4b7d52fe4
Changed status from 'Confirmed' to: 'Resolved'