使用 iGPU 运行 vulkan 时出错

使用 iGPU 运行 vulkan 时出错

当我执行时,vulkaninfo我收到以下错误

WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 1.  Skipping ICD.
WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 5.  Skipping ICD.
vulkaninfo: symbol lookup error: /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so: undefined symbol: amdgpu_query_video_caps_info

我尝试更新软件包并安装了以下软件包

sudo apt install vulkan-amdgpu 
sudo apt install vulkan-amdgpu-pro
sudo apt install mesa-vulkan-drivers

即使更新和升级软件包并重新启动系统后它也无法工作

的输出lshw -c video

  *-display                 
       description: VGA compatible controller
       product: Renoir
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:04:00.0
       version: c3
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
       configuration: driver=amdgpu latency=0
       resources: irq:57 memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:e000(size=256) memory:fe600000-fe67ffff
CPU: AMD Ryzen 5 4500U with Radeon Graphics (6) @ 2.375GHz 
GPU: AMD ATI 04:00.0 Renoir 

答案1

运行amdgpu-uninstall命令神奇地解决了发现的问题这里

相关内容