I have a QNAP TVS-h1288x running QuTS hero h6.0.2.3591 with Virtualization Station (version 4.2.1.66). I have setup a virtual machine with Linux Mint 22.3 running the MythTV project. (A DVR/Media Server)
I would love to get my Hauppauge WinTV-quadHD (PCIe QuadTV Tuner) working in my VM. The tuner does not show up as a PCIe listed device in the configuration page for the VM. Is anybody aware if it is possible to get this tuner working?
My apologies but I am getting a little lost with these instructions.
I have no idea if SELINUX is enabled or not. All of the tools for it seem to not exist so I’m guessing it’s not enabled.
When I try and run “virsh nodedev-dumpxml pci_0000_04_00_0”, I get the error:
error: Could not find matching device ‘pci_0000_04_00_0’
error: Failed to connect socket to ‘/share/homes/brian/.cache/libvirt/virtnodedevd-sock’: No such file or directory
I have also tried it without the “0000” and also with device “05_00_0”. Same result.
I looked through the only XML file in the path you specified but the TV tuners are not listed there. That XML seems to have only the devices currently associated with the VM.
later you would use virsh to edit your VM xml to add that device.
I used virsh before to edit a virtual network card into a VM to get a nested proxmox test setup to work, but it was a virtual card not based on a physical device.
Maybe someone with an actual supported PCIe card (GPU) can check their VM xml and see how that is passed into the VM (so you could do the same for the TV card)
I added what I thought might be the correct additions to the XML file to see if I could force the TV tuner to be seen. As soon as I rebooted the VM, the XML was overwritten back to the original config. I’m not sure directly editing the XML is viable.
Thanks for the report. At this point we can’t determine the cause from the available information. Please open a support ticket and provide remote access to the NAS. Our R&D team can then check whether the PCIe TV tuner is being detected correctly by the system and investigate any passthrough compatibility issues. Once the logs and system status are available, we’ll be able to provide a more accurate diagnosis.
@dolbyman
Thanks for the suggestion. I was mindful of that exact issue but it seems to happen even if you don’t open the Virtualization Station interface.
@JasonH
Thanks for the reply. At this point I have found a different solution to my problems that seem to be working out well. No need to pursue this any further.
Glad to hear you found a solution that works for you! Would you mind sharing how you solved it? It could help other users who run into the same issue. Thanks!
Thanks for the feedback. Since Virtualization Station 4.2.0 or later, QNAP has significantly expanded PCIe passthrough support and removed multiple previous device-class restrictions, allowing a much wider range of PCIe devices to be assigned directly to VMs.
For the Hauppauge WinTV-quadHD PCIe TV Tuner, we currently cannot confirm whether its PCI Class falls within the supported passthrough categories or whether another compatibility restriction is preventing it from appearing in the device list.
In the future if you encounter any issue, please open a Support Ticket and provide system logs and remote access information. Our R&D team can verify the Vendor ID, Device ID, and PCI Class to determine the root cause and evaluate any additional compatibility support that may be required.
Unfortunately nobody here is going to want to hear how I solved it, but here it is anyway.
I removed QuTS software from the NAS and replaced it with TrueNAS. I have just been fighting with too many issues over the past 9 months that I just gave up.
The PCIe pass-through issue was not the only thing that led to this decision. I have been struggling with a half-dozen issues for about nine months. This was just the straw that broke the camel’s back.
Too bad because QuTS has a much more user friendly interface than TrueNAS.
But again, I want to thank you dolbyman, the QNAP Staff and everyone here on the forums for all of the assistance provided to me.