Date: Thu, 26 Jun 2025 23:33:41 +0000 From: Robert Cocker <rcocker87@gmail.com> To: Nuno Teixeira <eduardo@freebsd.org>, Stephan Althaus <Stephan.Althaus@duedinghausen.eu> Cc: "virtualization@freebsd.org" <virtualization@freebsd.org> Subject: Re: bhyve: GPU passthrough for Nvidia cards Message-ID: <MN2PR20MB31681D1566D16CA5E9DA7B5DFE7AA@MN2PR20MB3168.namprd20.prod.outlook.com> In-Reply-To: <CAFDf7U%2BOCnez3YRtjAcSssdvdDCVqFyZxPZ3mXpxgD2WLNUuGg@mail.gmail.com> References: <4785074a005d66ed92e5670b9fa4ce45a5d65eba.camel@FreeBSD.org> <c0cf8b11-3e21-4296-860c-17b87c9f2588@Duedinghausen.eu> <CAFDf7U%2BOCnez3YRtjAcSssdvdDCVqFyZxPZ3mXpxgD2WLNUuGg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hey group, I am also interested in this space of base system. Has anyone pulled the documentation for what is currently available for GPU drivers for base system Robert ________________________________ From: owner-freebsd-virtualization@FreeBSD.org <owner-freebsd-virtualization@FreeBSD.org> on behalf of Nuno Teixeira <eduardo@freebsd.org> Sent: Thursday, June 26, 2025 4:47:36 PM To: Stephan Althaus <Stephan.Althaus@duedinghausen.eu> Cc: virtualization@freebsd.org <virtualization@freebsd.org> Subject: Re: bhyve: GPU passthrough for Nvidia cards Hello Stephan, A year a go I did try passtrhu a dedicated nvidia GTX 1650 while using integrated intel graphics (laptop Lenovo Legion 5 15IMH05). Windows detected card but nvidia drivers install failed at some point. On this laptop I did setup bios to use integrated graphics so I can passthru dedicated nvidia. Think I will give a new try since I follow main. Are you using laptops for this usecase? Thanks! Stephan Althaus <Stephan.Althaus@duedinghausen.eu<mailto:Stephan.Althaus@duedinghausen.eu>> escreveu (quinta, 26/06/2025 à(s) 15:50): On 6/26/25 15:07, Corvin Köhne wrote: > Hi, > > I'm currently experimenting with GPU passthrough for Nvidia cards. All I have to > do to make it work with Ubuntu guests, is setting the INTPIN register to any > value instead of just 0x00. Unfortunately, I'm unfamiliar with PCI legacy > interrupts and how they work. The INTLINE register is set to 0xFF (unconnected). > So, is it safe to set the INTPIN register or what has to be done for it to work > as expected? > > Any help would be appreciated. > > Hi! You surely mean 'newer' NVidia cards, as my GT1030 works with FreeBSD 14.2 Host and ubuntu guest, NVIdia driver 570, (and Win guest btw) out-of-the-box, no kernel/driver modding... Regards, Stephan -- Nuno Teixeira FreeBSD UNIX: <eduardo@FreeBSD.org> Web: https://FreeBSD.org [-- Attachment #2 --] <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt;"> Hey group,</div> <div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt;"> <br> </div> <div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt;"> I am also interested in this space of base system. Has anyone pulled the documentation for what is currently available for GPU drivers for base system </div> <div id="ms-outlook-mobile-body-separator-line" dir="ltr"><br> </div> <div id="ms-outlook-mobile-signature"> <div dir="ltr">Robert</div> </div> <hr style="display:inline-block;width:98%" tabindex="-1"> <div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> owner-freebsd-virtualization@FreeBSD.org <owner-freebsd-virtualization@FreeBSD.org> on behalf of Nuno Teixeira <eduardo@freebsd.org><br> <b>Sent:</b> Thursday, June 26, 2025 4:47:36 PM<br> <b>To:</b> Stephan Althaus <Stephan.Althaus@duedinghausen.eu><br> <b>Cc:</b> virtualization@freebsd.org <virtualization@freebsd.org><br> <b>Subject:</b> Re: bhyve: GPU passthrough for Nvidia cards</font> <div> </div> </div> <div> <div dir="ltr"> <div> <div> <div> <div> <div>Hello Stephan,<br> <br> </div> A year a go I did try passtrhu a dedicated nvidia GTX 1650 while using integrated intel graphics (laptop Lenovo Legion 5 15IMH05). Windows detected card but nvidia drivers install failed at some point.<br> </div> On this laptop I did setup bios to use integrated graphics so I can passthru dedicated nvidia.<br> <br> </div> Think I will give a new try since I follow main.<br> <br> </div> Are you using laptops for this usecase?<br> <br> </div> Thanks!</div> <br> <div class="x_gmail_quote x_gmail_quote_container"> <div dir="ltr" class="x_gmail_attr">Stephan Althaus <<a href="mailto:Stephan.Althaus@duedinghausen.eu">Stephan.Althaus@duedinghausen.eu</a>> escreveu (quinta, 26/06/2025 à(s) 15:50):<br> </div> <blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex"> On 6/26/25 15:07, Corvin Köhne wrote:<br> > Hi,<br> ><br> > I'm currently experimenting with GPU passthrough for Nvidia cards. All I have to<br> > do to make it work with Ubuntu guests, is setting the INTPIN register to any<br> > value instead of just 0x00. Unfortunately, I'm unfamiliar with PCI legacy<br> > interrupts and how they work. The INTLINE register is set to 0xFF (unconnected).<br> > So, is it safe to set the INTPIN register or what has to be done for it to work<br> > as expected?<br> ><br> > Any help would be appreciated.<br> ><br> ><br> Hi!<br> <br> You surely mean 'newer' NVidia cards, as my GT1030 works with FreeBSD <br> 14.2 Host and ubuntu guest, NVIdia driver 570, (and Win guest btw)<br> out-of-the-box, no kernel/driver modding...<br> <br> Regards,<br> <br> Stephan<br> <br> <br> <br> </blockquote> </div> <div><br clear="all"> </div> <br> <span class="x_gmail_signature_prefix">-- </span><br> <div dir="ltr" class="x_gmail_signature"> <div dir="ltr"> <div><font color="#888888">Nuno Teixeira</font></div> <div> <div><font color="#888888">FreeBSD UNIX: <eduardo@FreeBSD.org> Web: <a href="https://FreeBSD.org" rel="noreferrer" target="_blank"> https://FreeBSD.org</a><br> </font></div> </div> </div> </div> </div> </body> </html>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MN2PR20MB31681D1566D16CA5E9DA7B5DFE7AA>
