From nobody Thu Jun 26 21:47:36 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bSsjw336Nz5yqV7 for ; Thu, 26 Jun 2025 21:47:48 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bSsjw0rVRz48XH for ; Thu, 26 Jun 2025 21:47:48 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750974468; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=y9FRlTF6apXkx0RijOayCRCD2xB93RBnuomOPOqyXYA=; b=GRKBO7/dvXjSfuoThVGwlT1Tr2bTgRW11k+tbu3YQ4tmKwLAuJ3SPqIlMuBRiHHzhFpLf/ ixPOZ9gNxP6kD3CUgsusIX7l9OV4aUUtTkDswkzACQJL+OFYF6JuIDu6r30d0T2nzg3Gnf 3L+NFqCSQAD/IReZW553zf0ZiPxoE4fD4HohG5bJLk3Qd45pWSX6YwTL+Q28DJLIfTTYP8 9vc9Qpp6yb7nDCHE7z0Eb6W7SyE5jpQfMGJa3Is98bWXjXG0v5IWjdZEVDGmNxZpaMpq1a XjBJ0H2WRNJNerwmuxrSw9CtgdjLoEe3/YfWuxrVba3j4JapcEYdoEDKHg1Vqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750974468; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=y9FRlTF6apXkx0RijOayCRCD2xB93RBnuomOPOqyXYA=; b=DSKloV6uy6GpKZdBr2XAwpvA6eVtl0qS+67yRhUXi59R8RGPtXxIinn8Qzv5YXHwiyZXRM jGEWEf/XP3tk5rCsDr/2VcGPclPzqSuCDHXXvjQJtvQ5N4uinKZUlZl5H//XuZ2f/hjIT/ qBqEPcJLxul8s3ZaYfm0NTu1iK88Rszj4BUisT1uruPKCl7HBqSoeJnVVgmNzoNv2sHlCN Y/1YB2jaC1fnKYrb56Yy7RMJjbghhBWphrnjSQx2WBVttda0tfpddqSCWsA8hXP3yesI+J FCVoiTBR/7Bq1Qq538n8htMhHio7jZr77r/WD3qNBYcbx0yK+EEL3Dl5w/sd/w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1750974468; a=rsa-sha256; cv=none; b=RsBmXMa4bld3R9zi+vBJjP3sbFIb0AvFbpfI+TzFCIn7I9OWd0VeLtlfCnpNtQee+DMAGf Tdz42n20fL1UJHmBNFeAPivVwTEaa1a6TiXqZKqpDf5Chs01w9zLOALh5FPPY45mbrHyH3 ptXAjYrCXUkd1BJH2mlLx5XDRcHb7oMOsrHb/B4JzCIIAwQUxQwYElvU1LuAK5Pva3gJpP dCJP+XCw9Wu3KyzGVs7Zytvd5AYzIrU7i5g4g+ttrm+b6UGuh9u4LhN/XdTw/Uxsj7zY76 D+hyXPD15rAwk1wyHzqC6GX8WQ4E1FpmDOSkiGKBLMk+/oBKpWWlBOJV/ipX9g== Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bSsjv6mJbzyPb for ; Thu, 26 Jun 2025 21:47:47 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qt1-f180.google.com with SMTP id d75a77b69052e-4a43e5c2b1aso2479211cf.2 for ; Thu, 26 Jun 2025 14:47:47 -0700 (PDT) X-Gm-Message-State: AOJu0YwtGPbdGX/cGr/GPHL6YYewf74gPlnEH1+/lqeJyVoDbUGEYL00 +SWLnOiOlKs/y7Hc+b6Cz7fCG7KkQmITIQKGorrleIsqDiEj2jrOxa9eUUswbaNc9m9+rg+xhVe 4MO6icpm6I51UDfeKPtdGLqyX6ucS15Y= X-Google-Smtp-Source: AGHT+IF1G9LG+5ansttOrvYMmjzVgdGQvIxyOlLpe8dvD5HHD95MP0RyeGacQ/ehQvyFBlS1g4ffiCu/MYXPG24osV0= X-Received: by 2002:ac8:5f4d:0:b0:4a7:4eed:2582 with SMTP id d75a77b69052e-4a7fcc3b09fmr7875971cf.4.1750974467405; Thu, 26 Jun 2025 14:47:47 -0700 (PDT) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 References: <4785074a005d66ed92e5670b9fa4ce45a5d65eba.camel@FreeBSD.org> In-Reply-To: From: Nuno Teixeira Date: Thu, 26 Jun 2025 22:47:36 +0100 X-Gmail-Original-Message-ID: X-Gm-Features: Ac12FXynOK6EMbZJglfnoGhaE6uUQFSPeyGx_GihE6zbXJtSvB_4IEjqkWgYPuU Message-ID: Subject: Re: bhyve: GPU passthrough for Nvidia cards To: Stephan Althaus Cc: virtualization@freebsd.org Content-Type: multipart/alternative; boundary="00000000000023ff3406388083b2" --00000000000023ff3406388083b2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 escreveu (quinta, 26/06/2025 =C3=A0(s) 15:50): > On 6/26/25 15:07, Corvin K=C3=B6hne 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 t= o > any > > value instead of just 0x00. Unfortunately, I'm unfamiliar with PCI lega= cy > > 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 > > > > --=20 Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --00000000000023ff3406388083b2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Stephan,

A yea= r a go I did try passtrhu a dedicated nvidia GTX 1650 while using integrate= d intel graphics (laptop Lenovo Legion 5 15IMH05). Windows detected card bu= t nvidia drivers install failed at some point.
On this laptop I di= d 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> escreveu (quinta, 26/06/2025 = =C3=A0(s) 15:50):

--
Nuno Teixeira
=
FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://Fr= eeBSD.org
--00000000000023ff3406388083b2--