It seems that the new beta driver is causing the cuEGLStreamProducerConnect CUDA function to return the error 'operation not supported' (801). I’ve not yet upgraded to the 525 driver to test this myself.
The issue is happening with the nvidia-vaapi-driver, on this line, which is odd because that code has been working fine up to now.
For reference, the nvidia-vaapi-driver issue is here.
I’ve retested this with 525.60.11, and I’m still getting the same issue. I’ve tried a few things, but nothing will allow cuEGLStreamProducerConnect to succeed.
Interestingly, if I remove the call to eglStreamImageConsumerConnectNVprior to the cuEGLStreamProducerConnect call, it correctly errors saying there are no consumer connected.
No, the direct backend is a potential work around for the issue, as it does not use EGLStreams. It doesn’t solve the issue that EGLStream with CUDA is broken as of the 525 release.
I have filed a bug 3893338 internally for tracking purpose.
Can someone share precise repro steps so that I can try locally on my setup to reproduce issue.
> gcc -o test12 test12.c -lEGL -lcuda && ./test12
Reconnecting to stream
cuda error 'CUDA_ERROR_NOT_SUPPORTED' (801):'operation not supported' at file <test12.c>, line 47.
One of the worst mistakes I’ve made was buying a GPU from NVIDIA, specifically the 3070. My desktop runs atrociously bad while the GPU is idling, and the CPU is at 100% usage. I’ve tried different distros and settings, but the problem remains. Even my laptop with an Intel iGPU runs better than my PC with a 3070. This thread really represents how NVIDIA treats their customers. This problem has persisted for literally months. In December, they acknowledged the problem, but it took them until late January to say “the fix will be incorporated in future released driver,” and the problem still remains. They clearly don’t care about their customers at all. And don’t get me started on how the VRAM on this GPU limits all the recent games.