"Cannot create DirectX/OpenGL interop" error when trying to spout from Processing to Resolume7

I’m trying to spout from my processing sketch (the example provided with the library) to Resolume arena 7. As soon as I try displaying the image on Resolume, I get this error and the program crashes.

I have tried putting processing and resolume on the same GPU to no avail.

I am running windows 10 on
Intel(R) Core™ i7-9700 CPU @ 3.00GHz
NVIDIA GeForce GTX 1650
32GB ram

Any help in resolving this would be appreciated. Thanks! :slight_smile:

1 Like

Usually this occurs where there is more than one GPU such as for a laptop with dual graphics. You menition changing GPU, so I assume that there is more than one in your system. You will find similar posts on this forum and the testing carried out.

You can run a diagnostic using SpoutSettings, it will show the graphics cards detected and whether the primary display is compatible with the OpenGL/DirectX interop. Copy to clipboard and paste here.

Is the Processing sketch received by the Spout demo receiver? What about other receiving programs? Is this isolated to Resolume?

When the sketch starts you should see the library version. It should be the latest : Spout 64bit v2.0.7.3

Help > About in the Spout demo receiver will show the program version (latest is 2.050).

Any progress with this?

I suspect that it’s something to do with multiple graphics cards and maybe similar to this post and this one.

Both Processing and Resolume have to be using the same graphics adapter.

If you can induce the problem with the demo receiver by chaging the graphics adapter used by the program, we might be able to track it down through the error logs.

Hi, please translate from Spanish:
Hola, yo tuve el mismo error pero leyendo en foros y buscando más informacion del problema, comentaban que era el motivo de las tarjets gráficas, suele ocurrir en portátiles con dos GPU (una de sistema base y otra dedicada o de alto rendimiento). El caso es que se que esto empieza a funcionar mal a partir de Windows 10 ya que este tiene un gestor automático que decide por sí solo cual de las GPU usar para cada aplicaciones que abras, o incluso si por ejemplo estas trabajando con cargador o batería, decide cual GPU usar.
La solución es simle, pulsa tecla win, escribe gpu y te saldra algo como graphics configuration.
Despues, abajo del todo en esta ventana, aparece un listado de apps en las que puedes determinar con que GPU se abriran siempre. Aqui simmplemente buscaríamos la ubicacion del software, en mi caso Resolume Arena 6 y también buscaríamos (en mi caso) SpoutPlugin dentro de nestDrop, añadimos estas aplicaciones una por una, y una vez añadidas, seleccionamos en opciones y ahi determinamos que la GPU sea la dedicada y no la del sistema para ambos casos. Con eso, reiniciarías las aplicaciones y listo :slight_smile:
Si este paso no funciona, es posible que tengs que actualizar tu spoutPlugin a la última version, solo tendrías que descargarlo y remplazarlo.

Espero que os sirva de mucha ayuda :slight_smile:

1 Like

Thankyou yosyp.vj.

You are right. Windows Graphics Performance Settings were introduced in the April 10 2018 Windows 10 update (Version 1803, build 17134). These settings take priority over driver settings for an application, such as the NVIDIA control panel. I don’t know about AMD but I suspect it is the same.

As you say, these settings are only effective for a laptop with dual graphics where power saving is possible.

I will be including a direct link to access these settings in the next version of “SpoutSettings”. I will also extend the diagnostics in “SpoutPanel” to show the Graphics Preference for a Sender and add some SDK functions for developers.

no sabes en cuantas formas diferentes acabas de salvar mi vida, gracias!!