Samples not working

The samples included in the SDK aren’t working for me. Most of them have extreme aliasing and the OptixDenoiser sample crashes with the following error:

OptiX Error: 'Unknown error (Details: Function "_rtCommandListExecute" caught exception: Failed to launch DLDenoiser post-processing stage. DLDenoiser run method failed with error -40.)'

Any idea how I can get these working properly? I’m using an RTX 2080 Ti.

Looks like this is an issue with OptiX 5.1.1. I installed 5.1.0 instead and everything works now.

RTX 2080 Ti uses the Turing architecture.

See OptiX 5.1.1 Release Notes:
Known Issues
“Please note that the OptiX 5.1.1 SDK does not support Denoising on Turing.”