I get this weird visual glitch on 3D PSX games when using 2 or more frames for run ahead on beetle psx (software or HW in software mode). Random colored triangles start to blink fast on top of the games textures, usually on the ground, either when the camera is moved or in some very specific angles. Only happens with 2 or more frames for run ahead, 1 or off is fine. Seems to get worse in both size and frequency the more frames above 2 I try. Tested with glcore and vulkan renderers, same results. Running Retroarch 1.9.5, gtx 1660 super, i5 2500k OC’ed, win10 pro. I vaguely remember a similar issue when running the same games on my old gtx 760 as well. Example below from Shadow Tower, but I remember Threads of Fate also having the same issue.
Example with 2 frames:
Examples with 3 frames: