-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Yeah the tegra libraries gbm struggles with the most basic stuff, so dealing with tegra-udrm-gbm here is the right move. We're using the tegra-udrm-gbm in production with Qt (and the eglfs_kms backend) and linux-yocto on scarthgap for Xavier AGX, Orin NX, and Orin AGX platforms, and I've also tested this on master with Orin NX/AGX, but a couple months back so there may be some regression here. This is with displays using both the built-in tegra display drivers as well as a KMS render only device. From the look of it, the underlying issue with the scrambled looking image is that a buffer is being misinterpreted as being pitch/raster formatted vs block linear, which is probably a case of incorrect modifiers being set on the buffer. See sections in the code here https://github.com/OE4T/tegra-udrm-gbm/blob/master/tegra_udrm_gbm.c#L313 and here https://github.com/OE4T/tegra-udrm-gbm/blob/master/tegra_udrm_gbm.c#L160 As to why this is happening I can't say, but hopefully this insight can help move the discussion forward so we can get this working again. |
Beta Was this translation helpful? Give feedback.


Yeah the tegra libraries gbm struggles with the most basic stuff, so dealing with tegra-udrm-gbm here is the right move.
We're using the tegra-udrm-gbm in production with Qt (and the eglfs_kms backend) and linux-yocto on scarthgap for Xavier AGX, Orin NX, and Orin AGX platforms, and I've also tested this on master with Orin NX/AGX, but a couple months back so there may be some regression here. This is with displays using both the built-in tegra display drivers as well as a KMS render only device.
From the look of it, the underlying issue with the scrambled looking image is that a buffer is being misinterpreted as being pitch/raster formatted vs block linear, which is probably a case of in…