Search Unity

Feedback NVIDIA OptiX AI Denoiser

Discussion in 'Global Illumination' started by julingwenhua, Dec 2, 2019.

  1. julingwenhua

    julingwenhua

    Joined:
    Mar 28, 2019
    Posts:
    3
    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?
     
    Last edited: Dec 2, 2019
  2. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,109
    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!
     
    ROBYER1 likes this.
  3. julingwenhua

    julingwenhua

    Joined:
    Mar 28, 2019
    Posts:
    3
    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

    upload_2019-12-2_20-24-53.png
    upload_2019-12-2_20-25-2.png
    upload_2019-12-2_20-25-8.png
     

    Attached Files:

  4. julingwenhua

    julingwenhua

    Joined:
    Mar 28, 2019
    Posts:
    3
    This issue has been resolved, this is caused by the graphics driver, thank you.
     
  5. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    466
    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!
     
  6. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,109
    Did you try driver version 441.41?
     
  7. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,109
    Which version did you upgrade to?
     
  8. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    466
    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.
     

    Attached Files:

  9. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    466
    Same issue on 2020.1.0a15 and Nvidia Driver 441.28 :confused:
    ugh.PNG
     
  10. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    466
    Was this issue reproducible with Case 1203538?
     
  11. uy3d

    uy3d

    Unity Technologies

    Joined:
    Aug 16, 2016
    Posts:
    112
    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.
     
  12. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    466
    Thankyou for reporting back, going to hold off baking much until a fix is out, glad my case was useful