PCI Passthrough for tv tuner?

grizzle33

New Member
Jan 19, 2018
5
0
1
41
Hello everyone,

I am trying to get PCI passthrough working for a tv tuner. My current set up is as follows

The output of lspci :
06:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04)
07:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04)


I will attach my conf file for the vm, labled 108. I have also attached a file named "DMAR" for the dmesg | grep -e DMAR -e IOMMU command.

This is for a Window 10 machine. I am able to see the pci in the hardware options of 108, however when rebooted I get an error - which again is attached as "error"

Can anyone point me in the right direction here? This is on a Dell R610 running 5.1-43
 

Attachments

I have this working with a TBS6981, which is a CX23885.

My config just needed the hostpci0: 05:00 (in my case).
 
I have this working with a TBS6981, which is a CX23885.

My config just needed the hostpci0: 05:00 (in my case).
Hey thank you for the reply. I tried editing the file a few different ways, including like yours and I still can't get the VM to start. It starts fine when I remove all arguments for the card.
 
can you post your iommu groups (i guess the device is not in its own group):

Code:
#!/bin/bash
shopt -s nullglob
for d in /sys/kernel/iommu_groups/*/devices/*; do
   n=${d#*/iommu_groups/*}; n=${n%%/*}
   printf 'IOMMU Group %s ' "$n"
   lspci -nns "${d##*/}"
done;
 
can you post your iommu groups (i guess the device is not in its own group):

Code:
#!/bin/bash
shopt -s nullglob
for d in /sys/kernel/iommu_groups/*/devices/*; do
   n=${d#*/iommu_groups/*}; n=${n%%/*}
   printf 'IOMMU Group %s ' "$n"
   lspci -nns "${d##*/}"
done;

Just a feedback about this topic.
I have the same problem, and the cause was just that you said, multiple devices in the same iommu group.
The solution is: move the device to another PCIe slot until the device is alone in a group.

Thanks!