ID 601734 - ScanlineRender sometimes fails to render all the geometry correctly with certain files

Follow

Problem summary:
ScanlineRender sometimes fails to render all the geometry correctly with certain files
 
This seems to happen more reliably on headless/no GPU machines, but does happen on GUI machines with NVidia GPUs too
 
Only happens around 1 or 2 frames in 2000 on Support test machines, though has been reported to happen more frequently
 
Customer reported version:
Nuke 15.0v4
 
Customer reported platform:
N/A

Steps to reproduce:
1) Download the attached zip, and extract it
2) Open Terminal
3) Render 2000 frames of the Nuke script (frames 953-1153 have animation, the rest should be still)
4) Check the render and check for artifacts
*May need to repeat steps 3/4 until you see the issue
 
Expected behavior:
For the frames to render correctly

Actual behavior:
Sometimes there are off artefacts when rendering (tests done with wireframe enabled and disabled):




 
Workaround:
Launch Nuke limited to only a single thread via the "-m 1" flag when rendering. For more information on this process, please see the following article:
Q100117: Limiting threads in Nuke with the -m flag
 
Reproduced by Support in:
Nuke 16.0v2 - Rocky 9.5
Nuke 15.1v8 - Rocky 9.5
Nuke 14.1v8 - CentOS 7
Nuke 14.1v4 - CentOS 7
Nuke 14.0v1 - CentOS 7
 
Unable to reproduce bug in:
Nuke 15.1v8 - Windows 10, macOS Sonoma
 
Earliest version tested:
Nuke 14.0v1 - This issue appears to be in all tested versions of the product

    We're sorry to hear that

    Please tell us why