I'm trying to pass through a GPU device to an LCX container but I can't seem to find the device to pass through to the container.
lspci -nnk:
```
I have enabled vfio for a Windows machine that is currently turned off and only turned on when needed. Not that I can get that working stable.
But according to another post, I should be able to load the vfio drivers first and then have the Kernel drivers load afterwards which should give me the /dev/dri. But nothing appears as a device.
dmesg | grep -e DMAR -e IOMMU -e AMD-Vi
lspci -k | grep -A 3 "VGA"
I (not knowing what I'm doing) tried to pass through "/sys/bus/pci/devices/0000:64:0000/" but it would not allow me to enter that as a value in the LCX Resources tab. What do I need to do?
lspci -nnk:
```
Code:
64:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix3 [1002:1900] (rev c5)
Subsystem: Device [2014:8001]
Kernel driver in use: vfio-pci
Kernel modules: amdgpu
64:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
I have enabled vfio for a Windows machine that is currently turned off and only turned on when needed. Not that I can get that working stable.
But according to another post, I should be able to load the vfio drivers first and then have the Kernel drivers load afterwards which should give me the /dev/dri. But nothing appears as a device.
dmesg | grep -e DMAR -e IOMMU -e AMD-Vi
Code:
[ 0.059593] AMD-Vi: ivrs, add hid:AMDI0020, uid:\_SB.FUR0, rdevid:160
[ 0.059595] AMD-Vi: ivrs, add hid:AMDI0020, uid:\_SB.FUR1, rdevid:160
[ 0.059597] AMD-Vi: ivrs, add hid:AMDI0020, uid:\_SB.FUR2, rdevid:160
[ 0.059598] AMD-Vi: ivrs, add hid:AMDI0020, uid:\_SB.FUR3, rdevid:160
[ 0.059599] AMD-Vi: Using global IVHD EFR:0x246577efa2054ada, EFR2:0x0
[ 0.583253] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
[ 0.586255] AMD-Vi: Extended features (0x246577efa2054ada, 0x0): PPR NX GT IA GA PC
[ 0.586265] AMD-Vi: Interrupt remapping enabled
[ 0.589601] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
lspci -k | grep -A 3 "VGA"
Code:
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
64:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix3 (rev c5)
Subsystem: Device 2014:8001
Kernel driver in use: vfio-pci
Kernel modules: amdgpu
I (not knowing what I'm doing) tried to pass through "/sys/bus/pci/devices/0000:64:0000/" but it would not allow me to enter that as a value in the LCX Resources tab. What do I need to do?
Last edited: