I need to push my own application-generated CUDA image buffers to a Gstreamer pipeline like this:
My application -> appsrc -> nvhdmioverlaysink
So far I’ve managed to make it work using pinned memory, and not setting any memory type when linking appsrc and nvhdmioverlaysink. This works, but I think nvhdmioverlaysink assumes the buffer to be host paged memory, and somehow a host->device copy ends up taking place.
I’ve tried to set the “memory:NVMM” feature when linking appsrc and nvhdmioverlaysink, but sadly it all explodes into errors like these:
Thanks jachen for the confirmation. At least I will not be wasting my time attempting to make it work.
Not being able to inject NVMM buffers from application into a GStreamer pipeline is terribly sad in terms of architecting for perfomance. Please consider fixing this at some point.