objects rendered black on repeated CUDA renders with 'persistent images' #85703

Closed
opened 2021-02-16 17:15:52 +01:00 by Chris Eveleigh · 6 comments

System Information
Operating system: linux
Graphics card: RTX 2060

Blender Version
Broken: 2.93.0-7a608f88a713
Worked: 2.91.2

Short description of error
with "persistent images" selected, subsequent renders show all objects as black in Optix or CUDA cycles renders.

Exact steps for others to reproduce the error
open blender with default cube.
select cycles render engine.
select GPU device (in prefs make sure CUDA or Optix is selected).
in 'perfomance' select 'persistent images'.
F12 to render - succeeds.
F12 to render again produces a black cube.

**System Information** Operating system: linux Graphics card: RTX 2060 **Blender Version** Broken: 2.93.0-7a608f88a713 Worked: 2.91.2 **Short description of error** with "persistent images" selected, subsequent renders show all objects as black in Optix or CUDA cycles renders. **Exact steps for others to reproduce the error** open blender with default cube. select cycles render engine. select GPU device (in prefs make sure CUDA or Optix is selected). in 'perfomance' select 'persistent images'. F12 to render - succeeds. F12 to render again produces a black cube.
Author

Added subscriber: @whyohme

Added subscriber: @whyohme
Author

in a more complex scene, comparing cycles debug output between a first and second render, these three lines are missing for the failed render:


[device_cuda_impl.cpp:885] Buffer allocate: __tri_shader, 882,888 bytes. (862.20K) in device memory
...
[device_cuda_impl.cpp:885] Buffer allocate: __tex_image_float4_014, 8,388,608 bytes. (8.00M) in device memory
[device_cuda_impl.cpp:885] Buffer allocate: __tex_image_byte4_015, 16,777,216 bytes. (16.00M) in device memory
in a more complex scene, comparing cycles debug output between a first and second render, these three lines are missing for the failed render: ``` [device_cuda_impl.cpp:885] Buffer allocate: __tri_shader, 882,888 bytes. (862.20K) in device memory ... [device_cuda_impl.cpp:885] Buffer allocate: __tex_image_float4_014, 8,388,608 bytes. (8.00M) in device memory [device_cuda_impl.cpp:885] Buffer allocate: __tex_image_byte4_015, 16,777,216 bytes. (16.00M) in device memory ```
Chris Eveleigh changed title from black objects on repeated Optix renders with 'persistent images' to objects rendered black on repeated CUDA renders with 'persistent images' 2021-02-17 09:05:22 +01:00
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Philipp Oeser self-assigned this 2021-03-10 13:02:27 +01:00
Member

I could reproduce in 7a608f88a7, but in 8618c4159c, this seems fine.

**System Information**
Operating system: Linux-5.10.19-200.fc33.x86_64-x86_64-with-glibc2.32 64 Bits
Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 455.45.01
version: 2.93.0 Alpha, branch: master, commit date: 2021-03-06 16:54, hash: `rB8618c4159c7b`

So please try a fresh 2.93 build from https://builder.blender.org/download/

I have not hunted down the exact commit that fixed this, but will close as resolved.
(feel free to comment again though if issues persist in a fresh 2.93 build - we can always reopen in such case)

I could reproduce in 7a608f88a7, but in 8618c4159c, this seems fine. ``` **System Information** Operating system: Linux-5.10.19-200.fc33.x86_64-x86_64-with-glibc2.32 64 Bits Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 455.45.01 version: 2.93.0 Alpha, branch: master, commit date: 2021-03-06 16:54, hash: `rB8618c4159c7b` ``` So please try a fresh 2.93 build from https://builder.blender.org/download/ I have not hunted down the exact commit that fixed this, but will close as resolved. (feel free to comment again though if issues persist in a fresh 2.93 build - we can always reopen in such case)
Author

thanks so much for checking this and taking the time to reproduce as well! (sorry - I had been meaning to check newer builds myself). Can confirm 258b15da74 has the fix.

thanks so much for checking this and taking the time to reproduce as well! (sorry - I had been meaning to check newer builds myself). Can confirm 258b15da74 has the fix.
Sign in to join this conversation.
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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#85703
No description provided.