RTX2080 vfio pasthrough surprise

So,

I received an RTX2080 today (took advantage of the EVGA step up programme as I got a 1080 in July).

This is what hardware it presents:

IOMMU group 20:
[10de:1e87] 03:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2080 Rev. A] (rev a1)
[10de:10f8] 03:00.1 Audio device: NVIDIA Corporation Device 10f8 (rev a1)
[10de:1ad8] 03:00.2 USB controller: NVIDIA Corporation Device 1ad8 (rev a1)
[10de:1ad9] 03:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device 1ad9 (rev a1)

Soā€¦ Previous Nvidia cards Iā€™ve had presented as 2 devices. One graphics device and one audio device. The ā€˜newā€™ extra two are the serial bus (which I assume is the RGB controller), and a usb controller.

To my surprise, the usb type-c port on the back of the card actually functions as a full fledged usb port, so Iā€™m able to connect a usb3 hub to it using a ā€˜type-c to aā€™ adapter and no longer need to pass through an additional pci-e usb card!

The hub is being powered by the usb port, and has a keyboard, mouse and usb DAC connected with zero issues.

Seeing as these cards are quite new and virtualization is a bit niche, I thought Iā€™d put this down in a post for people to see.

8 Likes

Weā€™ve had RGB controllers without a serial bus device for years. Not sure why thatā€™d change.


That said, thanks for the interesting report. This is quite interesting.

1 Like

Wendell is due a 2060 soon apparently so maybe he will turn up something like this?

1 Like

Iā€™d imagine soā€¦ I think all the 20 series have the usb type-c port

Oh yeah. I completely forgot they had the Type-C on them, well that explains a lot of that.

Now I wonder can it be used for anything fun that was not intended.

Boom, solved Linusā€™s problem for his multi-user rig heā€™s been fighting.

2 Likes

Yeppers, the USB port is intended for VR. Itā€™s called VirtualLink, passes through video, audio, data, and power to a VR headset with a single cable. But you can use it as a normal USB 3.1 port, attach a hub, etc. Would be really nice for eGPU use also, once it makes it down to cheaper cards.

https://sites.google.com/view/virtuallink-consortium/home

For real though. It would completely eliminate the need for that daughter board he added with a ton of USB cards.

My thoughts exactly when I tested this and it ā€˜just workedā€™!

@LinusTech

You mean like plugging an eGPU into the internal GPU? Would be amazing if this could make some bizarre CrossFire work but that just imagination.

Or just having the card basically sitting on the desk with just external power and USB-C connecting it to the PC. That actually sounds really cool, a raw card, no PCIe plugged in just power and USB and it works, but I donā€™t know how that would or even if it can work like that.

I thought eGPU enclosures needed thunderbolt 3? This is just USB 3.1 gen2 I believe? Maybe with some fairydust sprinkled on top in this case with it being called a ā€œVirtualLinkā€ port.

VirtualLink is designed to enable a new level of immersion in VR, with power, display, and data bandwidth specified to meet the needs of future VR headsets. That includes support for four lanes of HBR3 DisplayPort for high-resolution displays, USB 3.1 Gen2 (SuperSpeed USB 10Gbps) for headset cameras and sensors, and up to 27 Watts of power delivery.

I have seen some posts on the UnRaid forum where people have passed through a thunderbolt 3 PCIe card and had an external GPU enclosure plugged in though. But thats a little off topic :slight_smile:

1 Like

Yeah you are right. I was just imagining the impossible because it sounds cool. I am sure there can be something fun done with it though.

Soā€¦ now this has had chance to sink inā€¦ something like this (link below) would mean a VM, with ONLY the graphics card passed through (no vfio NIC either) could get Display, SD Card reader, USB, Audio and Ethernet from a single usb type-c cable out of the back of the graphics card:

https://eshop.macsales.com/shop/usb-c/owc/usb-c-dock?_ga=2.106044099.1573206853.1547725073-230729525.1547725073

Only thing im not sure about is whatā€™s driving the monitors plugged into thatā€¦ whether thereā€™s some kind of cheap-o GPU built into the hub, or iā€™ll get driven by the 20series card?

For a host running multiple VMs (especially those who need to be on different networks), this would be pretty cool.
Essentially takes away the need to set up networking on the VMs on the host (as you can plug a physical Ethernet cable into each) too.
if youā€™re running 10GbE on the host, youā€™ll be sacrificing some bandwidth obviously, but being able to run everything from a single cable out of the GPU is pretty interesting!

You were right the first time. This could be plugged into the 20xx card but it would only be USB-C 3.1 Gen 2. Mac has thunderbolt 3 so can pass its own display/graphics through this dock, I donā€™t think the 20xx cards could.

No, Iā€™m talking about TB3 eGPU enclosures. Many of the cheaper ones donā€™t have USB ports built in, which kinda takes away the point of the things, where one cable does everything.

1 Like

This is some next level. In other scenarios. It would be nice for anybody with restricted physical pcie or a small form factor iGPU+dedicated setup. Sadly the new Vega doesnā€™t have this feature.