Re: Multiple bugs on bhyve present on FreeBSD 13R p7 while passing thru USB controller and graphic card

From: Aryeh Friedman <aryeh.friedman_at_gmail.com>
Date: Tue, 08 Feb 2022 20:01:17 UTC
On Tue, Feb 8, 2022 at 12:46 PM Mario Marietto <marietto2008@gmail.com>
wrote:

> In my system I have two graphic cards. This is the first one,configured as
> default from the bios and used on the freebsd host :
>
> vgapci0@pci0:0:2:0:     class=0x030000 rev=0x02 hdr=0x00 vendor=0x8086
> device=0x3e98 subvendor=0x1458 subdevice=0xd000
>    vendor     = 'Intel Corporation'
>    device     = 'CoffeeLake-S GT2 [UHD Graphics 630]'
>    class      = display
>    subclass   = VGA
>
>
> the USB controller that I'm trying to pass thru is the following :
>
> ppt0@pci0:1:0:0:        class=0x0c0330 rev=0x03 hdr=0x00 vendor=0x1912
> device=0x0014 subvendor=0x1912 subdevice=0x0015
>    vendor     = 'Renesas Technology Corp.'
>    device     = 'uPD720201 USB 3.0 Host Controller'
>    class      = serial bus
>    subclass   = USB
>

Is it on a completely different USB bus than any USB devices used by the
host?


>
> the graphic card that I'm trying to pass thru is the following :
>
> ppt1@pci0:2:0:0:        class=0x030000 rev=0xa1 hdr=0x00 vendor=0x10de
> device=0x1e04 subvendor=0x19da subdevice=0x2503
>    vendor     = 'NVIDIA Corporation'
>    device     = 'TU102 [GeForce RTX 2080 Ti]'
>    class      = display
>    subclass   = VGA
>

Is your "host" graphics card also a nVidia and do you have
x11/nvidia-driver installed?  If so the kernel module will load both of
them in the host's /dev dir.



-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org