For my application, I need 12bpc HDMI output on TX2 (later DP on Xavier NX). I’m not very familiar with Linux display/graphics stack, but so far I’ve understood that / tried:
- Jetson hardware should support 12bpc RGB,
- On X11 I tried a simple OpenGL + GLFW application, but GLFW fails to create a window if I hint more than 8 bpc. As I understand, X11 only supports 8bpc windows/frame buffers (or this is EGL constraint?), so using it (EGL?) to manage frame buffers won’t work.
- Tried using EGL directly with
eglstreamcubesample application - compiled it with
NV_WINSYS=egldeviceand ran from VT. But EGL fails to find a suitable frame buffer configuration if I set more than 8bpc (
- According to this thread, DRM does support 8 and 12bpc RGB. So I tried simple test based on
/08_video_dec_drm/example. But the dumb buffer API fails to create a buffer if I use formats like
So the question is, how can I create a framebuffer with RGB 12bpc format?