From nobody Mon Oct 6 03:01:48 2025 X-Original-To: freebsd-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 4cg3vp3Jfsz69R5c for ; Mon, 06 Oct 2025 03:01:58 +0000 (UTC) (envelope-from jon@xyinn.org) Received: from mail-4323.protonmail.ch (mail-4323.protonmail.ch [185.70.43.23]) (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 "protonmail.com", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cg3vl3dFNz3wDh for ; Mon, 06 Oct 2025 03:01:55 +0000 (UTC) (envelope-from jon@xyinn.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=xyinn.org header.s=protonmail3 header.b=Q0dx27I8; dmarc=pass (policy=none) header.from=xyinn.org; spf=pass (mx1.freebsd.org: domain of jon@xyinn.org designates 185.70.43.23 as permitted sender) smtp.mailfrom=jon@xyinn.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xyinn.org; s=protonmail3; t=1759719711; x=1759978911; bh=Y3KOd6OIn7oPqdshmdAvMtmiD7lvrEiy6E6cVWBU3Zc=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=Q0dx27I8XA/mZ8NswI4e4K2kLKHAcIDgE7Mc5F3gqdna23RNqLe9n6DWEa96N0jhR 41rnSiRw+DVMIxAYTx0c6HVjLciYQZ/l3W34Mb1K+fIMjMlHJce2juVHip0nTMi51s NIXtA6wisVdM7lEG5NhPrQOtHqiv1D6ymmX+o+g3BpbkyzMeuHkoRzhNIS2qAcRQVf SNGFbH9L40T9e8N6T0sRQlsTM9gQi3zWnPeguIhtaWNsKcCdaP5IsORtEk1NHfIVgg 1VPhnAB3TNEv+Ann6kbrvEETjbOstNoR1lxUs4Hz9g08UQNc+EIytTtqoRiNNTWxk2 mXN7JXHE+sxWg== Date: Mon, 06 Oct 2025 03:01:48 +0000 To: "freebsd-virtualization@freebsd.org" From: Jonathan Vasquez Subject: Re: GPU Passthrough on FreeBSD 14.3 (AMD Radeon RX 6900 XT and Windows 10 Pro) Message-ID: In-Reply-To: <6heKN-0U0xjXnKHmUoPqG6NWCt6hAHWJNEdDqF3JzzCZqGfsCcquHt3G0kCnn7-LT4ybnTTCShSUi56E3QpY2FA2agzBVhDDNIILsr_rlGA=@xyinn.org> References: =?us-ascii?Q?<6CV-OY6BcErrWRit9jSpi6fWsYBG3E=5FZ3u6eTLPcz6foPAZV1gQpZYaZTR7JA=5F1ot5RQVqrWQaLxJFySXjspIhSbBJGxmckcDQyzxhALNus=3D@xyinn.org>__<3HATaLlOogPiMZWbxSnWPCnJC11=5FunXloaoQzyF8Ek01s9gZGVqnKKruZgFTrqHQBCi5xWNEzLzK37xiNdn3yCwXG8U7NfXKRmwY8=5F5xCLw=3D@xyinn.org>_<7CNs3oS07TqJcWsTrJCZmDlAypBuy9yh4xr=5FiAgGnUOGjqAP5iRl1JMkuna8LwFSNIvphQLojKi214B4w6ef2q2IRgvjdolLwUD8KCnXaSQ=3D@xyinn.org>_<9c53f1805e22fcf2c9eb878e0c7cc9a723c30dd8.camel@FreeBSD.org>_<-rzPcOUnhEy7jFcu7cF7V=5FkjAVPV=5F2deuhv7EY-eJl536fUllXK-3SSnWq13HStABMZuphkRAysMMhDXvd=5FMWIlH4QaMGU-8l2nXKeOY-Eo=3D@xyinn.org>___<6heKN-0U0xjXnKHmUoPqG6NWCt6hA?= =?us-ascii?Q?HWJNEdDqF3JzzCZqGfsCcquHt3G0kCnn7-LT4ybnTTCShSUi56E3QpY2FA2agzBVhDDNIILsr=5FrlGA=3D@xyinn.org>?= Feedback-ID: 12351801:user:proton X-Pm-Message-ID: cf4f24073bcbcec3a922843ae9c8c81a0f651fb7 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.39 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.993]; DMARC_POLICY_ALLOW(-0.50)[xyinn.org,none]; RWL_MAILSPIKE_EXCELLENT(-0.40)[185.70.43.23:from]; R_SPF_ALLOW(-0.20)[+ip4:185.70.43.0/24]; R_DKIM_ALLOW(-0.20)[xyinn.org:s=protonmail3]; MIME_GOOD(-0.10)[text/plain]; FREEFALL_USER(0.00)[jon]; MIME_TRACE(0.00)[0:+]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.43.0/24, country:CH]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; TO_DN_EQ_ADDR_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[185.70.43.23:from]; RCVD_COUNT_ZERO(0.00)[0]; DKIM_TRACE(0.00)[xyinn.org:+] X-Rspamd-Queue-Id: 4cg3vl3dFNz3wDh I've tested the patch but it didn't necessarily help my issue, thus I've re= verted. Since the last message, I've upgraded to an AMD Radeon RX 9070 XT. = I've also uploaded a new video demoing the passthrough on this card. The in= teresting thing is that it runs smooth but I noticed that regardless of me = running the Cyberpunk 2077 benchmark in Ultra and Ray Tracking: Overdrive, = the card would not go above 40 fps, which is similar to what my RX 6900 XT = had on the lower settings. The point is that the only way I was able to get= the fps above 40 fps, was to turn on Frame Generation. I know that this pr= ocessor and this gpu are pretty powerful, so I should be able to easily go = above 40 fps without frame generation. I wonder if having Resize BAR suppor= t in FreeBSD and having that enabled and working would help in any way. Eit= her way, it's a pretty good experience over all and I'll be able to test ou= t future bhyve improvements that could affect the gaming performance on Fre= eBSD. You can find the video here: https://www.youtube.com/watch?v=3DOKXtpnIDkYY