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.
Still experiencing totally broken GBM/KMS as well. Wayland refuses to fire up on r35.3.1 using anything close to the provided instructions, and forcing it to run similarly to on desktop results in artifacting, unusable framerates, and other crippling issues. Additionally, running a minigbm-based setup with a dummy driver ( makinbacon21/android_platform_external_minigbm: WIP minibgm fork adding support for Tegra >=234 via nvidia-drm driver (github.com) ) on top of a WIP LineageOS tree causes similar issues (see attached picture).