I’ve refer cuGraphicsGLRegisterBuffer failed with error(304) gst_eglglessink_cuda_init texture =1 - #12 by amycao .
I just re-installed the nvidia 460.32 driver, and chose ‘yes’ when “setup nvidia x config”, but it still does not work, and the error same as before.