Unity + Quest: repeated VK_ERROR_INITIALIZATION_FAILED error
I am updating an existing Quest game to use the latest Oculus integration etc. The game runs fine for a minute or so and then the visuals of the game freeze on one frame and the following is repeated on the log. It appears that the game is still running fine in the background because I can hear sounds that suggest that it is running fine, besides the visuals.
Warn Adreno-GSL <log_gpu_snapshot:471>: panel.gpuSnapshotPath is not set.not generating user snapshot
Warn Adreno-GSL <ioctl_kgsl_syncobj_create:5290>: (45, 33, 2329) fail 22 Invalid argument
Warn Vulkan_Utils Vulkan error: vulkanLoader.vkQueueSubmit(VulkanContext.queue, 0, NULL, fenceToUse): 'VK_ERROR_INITIALIZATION_FAILED'(-3) at arvr/projects/xrruntime/mobile/VrRuntime/Client/VrRuntimeClient/VrRuntimeClient.cpp:2625
Warn Adreno-GSL <log_gpu_snapshot:471>: panel.gpuSnapshotPath is not set.not generating user snapshot
Warn Adreno-GSL <ioctl_kgsl_syncobj_create:5290>: (45, 33, 2330) fail 22 Invalid argument
Warn Vulkan_Utils Vulkan error: vulkanLoader.vkQueueSubmit(VulkanContext.queue, 0, NULL, fenceToUse): 'VK_ERROR_INITIALIZATION_FAILED'(-3) at arvr/projects/xrruntime/mobile/VrRuntime/Client/VrRuntimeClient/VrRuntimeClient.cpp:2625
Warn FenceChecker FenceChecker: wait timed out after 100 msec
Warn Adreno-GSL <log_gpu_snapshot:471>: panel.gpuSnapshotPath is not set.not generating user snapshot
Warn Adreno-GSL <ioctl_kgsl_syncobj_create:5290>: (45, 33, 2331) fail 22 Invalid argument
Warn Vulkan_Utils Vulkan error: vulkanLoader.vkQueueSubmit(VulkanContext.queue, 0, NULL, fenceToUse): 'VK_ERROR_INITIALIZATION_FAILED'(-3) at arvr/projects/xrruntime/mobile/VrRuntime/Client/VrRuntimeClient/VrRuntimeClient.cpp:2625
Warn FenceChecker FenceChecker: wait timed out after 100 msec
Warn Adreno-GSL <log_gpu_snapshot:471>: panel.gpuSnapshotPath is not set.not generating user snapshot
Warn Adreno-GSL <ioctl_kgsl_syncobj_create:5290>: (45, 33, 2332) fail 22 Invalid argument
Warn Vulkan_Utils Vulkan error: vulkanLoader.vkQueueSubmit(VulkanContext.queue, 0, NULL, fenceToUse): 'VK_ERROR_INITIALIZATION_FAILED'(-3) at arvr/projects/xrruntime/mobile/VrRuntime/Client/VrRuntimeClient/VrRuntimeClient.cpp:2625I am about to start the trial and error process to determine what the parameters are that cause the issue and what devices are affected by it.
Here is some of my build information:
- Unity 2022.2.15f1
- Oculus XR Plugin 3.3.0
- Oculus Integration 53.1 (1.85.0)
- Device: Quest Pro
- System Version 50000390062500330
- Version 53.0.0.147.132.475553041
- Runtime Version 53.0.0.147.132.475553298
- OS Version SQ3A.220605.009.A1
Please let me know if you have any information or if it might be a known issue with my software versions.
