OptiX Denoiser crashes OPTIX_ERROR_CUDA_ERROR in optixDenoiserComputeMemoryResources #78505

Open
opened 2020-07-01 18:00:56 +02:00 by Luis Tornel · 22 comments

System Information
Operating system: Windows-8.1-6.3.9600-SP0 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.48
CPU: AMD Ryzen 7 1700
RAM: 32 GB

Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-30 20:02, hash: a3e6b7c2ce
Worked: unknown

Short description of error
When the Viewport OptiX Denoiser is activated it crashes with the following error "OPTIX_ERROR_CUDA_ERROR in optixDenoiserComputeMemoryResources(denoiser, rect_size.x, rect_size.y, &sizes) (device_optix.cpp:850)"

Exact steps for others to reproduce the error
Based in the Startup File, (Reseted to Factory Settings and userpref.blend deleted):

  1. In Preference->System set Cycles Render Devices to "CUDA"
  2. Set render engine to "Cycles"
  3. Set device to "GPU Compute"
  4. Set Viewport Denoiser to "Fastest (Optix)" or "OptiX"
  5. Set Viewport Shading to "Rendered"
    ERROR (View screenshot)

Once the error has ocurred I can't render with CUDA, even on a new file. To be able to render with CUDA I must close Blender and open it again. View System Console Output

Additional Info

  • The error doesn't happen if the Cycles Render Devices is set to "OptiX"
  • This error doesn't happen in my laptop (i7 7700HQ, GTX 1050, 16GB RAM)
  • In a more complex scene blender tries to load the render kernels for a long time before throwing the error

screen.png
system console Output.txt
system-info.txt

**System Information** Operating system: Windows-8.1-6.3.9600-SP0 64 Bits Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.48 CPU: AMD Ryzen 7 1700 RAM: 32 GB **Blender Version** Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-30 20:02, hash: `a3e6b7c2ce` Worked: unknown **Short description of error** When the Viewport OptiX Denoiser is activated it crashes with the following error *"OPTIX_ERROR_CUDA_ERROR in optixDenoiserComputeMemoryResources(denoiser, rect_size.x, rect_size.y, &sizes) (device_optix.cpp:850)"* **Exact steps for others to reproduce the error** Based in the Startup File, (Reseted to Factory Settings and userpref.blend deleted): 1. In Preference->System set Cycles Render Devices to "CUDA" 2. Set render engine to "Cycles" 3. Set device to "GPU Compute" 4. Set Viewport Denoiser to "Fastest (Optix)" or "OptiX" 5. Set Viewport Shading to "Rendered" ERROR *(View screenshot)* Once the error has ocurred I can't render with CUDA, even on a new file. To be able to render with CUDA I must close Blender and open it again. *View System Console Output* **Additional Info** - The error doesn't happen if the Cycles Render Devices is set to "OptiX" - This error doesn't happen in my laptop (i7 7700HQ, GTX 1050, 16GB RAM) - In a more complex scene blender tries to load the render kernels for a long time before throwing the error ![screen.png](https://archive.blender.org/developer/F8657256/screen.png) [system console Output.txt](https://archive.blender.org/developer/F8657254/system_console_Output.txt) [system-info.txt](https://archive.blender.org/developer/F8657255/system-info.txt)
Author

Added subscriber: @tornel

Added subscriber: @tornel
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

@tornel Can you please try with the latest daily version from the link below.

https://builder.blender.org/download/

Also, please try with the latest driver from NVIDIA.

@tornel Can you please try with the latest daily version from the link below. https://builder.blender.org/download/ Also, please try with the latest driver from NVIDIA.
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Author

@EAW tried with the last daily version and nvidia driver up to date.

The results are almost the same, slight difference in the error message

screenshot.png

system-info.txt

system console Output.txt

@EAW tried with the last daily version and nvidia driver up to date. The results are almost the same, slight difference in the error message ![screenshot.png](https://archive.blender.org/developer/F8940386/screenshot.png) [system-info.txt](https://archive.blender.org/developer/F8940387/system-info.txt) [system console Output.txt](https://archive.blender.org/developer/F8940389/system_console_Output.txt)
Member

Ok, thank you. There seem to be a number of reports with 45X.XX drivers and GeForce 1070s. I am trying to find them all and compare them.

What OS and GPU driver is your laptop with the 1050 running?

Ok, thank you. There seem to be a number of reports with 45X.XX drivers and GeForce 1070s. I am trying to find them all and compare them. What OS and GPU driver is your laptop with the 1050 running?
Author

Nvidia Studio driver 456.38
OS: Windows 10 Home, version 2004, OS build: 19041.508

Nvidia Studio driver 456.38 OS: Windows 10 Home, version 2004, OS build: 19041.508

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Philipp Oeser changed title from Viewport OptiX Denoiser crashes to OptiX Denoiser crashes OPTIX_ERROR_CUDA_ERROR in optixDenoiserComputeMemoryResources 2020-11-17 15:17:47 +01:00
Member

Added subscribers: @pmoursnv, @lichtwerk

Added subscribers: @pmoursnv, @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

@pmoursnv : cannot reproduce here, does this ring a bell?

@pmoursnv : cannot reproduce here, does this ring a bell?

Added subscriber: @iss

Added subscriber: @iss

@tornel I am looking at older reports, is this still an issue? Or have anything changed?

@tornel I am looking at older reports, is this still an issue? Or have anything changed?
Author

Yes, it is stil an issue. Nothing has changed, I've tried in 2.91.0 and the last daily build with the same results. Driver is updated.

If you need any other data or you need me to perform some tests, please say so and will do as soon as possible.

Yes, it is stil an issue. Nothing has changed, I've tried in 2.91.0 and the last daily build with the same results. Driver is updated. If you need any other data or you need me to perform some tests, please say so and will do as soon as possible.

Thanks for update. You can also check latest alpha build from https://builder.blender.org/download/

Thanks for update. You can also check latest alpha build from https://builder.blender.org/download/
Author

the daily build I've tested: (version: 2.92.0 Alpha, branch: master, commit date: 2020-11-26 23:29, hash: 1709bc5164) is the latest alpha as today

the daily build I've tested: *(version: 2.92.0 Alpha, branch: master, commit date: 2020-11-26 23:29, hash: 1709bc51643d*) is the latest alpha as today

Added subscriber: @potGrabbir

Added subscriber: @potGrabbir

Reaffirming the issue here:

Windows 8.1 (As in OP)
Nvidia GTX 1070 (As in OP)
Using, the same Blender settings (see screenshot), getting the same error, only difference being cpp:925 instead of cpp:850 (in OP).

CUDA Error.PNG

I believe it has something to do with the Nvidia driver for GTX 1070, that does not provide the same support for Windows 8.1 as it does for Windows 10. I am also running a Windows 10 OS on the same machine (no virtual, but two actual OS's on two different SSD's, one with Win 8.1 and one with Win 10). The scene renders just fine on Win 10 OS with the same GTX 1070.

On Windows 10, Nvidia provides a Studio Driver for GTX 1070. However, Nvidia only provides a Game Ready Driver On Windows 8.1. I'm suspecting this to be the issue.

Would be very happy about a possible fix or a workaround as Nvidia might not release the necessary Studio Driver for Windows 8.1 anytime soon.

Reaffirming the issue here: Windows 8.1 (As in OP) Nvidia GTX 1070 (As in OP) Using, the same Blender settings (see screenshot), getting the same error, only difference being cpp:925 instead of cpp:850 (in OP). ![CUDA Error.PNG](https://archive.blender.org/developer/F9831466/CUDA_Error.PNG) I believe it has something to do with the Nvidia driver for GTX 1070, that does not provide the same support for Windows 8.1 as it does for Windows 10. I am also running a Windows 10 OS on the same machine (no virtual, but two actual OS's on two different SSD's, one with Win 8.1 and one with Win 10). The scene renders just fine on Win 10 OS with the same GTX 1070. On Windows 10, Nvidia provides a Studio Driver for GTX 1070. However, Nvidia only provides a Game Ready Driver On Windows 8.1. I'm suspecting this to be the issue. Would be very happy about a possible fix or a workaround as Nvidia might not release the necessary Studio Driver for Windows 8.1 anytime soon.

Added subscriber: @crowe

Added subscriber: @crowe

Confirming it's still an issue on daily build "3.0.0 Alpha, branch: master, commit date: 2021-07-18 23:24, hash: 83883ae66ad3, type: release". It should be noted it only happens when using CUDA device + Optix viewport denoiser. CUDA device + Optix render denoiser works fine until you break everything through the viewport.

The error is now on "OPTIX_ERROR_CUDA_ERROR in optixDenoiserComputeMemoryResources(denoiser, rect_size.x, rect_size.y, &sizes) (device_optix.cpp:989)".

My specs:
Operating system: Windows-8.1 64 Bits
Graphics card: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 4.5.0 NVIDIA 466.47

Confirming it's still an issue on daily build "3.0.0 Alpha, branch: master, commit date: 2021-07-18 23:24, hash: `83883ae66ad3`, type: release". It should be noted it only happens when using CUDA device + Optix viewport denoiser. CUDA device + Optix *render* denoiser works fine until you break everything through the viewport. The error is now on "*OPTIX_ERROR_CUDA_ERROR in optixDenoiserComputeMemoryResources(denoiser, rect_size.x, rect_size.y, &sizes) (device_optix.cpp:989)*". My specs: Operating system: Windows-8.1 64 Bits Graphics card: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 4.5.0 NVIDIA 466.47

Added subscriber: @kovax

Added subscriber: @kovax
kovax self-assigned this 2023-01-16 21:38:50 +01:00

Windows 11 Graphics card: NVIDIA GeForce GTX 1060 4GB
Capture d’écran 2023-01-16 213716.png

Windows 11 Graphics card: NVIDIA GeForce GTX 1060 4GB ![Capture d’écran 2023-01-16 213716.png](https://archive.blender.org/developer/F14154103/Capture_d_écran_2023-01-16_213716.png)
Philipp Oeser removed the
Interest
Render & Cycles
label 2023-02-09 14:02:03 +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#78505
No description provided.