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

Loader messages for environment variables are confusing and don't follow VK_LOADER_DEBUG or vk_loader_settings.json settings #1580

Open
christophe-lunarg opened this issue Oct 23, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@christophe-lunarg
Copy link
Contributor

christophe-lunarg commented Oct 23, 2024

  • When stderr_log is set empty in vk_loader_settings.json, and VK_LOADER_DEBUG is unset (I tried to set it nothing too) I am still getting these loader messages:
WARNING: [Loader Message] Code 0 : env var 'VK_INSTANCE_LAYERS' defined and adding layers: VK_LAYER_KHRONOS_validation
  • There is no log message for layers added with both VK_LOADER_LAYERS_ENABLE and 'VK_INSTANCE_LAYERS', I will only get:
WARNING: [Loader Message] Code 0 : env var 'VK_INSTANCE_LAYERS' defined and adding layers "VK_LAYER_KHRONOS_profiles"

If I unset 'VK_INSTANCE_LAYERS', I am getting:

WARNING: [Loader Message] Code 0 : Layer "VK_LAYER_KHRONOS_profiles" forced enabled due to env var 'VK_LOADER_LAYERS_ENABLE'

The messages are not consistent which is also unnecessary confusing.

@christophe-lunarg christophe-lunarg added the bug Something isn't working label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants