From nobody Thu Sep 18 01:59:09 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 4cRzMl4hT8z68Qn9 for ; Thu, 18 Sep 2025 01:59:15 +0000 (UTC) (envelope-from jon@xyinn.org) Received: from mail-10626.protonmail.ch (mail-10626.protonmail.ch [79.135.106.26]) (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 4cRzMl2JPZz3y5T for ; Thu, 18 Sep 2025 01:59:15 +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=1758160752; x=1758419952; bh=CrZyH6CZQXttWHOK5HETuT5ZReBU4zb/6ERCVJnwRjs=; 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=KTHh8EwswCARq1g4lPxSmuhLtd2kAjBaH7r9RiZW2hRrOmCYNlEnIG0EzSq96CDEY D5i+Bt/+tuOwXcK27rRlBZfta9iT/iNGIr6X5Gfj+hELKOH3q8ReeumFnWvwgIi4mf Toir837hbni1KUztqxRnl2t29XlRei83ZAfv0sqaBpyFmVTDRgcNUn5uUNKaw72TVE OGCALRd7fDYHJuSH++plUswAqkDQd1953AP507yvIpXbExtWPjeie3q4iQQMGEfTA3 /h2Q5+VV/o15UD3KgFIt8OKc+yKBK5kc0icXHm/04NoiMyeZwoS9VrUlMbpoddDoZr FQwd0KILIChYg== Date: Thu, 18 Sep 2025 01:59:09 +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: In-Reply-To: References: <6CV-OY6BcErrWRit9jSpi6fWsYBG3E_Z3u6eTLPcz6foPAZV1gQpZYaZTR7JA_1ot5RQVqrWQaLxJFySXjspIhSbBJGxmckcDQyzxhALNus=@xyinn.org> <6QpHOGTzqnqxLPCDMcDbChlobQw-mVGWb2BjQk-K7kyE3OjuLCCFLGn5nVpgEvlr3xaipUzLMWz1JaESXx9W6w7aXNyAXN5wbuoS8eaWkcU=@xyinn.org> <7YJWddCC_SUuB_mwDmHL3xecft8_rMou1xosTzBIK1UP_Fw-B786LWZX6CQ8XG6smJQRlxbfJbCq8fmTI15RouBn8GN73IfJvPOg7k6jr-s=@xyinn.org> Feedback-ID: 12351801:user:proton X-Pm-Message-ID: f9f267af135d947793ccebad6bbd79096faefcad 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:79.135.106.0/24, country:CH] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cRzMl2JPZz3y5T I've recorded a video where I demo all of this, I'll be uploading it to my = YouTube channel in less than an hour. stay tuned! Jonathan Vasquez PGP: 34DA 858C 1447 509E C77A D49F FB85 90B7 C4CA 5279 Sent with ProtonMail Secure Email Sent from Proton Mail for Android. -------- Original Message -------- On Wednesday, 09/17/25 at 21:44 Tomek CEDRO wrote: On Thu, Sep 18, 2025 at 3:03=E2=80=AFAM Jonathan Vasquez wr= ote: > - CD Projekt / Red <3. They've done an excellent job with GOG and their = games. I'm all about that DRM Offline Gaming lifestyle lol. Yup GOG rulez! :-) > - Check out the first remark. Basically I'm passing in both the integrate= d and the dedicated card (I disabled the integrated card because I need to = pass everything in that Bus if I want to use the mobo's USB/Sound stack whi= ch happens to be on there as well). I then connect my monitors HDMI cable d= irectly to the dedicated card. So no RDP/VNC. It almost feels like I didn't= even have FreeBSD installed lol. when bhyve boots up the monitor receives = the signal automatically. I'm passing my KVM into the VM through the USB as= well so my keyboard/mouse/sound also get passed into the VM. My server is = running headless (I connect over SSH) so it doesn't need any graphics. Howe= ver, the machine does have output from both cards at boot time and early on= the FreeBSD boot process, it's only once it starts too boot that the video= driver no longer sends anything to the cards and allows those devices to b= e passed through later on. So if there was an issue at boot time, I'll stil= l be able to administer the machine. It's my home server. Aaah, mystery solved, its a headless machine :-) I would need to launch bhyve from my main workstation and then go back to that workstation so this is a different setup :-) Maybe I could use onboard Intel and NV for bhyve, but its Ultra9 CPU so DRM does not work here yet.. and there are not much PCI-E ports on modern mobo to add small GTX1030 or something like this.. and probably basic gpu vendor should be different from GPU dedicated for bhyve so it is not blocked by the kernel driver etc etc etc :-P > - These instructions won't work for Intel/NVIDIA because they some differ= ent requirements and configuration options from what Corvin mentioned in hi= s talk. I know some people had to patch the kernel so have some sort of KVM= signature implemented or the NVIDIA driver wouldn't work. I'm not sure if = that's still the case. For AMD none of that was required. It just works ass= uming the system is configured correctly it seems. ACK :-) I switched back from AMD to NVIDIA after pretty decent amdgpu card was not working reliably even for the basic desktop tasks so I will stick to nvidia :-P -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info