https://bugs.documentfoundation.org/show_bug.cgi?id=160783

--- Comment #3 from V Stuart Foote <[email protected]> ---
GLview and vulkaninfo utils both return the uint32_t of "2315452416" as
driverVersion for this nVidia GPU. And both convert its ID string to
"552.12.0.0"

vulkaninfo.exe run
GPU0:
VkPhysicalDeviceProperties:
---------------------------
        apiVersion        = 1.3.277 (4206869)
        driverVersion     = 552.12.0.0 (2315452416)
        vendorID          = 0x10de
        deviceID          = 0x1380
        deviceType        = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
        deviceName        = NVIDIA GeForce GTX 750 Ti
        pipelineCacheUUID = e1b3e8ed-3cf0-cbc3-9cd7-33f3274361af

But we end up with "552.48.0", and following along in SkiaHelper.cxx at 166 we
convert to use the 3 part versionAsString() against the uint32_t of the
driverVersion.

Hunted around at Khronos, and reddit [1] and it looks like the driver version
is supposed to be vendor controlled--and nVidia makes the uint32_t driver
version a 4-part string. While Khronos and generic get a 3-part driver string.

I couldn't figure out the masking by hand, but does 3-part "552.48.0" match the
4-part "552.12.0.0" conversion of the driverVersion "2315452416"?

If so, guess it would not be an issue that they don't match.

Or might be better for to just use the uint32_t "driverVersion" as returned,
and not convert it?

=-ref-=
[1]
https://www.reddit.com/r/vulkan/comments/fmift4/how_to_decode_driverversion_field_of/

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to