Date: Mon, 18 Dec 2023 11:14:29 +0100 From: Mario Marietto <marietto2008@gmail.com> To: =?UTF-8?Q?Corvin_K=C3=B6hne?= <corvink@freebsd.org> Cc: Nuno Teixeira <eduardo@freebsd.org>, FreeBSD virtualization <freebsd-virtualization@freebsd.org> Subject: Re: bhyve nvidia gtx-1650 mobile passthru on win11 Message-ID: <CA%2B1FSijenifNiZNyKEihMVV4QFniPOjHSpDEJ3Q6CD1bjtDWpg@mail.gmail.com> In-Reply-To: <101df7552fd1673ddc73e14daf518630402129c4.camel@FreeBSD.org> References: <CAFDf7UJqsaqeM=XFknWx9Q0q4SKSB1fukWfMn5LOiD9tYq6e5A@mail.gmail.com> <101df7552fd1673ddc73e14daf518630402129c4.camel@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000163ec4060cc60625 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Corvin, about point 1) : Nuno is trying to enable the passthru of his nvidia-gpu on Windows 11. Is your patch intended to work for Windows ? If yes,I would be ready to test it on my system. On Mon, Dec 18, 2023 at 11:02=E2=80=AFAM Corvin K=C3=B6hne <corvink@freebsd= .org> wrote: > On Sat, 2023-12-16 at 16:07 +0000, Nuno Teixeira wrote: > > Hello all, > > > > Specs: > > - laptop with integrated intel + dedicated nvidia > > - 15-CURRENT 3b1904d9eb04 amd64 > > - win11 with nvme and tpm > > > > I'm sharing my results with nvidia passthru: > > ### > > /boot/loader.conf.local: > > vmm_load=3D"YES" > > pptdevs=3D"1/0/0 1/0/1" > > > > ppt0@pci0:1:0:0: class=3D0x030000 rev=3D0xa1 hdr=3D0x00 > > vendor=3D0x10de device=3D0x1f99 subvendor=3D0x17aa subdevice=3D0x3fa5 > > vendor =3D 'NVIDIA Corporation' > > device =3D 'TU117M [GeForce GTX 1650 Mobile / Max-Q]' > > class =3D display > > subclass =3D VGA > > ppt1@pci0:1:0:1: class=3D0x040300 rev=3D0xa1 hdr=3D0x00 > > vendor=3D0x10de device=3D0x10fa subvendor=3D0x17aa subdevice=3D0x3ffb > > vendor =3D 'NVIDIA Corporation' > > class =3D multimedia > > subclass =3D HDA > > > > bhyve: > > -s 6:0,passthru,1/0/0 -s 6:1,passthru,1/0/1 > > ### > > > > - Installed nvidia drivers without problems > > - graphic card is detected but is deactivated with a triangle and a > > "!": > > "Windows stopped this device... code 43" > > - hda is detected and shows no problem > > > > I've read that some nvidia cards are working... > > Any tips are welcome. > > > > Not sure if it is possible to use intel integrated as it is already > > in use by OS. > > > > Thanks, > > > > -- > > Nuno Teixeira > > FreeBSD Committer (ports) > > Hi, > > nvidia: > At the moment, nvidia gpu passthrough is not supported by upstream. I > have a small patch stack for nvidia [1] but it's not well tested and I > don't know for which guests and cards it works. > > amd: > Should work properly on 13.2, 14.0 and onward. Note that there's a > hardware bug on many cards [2]. > > intel: > Requires a patched EDKII firmware [3]. Unfortunately, it's not merged > yet. Btw. even if you only have an Intel card available you can use it > for GPU passthrough. > > [1] > > https://github.com/Beckhoff/freebsd-src/commits/phab/corvink/14.0/nvidia-= wip/ > [2] https://www.nicksherlock.com/2020/11/working-around-the-amd-gpu- > reset-bug-on-proxmox/ > <https://www.nicksherlock.com/2020/11/working-around-the-amd-gpu-reset-bu= g-on-proxmox/> > [3] https://reviews.freebsd.org/D41710 > > > -- > Kind regards, > Corvin > --=20 Mario. --000000000000163ec4060cc60625 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hello Corvin,</div><div><br></div><div>about point 1)= : Nuno is trying to enable the passthru of his nvidia-gpu on Windows 11. I= s your patch intended to work for Windows ? If yes,I would be ready to test= it on my system. <br></div></div><br><div class=3D"gmail_quote"><div dir= =3D"ltr" class=3D"gmail_attr">On Mon, Dec 18, 2023 at 11:02=E2=80=AFAM Corv= in K=C3=B6hne <<a href=3D"mailto:corvink@freebsd.org">corvink@freebsd.or= g</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin= :0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"= >On Sat, 2023-12-16 at 16:07 +0000, Nuno Teixeira wrote:<br> > Hello all,<br> > <br> > Specs:<br> > - laptop with integrated intel + dedicated nvidia<br> > - 15-CURRENT 3b1904d9eb04 amd64<br> > - win11 with nvme and tpm<br> > <br> > I'm sharing my results with nvidia passthru:<br> > ###<br> > /boot/loader.conf.local:<br> > vmm_load=3D"YES"<br> > pptdevs=3D"1/0/0 1/0/1"<br> > <br> > ppt0@pci0:1:0:0: =C2=A0 =C2=A0 =C2=A0 =C2=A0class=3D0x030000 rev=3D0xa= 1 hdr=3D0x00<br> > vendor=3D0x10de device=3D0x1f99 subvendor=3D0x17aa subdevice=3D0x3fa5<= br> > =C2=A0 =C2=A0 vendor =C2=A0 =C2=A0 =3D 'NVIDIA Corporation'<br= > > =C2=A0 =C2=A0 device =C2=A0 =C2=A0 =3D 'TU117M [GeForce GTX 1650 M= obile / Max-Q]'<br> > =C2=A0 =C2=A0 class =C2=A0 =C2=A0 =C2=A0=3D display<br> > =C2=A0 =C2=A0 subclass =C2=A0 =3D VGA<br> > ppt1@pci0:1:0:1: =C2=A0 =C2=A0 =C2=A0 =C2=A0class=3D0x040300 rev=3D0xa= 1 hdr=3D0x00<br> > vendor=3D0x10de device=3D0x10fa subvendor=3D0x17aa subdevice=3D0x3ffb<= br> > =C2=A0 =C2=A0 vendor =C2=A0 =C2=A0 =3D 'NVIDIA Corporation'<br= > > =C2=A0 =C2=A0 class =C2=A0 =C2=A0 =C2=A0=3D multimedia<br> > =C2=A0 =C2=A0 subclass =C2=A0 =3D HDA<br> > <br> > bhyve:<br> > -s 6:0,passthru,1/0/0 -s 6:1,passthru,1/0/1<br> > ###<br> > <br> > - Installed nvidia drivers without problems<br> > - graphic card is detected but is deactivated with a triangle and a<br= > > "!":<br> > =C2=A0 "Windows stopped this device... code 43"<br> > - hda is detected and shows no problem<br> > <br> > I've read that some nvidia cards are working...<br> > Any tips are welcome.<br> > <br> > Not sure if it is possible to use intel integrated as it is already<br= > > in use by OS.<br> > <br> > Thanks,<br> > <br> > -- <br> > Nuno Teixeira<br> > FreeBSD Committer (ports)<br> <br> Hi,<br> <br> nvidia:<br> At the moment, nvidia gpu passthrough is not supported by upstream. I<br> have a small patch stack for nvidia [1] but it's not well tested and I<= br> don't know for which guests and cards it works.<br> <br> amd:<br> Should work properly on 13.2, 14.0 and onward. Note that there's a<br> hardware bug on many cards [2].<br> <br> intel:<br> Requires a patched EDKII firmware [3]. Unfortunately, it's not merged<b= r> yet. Btw. even if you only have an Intel card available you can use it<br> for GPU passthrough.<br> <br> [1]<br> <a href=3D"https://github.com/Beckhoff/freebsd-src/commits/phab/corvink/14.= 0/nvidia-wip/" rel=3D"noreferrer" target=3D"_blank">https://github.com/Beck= hoff/freebsd-src/commits/phab/corvink/14.0/nvidia-wip/</a><br> [2] <a href=3D"https://www.nicksherlock.com/2020/11/working-around-the-amd-= gpu-reset-bug-on-proxmox/" rel=3D"noreferrer" target=3D"_blank">https://www= .nicksherlock.com/2020/11/working-around-the-amd-gpu-<br> reset-bug-on-proxmox/</a><br> [3] <a href=3D"https://reviews.freebsd.org/D41710" rel=3D"noreferrer" targe= t=3D"_blank">https://reviews.freebsd.org/D41710</a><br> <br> <br> -- <br> Kind regards,<br> Corvin<br> </blockquote></div><br clear=3D"all"><br><span class=3D"gmail_signature_pre= fix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Mario.<br></d= iv> --000000000000163ec4060cc60625--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSijenifNiZNyKEihMVV4QFniPOjHSpDEJ3Q6CD1bjtDWpg>