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
--000000000000c03a0105d7872e3e
Content-Type: text/plain; charset="UTF-8"

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

--000000000000c03a0105d7872e3e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Tue, Feb 8, 2022 at 12:46 PM Mario=
 Marietto &lt;<a href=3D"mailto:marietto2008@gmail.com">marietto2008@gmail.=
com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"marg=
in:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e=
x"><div dir=3D"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=3D"font-family:monospace"><span sty=
le=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)">vgapci0@pci0:0:2:=
0: =C2=A0=C2=A0=C2=A0=C2=A0class=3D0x030000 rev=3D0x02 hdr=3D0x00 vendor=3D=
0x8086 device=3D0x3e98 subvendor=3D0x1458 subdevice=3D0xd000
</span><br> =C2=A0=C2=A0=C2=A0vendor =C2=A0=C2=A0=C2=A0=C2=A0=3D &#39;Intel=
 Corporation&#39;
<br> =C2=A0=C2=A0=C2=A0device =C2=A0=C2=A0=C2=A0=C2=A0=3D &#39;CoffeeLake-S=
 GT2 [UHD Graphics 630]&#39;
<br> =C2=A0=C2=A0=C2=A0class =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D display
<br> =C2=A0=C2=A0=C2=A0subclass =C2=A0=C2=A0=3D VGA<br>
<br></span></div><div><span style=3D"font-family:monospace"><br></span></di=
v><div><span style=3D"font-family:monospace"><span style=3D"font-family:mon=
ospace"><span style=3D"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 :</spa=
n></span></span></div><div><span style=3D"font-family:monospace"><span styl=
e=3D"font-family:monospace"><span style=3D"color:rgb(0,0,0);background-colo=
r:rgb(255,255,255)"><br></span></span></span></div><div><span style=3D"font=
-family:monospace"><span style=3D"font-family:monospace"><span style=3D"col=
or:rgb(0,0,0);background-color:rgb(255,255,255)">ppt0@pci0:1:0:0: =C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0class=3D0x0c0330 rev=3D0x03 hdr=3D0x00 ven=
dor=3D0x1912 device=3D0x0014 subvendor=3D0x1912 subdevice=3D0x0015
</span><br> =C2=A0=C2=A0=C2=A0vendor =C2=A0=C2=A0=C2=A0=C2=A0=3D &#39;Renes=
as Technology Corp.&#39;
<br> =C2=A0=C2=A0=C2=A0device =C2=A0=C2=A0=C2=A0=C2=A0=3D &#39;uPD720201 US=
B 3.0 Host Controller&#39;
<br> =C2=A0=C2=A0=C2=A0class =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D serial bus
<br> =C2=A0=C2=A0=C2=A0subclass =C2=A0=C2=A0=3D USB</span></span></div></di=
v></blockquote><div><br></div><div>Is it on a completely different USB bus =
than any USB devices used by the host?</div><div>=C2=A0<br></div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s=
olid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div><span style=
=3D"font-family:monospace"><span style=3D"font-family:monospace">=C2=A0<br>=
</span></span><div><span style=3D"font-family:monospace">the graphic card t=
hat I&#39;m trying to pass thru is the following :</span></div><div><span s=
tyle=3D"font-family:monospace"><br></span></div><span style=3D"font-family:=
monospace"><span style=3D"font-family:monospace">ppt1@pci0:2:0:0: =C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0class=3D0x030000 rev=3D0xa1 hdr=3D0x00 ven=
dor=3D0x10de device=3D0x1e04 subvendor=3D0x19da subdevice=3D0x2503
<br> =C2=A0=C2=A0=C2=A0vendor =C2=A0=C2=A0=C2=A0=C2=A0=3D &#39;NVIDIA Corpo=
ration&#39;
<br> =C2=A0=C2=A0=C2=A0device =C2=A0=C2=A0=C2=A0=C2=A0=3D &#39;TU102 [GeFor=
ce RTX 2080 Ti]&#39;
<br> =C2=A0=C2=A0=C2=A0class =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D display
<br> =C2=A0=C2=A0=C2=A0subclass =C2=A0=C2=A0=3D VGA
<br></span></span></div></div></blockquote><div><br></div><div>Is your &quo=
t;host&quot; graphics card also a nVidia and do you have x11/nvidia-driver =
installed?=C2=A0 If so the kernel module will load both of them in the host=
&#39;s /dev dir.</div><br></div><br clear=3D"all"><br>-- <br><div dir=3D"lt=
r" class=3D"gmail_signature"><div dir=3D"ltr">Aryeh M. Friedman, Lead Devel=
oper, <a href=3D"http://www.PetiteCloud.org" target=3D"_blank">http://www.P=
etiteCloud.org</a><br></div></div></div>

--000000000000c03a0105d7872e3e--



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