So, after a brief flurry of other tasks I am back on this smile
RB if I understand correctly I have to make sure that the VIDEO_MODE_BGFX ( osd_renderer::make_for_type --- src/osd/modules/osdwindow.cpp) is being chosen and further the init in renderer_vk.cpp gets called.

Further in renderer_vk.cpp I am stuck as vkCreateAndroidSurfaceKHR is crashing with a SIGSEGV frown
func7 never comes and func6 gives the output as -

../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1652): BGFX func6 m_instance - c9aa5900 m_allocatorCb - 0 sci.window - 0x0
which land the suspects as the nwh (sci.window) and the allocatorcallbacks which is coming as 0x0
Before this I am able to get these values fine - Shared library functions, Instance Functions, Physical Device (Mali-T860) Device functions

#elif BX_PLATFORM_ANDROID
_BX_TRACE("func5");
{
VkAndroidSurfaceCreateInfoKHR sci;
sci.sType = VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR;
sci.pNext = NULL;
sci.flags = 0;
sci.window = (ANativeWindow*)g_platformData.nwh;
_BX_TRACE("func6 m_instance - %x m_allocatorCb - %x sci.window - 0x%x\n", m_instance, m_allocatorCb,sci.window);
result = vkCreateAndroidSurfaceKHR(m_instance, &sci, m_allocatorCb, &m_surface);
_BX_TRACE("func7");
}

Any help is welcome as I seemed to have hit the wall here.

PS - Another scan at the output I am going to take a stab at this. Add ACCESS_SURFACE_FLINGER in the manifest file and try to make it a system app


03-20 09:07:23.742 489 525 I ActivityManager: Start proc 2082:org.mamedev.mame/u0a45 for activity org.mamedev.mame/.MAME
03-20 09:07:23.804 2082 2082 I rg.mamedev.mam: The ClassLoaderContext is a special shared library.
03-20 09:07:23.839 2082 2082 V SDL : onCreate(): null
03-20 09:07:23.843 2082 2082 E libsigchain: Warning: Unexpected sigaction action found 0xededda95
03-20 09:07:24.041 2082 2082 D OpenGLRenderer: Skia GL Pipeline
03-20 09:07:24.061 2082 2082 V MAME : MAME onCreate:
03-20 09:07:24.064 2082 2082 V MAME : copy from Asset:/storage/emulated/0/Android/data/org.mamedev.mame/files/mame.ini
03-20 09:07:24.088 2082 2082 V SDL : onResume()
03-20 09:07:24.115 257 580 W ServiceManager: Permission failure: android.permission.ACCESS_SURFACE_FLINGER from uid=10045 pid=2082
03-20 09:07:24.115 257 580 D PermissionCache: checking android.permission.ACCESS_SURFACE_FLINGER for uid=10045 => denied (1824 us)
03-20 09:07:24.117 2082 2110 I mali_so : [File] : hardware/XXXXX/mali_so/driver/product/base/src/mali_base_kbase.c; [Line] : 876; [Func] : base_context_deal_with_version_affairs_rk_ext;
03-20 09:07:24.117 2082 2110 I mali_so : arm_release_ver of this mali_so is 'r18p0-01rel0', rk_so_ver is '3@0'.
03-20 09:07:24.118 2082 2110 D mali_so : [File] : hardware/XXXXXX/mali_so/driver/product/base/src/mali_base_kbase.c; [Line] : 881; [Func] : base_context_deal_with_version_affairs_rk_ext;
03-20 09:07:24.118 2082 2110 D mali_so : current process is NOT sf, to bail out.
03-20 09:07:24.121 2082 2082 V SDL : surfaceCreated()
03-20 09:07:24.121 2082 2082 V SDL : surfaceChanged()
03-20 09:07:24.121 2082 2082 V SDL : pixel format RGB_565
03-20 09:07:24.125 253 253 D Sensors : set batch: handle = 2, period_ns = 20000000ns, timeout = 0ns
03-20 09:07:24.125 253 253 D Sensors : setDelay : 20000000 ns, (50.00 Hz)
03-20 09:07:24.125 253 253 D Sensors : set flush: handle = 2
03-20 09:07:24.126 253 568 I Sensors : report 1 flush event
03-20 09:07:24.136 2082 2122 I SDL : SDL_Android_Init()
03-20 09:07:24.136 2082 2122 I SDL : SDL_Android_Init() finished!
03-20 09:07:24.143 2082 2110 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
03-20 09:07:24.143 2082 2110 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
03-20 09:07:24.143 2082 2122 V SDL/APP : Attempting load of mame.ini
03-20 09:07:24.144 2082 2122 V SDL/APP : Parsing mame.ini
03-20 09:07:24.143 2082 2110 I OpenGLRenderer: Initialized EGL, version 1.4
03-20 09:07:24.144 2082 2110 D OpenGLRenderer: Swap behavior 2

