KhronosGroup / KhronosGroup/OpenXR-SDK-Source

Exception when running hello_xr in debug mode

Open
#218 12 comments 0 reactions 0 assignees View on GitHub
in hello_xr synced to gitlab
Dominant language
Python
Stars
825
Forks
306
Avg merge
1d 23h
Merged PRs (30d)
1

Description

I am getting an exception inside amdvlk64.dll when running hello_xr in debug mode. It looks like it could be related to enabled validation layers. The sample works as expected in release mode. This is the error I get in the output in debug mode:

[19:58:49.029][Error ] ERROR: (INSTANCE 0x1a69748ba60) [Validation] Validation Error: [ VUID-VkImageViewCreateInfo-image-parameter ] Object 0: handle = 0x1a69748ba60, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0x12cba4ac | Invalid VkImage Object 0x1a6a0f28bf0.

I have attached a screenshot showing the callstack at the time of the exception.

[
![Capture](https://user-images.githubusercontent.com/723464/98028001-626e5600-1e05-11eb-93a1-23f4516e434f.PNG)
](url)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce hello_xr in debug mode with validation layers enabled and inspect the attached callstack alongside the reported VUID-VkImageViewCreateInfo-image-parameter error. Compare the debug and release behavior; done means the debug sample runs without the exception or invalid VkImage validation error.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.