EDIT: the original issue of glitched screen has been resolved by not doing a stride copy from the pixel buffer to the texture, and instead just using the entire pixel buffer to create the texture. The black border can still be removed by rendering a subarea of the texture. But I actually liked the look with the black border.
I built the sa2 version for an arm SoC (RK3328 chip).
The environment is GLES2 and KMSDRM, no X.
The display is completely glitched as shown below. It looks like many smaller frames wrapping around.
Any settings I can adjust to make it show up properly?

EDIT: the original issue of glitched screen has been resolved by not doing a stride copy from the pixel buffer to the texture, and instead just using the entire pixel buffer to create the texture. The black border can still be removed by rendering a subarea of the texture. But I actually liked the look with the black border.
I built the sa2 version for an arm SoC (RK3328 chip).
The environment is GLES2 and KMSDRM, no X.
The display is completely glitched as shown below. It looks like many smaller frames wrapping around.
Any settings I can adjust to make it show up properly?