03-20 09:07:24.167 2082 2110 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
03-20 09:07:24.170 2082 2122 V SDL/APP : Available videodrivers:
03-20 09:07:24.172 2082 2122 V SDL/APP : Android
03-20 09:07:24.172 2082 2122 V SDL/APP :
03-20 09:07:24.172 2082 2122 V SDL/APP : Current Videodriver: Android
03-20 09:07:24.172 2082 2122 V SDL/APP : Display #0
03-20 09:07:24.172 2082 2122 V SDL/APP : Renderdrivers:
03-20 09:07:24.172 2082 2122 V SDL/APP : opengles2 (0x0)
03-20 09:07:24.173 2082 2122 V SDL/APP : opengles (0x0)
03-20 09:07:24.173 2082 2122 V SDL/APP : software (0x0)
03-20 09:07:24.173 2082 2122 V SDL/APP : Available audio drivers:
03-20 09:07:24.173 2082 2122 V SDL/APP : dummy
03-20 09:07:24.175 2082 2122 V SDL/APP : android
03-20 09:07:24.175 2082 2122 V SDL/APP : Build version: 0.218 (mame0218-123-ge32eb4a36f-dirty)
03-20 09:07:24.175 2082 2122 V SDL/APP : Build architecure:
03-20 09:07:24.175 2082 2122 V SDL/APP :
03-20 09:07:24.175 2082 2122 V SDL/APP : Build defines 1:
03-20 09:07:24.175 2082 2122 V SDL/APP : SDLMAME_UNIX=1
03-20 09:07:24.175 2082 2122 V SDL/APP : SDLMAME_LINUX=1
03-20 09:07:24.176 2082 2122 V SDL/APP :
03-20 09:07:24.176 2082 2122 V SDL/APP : Build defines 1:
03-20 09:07:24.176 2082 2122 V SDL/APP : LSB_FIRST=1
03-20 09:07:24.176 2082 2122 V SDL/APP : MAME_NOASM=1
03-20 09:07:24.176 2082 2122 V SDL/APP : MAME_DEBUG=1
03-20 09:07:24.177 2082 2122 V SDL/APP :
03-20 09:07:24.177 2082 2122 V SDL/APP : SDL/OpenGL defines:
03-20 09:07:24.177 2082 2122 V SDL/APP : SDL_COMPILEDVERSION=2005
03-20 09:07:24.177 2082 2122 V SDL/APP : USE_OPENGL=0
03-20 09:07:24.177 2082 2122 V SDL/APP :
03-20 09:07:24.177 2082 2122 V SDL/APP : Compiler defines A:
03-20 09:07:24.177 2082 2122 V SDL/APP : __GNUC__=4
03-20 09:07:24.177 2082 2122 V SDL/APP : __GNUC_MINOR__=2
03-20 09:07:24.178 2082 2122 V SDL/APP : __GNUC_PATCHLEVEL__=1
03-20 09:07:24.178 2082 2122 V SDL/APP : __VERSION__="4.2.1 Compatible Android (5900059 based on r365631c) Clang 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 207d7abc1a2abf3ef8d4301736d6a7ebc224a290)"
03-20 09:07:24.178 2082 2122 V SDL/APP :
03-20 09:07:24.179 2082 2122 V SDL/APP : Compiler defines B:
03-20 09:07:24.179 2082 2122 V SDL/APP : __unix__=1
03-20 09:07:24.179 2082 2122 V SDL/APP :
03-20 09:07:24.179 2082 2122 V SDL/APP : Compiler defines C:
03-20 09:07:24.179 2082 2122 V SDL/APP :
03-20 09:07:24.179 2082 2122 V SDL/APP : Enter init_monitors
03-20 09:07:24.179 2082 2122 V SDL/APP : Adding monitor screen0 (1280 x 1024)
03-20 09:07:24.179 2082 2122 V SDL/APP : Leave init_monitors
03-20 09:07:24.180 2082 2122 V SDL/APP : Enter sdlwindow_init
03-20 09:07:24.181 2082 2122 V SDL/APP : Unable to find the /storage/emulated/0/Game/bgfx folder. Please reinstall it to use the BGFX renderer
03-20 09:07:24.181 2082 2122 V SDL/APP :
03-20 09:07:24.181 2082 2122 V SDL/APP : Hints:

