Cycles: CUDA takes ages to render what takes seconds on CPU and OPTIX (it also needs way more RAM) #93089
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#93089
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: Windows-11-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.65
Blender Version
Broken: version: 3.0.1, branch: master, commit date: 2022-01-25 17:19, hash:
dc2d180181
, 2.93, 2.92Worked: I think it was always the case
Short description of error
The dino demo file (Splash Blender 2.92 https://cloud.blender.org/p/gallery/60337d495677e942564cce76) takes with CUDA (BVH2) way longer to build the scene than CPU (Embree).
It also needs a lot more RAM.
Ca. 100GB of RAM
Exact steps for others to reproduce the error
Added subscriber: @Raimund58
#98203 was marked as duplicate of this issue
Added subscriber: @SteffenD
Added subscriber: @leesonw
Currently looking into the Optix acceleration code and from what I can tell when it is compacting the accel structure the original structure is never released which may be the cause of this issue. However, this may have something to do with dynamic updates but I am not sure yet.
Optix, did free the accel after all and this is not a regression.
Cycles: CUDA takes ages to render what takes seconds on CPU and OPTIXto Cycles: CUDA takes ages to render what takes seconds on CPU and OPTIX (it also needs way more RAM)Added subscriber: @iss
Changed status from 'Needs Triage' to: 'Needs User Info'
@Raimund58 Is it possible that your system started swapping, because of RAM? Not sure how much RAM do you have. Here I did not pay attention and it crashed my system...
Checked with simplified scene I get render times 1:26 with CUDA and 0:31 with optix
I have 32 GB of RAM.
Swap is on a SSD (Samsung EVO Plus 2TB)
blender_system_info.txt
Here is the log:
log.txt
Blender used around 100GB of RAM. Maybe less, maybe more.
Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Thanks for info. So prolonged rendering time seems to be result of swapping and not unexpected. But I assume you think this high memory usage is bug in first place correct?
@leesonw Do you think this memory usage is normal?
Added subscriber: @brecht
I don't know what is happening. But I wanted to note it and maybe get a dev to investigate a bit.
Not sure if you already know, but @leesonw is sadly not longer working for the Blender Foundation.
I am pretty sure that @brecht can give us quite fast an answer on what is happening here.
Added subscribers: @walt.talley, @lichtwerk
Is this still an issue in Blender 4.0? @Raimund58
Sure, still an issue.
Cycles stats via
--debug-cycles
and--cycles-print-stats
CPU:
CUDA
Notice the time and RAM.
I am not able to test Optix on this machine because I do not have enough VRAM.