Display 10_10_10_2 on AGX Xavier

I am trying to output a 2D texture on a pixel buffer using the unsigned_int_10_10_10_2 format but am seeing the following error:

OpenGL] Error 1282 - ‘invalid operation’
[OpenGL] glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1920, 1080, GL_RGBA_INTEGER, GL_UNSIGNED_INT_10_10_10_2, 0)

I use the following to setup the glfw window.

glfwWindowHint(GL_RED_BITS, 10);
glfwWindowHint(GL_GREEN_BITS, 10);
glfwWindowHint(GL_BLUE_BITS, 10);
glfwWindowHint(GL_ALPHA_BITS, 2);

I use the following to setup the texImage.

glBindTexture(GL_TEXTURE_2D, m_texid);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB10_A2UI, 1920, 1080, 0, GL_RGBA_INTEGER, GL_UNSIGNED_INT_10_10_10_2, NULL);

And the following to draw for texsubImage.

GL(glBindBufferARB(GL_PIXEL_UNPACK_BUFFER_ARB, pixel_buffer_object));
GL(glBindTexture(GL_TEXTURE_2D, m_texid));
GL(glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1920, 1080, GL_RGBA_INTEGER, GL_UNSIGNED_INT_10_10_10_2, 0));
GL(glBindBufferARB(GL_PIXEL_UNPACK_BUFFER_ARB, 0));

Am I missing something to set it up?

Hi _curious_beginner,

We’re investigating this issue, the status will be updated once clarified, please stay tuned.

Thanks

Hi,
Please share a simple test code so that our SQA team can build, run the application to reproduce the issue first.