03-20 09:07:24.184 2082 2122 V SDL/APP : Leave sdlwindow_init
03-20 09:07:24.217 2082 2082 V SDL : onWindowFocusChanged(): true
03-20 09:07:24.218 2082 2122 V SDL/APP : Enter sdl_info::create
03-20 09:07:24.224 489 531 I chatty : uid=1000(system) android.display expire 1 line
03-20 09:07:24.228 2082 2122 V SDL : getNativeSurface()
03-20 09:07:24.229 2082 2122 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
03-20 09:07:24.229 2082 2122 V SDL/APP : int renderer_bgfx::create()
03-20 09:07:24.229 2082 2122 V SDL/APP : width 1280 height 1024
03-20 09:07:24.229 2082 2122 V SDL/APP : backend as vulkan
03-20 09:07:24.229 2082 2122 V SDL/APP : Calling bgfx::INIT 888
03-20 09:07:24.230 2082 2122 D : BGFX bgfx init
03-20 09:07:24.230 2082 2122 D : BGFX NULL == _init.allocator calling BX_NEW
03-20 09:07:24.230 2082 2122 D : BGFX NULL == _init.callback calling stub
03-20 09:07:24.230 2082 2122 D : ../../../../../3rdparty/bgfx/src/bgfx.cpp (3371): BGFX bgfx platform data like window handle or backbuffer is not set, creating headless device.
03-20 09:07:24.230 2082 2122 D : ../../../../../3rdparty/bgfx/src/bgfx.cpp (3402): BGFX Init...
03-20 09:07:24.230 2082 2122 D : ../../../../../3rdparty/bgfx/src/bgfx.cpp (1761): BGFX g_platformData is NULL - 0x0 0x0 0x0 0x0 0x0
03-20 09:07:24.231 2082 2122 D : ../../../../../3rdparty/bgfx/src/bgfx.cpp (1791): BGFX Creating rendering thread.
03-20 09:07:24.232 2082 2122 D : ../../../../../3rdparty/bgfx/src/bgfx.cpp (1800): BGFX Running in multi-threaded mode
03-20 09:07:24.232 2082 2124 D : ../../../../../3rdparty/bgfx/src/bgfx.cpp (2572): BGFX Scoring in BX_PLATFORM_ANDROID
03-20 09:07:24.232 2082 2124 D :
03-20 09:07:24.232 2082 2124 D : ../../../../../3rdparty/bgfx/src/bgfx.cpp (2572): BGFX Scoring in BX_PLATFORM_ANDROID
03-20 09:07:24.232 2082 2124 D :
03-20 09:07:24.232 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (4190): BGFX RendererContextI* rendererCreate(const Init& _init)
03-20 09:07:24.235 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (4192): BGFX s_renderVK -
03-20 09:07:24.235 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1105): BGFX INIT CALLED
03-20 09:07:24.235 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1124): BGFX 1
03-20 09:07:24.235 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1130): BGFX 2
03-20 09:07:24.235 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1141): BGFX 3
03-20 09:07:24.235 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1153): BGFX 4
03-20 09:07:24.235 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1162): BGFX Shared library functions:
03-20 09:07:24.235 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1167): BGFX 0xeba2986d vkCreateInstance
03-20 09:07:24.235 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1167): BGFX 0xeba299bd vkGetInstanceProcAddr
03-20 09:07:24.235 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1167): BGFX 0xeba2987b vkGetDeviceProcAddr
03-20 09:07:24.235 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1167): BGFX 0xeba29b59 vkEnumerateInstanceExtensionProperties
03-20 09:07:24.235 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1167): BGFX 0xeba29b55 vkEnumerateInstanceLayerProperties
03-20 09:07:24.238 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (576): BGFX ENTERING DUMPEXTENSIONS
03-20 09:07:24.238 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (579): BGFX ENTERING DUMPEXTENSIONS1
03-20 09:07:24.243 2082 2124 D vulkan : searching for layers in '/data/app/org.mamedev.mame-FTGcdIQJrHLGRwuuNuwHlA==/lib/arm'
03-20 09:07:24.243 2082 2124 D vulkan : searching for layers in '/system/fake-libs'
03-20 09:07:24.244 2082 2124 D vulkan : searching for layers in '/data/app/org.mamedev.mame-FTGcdIQJrHLGRwuuNuwHlA==/base.apk!/lib/armeabi-v7a'
03-20 09:07:24.245 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (585): BGFX ENTERING DUMPEXTENSIONS2
03-20 09:07:24.245 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (599): BGFX Global extensions (6):
03-20 09:07:24.245 2082 2124 D :
03-20 09:07:24.245 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (290): BGFX v25 VK_KHR_surface
03-20 09:07:24.245 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (290): BGFX v6 VK_KHR_android_surface
03-20 09:07:24.245 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (290): BGFX v3 VK_EXT_swapchain_colorspace
03-20 09:07:24.245 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (290): BGFX v1 VK_KHR_get_surface_capabilities2
03-20 09:07:24.245 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (290): BGFX v9 VK_EXT_debug_report
03-20 09:07:24.245 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (290): BGFX v1 VK_KHR_get_physical_device_properties2 (supported)
03-20 09:07:24.246 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (614): BGFX 2enumerateLayerProperties
03-20 09:07:24.246 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (616): BGFX 1enumerateLayerProperties - 0, result - 0
03-20 09:07:24.246 2082 2124 D :
03-20 09:07:24.246 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (669): BGFX EXITING DUMPEXTENSIONS
03-20 09:07:24.246 2082 2124 D :
03-20 09:07:24.246 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1224): BGFX numEnabledExtensions - 3: extension.m_name - VK_KHR_get_physical_device_properties2
03-20 09:07:24.243 2082 2082 I SDLThread: type=1400 audit(0.0:137): avc: denied { open } for path="/dev/__properties__/u:object_r:bluetooth_a2dp_offload_prop:s0" dev="tmpfs" ino=9414 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:bluetooth_a2dp_offload_prop:s0 tclass=file permissive=1
03-20 09:07:24.243 2082 2082 I SDLThread: type=1400 audit(0.0:138): avc: denied { getattr } for path="/dev/__properties__/u:object_r:bluetooth_a2dp_offload_prop:s0" dev="tmpfs" ino=9414 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:bluetooth_a2dp_offload_prop:s0 tclass=file permissive=1
03-20 09:07:24.243 2082 2082 I SDLThread: type=1400 audit(0.0:139): avc: denied { open } for path="/dev/__properties__/u:object_r:bluetooth_prop:s0" dev="tmpfs" ino=9415 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:bluetooth_prop:s0 tclass=file permissive=1
03-20 09:07:24.243 2082 2082 I SDLThread: type=1400 audit(0.0:140): avc: denied { getattr } for path="/dev/__properties__/u:object_r:bluetooth_prop:s0" dev="tmpfs" ino=9415 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:bluetooth_prop:s0 tclass=file permissive=1
03-20 09:07:24.243 2082 2082 I SDLThread: type=1400 audit(0.0:141): avc: denied { open } for path="/dev/__properties__/u:object_r:bootloader_boot_reason_prop:s0" dev="tmpfs" ino=9416 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:bootloader_boot_reason_prop:s0 tclass=file permissive=1
03-20 09:07:24.262 2082 2124 I mali_so : [File] : hardware/XXXXXX/mali_so/driver/product/base/src/mali_base_kbase.c; [Line] : 876; [Func] : base_context_deal_with_version_affairs_rk_ext;
03-20 09:07:24.262 2082 2124 I mali_so : arm_release_ver of this mali_so is 'r18p0-01rel0', rk_so_ver is '3@0'.
03-20 09:07:24.263 2082 2124 D mali_so : [File] : hardware/XXXXXX/mali_so/driver/product/base/src/mali_base_kbase.c; [Line] : 881; [Func] : base_context_deal_with_version_affairs_rk_ext;
03-20 09:07:24.263 2082 2124 D mali_so : current process is NOT sf, to bail out.
03-20 09:07:24.282 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1249): BGFX vkCreateinstance result - 0 m_instance - -365055928
03-20 09:07:24.282 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1258): BGFX Instance functions:
03-20 09:07:24.282 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xeba25b25 vkDestroyInstance
03-20 09:07:24.282 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xeba2ba29 vkEnumeratePhysicalDevices
03-20 09:07:24.282 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xeba2626d vkEnumerateDeviceExtensionProperties
03-20 09:07:24.282 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xeba26211 vkEnumerateDeviceLayerProperties
03-20 09:07:24.282 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xdb5e25b8 vkGetPhysicalDeviceProperties
03-20 09:07:24.282 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xdb5e2af0 vkGetPhysicalDeviceFormatProperties
03-20 09:07:24.282 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xdb5e3020 vkGetPhysicalDeviceFeatures
03-20 09:07:24.282 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xdb5e2b70 vkGetPhysicalDeviceImageFormatProperties
03-20 09:07:24.282 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xdb5e2a38 vkGetPhysicalDeviceMemoryProperties
03-20 09:07:24.282 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xdb5e2a94 vkGetPhysicalDeviceMemoryProperties2KHR
03-20 09:07:24.283 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xdb5e2f58 vkGetPhysicalDeviceQueueFamilyProperties
03-20 09:07:24.283 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xeba2f921 vkGetPhysicalDeviceSurfaceCapabilitiesKHR
03-20 09:07:24.283 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xeba2fa8d vkGetPhysicalDeviceSurfaceFormatsKHR
03-20 09:07:24.283 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xeba2fcc1 vkGetPhysicalDeviceSurfacePresentModesKHR
03-20 09:07:24.283 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xeba2f875 vkGetPhysicalDeviceSurfaceSupportKHR
03-20 09:07:24.283 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xeba25bb9 vkCreateDevice
03-20 09:07:24.283 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xeba2604d vkDestroyDevice
03-20 09:07:24.283 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xeba2f83d vkDestroySurfaceKHR
03-20 09:07:24.283 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0x0 vkCreateDebugReportCallbackEXT
03-20 09:07:24.283 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0x0 vkDestroyDebugReportCallbackEXT
03-20 09:07:24.283 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0x0 vkDebugReportMessageEXT
03-20 09:07:24.283 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xeba2f72d vkCreateAndroidSurfaceKHR
03-20 09:07:24.283 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1295): BGFX ---
03-20 09:07:24.283 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1328): BGFX Physical device 0:
03-20 09:07:24.284 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1329): BGFX Name: Mali-T860
03-20 09:07:24.284 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1330): BGFX API version: 400027
03-20 09:07:24.284 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1331): BGFX Driver version: e7ca91ce
03-20 09:07:24.284 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1332): BGFX VendorId: 13b5
03-20 09:07:24.284 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1333): BGFX DeviceId: 8602000
03-20 09:07:24.284 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1334): BGFX Type: 1
03-20 09:07:24.284 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1350): BGFX Memory type count: 3
03-20 09:07:24.284 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1357): BGFX 0: flags 0x00000007, index 0
03-20 09:07:24.284 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1357): BGFX 1: flags 0x0000000b, index 0
03-20 09:07:24.284 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1357): BGFX 2: flags 0x00000011, index 0
03-20 09:07:24.284 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1360): BGFX Memory heap count: 1
03-20 09:07:24.284 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1369): BGFX 0: flags 0x00000001, size 3.75 GiB
03-20 09:07:24.284 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (576): BGFX ENTERING DUMPEXTENSIONS
03-20 09:07:24.284 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (579): BGFX ENTERING DUMPEXTENSIONS1
03-20 09:07:24.287 2082 2124 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
03-20 09:07:24.288 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (585): BGFX ENTERING DUMPEXTENSIONS2
03-20 09:07:24.288 2082 2124 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
03-20 09:07:24.288 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (599): BGFX Global extensions (2):
03-20 09:07:24.288 2082 2124 D :
03-20 09:07:24.288 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (290): BGFX v1 VK_KHR_incremental_present
03-20 09:07:24.288 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (290): BGFX v70 VK_KHR_swapchain
03-20 09:07:24.288 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (614): BGFX 2enumerateLayerProperties
03-20 09:07:24.288 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (616): BGFX 1enumerateLayerProperties - 0, result - 0
03-20 09:07:24.288 2082 2124 D :
03-20 09:07:24.288 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (669): BGFX EXITING DUMPEXTENSIONS
03-20 09:07:24.288 2082 2124 D :
03-20 09:07:24.288 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1377): BGFX VK_NULL_HANDLE == m_physicalDevice
03-20 09:07:24.288 2082 2124 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1455): BGFX Supported 8

