Broken Vulkan on Android 14 QPR2/QPR3/15 DSU (PowerVR-BXM-8-256)

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.

1 Like


This is what it looks like

1 Like

Hi sarthakroy2002,

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.

Best regards,
Alejandro

Thing is that it works on Stock Android 14 which is based on QPR1. But broken on Android 14 QPR2+. I think it is platform related issue.

I have flashed Android 14 QPR1 Google GSI and tested, it worked but from Android 14 QPR2+, It just gives that error.

Can you please shed some light if there are any changes on Gralloc hal from Android 14 QPR2+ for Powervr.

Hi sarthakroy2002,

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.

Best regards,
Alejandro