Date: Thu, 18 Sep 2025 03:43:31 +0200 From: Tomek CEDRO <tomek@cedro.info> To: Jonathan Vasquez <jon@xyinn.org> Cc: "virtualization@freebsd.org" <virtualization@freebsd.org>, =?UTF-8?Q?Corvin_K=C3=B6hne?= <corvink@freebsd.org> Subject: Re: GPU Passthrough on FreeBSD 14.3 (AMD Radeon RX 6900 XT and Windows 10 Pro) Message-ID: <CAFYkXjnKjx5VeLujE%2BQ1toz6W4rvX%2Bv6iKbA4212XV_=kYkwOA@mail.gmail.com> In-Reply-To: <7YJWddCC_SUuB_mwDmHL3xecft8_rMou1xosTzBIK1UP_Fw-B786LWZX6CQ8XG6smJQRlxbfJbCq8fmTI15RouBn8GN73IfJvPOg7k6jr-s=@xyinn.org> References: <6CV-OY6BcErrWRit9jSpi6fWsYBG3E_Z3u6eTLPcz6foPAZV1gQpZYaZTR7JA_1ot5RQVqrWQaLxJFySXjspIhSbBJGxmckcDQyzxhALNus=@xyinn.org> <FIR4iioBciiFZPGzeCeKoY_RKIdxeWWraK2Dr98ag7G7X6n2u5CWtBc2GT7CAzc9sq9JUREXfr7tbj9Bpd341cp7YxJFyM04FczcztnSb_I=@xyinn.org> <09-JQGKdIKMMp4u22KT_U_n7lXzFRKrK3mODyLvhee7a7pYyagqdi1mbgVTeq5QIe_ZrbGfkM4I03ocsBCj6ogh04hKyCcDdY65EtlrysuI=@xyinn.org> <mCYFvsvCiJxYxJBB5ZoCDpZvD1K9kurQRfAA7xyg5YykjoH-NoSqP_an0mexDVQ07wj1JOulA9imS1ss-zf4RSGSo4OMluxlovFwe7C5Y8c=@xyinn.org> <HQJQz0Hozvec21gKyTxzLVEzEtV-bgFo-_bznYjO5YCz-lcTXzmXextt-EoWDx7MgOtkgbj1W0mlfMiOpFkblnHtj4shaRNC-aBACusnasY=@xyinn.org> <d776efc6caa4655932c5826a5254726b54f0922e.camel@FreeBSD.org> <inDvuzB_9hEMrB7OHgJcDcta8GMaEPxvzilpw8LycZgSoch8FY1lzGtOmipyv4IYHwucW6Hdm7qv3c1M9TjZMbaZws7Yzi8zlxZSZ3ZV0PA=@xyinn.org> <6QpHOGTzqnqxLPCDMcDbChlobQw-mVGWb2BjQk-K7kyE3OjuLCCFLGn5nVpgEvlr3xaipUzLMWz1JaESXx9W6w7aXNyAXN5wbuoS8eaWkcU=@xyinn.org> <CAFYkXjmmsNb1dNoq3ebm%2BVVTgVFyoDB7LHBaCKTq-VduYxp4=w@mail.gmail.com> <7YJWddCC_SUuB_mwDmHL3xecft8_rMou1xosTzBIK1UP_Fw-B786LWZX6CQ8XG6smJQRlxbfJbCq8fmTI15RouBn8GN73IfJvPOg7k6jr-s=@xyinn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 18, 2025 at 3:03=E2=80=AFAM Jonathan Vasquez <jon@xyinn.org> 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 --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXjnKjx5VeLujE%2BQ1toz6W4rvX%2Bv6iKbA4212XV_=kYkwOA>
