OptiX Denoising does not work on multiple frames #114468

Closed
opened 2023-11-03 20:35:51 +01:00 by Lexi-3 · 11 comments

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 546.01

Blender Version
Broken: version: 3.6.5, branch: blender-v3.6-release, commit date: 2023-10-16 14:30, hash: cf1e1ed46b7e
Also does not work on 4.1 Alpha

Short description of error
Rendering an animation in cycles seems to only denoise the first few frames and after rendering a few hundred frames blender also crashes sometimes (inconsistent).
Even old projects that did not have that issue before are now affected by that.

Yes, OpenImageDenoiser seems to work, but OptiX was better in my opinion and I wish to be able to use it again for rendering.
It does work fine in the viewport.

So I don't quite know what is causing that issue, but it worked a few weeks ago.
All I did between then and now was installing the CUDA Toolkit, cuDNN and Python (uninstalling did not fix the issue).
I also tried updating my graphics driver, but that also did nothing.
Switching the Cycles render device to OptiX or CUDA does not fix the issue either.

Exact steps for others to reproduce the error

  • Open any blender file
  • Make sure OptiX is your denoiser for renders
  • Hit render animation and watch as it only denoises a few frames and saves noisy images

LowFPSObject.blend
LowFPSObject.crash.txt

**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 546.01 **Blender Version** Broken: version: 3.6.5, branch: blender-v3.6-release, commit date: 2023-10-16 14:30, hash: `cf1e1ed46b7e` Also does not work on 4.1 Alpha **Short description of error** Rendering an animation in cycles seems to only denoise the first few frames and after rendering a few hundred frames blender also crashes sometimes (inconsistent). Even old projects that did not have that issue before are now affected by that. Yes, OpenImageDenoiser seems to work, but OptiX was better in my opinion and I wish to be able to use it again for rendering. It does work fine in the viewport. So I don't quite know what is causing that issue, but it worked a few weeks ago. All I did between then and now was installing the CUDA Toolkit, cuDNN and Python (uninstalling did not fix the issue). I also tried updating my graphics driver, but that also did nothing. Switching the Cycles render device to OptiX or CUDA does not fix the issue either. **Exact steps for others to reproduce the error** - Open any blender file - Make sure OptiX is your denoiser for renders - Hit render animation and watch as it only denoises a few frames and saves noisy images [ LowFPSObject.blend](https://projects.blender.org/attachments/1aaae2de-adfa-42d3-97fd-09735d9efdd9) [LowFPSObject.crash.txt](https://projects.blender.org/attachments/b9c5f306-671f-4710-9369-7687143b6362)
Lexi-3 added the
Type
Report
Status
Needs Triage
Priority
Normal
labels 2023-11-03 20:35:52 +01:00
Iliya Katushenock added the
Interest
Render & Cycles
label 2023-11-04 10:50:37 +01:00

Hi, thanks for report, can you please provide example file or steps to reproduce that from scratch and default cube?

Hi, thanks for report, can you please provide example file or steps to reproduce that from scratch and default cube?
Author

I sure can provide a blend file, but as I stated in my post it affects all of my blender projects now.
Even the ones that worked perfectly before all that happened.

Steps I do to reproduce the issue are:

  • Open any blender file
  • Make sure OptiX is your denoiser for renders
  • Hit render animation and watch as it only denoises a few frames and saves noisy images

It now consistently crashes with the same error (attached) as before.
I am pretty sure that it has something to do with me installing the CUDA Toolkit and that most likely will work fine if you have not done that

I sure can provide a blend file, but as I stated in my post it affects all of my blender projects now. Even the ones that worked perfectly before all that happened. Steps I do to reproduce the issue are: - Open any blender file - Make sure OptiX is your denoiser for renders - Hit render animation and watch as it only denoises a few frames and saves noisy images It now consistently crashes with the same error (attached) as before. I am pretty sure that it has something to do with me installing the CUDA Toolkit and that most likely will work fine if you have not done that
Member

For crash, we already have a bug report: #114548
And I can confirm the noise on few intermediate frames

For crash, we already have a bug report: #114548 And I can confirm the noise on few intermediate frames
Member

So I don't quite know what is causing that issue, but it worked a few weeks ago.

Newer NVIDIA drivers? Because I was not able to redo the crash on older version (532)

> So I don't quite know what is causing that issue, but it worked a few weeks ago. Newer NVIDIA drivers? Because I was not able to redo the crash on older version (532)
Member

Raising priority for awareness.

Raising priority for awareness.
Pratik Borhade added
Priority
High
and removed
Priority
Normal
labels 2023-11-13 11:11:41 +01:00

I'm having the same problem on Linux so I don't think it's windows specific

Happens in Blender 4.0 and 3.x. In the viewport I see "Failed to create Optix denoiser"

  • NVIDIA Corporation GA102 [GeForce RTX 3080] (rev a1)
  • Debian 12
  • Blender installed via Flatpak
  • NVIDIA driver - NVIDIA-Linux-x86_64-545.29.02
I'm having the same problem on Linux so I don't think it's windows specific Happens in Blender 4.0 and 3.x. In the viewport I see "Failed to create Optix denoiser" - NVIDIA Corporation GA102 [GeForce RTX 3080] (rev a1) - Debian 12 - Blender installed via Flatpak - NVIDIA driver - NVIDIA-Linux-x86_64-545.29.02
Author

So I don't quite know what is causing that issue, but it worked a few weeks ago.

Newer NVIDIA drivers? Because I was not able to redo the crash on older version (532)

Yeah sorry for the late response. I tried downgrading to the same version (532.03) and that seemed to fix the issue.
I did render like 100-200 frames of an animation (that didn't work before) and every single frame is denoised.
Before downgrading, it only did like 1-10 frames denoised and then started saving noisy images.

So as of right now there are no more crashes with this version and also all frames are being denoised.
I will do a few more tests and if it starts crashing or saving noisy images again I'll let you know.

> > So I don't quite know what is causing that issue, but it worked a few weeks ago. > > Newer NVIDIA drivers? Because I was not able to redo the crash on older version (532) Yeah sorry for the late response. I tried downgrading to the same version (532.03) and that seemed to fix the issue. I did render like 100-200 frames of an animation (that didn't work before) and every single frame is denoised. Before downgrading, it only did like 1-10 frames denoised and then started saving noisy images. So as of right now there are no more crashes with this version and also all frames are being denoised. I will do a few more tests and if it starts crashing or saving noisy images again I'll let you know.

@pmoursnv it's unclear if this is a bug in Blender or in the NVIDIA driver. But it seems to happen only with newer driver version. Can you investigate?

@pmoursnv it's unclear if this is a bug in Blender or in the NVIDIA driver. But it seems to happen only with newer driver version. Can you investigate?

at the moment I have decided to use the 532 driver, waiting for news

at the moment I have decided to use the 532 driver, waiting for news
Member

It's a driver bug, will be fixed in an upcoming driver release likely within the next 3 weeks.

It's a driver bug, will be fixed in an upcoming driver release likely within the next 3 weeks.
Member

Fixed with the 546.33 driver released today.

Fixed with the 546.33 driver released today.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-12-12 19:35:24 +01:00
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
7 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#114468
No description provided.