Nvbufsurface: Failed to create EGLImage & ERROR from primary_gie: Failed to set buffer pool to active

You need to set the DISPLAY parameter according to the monitor linked to your Jetson. You can refer to our FAQ.