Blender Crash during Optix Denoise #123270

Closed
opened 2024-06-15 18:08:27 +02:00 by Andrea Donati · 5 comments

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 4090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 528.49

Blender Version
Broken: version: 4.2.0 Beta, branch: blender-v4.2-release, commit date: 2024-06-14 22:44, hash: 9266fbab0276
Worked: (newest version of Blender that worked as expected)

Short description of error
Blender Crash during Optix Denoise

Exact steps for others to reproduce the error

Open Blender default scene.
Set Cycles render
Set GPU
Set cycles.use_denoising
Set cycles.denoiser on Optix
Start render

I pasted the debug_logs.zip into this message.

If I run Blender with Pycharm, I get this error in the Pycharm console:

E0615 17:55:29.682775 416188 denoiser_gpu.cpp:121] GPU denoiser creation has failed.
Error: Failed to create OptiX denoiser

**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 4090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 528.49 **Blender Version** Broken: version: 4.2.0 Beta, branch: blender-v4.2-release, commit date: 2024-06-14 22:44, hash: `9266fbab0276` Worked: (newest version of Blender that worked as expected) **Short description of error** Blender Crash during Optix Denoise **Exact steps for others to reproduce the error** Open Blender default scene. Set Cycles render Set GPU Set cycles.use_denoising Set cycles.denoiser on Optix Start render I pasted the **debug_logs.zip** into this message. **If I run Blender with Pycharm, I get this error in the Pycharm console:** ``` E0615 17:55:29.682775 416188 denoiser_gpu.cpp:121] GPU denoiser creation has failed. Error: Failed to create OptiX denoiser ```
Andrea Donati added the
Type
Report
Status
Needs Triage
Severity
Normal
labels 2024-06-15 18:08:28 +02:00
Member

NVIDIA 528.49

Hi, thanks for the report. GPU drivers are bit outdated. Could you try again after updating them: https://docs.blender.org/manual/en/dev/troubleshooting/gpu/windows/nvidia.html

> NVIDIA 528.49 Hi, thanks for the report. GPU drivers are bit outdated. Could you try again after updating them: https://docs.blender.org/manual/en/dev/troubleshooting/gpu/windows/nvidia.html
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-06-17 06:35:30 +02:00
Author

Ok Patrik, I updated the drivers,

But Optix still doesn't run correctly.

Check the log files:

  • Debug Logs 2: I start the render, and the render reaches the denoise stage, Blender crashes.
  • Debug Logs 3: I set the viewport to rendered and the optix use_preview_denoising

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 4090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 555.99

Blender Version
Broken: version: 4.2.0 Beta, branch: blender-v4.2-release, commit date: 2024-06-15 20:05, hash: e118fe6e47a9
Worked: (newest version of Blender that worked as expected)

This is from my Pycharm Run Console, when I set Optix use_preview_denoising:

image

image

Ok Patrik, I updated the drivers, But Optix still doesn't run correctly. Check the log files: - Debug Logs 2: I start the render, and the render reaches the denoise stage, Blender crashes. - Debug Logs 3: I set the viewport to rendered and the optix use_preview_denoising **System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 4090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 555.99 **Blender Version** Broken: version: 4.2.0 Beta, branch: blender-v4.2-release, commit date: 2024-06-15 20:05, hash: `e118fe6e47a9` Worked: (newest version of Blender that worked as expected) This is from my Pycharm Run Console, when I set Optix use_preview_denoising: ![image](/attachments/783fd1f7-e6b8-4b34-8a77-37b50a0ff329) ![image](/attachments/8af6ef36-ca61-4a21-89ca-18c4a2adb6ec)

I'm running into the same issue with the latest 4.2 beta, optix denoiser fails to create, even with latest drivers

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070 Ti/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 556.12

I'm running into the same issue with the latest 4.2 beta, optix denoiser fails to create, even with latest drivers **System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1070 Ti/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 556.12
Pratik Borhade added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2024-07-02 05:42:19 +02:00
Member

Thanks. nvoptix.dll was mentioned as exception module in log file.
@pmoursnv hi, any idea why this is failing?

Thanks. `nvoptix.dll` was mentioned as exception module in log file. @pmoursnv hi, any idea why this is failing?
Bart van der Braak added
Type
Bug
and removed
Type
Report
labels 2024-08-14 12:59:03 +02:00
Member

This was fixed by !124001 (the logs attached here indicate a crash because an invalid context handle was passed to optixDenoiserCreate, which happened because after some changes introduced for 4.2, Blender was attempting to create an OptiX denoiser with a non-OptiX device, which that PR fixed again).

This was fixed by !124001 (the logs attached here indicate a crash because an invalid context handle was passed to optixDenoiserCreate, which happened because after some changes introduced for 4.2, Blender was attempting to create an OptiX denoiser with a non-OptiX device, which that PR fixed again).
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2024-10-14 17:55:39 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
4 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#123270
No description provided.