Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2022 15:01:17 -0500
From:      Aryeh Friedman <aryeh.friedman@gmail.com>
To:        Mario Marietto <marietto2008@gmail.com>
Cc:        FreeBSD virtualization <freebsd-virtualization@freebsd.org>
Subject:   Re: Multiple bugs on bhyve present on FreeBSD 13R p7 while passing thru USB controller and graphic card
Message-ID:  <CAGBxaXn9eYi7Bi=%2BVAW2Q%2BqXecd1gb8Tf7=PihY9zQCS=9fnog@mail.gmail.com>
In-Reply-To: <CA%2B1FSigCU26zAxQKrayjLuUch__X4=TKeTy0Jm=eV0NtG3q=dQ@mail.gmail.com>
References:  <CA%2B1FSigMNsuGGAqi7hQZTuAFzMuByKtcFs554SVs6oXrfUZs-g@mail.gmail.com> <CAGBxaXnak5sOpiceofttORyfThXSnby7aw9e5BpODPnbgJ_uNw@mail.gmail.com> <CA%2B1FSigCU26zAxQKrayjLuUch__X4=TKeTy0Jm=eV0NtG3q=dQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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

[-- Attachment #2 --]
<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 8, 2022 at 12:46 PM Mario Marietto &lt;<a href="mailto:marietto2008@gmail.com">marietto2008@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>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 :</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">vgapci0@pci0:0:2:0:     class=0x030000 rev=0x02 hdr=0x00 vendor=0x8086 device=0x3e98 subvendor=0x1458 subdevice=0xd000
</span><br>    vendor     = &#39;Intel Corporation&#39;
<br>    device     = &#39;CoffeeLake-S GT2 [UHD Graphics 630]&#39;
<br>    class      = display
<br>    subclass   = VGA<br>
<br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">the USB controller that I&#39;m trying to pass thru is the following :</span></span></span></div><div><span style="font-family:monospace"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></span></span></span></div><div><span style="font-family:monospace"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">ppt0@pci0:1:0:0:        class=0x0c0330 rev=0x03 hdr=0x00 vendor=0x1912 device=0x0014 subvendor=0x1912 subdevice=0x0015
</span><br>    vendor     = &#39;Renesas Technology Corp.&#39;
<br>    device     = &#39;uPD720201 USB 3.0 Host Controller&#39;
<br>    class      = serial bus
<br>    subclass   = USB</span></span></div></div></blockquote><div><br></div><div>Is it on a completely different USB bus than any USB devices used by the host?</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span style="font-family:monospace"><span style="font-family:monospace"> <br></span></span><div><span style="font-family:monospace">the graphic card that I&#39;m trying to pass thru is the following :</span></div><div><span style="font-family:monospace"><br></span></div><span style="font-family:monospace"><span style="font-family:monospace">ppt1@pci0:2:0:0:        class=0x030000 rev=0xa1 hdr=0x00 vendor=0x10de device=0x1e04 subvendor=0x19da subdevice=0x2503
<br>    vendor     = &#39;NVIDIA Corporation&#39;
<br>    device     = &#39;TU102 [GeForce RTX 2080 Ti]&#39;
<br>    class      = display
<br>    subclass   = VGA
<br></span></span></div></div></blockquote><div><br></div><div>Is your &quot;host&quot; 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&#39;s /dev dir.</div><br></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Aryeh M. Friedman, Lead Developer, <a href="http://www.PetiteCloud.org" target="_blank">http://www.PetiteCloud.org</a><br></div></div></div>;

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGBxaXn9eYi7Bi=%2BVAW2Q%2BqXecd1gb8Tf7=PihY9zQCS=9fnog>