Rendering issue with GBM/KMS/DRI on Jetson AGX Orin devkit

I am trying to use GBM/KMS/DRI for rendering, as Jet Pack 5.0.2 mentions that is has full GBM support. I did try kmscube from the mesa project as reference. I did load the drm nvidia driver with modesetting.

This is how it looks:

What needs to be done to get this working?

Hi,
Please help share the detailed steps and we will set up to reproduce the issue. And check with our teams.

git clone https://gitlab.freedesktop.org/mesa/kmscube.git
cd kmscube
meson build/
ninja -C build/
cd build
nvstart-weston.sh
killall weston
./kmscube

Hi,
We can observe the issue by following your steps. Will check with our graphics teams and update.

Hi,

is there any update on this?

Hi,
The issue is under investigation. Will update when there is any finding about it.

Hi,

is there any update on this?