From nobody Mon Sep 22 17:36:53 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 4cVr013dW7z68Bft for ; Mon, 22 Sep 2025 17:37:05 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cVr0138Zwz3rFb for ; Mon, 22 Sep 2025 17:37:05 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758562625; 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=H2Eqh+EaYWFWtH5BHukHr1KUwREBuKJe4zFm+xYnoIM=; b=Pveqa5ZMURH8GNrAwc8DCdpbxs34BoMiROHG5e0Y3h6vJ+kJeqxF8l2FDxw0jTtT4Ry8f1 cROecPHCMtGZUZWdzluAzgFVtCzNOj1YcuikTkmFQ2kP+6fX+ion20gqqgc56/7sqmFwBG 7q3jtD4+/s7Vbeoi75d4Jrmksswey1sKCae9iPxr2a0EQc6veI6UQNMvtF1m/ESuqGi9pj Gc7kx1LKcSbcjT7MIOcVFVx94XXSVVm8F3nVXlSTZWdfnOLPO7nfP45eZMcnLJSZPuo2Pi ZLgkgP3g5bcDPVnSqoHDVMMBLIh0JexAJ5c60EhpaUBYa4z4WXOkURQ/kE6Org== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758562625; 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=H2Eqh+EaYWFWtH5BHukHr1KUwREBuKJe4zFm+xYnoIM=; b=KfG09KB5++95u+q5eu+U9C7+ulDyFfjfBhUoD7R8TPji6VfFAnxUG3XLQHpM6wOTc9j0DS tPLcLG5ATeNnkcsv+VkOzlCEP4CzgLAG6c6B54BSxc4ChEYOkZ1OgkcUWUaxr8ApOK+9uF lFF8LEKjeNnn1bS6A48n383jn+8vsDK+MJ6tiJeyxs3ZMvQKqzcZVttvH2f85O9JCEfW5B 2Lc+WxKcMCJqR9KV8BJjDyE7LDRe4eOoDuCLsKML8v1bK2HgYugc3Tx059PKc2fJpDp3DO TTZmzo1U0D8s1KlK1+DoBDHd0+ruh58mlvWVubwJDaLYW952z115i11dzgcuVg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1758562625; a=rsa-sha256; cv=none; b=UCyjYpiCW4UEIDSCceQ2mDzdEG4TZ9oIKNsZ8vskPIp6zeYVAPZRPYoAe4tYnoO9J5Cn+p fegMoZF6hJ3KC3tYE7CgsRUtR7dctjjBlSKTbC3/p6Z4k5LbwpGGv3ijA/hPs5DJ69URY9 MKFiCY43wYVXyenfrHibHL6ZIVtQr/i8UyKAFyul5NqYvwrIuH3r3iICDl9drNI+of+mCS ozWY0MsoOAE3o2JwdX/TxNdEzm29fZrjcHIqxaOSM48xS3vTGm7yqB6XOTXLsvPzgu1jap IEC1Dr4OqE6vjSXy3hoFpvmtyFPpDsuV2hMg9caqiBJoINfZyork0d2VEKDzJg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) (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 4cVr011xx3zxkm for ; Mon, 22 Sep 2025 17:37:05 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qk1-f181.google.com with SMTP id af79cd13be357-84a4b995839so6956485a.1 for ; Mon, 22 Sep 2025 10:37:05 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCUjKpgB3I6aHFP7917DzCgr+eBVt+wZbRPGzuwuzWkqQpsLOIq/InGpVxMJHJizKnZfSnlgQICtB3vPPZDYeA==@freebsd.org X-Gm-Message-State: AOJu0YxNDiynAvsHhDHQlrgEOKQud90jRgIj9P5u1HUveOnkXE8plNot 6PjOXDVqI5KEAZePlfIu6gBa7hBw1ssrmXO+XkS3XXaIxffXI4f9A3twhSsN/Iln1Tw5a00z0Pp 1vZZi2dUMgnO8ClE09g3bcz3fKSSd/PM= X-Google-Smtp-Source: AGHT+IES2/qn0RPPAB+DsoKE8pWr1yBrClQ7hRoP5iUjUq9jFm/syaYa9/GZB910g01QD/LU5R6USqwhFgBehXdJrOw= X-Received: by 2002:a05:620a:458d:b0:827:e9b0:2732 with SMTP id af79cd13be357-83bab285919mr1067520085a.13.1758562624612; Mon, 22 Sep 2025 10:37:04 -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: <6CV-OY6BcErrWRit9jSpi6fWsYBG3E_Z3u6eTLPcz6foPAZV1gQpZYaZTR7JA_1ot5RQVqrWQaLxJFySXjspIhSbBJGxmckcDQyzxhALNus=@xyinn.org> <6QpHOGTzqnqxLPCDMcDbChlobQw-mVGWb2BjQk-K7kyE3OjuLCCFLGn5nVpgEvlr3xaipUzLMWz1JaESXx9W6w7aXNyAXN5wbuoS8eaWkcU=@xyinn.org> <7YJWddCC_SUuB_mwDmHL3xecft8_rMou1xosTzBIK1UP_Fw-B786LWZX6CQ8XG6smJQRlxbfJbCq8fmTI15RouBn8GN73IfJvPOg7k6jr-s=@xyinn.org> In-Reply-To: From: Nuno Teixeira Date: Mon, 22 Sep 2025 18:36:53 +0100 X-Gmail-Original-Message-ID: X-Gm-Features: AS18NWBjUhM5dDNUHJ1i1m_w7HiF277PjBuA6EsqLABq_b3SJaG7JNq4tKjt2Ws Message-ID: Subject: Re: GPU Passthrough on FreeBSD 14.3 (AMD Radeon RX 6900 XT and Windows 10 Pro) To: =?UTF-8?Q?Corvin_K=C3=B6hne?= Cc: Jonathan Vasquez , "virtualization@freebsd.org" , Tomek CEDRO Content-Type: multipart/alternative; boundary="0000000000008e3155063f674493" --0000000000008e3155063f674493 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Corvin and all on this thread, Last time I've searched for docs and manuals on how to properly setup graphics passtru in bhyve, documentation was very fragmented. Is there a a wiki page or a place where docs are placed so we can access? If not, we could start a new thread on virtualization@ to start gathering all we can get, so a wiki or a complete manual could be made and incorporated in our handbook. Thanks all! Corvin K=C3=B6hne escreveu (segunda, 22/09/2025 =C3= =A0(s) 12:25): > On Sun, 2025-09-21 at 00:47 +0100, Nuno Teixeira wrote: > > 2- Do you know how is nvidia status compared to your use case? > > Hi Nuno, > > NVIDIA should to be in the same shape as AMD on CURRENT since [1]. I'm > going to > MFC it soon to land it in 15.0. This means: some users are reporting a > working > setup for Windows and Linux guests, however it's not tested very well yet= . > So, > it's an experimental setup which might fail sporadically, on heavy load o= r > long > time testing. > > Note that QEMU does implement some additional quirks for NVIDIA cards [2]= . > None > of those are implemented in bhyve yet. However, most of them seem to be > related > to older cards. > > [1] https://reviews.freebsd.org/D51892 > [2] > > https://elixir.bootlin.com/qemu/v10.1.0/source/hw/vfio/pci-quirks.c#L481-= L495 > > > -- > Kind regards, > Corvin > --=20 Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --0000000000008e3155063f674493 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Corvin and all on this thread,
Last time I've searched for docs and manuals on how to properly = setup graphics passtru in bhyve, documentation was very fragmented.

=
Is there a a wiki page or a place where docs are placed so we can acc= ess?
If not, we could start a new thread on virtualization@ t= o start gathering all we can get, so a wiki or a complete manual could be m= ade and incorporated in our handbook.

Thanks all!
=
Corvin K=C3=B6hne <corvink@freebsd.org> escreveu (segunda, 22/09/2025 =C3=A0(s) 12:25= ):
On Sun, 2025-= 09-21 at 00:47 +0100, Nuno Teixeira wrote:
> 2- Do you know how is nvidia status compared to your use case?

Hi Nuno,

NVIDIA should to be in the same shape as AMD on CURRENT since [1]. I'm = going to
MFC it soon to land it in 15.0. This means: some users are reporting a work= ing
setup for Windows and Linux guests, however it's not tested very well y= et. So,
it's an experimental setup which might fail sporadically, on heavy load= or long
time testing.

Note that QEMU does implement some additional quirks for NVIDIA cards [2]. = None
of those are implemented in bhyve yet. However, most of them seem to be rel= ated
to older cards.

[1] https://reviews.freebsd.org/D51892
[2]
https://elixir.bootlin.= com/qemu/v10.1.0/source/hw/vfio/pci-quirks.c#L481-L495


--
Kind regards,
Corvin


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