Previously GRAY8 NvBuffers were not supported. Since my Disparity pipeline produces a grayscale image, I am forced to do an extra conversion from GRAY8->ABGR32 so that I can wrap the result it in an NvBuffer again.
However I noticed that NvBufferColorFormat_GRAY8 was added as an option to nvbuf_utils.h which made me think it was now supported. However if you try to create and register a GRAY8 frame using cuGraphicsEGLRegisterImage it fails with CUDA_ERROR_NOT_SUPPORTED.
Is there any workaround to have a cuda kernel write data into a GRAY8 nvbuffer? I would love to avoid the extra conversion step if possible.