Spout Out, use a specific GPU from -gpuformonitor

I have a non-TD program that intends to receive Spout on a GPU at index other than 0, let’s say index 2. I’m launching a TD project from the command line with “-gpuformonitor 2” and can confirm that it’s using the GPU that I want. However, this causes my Spout-receiving program to crash with a DirectX interop error. I think the reason is that TouchDesigner’s Spout out is still using GPU 0, and when my Spout program realizes this it fails. If I run my Spout program on GPU 0 and TD on 2, it works. This might be a sign that TD is still using GPU 0. If I run both on GPU 0, it works, as is more likely expected.

So, is there a problem with controlling the GPU that Spout Out uses? Could the GPU choice come from -gpuformonitor or could it come from a parameter on the operator?

Windows 2018.26750

Moved this to the bugs forum. We try to select the Spout GPU based on the GPU Affinity. Seems like it’s failing in some cases