Page MenuHome

OptiX Denoiser crashes OPTIX_ERROR_CUDA_ERROR in optixDenoiserComputeMemoryResources
Needs Developer to Reproduce, NormalPublic

Description

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: rBa3e6b7c2ce06
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



Event Timeline

@Luis Tornel (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.

Evan Wilson (EAW) changed the task status from Needs Triage to Needs Information from User.Sep 30 2020, 2:35 PM

@Evan Wilson (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

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?

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

Richard Antalik (ISS) changed the task status from Needs Information from User to Needs Triage.Oct 12 2020, 7:50 PM
Philipp Oeser (lichtwerk) renamed this task from Viewport OptiX Denoiser crashes to OptiX Denoiser crashes OPTIX_ERROR_CUDA_ERROR in optixDenoiserComputeMemoryResources.Nov 17 2020, 3:17 PM
Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Needs Developer to Reproduce.Nov 17 2020, 3:41 PM

@Patrick Mours (pmoursnv) : cannot reproduce here, does this ring a bell?

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

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/

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

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).

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.