I have an RTX 2070 Super with Amd 3700x.
I have optix enabled and it denoises the viewport render which is fine. However when I go to render out the image it begins denoising on the second pass and looks fine, but when the render finishes the noise comes back to the image as if it hadn't been denoised despite the denoiser working until it finished.
I have tried turning alternating with cuda on and off on gpu and cpu in the preferences as well as changing the passes to color and albedo with and without normals. I cant seem to find any answer for this problem online, I will keep looking in the meantime. But if anyone has any idea what might be going on I would greatly appreciate the help.

