Skip to content

Loader Settings: Invalid deviceUUID report a warning and exit #1743

@christophe-lunarg

Description

@christophe-lunarg

Using the following vk_loader_settings.json:

vk_loader_settings.json

I am using "additional_drivers_use_exclusively": true because of #1718 bug

But here I am using un invalid deviceUUID leading to not finding the device.

Running vulkaninfoSDK, I am getting the following log:

Launching Vulkan Application:
- Executable: E:\VulkanSDK\1.4.321.0-rc\Bin\vulkaninfoSDK.exe
- Working Directory: C:\Users\Piranha\VulkanSDK
- Command-line Arguments:
  - --summary
- Log file: C:\Users\Piranha\VulkanSDK\vulkaninfo.txt

WARNING: [Loader Message] Code 0 : Layer VK_LAYER_NV_optimus uses API version 1.3 which is older than the application specified API version of 1.4. May cause issues.

WARNING: [Loader Message] Code 0 : loader_apply_settings_device_configurations: settings file contained device_configuration which does not appear in the enumerated VkPhysicalDevices. Missing VkPhysicalDevice with deviceName: "llvmpipe (LLVM 20.1.6, 256 bits)" and deviceUUID: 6e667462-3336-2f31-2f38-111111

Process terminated

If the behavior is to exit the program, I would suggest to report an error. Another approach could be to ignore the the device_configurations and report the warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions