# Denoiser for OptiX pathtracer not working

**URL:** https://discourse.paraview.org/t/denoiser-for-optix-pathtracer-not-working/9963
**Category:** ParaView Support
**Created:** [July 1, 2022, 6:55pm UTC](https://discourse.paraview.org/t/denoiser-for-optix-pathtracer-not-working/9963 "2022-07-01T18:55:45Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![LeeAlacoque](https://discourse.paraview.org/user_avatar/discourse.paraview.org/leealacoque/32/9576_2.png) [@LeeAlacoque](https://discourse.paraview.org/u/LeeAlacoque)
#### Post date: [July 1, 2022, 6:55pm UTC](https://discourse.paraview.org/t/denoiser-for-optix-pathtracer-not-working/9963/1 "2022-07-01T18:55:45Z")

</div>

I have an issue where the denoiser option doesn’t do anything when I’m using the OptiX pathtracer. Turning it on doesn’t seem to change anything and leaves all the noise in the image, no matter how many rays per pixel I use (I’ve tried up to 300). The OSPRay pathtracer’s denoiser works perfectly fine. I’ve tried it on two different computers, one with a Quadro P1000 GPU and one with an RTX 2080. Is this a bug?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 4, 2022, 8:42am UTC](https://discourse.paraview.org/t/denoiser-for-optix-pathtracer-not-working/9963/2 "2022-07-04T08:42:08Z")

</div>

Optix do not use the denoiser, the checkbox should be disabled.

@timothee.chabat @Dave_DeMarle

---

<div class="post-metadata">

### Author: ![timothee.chabat](https://discourse.paraview.org/user_avatar/discourse.paraview.org/timothee.chabat/32/5729_2.png) [@timothee.chabat](https://discourse.paraview.org/u/timothee.chabat)
#### Post date: [July 6, 2022, 8:39am UTC](https://discourse.paraview.org/t/denoiser-for-optix-pathtracer-not-working/9963/3 "2022-07-06T08:39:05Z")

</div>

It coudld be interesting to use the denoiser with Optix though, although a bit slow since we have to do some GPU-CPU memory transfer.

---

<div class="post-metadata">

### Author: ![steve\_r](https://discourse.paraview.org/user_avatar/discourse.paraview.org/steve_r/32/8305_2.png) [@steve\_r](https://discourse.paraview.org/u/steve_r)
#### Post date: [July 6, 2022, 2:18pm UTC](https://discourse.paraview.org/t/denoiser-for-optix-pathtracer-not-working/9963/4 "2022-07-06T14:18:18Z")

</div>

…and OptiX comes with its own GPU-based denoiser, which is just not exposed through ParaView.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 6, 2022, 2:20pm UTC](https://discourse.paraview.org/t/denoiser-for-optix-pathtracer-not-working/9963/5 "2022-07-06T14:20:03Z")

</div>

Good point @steve_r ! Do you think that it would be easy to do ? That sounds like an easy quality of life improvements.

---

<div class="post-metadata">

### Author: ![steve\_r](https://discourse.paraview.org/user_avatar/discourse.paraview.org/steve_r/32/8305_2.png) [@steve\_r](https://discourse.paraview.org/u/steve_r)
#### Post date: [July 6, 2022, 2:24pm UTC](https://discourse.paraview.org/t/denoiser-for-optix-pathtracer-not-working/9963/6 "2022-07-06T14:24:00Z")

</div>

Need to check here at NVIDIA what it would take. A lot has changed since OptiX got introduced into ParaView. I have some doubts that this would be a simple addition but rather ending up in a major overhaul.

---

<div class="post-metadata">

### Author: ![steve\_r](https://discourse.paraview.org/user_avatar/discourse.paraview.org/steve_r/32/8305_2.png) [@steve\_r](https://discourse.paraview.org/u/steve_r)
#### Post date: [July 28, 2022, 3:29pm UTC](https://discourse.paraview.org/t/denoiser-for-optix-pathtracer-not-working/9963/7 "2022-07-28T15:29:57Z")

</div>

More details: actually, the OptiX denoiser is supported in the current version of ParaView when using OptiX ray-tracing. However, the required libraries from the OptiX 6.0 SDK are not pre-bundled with Kitware’s binary builds of PV. It is possible to download the OptiX 6.0 SDK from the NVIDIA developer site, when accepting its legal terms and conditions. The missing libraries (.dll’s on Windows) can then be copied to the PV installation to enable the GPU-based denoiser.

Let me add, that this feature has been implemented years back on a now-outdated version of OptiX and legacy graphics drivers available at the time. Just in case someone wants to try it anyway.

---

<div class="post-metadata">

### Author: ![timothee.chabat](https://discourse.paraview.org/user_avatar/discourse.paraview.org/timothee.chabat/32/5729_2.png) [@timothee.chabat](https://discourse.paraview.org/u/timothee.chabat)
#### Post date: [July 29, 2022, 8:39am UTC](https://discourse.paraview.org/t/denoiser-for-optix-pathtracer-not-working/9963/8 "2022-07-29T08:39:50Z")

</div>

Thanks for the very usefull informations @steve_r !

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 29, 2022, 8:47am UTC](https://discourse.paraview.org/t/denoiser-for-optix-pathtracer-not-working/9963/9 "2022-07-29T08:47:25Z")

</div>

I think an issue on pv superbuild to fix this should be opened. wdyt @timothee.chabat ?

---

<div class="post-metadata">

### Author: ![timothee.chabat](https://discourse.paraview.org/user_avatar/discourse.paraview.org/timothee.chabat/32/5729_2.png) [@timothee.chabat](https://discourse.paraview.org/u/timothee.chabat)
#### Post date: [August 1, 2022, 12:12pm UTC](https://discourse.paraview.org/t/denoiser-for-optix-pathtracer-not-working/9963/10 "2022-08-01T12:12:55Z")

</div>

I’m not sure if it’s really worh it considering that …

> [@steve\_r](#):
>
> this feature has been implemented years back on a now-outdated version of OptiX and legacy graphics drivers available at the time. Just in case someone wants to try it anyway.

but yeah, maybe it’s worth opening it anyway just to track this kind of usefull informations

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [August 8, 2022, 2:29am UTC](https://discourse.paraview.org/t/denoiser-for-optix-pathtracer-not-working/9963/11 "2022-08-08T02:29:20Z")

</div>

Already considered here: [https://gitlab.kitware.com/paraview/paraview-superbuild/-/issues/117](https://gitlab.kitware.com/paraview/paraview-superbuild/-/issues/117)
