NVIDIA OptiX AI Denoiser

I use rtx2070super GPU for baking. When the lightmap is 1K, it is normal to reduce the baking noise, but I set the lightmap to be greater than 2k to reduce noise, and there will be many black spots. what is the reason?

Black spots in the lightmap might be NaN values, can you please confirm by opening the generated lightmap .exr file and inspecting the black pixel values?
If you file a bug report we can investigate, thank you!

1 Like

I’m not sure what caused it, and I haven’t reported an error. I will send you a test plan, hope to help me solve this problem, thank you!

When I use a 2K lightmap and turn off OptiX, it returns to normal, and I suspect that OptiX is causing the appearance of dark spots.

Version Unity2019.2.2, graphics card RTX2070Super, graphics card driver 441.41

5235647--522440--upload_2019-12-2_20-24-53.jpg
5235647--522443--upload_2019-12-2_20-25-2.jpg
5235647--522446--upload_2019-12-2_20-25-8.jpg

5235647–522449–Demo.unitypackage (3.6 MB)

This issue has been resolved, this is caused by the graphics driver, thank you.

Reproduced at Case 1203538, what did you do to fix it with the graphics driver? I am using Nvidia Studio Driver 441.28 with an RTX 2070

@KEngelstoft please check the bug report if you have time!

Did you try driver version 441.41?

Which version did you upgrade to?

I noticed that 441.41 isn’t available as a ‘DCH’ driver but it is available as a ‘Standard’ driver, my work laptop has DCH installed by default. I went to test the exact same scene on another machine at home with the same driver version 441.28 and the scene bakes fine with the exact same lighting/bake settings.

The only difference GPU and Driver wise is

Laptop with RTX 2070 using DCH driver 441.28 - Bakes with the Black box artifacts
Computer with GTX 1070 using Standard driver 441.28 - Bakes fine

I am installing 2020.1.0a15 as we speak as that has a LOT of mentions of Lightmapping fixes including implementation of A-trous Lightmap filtering which might help if it is as performant? I will report back.

5254286--525026--dchonly.PNG

Same issue on 2020.1.0a15 and Nvidia Driver 441.28 :face_with_spiral_eyes:

Was this issue reproducible with Case 1203538?

We got a repro for this. Internal tests show that the artifacts don’t occur with driver version 430.86, but newer nvidia driver versions seem to exhibit this issue.

Thankyou for reporting back, going to hold off baking much until a fix is out, glad my case was useful

Is there any solution to this? I’m running a RTX 2080 with 8 gb and can’t get a good bake to save my life. Any suggestions would be appreciated.

Optix denoiser was broken in NVIDIA driver version 436.02. In Unity 2019.3 and 2020.1 I added a workaround for this issue. NVIDIA is releasing a fixed driver in February. It only applies to Turing devices. Hope this helps.

3 Likes

Thank you, would you mind specifying the workaround? I’m new to this and don’t have the knowledge-base to fully understand what I can do to improve the lighting.

Right now, even when deactivating Optix and changing resolution (which does help a bit), I’m getting a result that looks like this:

https://drive.google.com/file/d/1rHLfkydmS5nRx0lJqqW01PxBHr34ogJW/view?usp=sharing

1 Like