03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0x0 vkCreateDebugReportCallbackEXT
03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0x0 vkDestroyDebugReportCallbackEXT
03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0x0 vkDebugReportMessageEXT
03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1264): BGFX 0xeba2f72d vkCreateAndroidSurfaceKHR
03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1295): BGFX ---
03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1328): BGFX Physical device 0:
03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1329): BGFX Name: Mali-T860
03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1330): BGFX API version: 400027
03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1331): BGFX Driver version: e7ca91ce
03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1332): BGFX VendorId: 13b5
03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1333): BGFX DeviceId: 8602000
03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1334): BGFX Type: 1
03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1350): BGFX Memory type count: 3
03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1357): BGFX 0: flags 0x00000007, index 0
03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1357): BGFX 1: flags 0x0000000b, index 0
03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1357): BGFX 2: flags 0x00000011, index 0
03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1360): BGFX Memory heap count: 1
03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1369): BGFX 0: flags 0x00000001, size 3.75 GiB
03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (576): BGFX ENTERING DUMPEXTENSIONS
03-20 10:50:36.566 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (579): BGFX ENTERING DUMPEXTENSIONS1
03-20 10:50:36.570 2222 2263 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
03-20 10:50:36.571 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (585): BGFX ENTERING DUMPEXTENSIONS2
03-20 10:50:36.571 2222 2263 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
03-20 10:50:36.571 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (599): BGFX Global extensions (2):
03-20 10:50:36.571 2222 2263 D :
03-20 10:50:36.571 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (290): BGFX v1 VK_KHR_incremental_present
03-20 10:50:36.571 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (290): BGFX v70 VK_KHR_swapchain
03-20 10:50:36.571 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (614): BGFX 2enumerateLayerProperties
03-20 10:50:36.571 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (616): BGFX 1enumerateLayerProperties - 0, result - 0
03-20 10:50:36.571 2222 2263 D :
03-20 10:50:36.571 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (669): BGFX EXITING DUMPEXTENSIONS
03-20 10:50:36.571 2222 2263 D :
03-20 10:50:36.571 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1377): BGFX VK_NULL_HANDLE == m_physicalDevice
03-20 10:50:36.571 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1455): BGFX Supported 8
03-20 10:50:36.571 2222 2263 I chatty : uid=10045(u0_a45) org.mamedev.mame identical 145 lines
03-20 10:50:36.578 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1495): BGFX Queue family property 0:
03-20 10:50:36.579 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1496): BGFX Queue flags: 0x00000007
03-20 10:50:36.579 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1497): BGFX Queue count: 2
03-20 10:50:36.579 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1498): BGFX TS valid bits: 0x00000000
03-20 10:50:36.579 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1503): BGFX Min image: 1 x 1 x 1
03-20 10:50:36.579 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1564): BGFX Extension::Count - 4
03-20 10:50:36.579 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1598): BGFX Device being created+++++++++++++++
03-20 10:50:36.579 2222 2263 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
03-20 10:50:36.579 2222 2263 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
03-20 10:50:36.594 2222 2263 I mali_so : [File] : hardware/XXXXXX/mali_so/driver/product/base/src/mali_base_kbase.c; [Line] : 876; [Func] : base_context_deal_with_version_affairs_rk_ext;
03-20 10:50:36.594 2222 2263 I mali_so : arm_release_ver of this mali_so is 'r18p0-01rel0', rk_so_ver is '3@0'.
03-20 10:50:36.594 2222 2263 D mali_so : [File] : hardware/rXXXXXX/mali_so/driver/product/base/src/mali_base_kbase.c; [Line] : 881; [Func] : base_context_deal_with_version_affairs_rk_ext;
03-20 10:50:36.594 2222 2263 D mali_so : current process is NOT sf, to bail out.
03-20 10:50:36.612 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1605): BGFX Device created++++++++++++++
03-20 10:50:36.612 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1615): BGFX Device functions:
03-20 10:50:36.612 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1620): BGFX 0xeba2bced vkGetDeviceQueue

TOO MANY HERE

03-20 10:50:36.615 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1622): BGFX func1
03-20 10:50:36.615 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1628): BGFX func2
03-20 10:50:36.615 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1630): BGFX func3
03-20 10:50:36.615 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1632): BGFX func4
03-20 10:50:36.615 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1645): BGFX func5
03-20 10:50:36.615 2222 2263 D : ../../../../../3rdparty/bgfx/src/renderer_vk.cpp (1652): BGFX func6 m_instance - c9aa5900 m_allocatorCb - 0 sci.window - 0x0
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x58