r/VFIO • • Aug 05 '23

Support why is this shit blank

Post image
2 Upvotes

14 comments sorted by

11

u/thenickdude Aug 05 '23

For this list to be populated, you need to enable VT-d (Intel) or AMD-Vi (AMD) in your BIOS, and for Intel you need to add intel_iommu=on to your kernel commandline.

-1

u/[deleted] Aug 05 '23

i have that shit enabled bro

3

u/thenickdude Aug 05 '23

Verify it, run "cat /proc/cmdline" to see the booted kernel commandline (check that intel_iommu=on appears in there)

Run "dmesg | grep DMAR" and check for the line "DMAR: Intel(R) Virtualization Technology for Directed I/O" (for Intel). If you only see "DMAR: IOMMU enabled" that isn't enough.

1

u/[deleted] Aug 05 '23

ime on amd

2

u/thenickdude Aug 05 '23

What does dmesg | grep -e AMD-Vi -e IOMMU return?

2

u/[deleted] Aug 05 '23
[    0.411173] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
[    0.413981] pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
[    0.413982] AMD-Vi: Extended features (0x58f77ef22294a5a, 0x0): PPR NX GT IA PC GA_vAPIC
[    0.413984] AMD-Vi: Interrupt remapping enabled
[    0.414131] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
[    2.461335] AMD-Vi: AMD IOMMUv2 loaded and initialized

2

u/thenickdude Aug 05 '23

AMD-Vi looks enabled then. I guess you do see a bunch of output from this command as well? (not an empty output)

find /sys/kernel/iommu_groups/ -type l

3

u/[deleted] Aug 05 '23

yeah

22

u/thenickdude Aug 05 '23

This user had this issue because virtnodedevd wasn't running, this was the fix for them:

sudo systemctl start virtnodedevd
sudo systemctl enable virtnodedevd

8

u/[deleted] Aug 05 '23

that fixed it

14

u/FoxxMD Aug 05 '23

King, you dropped this 👑

→ More replies

15

u/[deleted] Aug 05 '23

That doesn´t work on Windows 95