Ryzen 7900 iGPU: vaGetDriverNameByIndex() failed

fcarucci

New Member
May 13, 2023
26
10
3
Hello,

I'm fairly new to Proxmox so it's highly likely I'm missing something simple.

Before I attempt to pass through the Ryzen 7900 iGPU, I'm trying to have it recognized by the host, latest version of Proxmox.

When I ran vainfo, I get the following error:
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) vaInitialize failed with error code -1 (unknown libva error),exit

lspci:
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 14d9 0d:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 164e (rev c4)

I suspect the GPU drivers are not installed, so I downloaded amdgpu-install package and tried to install.
The installer complains that the GPU drivers are installed, which is consistent with one of the proxmox devs stating here that amd drivers are already packaged.

Meanwhile I tried to enable IOMMU in the motherboard bios, but I can't find any option to do it (is it already enabled?). Motherboard is an ASRockRack B650D4U-2T/BCM (Edit: Yes, it's already enabled).

Anyone knows what I'm missing? Any more information I should be providing?

Thanks for your help!
 
Last edited:
Still not working, but there's been progress.

libva info: VA-API version 1.10.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_10 amdgpu: unknown (family_id, chip_external_rev): (149, 2) libva error: /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so init failed libva info: va_openDriver() returns 2 vaInitialize failed with error code 2 (resource allocation failed),exit