This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

【Vulkan】 Question About VK_EXT_fragment_density_map

Hi,

About VK_EXT_fragment_density_map(VkPhysicalDeviceFragmentDensityMapFeaturesEXT) (registry.khronos.org/.../vkspec.html

when used VK_EXT_fragment_density_map , mali gpu (Device1 & Device2) has crashed In vkCmdEndRenderPass (crash stack in attachment , No Validation Error),and Adreno  gpu (Device3) has succeed

Device1(mali)

  •  Oppo Reno5 Pro 5G
  •  GpuFamily:ARM Mali-G77 MC9
  •  AndroidVersion:12
  • GlVersion:OpenGL ES 3.2 v1.r32p1-01eac0.111ce79c0e85a639772bd634d9e734cf,) 
  • VulkanVersion: 1.1.177

Device2(mali)

  • GpuFamily: Mali-G77 MC9
  • AndroidVersion: 11
  • GlVersion: OpenGL ES 3.2 v1.r26p0-01eac0.bed3b8f44871361148086fa6397ba747
  • VulkanVersion: 1.1.131

Device3(Adreno)

  • vivo
  • GpuFamily: Adreno (TM) 660
  • AndroidVersion: 11
  • GlVersion: OpenGL ES 3.2 V@0525.0 (GIT@f7fceaaafa, I5121de8c99, 1605177106) (Date:11/12/20)
  • VulkanVersion: 1.1.128

Code Setting:

  1. VK_EXT_fragment_density_map be Supported (By vkEnumerateDeviceExtensionProperties
  2. VkPhysicalDeviceFragmentDensityMapFeaturesEXT.fragmentDensityMap is true (By vkGetPhysicalDeviceFeatures2)
  3. When create device, I added extension VK_EXT_fragment_density_map (Supported By Device) (means VkDeviceCreateInfo.ppEnabledExtensionNames = "xxx"...,"VK_EXT_fragment_density_map",..."") & pNext to VkPhysicalDeviceFragmentDensityMapFeaturesEXT (means VkDeviceCreateInfo.pNext = ... &VkPhysicalDeviceFragmentDensityMapFeaturesEXT ....)

Is  Vulkan driver (mali)  bug ?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
11-15 11:23:35.249 25220 25220 E DEBUG : failed to read /proc/uptime: Permission denied
--------- beginning of crash
11-15 11:23:35.460 25220 25220 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-15 11:23:35.460 25220 25220 F DEBUG : Build fingerprint: 'OPPO/PDSM00/OP4EA3:12/SP1A.210812.016/R.202210172234:user/release-keys'
11-15 11:23:35.461 25220 25220 F DEBUG : Revision: '0'
11-15 11:23:35.461 25220 25220 F DEBUG : ABI: 'arm64'
11-15 11:23:35.461 25220 25220 F DEBUG : Timestamp: 2022-11-15 11:23:35.249080644+0800
11-15 11:23:35.461 25220 25220 F DEBUG : Process uptime: 0s
11-15 11:23:35.461 25220 25220 F DEBUG : Cmdline:
11-15 11:23:35.461 25220 25220 F DEBUG : pid: 24814, tid: 24923, name: GameThread >>> <<<
11-15 11:23:35.461 25220 25220 F DEBUG : uid: 10359
11-15 11:23:35.461 25220 25220 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
11-15 11:23:35.461 25220 25220 F DEBUG : Cause: null pointer dereference
11-15 11:23:35.461 25220 25220 F DEBUG : x0 00000076f3d435e8 x1 0000000000000000 x2 0000000000000002 x3 00000076f3d43660
11-15 11:23:35.461 25220 25220 F DEBUG : x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 0000000000000000
11-15 11:23:35.461 25220 25220 F DEBUG : x8 00000076df66b6cc x9 0000000000000000 x10 00000076f3d43c28 x11 0000000000000018
11-15 11:23:35.461 25220 25220 F DEBUG : x12 00000075d657c428 x13 0000000000000003 x14 0000000000000000 x15 0000005efcb90780
11-15 11:23:35.461 25220 25220 F DEBUG : x16 00000076e18a8878 x17 00000077a1b5c9b0 x18 472e736c69745565 x19 00000076f3d43808
11-15 11:23:35.461 25220 25220 F DEBUG : x20 0000000000000020 x21 00000076f3d43b80 x22 00000076f3d43690 x23 0000005efcb90a60
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

0