You are not logged in.
I have set up a Virtual Machine using Virt Manager on my system. The host system specifications are as follows:
Motherboard: ASUS ROG B450-F
CPU: AMD Ryzen 5 3600X 6-Core 12-Thread Processor
RAM: 80GB DDR4
Graphics Cards: AMD Radeon RX 6650 XT (For Host) and NVIDIA RTX 2060 (For VM)
The guest operating system is Windows 10, configured with 5 cores, 10 threads, and allocated 32GB of RAM. I followed the instructions provided in the Arch Wiki to pass the NVIDIA RTX 2060 to the virtual machine using OVMF.
Now the problem I am encountering is an issue where the GPU is not being detected by Windows in both the Device Manager and Task Manager. I am using a Spice server for viewing the virtual machine using Virtio, I am also not able to receive any output on the graphics card itself.
I would appreciate any assistance in resolving this issue with GPU passthrough.
Here is my PCI Host Device configuration:
<hostdev mode="subsystem" type="pci" managed="yes">
<source>
<address domain="0x0000" bus="0x0c" slot="0x00" function="0x0"/>
</source>
<rom bar="on"/>
<address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
</hostdev>I ran the follow as provided by the Arch Wiki:
#!/bin/bash
shopt -s nullglob
for g in $(find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V); do
echo "IOMMU Group ${g##*/}:"
for d in $g/devices/*; do
echo -e "\t$(lspci -nns ${d##*/})"
done;
done;And got an output containing:
IOMMU Group 22:
0b:00.0 VGA compatible controller [-]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6650 XT / 6700S / 6800S] [-] (rev c1)
IOMMU Group 24:
0c:00.0 VGA compatible controller [-]: NVIDIA Corporation TU104 [GeForce RTX 2060] [-] (rev a1)
0c:00.1 Audio device [-]: NVIDIA Corporation TU104 HD Audio Controller [-] (rev a1)
0c:00.2 USB controller [-]: NVIDIA Corporation TU104 USB 3.1 Host Controller [-] (rev a1)
0c:00.3 Serial bus controller [-]: NVIDIA Corporation TU104 USB Type-C UCSI Controller [-] (rev a1)I also ran:
lspci -nnk -d <pci id>And got the following:
0c:00.0 VGA compatible controller [-]: NVIDIA Corporation TU104 [GeForce RTX 2060] [-] (rev a1)
Subsystem: ASUSTeK Computer Inc. TU104 [GeForce RTX 2060] [-]
Kernel driver in use: vfio-pci
Kernel modules: nouveauI repeated this process for all the devices in the group and confirmed they were all using vfio-pci drivers.
Edit: added output of iommu script
Edit 2: added output of lspci
UPDATE: Randomly the GPU got detected by the system after being on for a couple hours and a few reboots and the NVIDIA Control Panel got installed
Last edited by XT679 (2023-06-24 16:38:41)
Offline