為 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 有點低。

我決定嘗試支援九鎵的 The mesa 顯示卡驅動程序,這是 WineHQ 為《魔獸世界》推薦的。

重要部份! 我卸載了“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 軟體包的已知問題。

相關內容