Hi.I'm testing new Performance Studio 2024. And i've tried to capture some info with Frame Advisor on my test project (built with Unity 2022.3.6f1). All seems ok, except absence of any visual representation of frame/draw calls in Framebuffers window.Device i'm using is Huawei P30 (with Mali-G76 MP10). Didn't find any info about such issue in manual and on forum. So decided to ask. Will appreciate any help or information.Kind Regards,Gennadii
Hi Gennadii,
This message indicates that the version of Frame Advisor that you are using doesn't support the display of the image formats being used. If you could supply the frame advisor log files (Check the preferences dialog available from the Configure menu to see where these are stored) then I can determine which image format is present. We are planning on adding support for more image formats in the future which should alleviate this issue for you.Thanks,
Martyn
Hi, Martyn. Thanks for such a rapid answer.Frame Advisor version is 1.1 Build date: Feb 20 2024GUI build: f8c5f32d7120e550a968b54f61a2ab96197d984cBackend build: 86d9cb77f7089f1aec61cbd1b318b062616fdb29According to log file, Image Format is 37 (when all Frame or Render Pass are selected) and is 139 (when individual Draw Calls are selected).Here is part of log with unsupported image format messages:
[2024-04-24 15:58:56.363] [Client] [debug] "The concurrent frame count is 2" [2024-04-24 15:58:56.363] [Client] [debug] "Uniform buffer offset alignment is 64" [2024-04-24 15:58:56.364] [Client] [debug] "Using linear image sampling" [2024-04-24 15:58:56.365] [Client] [debug] "Allocating 262144 bytes for texture image" [2024-04-24 15:58:56.365] [Client] [debug] Total bytes written to the Vulkan image memory: 262144 [2024-04-24 15:58:56.399] [Client] [debug] Processing input texture type: 37 [2024-04-24 15:58:56.399] [Client] [debug] Unsupported format: 37 [2024-04-24 15:58:56.399] [Client] [debug] Maps to Vulkan Format type: 0 [2024-04-24 15:58:56.399] [Client] [debug] Expected size: 0 actual size received: 4492800 [2024-04-24 15:58:56.399] [Client] [warning] "Unsupported image format 37" [2024-04-24 15:58:56.401] [Client] [debug] "Using linear image sampling" [2024-04-24 15:58:56.401] [Client] [debug] "Allocating 670592 bytes for texture image" [2024-04-24 15:58:56.402] [Client] [debug] Total bytes written to the Vulkan image memory: 662480 [2024-04-24 15:58:56.405] [Client] [debug] "Attachment: Color 0 Format: 37" [2024-04-24 15:58:56.406] [Client] [debug] Processing input texture type: 37 [2024-04-24 15:58:56.406] [Client] [debug] Unsupported format: 37 [2024-04-24 15:58:56.406] [Client] [debug] Maps to Vulkan Format type: 0 [2024-04-24 15:58:56.406] [Client] [debug] Expected size: 0 actual size received: 4492800 [2024-04-24 15:58:56.406] [Client] [warning] "Unsupported image format 37" [2024-04-24 15:58:56.408] [Client] [debug] "Using linear image sampling" [2024-04-24 15:58:56.408] [Client] [debug] "Allocating 670592 bytes for texture image" [2024-04-24 15:58:56.408] [Client] [debug] Total bytes written to the Vulkan image memory: 662480 [2024-04-24 15:59:07.715] [Client] [debug] "Using linear image sampling" [2024-04-24 15:59:07.715] [Client] [debug] "Allocating 670592 bytes for texture image" [2024-04-24 15:59:07.715] [Client] [debug] Total bytes written to the Vulkan image memory: 662480 [2024-04-24 15:59:07.717] [Client] [debug] Processing input texture type: 139 [2024-04-24 15:59:07.717] [Client] [debug] Unsupported format: 139 [2024-04-24 15:59:07.717] [Client] [debug] Maps to Vulkan Format type: 0 [2024-04-24 15:59:07.717] [Client] [debug] Expected size: 0 actual size received: 4492800 [2024-04-24 15:59:07.717] [Client] [warning] "Unsupported image format 139" [2024-04-24 15:59:07.718] [Client] [debug] "Using linear image sampling" [2024-04-24 15:59:07.718] [Client] [debug] "Allocating 670592 bytes for texture image" [2024-04-24 15:59:07.718] [Client] [debug] Total bytes written to the Vulkan image memory: 662480 [2024-04-24 15:59:07.723] [Client] [debug] "Attachment: Color 0 Format: 139" [2024-04-24 15:59:07.723] [Client] [debug] Processing input texture type: 139 [2024-04-24 15:59:07.723] [Client] [debug] Unsupported format: 139 [2024-04-24 15:59:07.723] [Client] [debug] Maps to Vulkan Format type: 0 [2024-04-24 15:59:07.723] [Client] [debug] Expected size: 0 actual size received: 4492800 [2024-04-24 15:59:07.723] [Client] [warning] "Unsupported image format 139" [2024-04-24 15:59:07.725] [Client] [debug] "Using linear image sampling" [2024-04-24 15:59:07.725] [Client] [debug] "Allocating 670592 bytes for texture image" [2024-04-24 15:59:07.725] [Client] [debug] Total bytes written to the Vulkan image memory: 662480 [2024-04-24 15:59:12.613] [Client] [debug] "Using linear image sampling" [2024-04-24 15:59:12.613] [Client] [debug] "Allocating 670592 bytes for texture image" [2024-04-24 15:59:12.613] [Client] [debug] Total bytes written to the Vulkan image memory: 662480 [2024-04-24 15:59:12.614] [Client] [debug] Processing input texture type: 139 [2024-04-24 15:59:12.614] [Client] [debug] Unsupported format: 139 [2024-04-24 15:59:12.614] [Client] [debug] Maps to Vulkan Format type: 0 [2024-04-24 15:59:12.614] [Client] [debug] Expected size: 0 actual size received: 4492800 [2024-04-24 15:59:12.614] [Client] [warning] "Unsupported image format 139" [2024-04-24 15:59:12.615] [Client] [debug] "Using linear image sampling" [2024-04-24 15:59:12.615] [Client] [debug] "Allocating 670592 bytes for texture image" [2024-04-24 15:59:12.615] [Client] [debug] Total bytes written to the Vulkan image memory: 662480 [2024-04-24 15:59:12.619] [Client] [debug] "Attachment: Color 0 Format: 139" [2024-04-24 15:59:12.620] [Client] [debug] Processing input texture type: 139 [2024-04-24 15:59:12.620] [Client] [debug] Unsupported format: 139 [2024-04-24 15:59:12.620] [Client] [debug] Maps to Vulkan Format type: 0 [2024-04-24 15:59:12.620] [Client] [debug] Expected size: 0 actual size received: 4492800 [2024-04-24 15:59:12.620] [Client] [warning] "Unsupported image format 139" [2024-04-24 15:59:12.621] [Client] [debug] "Using linear image sampling" [2024-04-24 15:59:12.621] [Client] [debug] "Allocating 670592 bytes for texture image" [2024-04-24 15:59:12.621] [Client] [debug] Total bytes written to the Vulkan image memory: 662480 [2024-04-24 15:59:14.596] [Client] [debug] "Using linear image sampling" [2024-04-24 15:59:14.596] [Client] [debug] "Allocating 670592 bytes for texture image" [2024-04-24 15:59:14.597] [Client] [debug] Total bytes written to the Vulkan image memory: 662480 [2024-04-24 15:59:14.598] [Client] [debug] Processing input texture type: 139 [2024-04-24 15:59:14.598] [Client] [debug] Unsupported format: 139 [2024-04-24 15:59:14.598] [Client] [debug] Maps to Vulkan Format type: 0 [2024-04-24 15:59:14.598] [Client] [debug] Expected size: 0 actual size received: 4492800 [2024-04-24 15:59:14.598] [Client] [warning] "Unsupported image format 139" [2024-04-24 15:59:14.600] [Client] [debug] "Using linear image sampling" [2024-04-24 15:59:14.600] [Client] [debug] "Allocating 670592 bytes for texture image" [2024-04-24 15:59:14.600] [Client] [debug] Total bytes written to the Vulkan image memory: 662480 [2024-04-24 15:59:14.603] [Client] [debug] "Attachment: Color 0 Format: 139" [2024-04-24 15:59:14.604] [Client] [debug] Processing input texture type: 139 [2024-04-24 15:59:14.604] [Client] [debug] Unsupported format: 139 [2024-04-24 15:59:14.604] [Client] [debug] Maps to Vulkan Format type: 0 [2024-04-24 15:59:14.604] [Client] [debug] Expected size: 0 actual size received: 4492800 [2024-04-24 15:59:14.604] [Client] [warning] "Unsupported image format 139" [2024-04-24 15:59:14.606] [Client] [debug] "Using linear image sampling" [2024-04-24 15:59:14.606] [Client] [debug] "Allocating 670592 bytes for texture image" [2024-04-24 15:59:14.606] [Client] [debug] Total bytes written to the Vulkan image memory: 662480 [2024-04-24 15:59:18.298] [DeviceManager:Android] [info] Shut down adb transport
And here is a full log file in attachment.
frameadvisor.log.txt
And if I should check formats of this images here, in Vulkan documentation, seems like37 is VK_FORMAT_R8G8B8A8_UNORMand 139 is VK_FORMAT_BC4_UNORM_BLOCK
The number in the "Unsupported format" message is an internal Frame Advisor format. 37 is actually RGBA8 sRGB. This should be supported in 1.2, which was released yesterday. Could you try downloading the latest Performance Studio and opening your trace file? Please let us know if there are any issues.Format 139 is most likely VK_FORMAT_B10G11R11_UFLOAT_PACK32. Unfortunately, this is not supported yet, but thank you for bringing this to our attention, as it helps us to prioritize which formats to support.
Thanks,
Liam
Hi, Liam. Yes, seems like all fine with 37 format in new version. I can see preview for Frame.
And get messages in log for it:
[debug] Processing input texture type: 37 [debug] Maps to Vulkan Format type: 43
But for all other parts (Render passes and individual Draw calls) sitll get "unsupported image format" (because they are in 139 Format). And it's pitty, because it is hard to understand frame structure without preview of it substeps and individual draw calls.Hope, you'll bring support for this format soon.
Untill then, last question - could there be some settings or recomendations for build creation process from your side, how can I force my application to work with supported formats (seems unlikely for me, because I'm creating build from Unity and don't have full control of build process, but anyway ..)? And do you have some links to documentation about supported formats?
Kind Regards,Gennadii
Thank you for your suggestions, I will feed those on to the rest of the team. Ideally, we would like Frame Advisor to "just work" with Unity, but clearly we are not there yet.
I'm not aware of any documentation for supported formats. But, I can tell you that currently, the only supported color attachment formats are RGBA8 unorm and RGBA8 sRGB.
Kind regards,
Just to let you know, I believe this format is now supported in Performance Studio 2024.2.