Monday, August 29, 2022

Re: update Vulkan ports to latest sdk 1.3.224.1

On Fri, Aug 26, 2022 at 10:03:12PM -0400, Thomas Frohwein wrote:
> Hi,
>
> Here is an update to the latest Vulkan SDK 1.3.224.1, along with
> glslang to 11.11.0. Tested here on my Intel Tigerlake setup without
> regressions in vulkaninfo, vkcube, and vkquake. Also tested with
> VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation; everything looking as
> expected.
>
> Sharing this to give an opportunity to test this on other GPUs and
> architectures, as an increasing number of applications relies on
> Vulkan.
>
> oks? Concerns?

Builds on amd64. I'll try some other archs.

Running vulkaninfo on amd64 with amdgpu (renoir) I see new warnings:

WARNING: [Loader Message] Code 0 : loader_scanned_icd_add: Driver /usr/X11R6/lib/libvulkan_intel.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
WARNING: [Loader Message] Code 0 : loader_scanned_icd_add: Driver /usr/X11R6/lib/libvulkan_radeon.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)

Mesa 21.3.8 has
src/amd/vulkan/radv_device.c: *pSupportedVersion = MIN2(*pSupportedVersion, 4u);
src/intel/vulkan/anv_device.c: *pSupportedVersion = MIN2(*pSupportedVersion, 4u);

Mesa 22.1.7 has
src/amd/vulkan/radv_device.c: *pSupportedVersion = MIN2(*pSupportedVersion, 5u);
src/intel/vulkan/anv_device.c: *pSupportedVersion = MIN2(*pSupportedVersion, 5u);

changed in
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14563

@@ -2,10 +2,10 @@
VULKANINFO
==========

-Vulkan Instance Version: 1.3.204
+Vulkan Instance Version: 1.3.224


-Instance Extensions: count = 18
+Instance Extensions: count = 19
===============================
VK_EXT_acquire_drm_display : extension revision 1
VK_EXT_acquire_xlib_display : extension revision 1
@@ -21,6 +21,7 @@ Instance Extensions: count = 18
VK_KHR_get_display_properties2 : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2 : extension revision 1
+ VK_KHR_portability_enumeration : extension revision 1
VK_KHR_surface : extension revision 25
VK_KHR_surface_protected_capabilities : extension revision 1
VK_KHR_xcb_surface : extension revision 6
@@ -343,7 +344,11 @@ VkPhysicalDeviceDriverProperties:
driverID = DRIVER_ID_MESA_RADV
driverName = radv
driverInfo = Mesa 21.3.8
- conformanceVersion = 1.2.3.0
+ conformanceVersion:
+ major = 1
+ minor = 2
+ subminor = 3
+ patch = 0

VkPhysicalDeviceDrmPropertiesEXT:
---------------------------------
@@ -594,7 +599,11 @@ VkPhysicalDeviceVulkan12Properties:
driverID = DRIVER_ID_MESA_RADV
driverName = radv
driverInfo = Mesa 21.3.8
- conformanceVersion = 1.2.3.0
+ conformanceVersion:
+ major = 1
+ minor = 2
+ subminor = 3
+ patch = 0
denormBehaviorIndependence = SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY
roundingModeIndependence = SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY
shaderSignedZeroInfNanPreserveFloat16 = true
@@ -798,23 +807,11 @@ VkQueueFamilyProperties:
VkQueueFamilyGlobalPriorityPropertiesKHR:
-----------------------------------------
priorityCount = 4
- priorities: count = 16
- 128
- 256
- 512
- 1024
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
+ priorities: count = 4
+ QUEUE_GLOBAL_PRIORITY_LOW_KHR
+ QUEUE_GLOBAL_PRIORITY_MEDIUM_KHR
+ QUEUE_GLOBAL_PRIORITY_HIGH_KHR
+ QUEUE_GLOBAL_PRIORITY_REALTIME_KHR


queueProperties[1]:
@@ -827,23 +824,11 @@ VkQueueFamilyProperties:
VkQueueFamilyGlobalPriorityPropertiesKHR:
-----------------------------------------
priorityCount = 4
- priorities: count = 16
- 128
- 256
- 512
- 1024
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
+ priorities: count = 4
+ QUEUE_GLOBAL_PRIORITY_LOW_KHR
+ QUEUE_GLOBAL_PRIORITY_MEDIUM_KHR
+ QUEUE_GLOBAL_PRIORITY_HIGH_KHR
+ QUEUE_GLOBAL_PRIORITY_REALTIME_KHR


VkPhysicalDeviceMemoryProperties:
@@ -851,13 +836,13 @@ VkPhysicalDeviceMemoryProperties:
memoryHeaps: count = 2
memoryHeaps[0]:
size = 1252696064 (0x4aaaa000) (1.17 GiB)
- budget = 1195479040 (0x47419000) (1.11 GiB)
+ budget = 1194086400 (0x472c5000) (1.11 GiB)
usage = 0 (0x00000000) (0.00 B)
flags:
None
memoryHeaps[1]:
size = 2505400320 (0x95556000) (2.33 GiB)
- budget = 2390953984 (0x8e831000) (2.23 GiB)
+ budget = 2388168704 (0x8e589000) (2.22 GiB)
usage = 0 (0x00000000) (0.00 B)
flags: count = 1
MEMORY_HEAP_DEVICE_LOCAL_BIT

No comments:

Post a Comment