Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic rendering local read sample crashes on Android #1277

Open
SaschaWillems opened this issue Feb 20, 2025 · 0 comments
Open

Dynamic rendering local read sample crashes on Android #1277

SaschaWillems opened this issue Feb 20, 2025 · 0 comments
Labels
android Issues related to the Android platform bug Something isn't working

Comments

@SaschaWillems
Copy link
Collaborator

On a Google Pixel 9, the dynamic rendering local read sample crashes with a device lost. Logcat shows several validation errors:

[error] -710792591 - VUID-VkRenderingInfo-pNext-06080: Validation Error: [ VUID-VkRenderingInfo-pNext-06080 ] Object 0: handle = 0xb400007123b0ce80, type = VK_OBJECT_TYPE_COMMAND_BUFFER; Object 1: handle = 0x4295ab0000000035, type = VK_OBJECT_TYPE_IMAGE_VIEW; | MessageID = 0xd5a22a71 | vkCmdBeginRenderingKHR(): pRenderingInfo->pColorAttachments[3].imageView height (720) is less than pRenderingInfo->renderArea.offset.y (0) + pRenderingInfo->renderArea.extent.height (2424).
The Vulkan spec states: If the pNext chain does not contain VkDeviceGroupRenderPassBeginInfo or its deviceRenderAreaCount member is equal to 0, the height of the imageView member of any element of pColorAttachments, pDepthAttachment, or pStencilAttachment that is not VK_NULL_HANDLE must be greater than or equal to renderArea.offset.y + renderArea.extent.height (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkRenderingInfo-pNext-06080)
[error] Error Message: Detected Vulkan error: ERROR_DEVICE_LOST

Since I wrote that sample I'll try to fix this.

@SaschaWillems SaschaWillems added android Issues related to the Android platform bug Something isn't working labels Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Issues related to the Android platform bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant