In my environment the device property OPTIX_DEVICE_PROPERTY_SHADER_EXECUTION_REORDERING weirdly returns 0 although my env seems to support SER.
For example, I can observe this by adding optixDeviceContextGetProperty to the optixPathTracer sample like the following:
createContext( state );
buildMeshAccel( state );
Do I need something more than using RTX40- and a proper driver to make SER work?
Windows 11 Pro 22H2 (22621.2213)
Geforce RTX 4080
Ryzen 9 7950X
That’s weird. I need to file a bug report about that because I don’t have a comparable system configuration at hand.
I could not reproduce that on my Windows 10, RTX 6000 Ada system running either 535.98 or 536.96 drivers. The flag was correctly reported as 1.
Could you please check if you have the environment variable OPTIX_FORCE_DEPRECATED_LAUNCHER set to non-zero?
If yes, please set it to zero or remove the environment variable. Shader Execution Reordering requires the new launching mechanism.
I haven’t tried with current drivers but I think debugging and profiling still needs it unfortunately.
As the programming guide says, only set it when you don’t hit breakpoints.
It’s definitely going away in the future when all involved components have added the necessary support.