GL Producer CUDA consumer in EGLStream

Hi guys,
I need a example code that utilize EGLstream in TX2 and Producer is GL and consumer is CUDA? I wrote my self a code for that but when I acquire frame in CUDA, pitch value of frame is 0 and frame is invalid.

Please run

$ /usr/local/cuda-10.2/bin/ /tmp/

And check the sample:


Thanks for your replay,
I used this example “/tmp/NVIDIA_CUDA-10.2_Samples/3_Imaging/EGLStreams_CUDA_Interop” for my source but it is CUDA producer and CUDA consumer with Eglstream I need GL producer and cuda consumer. Is there any source for my case ?

Thanks so much

This method may not work properly. Generally we use either pure EGLStream producer/consumer or CUDA producer/consumer. It may not work to mix the functions.

Let’s talk about you ruse-case in

So that we can suggest next.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.