Bug 104229 - radeon_icd.i686.json api_version is 1.0.3
Summary: radeon_icd.i686.json api_version is 1.0.3
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Vulkan/radeon (show other bugs)
Version: 17.3
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-12 19:42 UTC by mercuriete
Modified: 2018-03-08 21:21 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description mercuriete 2017-12-12 19:42:18 UTC
Sorry, not sure if this is a bug but I think it is.

I am using mesa-17.3.0 in gentoo

I have this in vulkan icd

/usr/share/vulkan/icd.d $ cat radeon_icd.i686.json 
{
    "file_format_version": "1.0.0",
    "ICD": {
        "library_path": "/usr/lib32/libvulkan_radeon.so",
        "api_version": "1.0.3"
    }
}

If you compare with intel counterpart is different.

/usr/share/vulkan/icd.d $ cat intel_icd.i686.json 
{
    "file_format_version": "1.0.0", 
    "ICD": {
        "library_path": "/usr/lib32/libvulkan_intel.so", 
        "api_version": "1.0.57"
    }
}



If you check the code on git
https://github.com/mesa3d/mesa/blob/master/src/amd/vulkan/radeon_icd.json.in

the last commit is in 2016

but in the intel counterpart is generated by a python script

https://github.com/mesa3d/mesa/blob/master/src/intel/vulkan/anv_icd.py#L42




So I think the ICD is exposing to the application a too old version of a vulkan driver.

I am wrong?

If this is not an issue, sorry for the noise.

Thank you for your work.
Comment 1 Bas Nieuwenhuizen 2017-12-17 12:40:43 UTC
If you look at vulkaninfo, you'll see that the vulkan version is actually taken from the binary provided version not from the json file. So what remains is possible interactions between the loader and the driver. I'd need to look into that.
Comment 2 mercuriete 2018-03-08 21:21:03 UTC
This bug is not longer valid due to this commit:

https://cgit.freedesktop.org/mesa/mesa/commit/?id=5b3979704df51f05a6f226ba3a10046df466d03d

Closing as resolved.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.