From nobody Thu Sep 18 01:03:04 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 4cRy7223qmz68Mwh for ; Thu, 18 Sep 2025 01:03:10 +0000 (UTC) (envelope-from jon@xyinn.org) Received: from mail-24422.protonmail.ch (mail-24422.protonmail.ch [109.224.244.22]) (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 4cRy716hHCz3qnb; Thu, 18 Sep 2025 01:03:09 +0000 (UTC) (envelope-from jon@xyinn.org) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xyinn.org; s=protonmail3; t=1758157387; x=1758416587; bh=zCL4iope6h1vOeP6hJULtAw2PPLFngiDi+23sbw3W9s=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=l34gKllc0vfMhRZrUkweVy1BEFwsD+3Tm16YoDQHw4wCrFrLC4T5jNBtMTFiBehP2 Q6jiE8FQwOY9ooF0DbJ5UCK719T2biQsqgLI7qr7xPqrKqDfUFAs2Yefk+ht1xOxM/ HrAV+wbE8ggbsWJh9hXu7pqQByMgEsRoo0DE2jMRfsTP8mWrOlBDXfeHXH5+GhmXkA fzXcInBrlKghgbl2hxzqTumkLFFOfl0Av8Nefnv9Lr82v6NMuPQ3WyUQ5Pxm8gnVh6 kNMWCcdq/dSNmf6HVBVYpw/E3VmVeJY0eajIzNash1Lv/Kxz0vpE5kTIne3SQDFDjZ E13a325LzXBcw== Date: Thu, 18 Sep 2025 01:03:04 +0000 To: Tomek CEDRO From: Jonathan Vasquez Cc: "virtualization@freebsd.org" , =?utf-8?Q?Corvin_K=C3=B6hne?= Subject: Re: GPU Passthrough on FreeBSD 14.3 (AMD Radeon RX 6900 XT and Windows 10 Pro) Message-ID: <7YJWddCC_SUuB_mwDmHL3xecft8_rMou1xosTzBIK1UP_Fw-B786LWZX6CQ8XG6smJQRlxbfJbCq8fmTI15RouBn8GN73IfJvPOg7k6jr-s=@xyinn.org> In-Reply-To: References: <6CV-OY6BcErrWRit9jSpi6fWsYBG3E_Z3u6eTLPcz6foPAZV1gQpZYaZTR7JA_1ot5RQVqrWQaLxJFySXjspIhSbBJGxmckcDQyzxhALNus=@xyinn.org> <09-JQGKdIKMMp4u22KT_U_n7lXzFRKrK3mODyLvhee7a7pYyagqdi1mbgVTeq5QIe_ZrbGfkM4I03ocsBCj6ogh04hKyCcDdY65EtlrysuI=@xyinn.org> <6QpHOGTzqnqxLPCDMcDbChlobQw-mVGWb2BjQk-K7kyE3OjuLCCFLGn5nVpgEvlr3xaipUzLMWz1JaESXx9W6w7aXNyAXN5wbuoS8eaWkcU=@xyinn.org> Feedback-ID: 12351801:user:proton X-Pm-Message-ID: 40fb08b44d654d19e555374ee9b118cd9bef1bab 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.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:62371, ipnet:109.224.244.0/24, country:CH] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cRy716hHCz3qnb @Tomek - CD Projekt / Red <3. They've done an excellent job with GOG and their ga= mes. I'm all about that DRM Offline Gaming lifestyle lol. - Check out the first remark. Basically I'm passing in both the integrated = and the dedicated card (I disabled the integrated card because I need to pa= ss everything in that Bus if I want to use the mobo's USB/Sound stack which= happens to be on there as well). I then connect my monitors HDMI cable dir= ectly to the dedicated card. So no RDP/VNC. It almost feels like I didn't e= ven have FreeBSD installed lol. when bhyve boots up the monitor receives th= e signal automatically. I'm passing my KVM into the VM through the USB as w= ell so my keyboard/mouse/sound also get passed into the VM. My server is ru= nning headless (I connect over SSH) so it doesn't need any graphics. Howeve= r, the machine does have output from both cards at boot time and early on t= he FreeBSD boot process, it's only once it starts too boot that the video d= river no longer sends anything to the cards and allows those devices to be = passed through later on. So if there was an issue at boot time, I'll still = be able to administer the machine. It's my home server. - These instructions won't work for Intel/NVIDIA because they some differen= t requirements and configuration options from what Corvin mentioned in his = talk. I know some people had to patch the kernel so have some sort of KVM s= ignature implemented or the NVIDIA driver wouldn't work. I'm not sure if th= at's still the case. For AMD none of that was required. It just works assum= ing the system is configured correctly it seems. @Peter I've heard of this before but I don't think will be using it. I'll always b= e physically present around the gaming machine and don't really need the ex= tra software running on it, plus give that I'm directly wired, that would b= e the fastest performance possible given the setup. But I took a look at th= e page and based on the system requirements, I don't see why it wouldnt wor= k ;).