为 mesa (oibaf) 显卡驱动程序启用 vulkan

为 mesa (oibaf) 显卡驱动程序启用 vulkan

我在 Ubuntu 16.04 64 位上使用 AMD radeon r9 390 gpu

最近我安装了“amd gpu-pro-17.10”驱动程序并让 Vulkan 运行,我玩 Dota 2 时的性能比在 Windows 上更好。

但是在运行魔兽世界 7.3 时,我的突袭 FPS 有点低。

我决定尝试 WineHQ 推荐用于 WoW 的支持 Gallium Nine 的 mesa 图形驱动程序。

重要部分!!! 我卸载了“amd gpu-pro”驱动程序。

然后我按照这个教程安装了“oibaf 图形驱动程序”https://wiki.ixit.cz/d3d9_tutorial

重新启动后,Vulkan 不再工作。

我真的找不到任何帮助来为这个新的图形驱动程序启用 Vulkan。

Vulkan API 版本:1.0.61

INFO: [loader] Code 0 : Found manifest file /home/simon/vulkan/VulkanSDK/1.0.61.1/x86_64/etc/explicit_layer.d/VkLayer_monitor.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/simon/vulkan/VulkanSDK/1.0.61.1/x86_64/etc/explicit_layer.d/VkLayer_standard_validation.json, version "1.1.1"
INFO: [loader] Code 0 : Encountered meta-layer VK_LAYER_LUNARG_standard_validation
INFO: [loader] Code 0 : Found manifest file /home/simon/vulkan/VulkanSDK/1.0.61.1/x86_64/etc/explicit_layer.d/VkLayer_object_tracker.json, version "1.1.0"
INFO: [loader] Code 0 : Found manifest file /home/simon/vulkan/VulkanSDK/1.0.61.1/x86_64/etc/explicit_layer.d/VkLayer_screenshot.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/simon/vulkan/VulkanSDK/1.0.61.1/x86_64/etc/explicit_layer.d/VkLayer_unique_objects.json, version "1.1.0"
INFO: [loader] Code 0 : Found manifest file /home/simon/vulkan/VulkanSDK/1.0.61.1/x86_64/etc/explicit_layer.d/VkLayer_threading.json, version "1.1.0"
INFO: [loader] Code 0 : Found manifest file /home/simon/vulkan/VulkanSDK/1.0.61.1/x86_64/etc/explicit_layer.d/VkLayer_api_dump.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/simon/vulkan/VulkanSDK/1.0.61.1/x86_64/etc/explicit_layer.d/VkLayer_vktrace_layer.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/simon/vulkan/VulkanSDK/1.0.61.1/x86_64/etc/explicit_layer.d/VkLayer_parameter_validation.json, version "1.1.0"
INFO: [loader] Code 0 : Found manifest file /home/simon/vulkan/VulkanSDK/1.0.61.1/x86_64/etc/explicit_layer.d/VkLayer_core_validation.json, version "1.1.0"
INFO: [loader] Code 0 : Found manifest file /home/simon/vulkan/VulkanSDK/1.0.61.1/x86_64/etc/explicit_layer.d/VkLayer_device_simulation.json, version "1.1.0"
INFO: [loader] Code 0 : Found manifest file /home/simon/.local/share/vulkan/implicit_layer.d/steamoverlay_i386.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/simon/.local/share/vulkan/implicit_layer.d/steamoverlay_x86_64.json, version "1.0.0"
INFO: [loader] Code 0 : Meta-layer VK_LAYER_LUNARG_standard_validation all 5 component layers appear to be valid.
Cannot create Vulkan instance.
/tmp/SDK-DEV/Build/Vulkan-LoaderAndValidationLayers/demos/vulkaninfo.c:698: failed with VK_ERROR_INCOMPATIBLE_DRIVER

答案1

看一下这两个文件:

/usr/share/vulkan/icd.d/radeon_icd.i686.json
/usr/share/vulkan/icd.d/radeon_icd.x86_64.json

它们看起来应该是这样的:

/usr/share/vulkan/icd.d/radeon_icd.i686.json

{
    "file_format_version" : "1.0.0",
    "ICD": {
        "library_path": "/usr/lib32/libvulkan_radeon.so",
        "api_version" : "1.0.49"
    }
}

/usr/share/vulkan/icd.d/radeon_icd.x86_64.json

{
    "file_format_version" : "1.0.0",
    "ICD": {
        "library_path": "/usr/lib/libvulkan_radeon.so",
        "api_version" : "1.0.49"
    }
}

如果没有,您可以修改它们以进行快速修复,如果这解决了您的问题,请报告为包装错误。

我没有 AMD 卡,但与一位好心人交谈后找到了正确的库,因为这已经是一些 nvidia 软件包的已知问题。

相关内容