Skip to content

Add driverUUID and driverVersion to settings file device configuration parameters#1778

Merged
charles-lunarg merged 2 commits into
KhronosGroup:mainfrom
charles-lunarg:add_driver_details_to_settings
Oct 2, 2025
Merged

Add driverUUID and driverVersion to settings file device configuration parameters#1778
charles-lunarg merged 2 commits into
KhronosGroup:mainfrom
charles-lunarg:add_driver_details_to_settings

Conversation

@charles-lunarg

Copy link
Copy Markdown
Collaborator

deviceUUID is not sufficient to be able to distinguish VkPhysicalDevices as there can be multiple
ICD's that report the same VkPhysicalDevice. This can easily occur when a development build of
a driver is present alongside a stable build on a system. driverUUID then helps differentiate ICD's
reporting the same VkPhysicalDevice, but isn't sufficient as some drivers use the same driverUUID
across all builds (RADV from Mesa as example). Thus, driverVersion is used for that purpose.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 540303.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3201 running.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 540321.

Comment thread loader/loader.c Fixed
@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3202 running.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3202 failed.

Comment thread loader/settings.c Outdated
@charles-lunarg charles-lunarg force-pushed the add_driver_details_to_settings branch from 447a673 to 5699f86 Compare September 26, 2025 21:01
@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 540427.

1 similar comment
@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 540427.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3203 running.

Allows for the loader_log call to not have 16+ parameters.
…n parameters

deviceUUID is not sufficient to be able to distinguish VkPhysicalDevices as there can be multiple
ICD's that report the same VkPhysicalDevice. This can easily occur when a development build of
a driver is present alongside a stable build on a system. driverUUID then helps differentiate ICD's
reporting the same VkPhysicalDevice, but isn't sufficient as some drivers use the same driverUUID
across all builds (RADV from Mesa as example). Thus, driverVersion is used for that purpose.
@charles-lunarg charles-lunarg force-pushed the add_driver_details_to_settings branch from 5699f86 to 66d32bc Compare September 26, 2025 21:07
@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 540456.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3204 running.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3204 passed.

@christophe-lunarg

Copy link
Copy Markdown
Contributor

@charles-lunarg, could you document in the description, what the vk_loader_settings.json as it's not clear to me.

@charles-lunarg charles-lunarg merged commit 74047e4 into KhronosGroup:main Oct 2, 2025
45 checks passed
@charles-lunarg charles-lunarg deleted the add_driver_details_to_settings branch October 2, 2025 16:06
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

Successfully merging this pull request may close these issues.

5 participants