Hello, I develop custom AOSP builds for Moto G54 5G. There is some Vulkan issue related to PowerVR drivers. I have also tested Vulkan on Android 14 QPR2, QP3 and 14 Beta DSU on my Motorola G54 as the Stock Vendor has passed VTS by the manufacturer for sure. Seem like the Vulkan is broken and Iām getting Display Corruption like screen on Vulkan testing app. It is happening on games like Roblox too.
The logs look like
07-26 12:43:58.302 3607 3630 E IMGSRV : :1501: GrallocTestAlloc: Invalid color format (56)
07-26 12:43:58.302 3607 363 E IMGSRV : :219: Invalid BufferDescriptorInfo
07-26 12:43:58.302 3607 3630 E IMGSRV : :220: width ā 1
07-26 12:43:58.302 3607 3630 E IMGSRV : :221: height ā 1
07-26 12:43:58.303 3607 3630 E IMGSRV : :222: format ā 56
07-26 12:43:58.303 3607 3630 E IMGSRV : :223: usage ā 0x0b00
07-26 12:43:58.303 3607 3630 E IMGSRV : :1501: GrallocTestAlloc: Invalid color format (59)
07-26 12:43:58.303 3607 3630 E IMGSRV : :219: Invalid BufferDescriptorInfo
07-26 12:43:58.303 3607 3630 E IMGSRV : :220: width ā 1
07-26 12:43:58.303 3607 3630 E IMGSRV : :221: height ā 1
07-26 12:43:58.303 3607 3630 E IMGSRV : :222: format ā 59
07-26 12:43:58.303 3607 3630 E IMGSRV : :223: usage ā 0x0b00
07-26 12:43:58.303 3607 3630 E IMGSRV : :1501: GrallocTestAlloc: Invalid color format (56)
07-26 12:43:58.303 3607 3630 E IMGSRV : :219: Invalid BufferDescriptorInfo
07-26 12:43:58.303 3607 3630 E IMGSRV : :220: width ā 1
07-26 12:43:58.303 3607 3630 E IMGSRV : :221: height ā 1
07-26 12:43:58.303 3607 3630 E IMGSRV : :222: format ā 56
07-26 12:43:58.303 3607 3630 E IMGSRV : :223: usage ā 0x0b00
07-26 12:43:58.303 3607 3630 E IMGSRV : :1501: GrallocTestAlloc: Invalid color format (59)
07-26 12:43:58.303 3607 3630 E IMGSRV : :219: Invalid BufferDescriptorInfo
07-26 12:43:58.303 1553 1573 D CompatibilityChangeReporter: Compat change id reported: 214016041; UID 10121; state: ENABLED
07-26 12:43:58.303 3607 3630 E IMGSRV : :220: width ā 1
07-26 12:43:58.303 3607 3630 E IMGSRV : :221: height ā 1
07-26 12:43:58.303 3607 3630 E IMGSRV : :222: format ā 59
07-26 12:43:58.303 3607 3630 E IMGSRV : :223: usage ā 0x0b00
I would like some help regarding it on how or what modification is required on the AOSP source for the matter.
Thanks for your message and welcome to the PowerVR Developer Forum!
According to the logcat message provided, the application running is reporting errors of type GrallocTestAlloc: Invalid color format for formats 59 and 56 (you will need to find out which are exactly those formats). This means the application is trying to generate resources which will be used for something that is not supported by that format. For instance, using an ASTC texture for offscreen rendering, since currently hardware cannot draw directly to ASTC compressed images.
Please contact the application developer and verify whether they are providing support for PowerVR GPUs, specifically for the one your device has, PowerVR-BXM-8-256.
I agree the issue might be related with those updates. Unfortunately GPU driver updates are not managed by Imagination Technologies, but by the SoC manufacturer. You will need to report to the SoC manufacturer of your Motorola G54.
Blockquote
According to the logcat message provided, the application running is reporting errors of type GrallocTestAlloc: Invalid color format for formats 59 and 56 (you will need to find out which are exactly those formats).
GPU Driver developers should use Angle Library instead of spend time to develop drivers for ugly/legacy OpenGL/ES API. @AlejandroC what do you think about it ?