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

AGI + VVL doesn't work on vulkan 1.3 #1339

Open
haasn opened this issue Jan 30, 2024 · 1 comment
Open

AGI + VVL doesn't work on vulkan 1.3 #1339

haasn opened this issue Jan 30, 2024 · 1 comment

Comments

@haasn
Copy link

haasn commented Jan 30, 2024

Environment information:

  • AGI version: 2023-3.3.0:55d96149deb160d0214d73d0e70cb5c799d97416
  • Host OS: Linux
  • Device model: Google Pixel 7
  • Android Version: 14

Bug description
I cannot run my vulkan application under AGI with validation enabled; it throws validation errors about invalid SPIR-V versions and missing features:

01-30 17:13:13.228 25417 25549 I VALIDATION: UNASSIGNED-CoreValidation-Shader-InconsistentSpirv(ERROR / SPEC): msgNum: 0 - SPIR-V module not valid: Invalid SPIR-V binary version 1.6 for target environment SPIR-V 1.3 (under Vulkan 1.1 semantics).
01-30 17:13:13.228 25417 25549 I VALIDATION:     Objects: 1
01-30 17:13:13.228 25417 25549 I VALIDATION:         [0] 0, type: 0, name: NULL
01-30 17:13:13.229 25417 25549 I VALIDATION: UNASSIGNED-GPU-Assisted Validation Error. (ERROR / SPEC): msgNum: 0 - Detail: (Failure to instrument shader.  Proceeding with non-instrumented shader.)
01-30 17:13:13.229 25417 25549 I VALIDATION:     Objects: 1
01-30 17:13:13.229 25417 25549 I VALIDATION:         [0] 0, type: 15, name: NULL
01-30 17:13:13.230 25417 25549 I VALIDATION: UNASSIGNED-CoreValidation-Shader-FeatureNotEnabled(ERROR / SPEC): msgNum: 0 - Shader requires VkPhysicalDeviceFloat16Int8FeaturesKHR::shaderInt8 but is not enabled on the device
01-30 17:13:13.230 25417 25549 I VALIDATION:     Objects: 1
01-30 17:13:13.230 25417 25549 I VALIDATION:         [0] 0, type: 0, name: NULL
01-30 17:13:13.230 25417 25549 I VALIDATION: UNASSIGNED-CoreValidation-Shader-FeatureNotEnabled(ERROR / SPEC): msgNum: 0 - Shader requires extension VkPhysicalDeviceFloat16Int8FeaturesKHR::shaderInt8 but is not enabled on the device
01-30 17:13:13.230 25417 25549 I VALIDATION:     Objects: 1
01-30 17:13:13.230 25417 25549 I VALIDATION:         [0] 0, type: 0, name: NULL
01-30 17:13:13.230 25417 25549 I VALIDATION: UNASSIGNED-CoreValidation-Shader-FeatureNotEnabled(ERROR / SPEC): msgNum: 0 - Shader requires VkPhysicalDevice8BitStorageFeaturesKHR::storageBuffer8BitAccess but is not enabled on the device
01-30 17:13:13.230 25417 25549 I VALIDATION:     Objects: 1
01-30 17:13:13.230 25417 25549 I VALIDATION:         [0] 0, type: 0, name: NULL
...

and then proceeds to segfault.

Reproduction steps

  1. Write a vulkan application that requires v1.3+
  2. Enable vulkan validation layers
  3. Run it under AGI

Additional debugging information

@haasn haasn changed the title AGI doesn't work for my vulkan 1.3 app AGI + VVL doesn't work on vulkan 1.3 Jan 30, 2024
@haasn
Copy link
Author

haasn commented Jan 30, 2024

Simply disabling the validation layers works, though probably by invoking undefined behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant