Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2025 20:44:45 -0400
From:      peter garshtja <peter.garshtja@ambient-md.com>
To:        Tomek CEDRO <tomek@cedro.info>
Cc:        Jonathan Vasquez <jon@xyinn.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:  <CALFUBVG_=c=06EKf5JUi1B9%2B9-3kj_R%2BzrmDMPskas3qQ6k5-A@mail.gmail.com>
In-Reply-To: <CAFYkXjmmsNb1dNoq3ebm%2BVVTgVFyoDB7LHBaCKTq-VduYxp4=w@mail.gmail.com>
References:  <6CV-OY6BcErrWRit9jSpi6fWsYBG3E_Z3u6eTLPcz6foPAZV1gQpZYaZTR7JA_1ot5RQVqrWQaLxJFySXjspIhSbBJGxmckcDQyzxhALNus=@xyinn.org> <GXXvtGkj6StE4BIkkGS7gd01j9K7K3IIGkBOHHqgomnZuNxo-5Sz4WjNKV6HYi5HhPXeBIwsdkAuR71i7hJ8QEPaH4bqkhrTIaA2ti0IXoE=@xyinn.org> <MN2PR20MB3168842FD4AAADEB8A29DC5DFE3EA@MN2PR20MB3168.namprd20.prod.outlook.com> <fb59ninGeo2cCSN7tULNr1ZaXzLFaZn1Lh_SuGWMBCv63RAbqgZetMhn63dppXM7quUBuGF8U9N8-furgb-088Gn-LHr9-e9JYUPvHIvuqU=@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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Hi Jonathan,
Thanks for the update.

Can you try sunshine/moonlight setup?
This setup will bring you to something GeForce Now service.

Regards,
Petru

On Wed, Sep 17, 2025, 20:39 Tomek CEDRO <tomek@cedro.info> wrote:

> On Thu, Sep 18, 2025 at 2:05 AM Jonathan Vasquez <jon@xyinn.org> wrote:
> > Hey all,
> > I've done some more testing and improved my post. I pretty much got a
> full blown gaming set up working. It has it's qwirks but definitely can
> play games on this VM now. I no longer use RDP at all. Since passthrough is
> working, I just plugged in my monitor directly into the GFX card. Once you
> start the bhyve VM, you will get video out at full power (- w/e performance
> lose we have due to running in a VM). But I'm not getting any lag or
> stuttering due to RDP/VNC stuff. Since I have a KVM, I was able to pass
> through my mobo's USB stuff to the VM which means the KVM allows me to use
> my keyboard/mouse in the VM, and I can even use Ethernet and sound as well
> since the KVM has a headphone jack. So with all of that, I have everything
> I need to play games on this VM with the AMD Radeon RX 6900 XT. The nice
> thing is that things are just going to get better on FreeBSD from here :).
> Please check out the info on my page again and let me know if anyone has
> any questions.
> >
> > I'm sure that we will get improvements in the future for:
> > - Resizable BAR support
> > - Fixing any issues with slowness with some games (probably a byproduct
> of something else going on)
> > - Any weird graphical/artifact issues in - some - circumstances.
> Although it seems when I do get graphical issues, it's only temporary and
> doesn't make the game completely unplayable.
> >
> > @Tomek CEDRO
> >
> > I'm not against getting this documentation into the handbook, but from
> my little work on getting some documentation updates into the handbook,
> there are specific guidelines that need to be followed with language used,
> structure, etc, and there are a lot of side things that I didn't describe
> in my document. All of this would probably need to be fully fleshed out and
> polished before something of this magnitude would be accepted as an
> official chapter or section in the handbook. Although I agree that it's
> very valuable information and a highly sought after use case I would
> think.. at least it was for me. I was thinking this technology would be out
> of reach for me for many many more years, but I'm happy that the day has
> finally come, and on my favorite OS, FreeBSD. Let's go!!
>
> Congratz! :-) Nice to see you play Cyberpunk2077 and Witcher3 that are
> from Poland where I live! Cyberpunk Not Dead! =)
>
> Jonathan, I did not find detailed information about the monitors setup
> for the host and the guest on your blog post:
>
> https://xyinn.org/blog/freebsd/freebsd_bhyve_gpu_passthrough_amd
>
> So you are using two GPUs on the host machine, on-board for the host,
> and the PCI-E for the guest?
>
> Is it possible to use both host and guest on the same GPU? I guess not
> because BSD uses kernel driver and that cannot be unloaded and then
> reloaded on the guest enter/exit and so KVM is necessary?
>
> Another question is why this will not work for Intel and Nvidia GPUs?
> I have onboard Intel and PCI-E RTX5070 from Nvidia :-P
>
> You can add video about this setup on your YT channel :-)
>
> Thanks for sharing the success story and hints on how to repeat! :-)
>
> Tomek
>
> ps/2: I really miss the good GPU/GFX support in bhyve, that is we
> could reuse existing GPU and screen for the guest with no VNC, RDP, or
> Passthrough+KVM :-P
>
> --
> CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
>
>

[-- Attachment #2 --]
<div dir="auto">Hi Jonathan,<div dir="auto">Thanks for the update.</div><div dir="auto"><br></div><div dir="auto">Can you try sunshine/moonlight setup?</div><div dir="auto">This setup will bring you to something GeForce Now service.</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Petru</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Sep 17, 2025, 20:39 Tomek CEDRO &lt;<a href="mailto:tomek@cedro.info">tomek@cedro.info</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Sep 18, 2025 at 2:05 AM Jonathan Vasquez &lt;<a href="mailto:jon@xyinn.org" target="_blank" rel="noreferrer">jon@xyinn.org</a>&gt; wrote:<br>
&gt; Hey all,<br>
&gt; I&#39;ve done some more testing and improved my post. I pretty much got a full blown gaming set up working. It has it&#39;s qwirks but definitely can play games on this VM now. I no longer use RDP at all. Since passthrough is working, I just plugged in my monitor directly into the GFX card. Once you start the bhyve VM, you will get video out at full power (- w/e performance lose we have due to running in a VM). But I&#39;m not getting any lag or stuttering due to RDP/VNC stuff. Since I have a KVM, I was able to pass through my mobo&#39;s USB stuff to the VM which means the KVM allows me to use my keyboard/mouse in the VM, and I can even use Ethernet and sound as well since the KVM has a headphone jack. So with all of that, I have everything I need to play games on this VM with the AMD Radeon RX 6900 XT. The nice thing is that things are just going to get better on FreeBSD from here :). Please check out the info on my page again and let me know if anyone has any questions.<br>
&gt;<br>
&gt; I&#39;m sure that we will get improvements in the future for:<br>
&gt; - Resizable BAR support<br>
&gt; - Fixing any issues with slowness with some games (probably a byproduct of something else going on)<br>
&gt; - Any weird graphical/artifact issues in - some - circumstances. Although it seems when I do get graphical issues, it&#39;s only temporary and doesn&#39;t make the game completely unplayable.<br>
&gt;<br>
&gt; @Tomek CEDRO<br>
&gt;<br>
&gt; I&#39;m not against getting this documentation into the handbook, but from my little work on getting some documentation updates into the handbook, there are specific guidelines that need to be followed with language used, structure, etc, and there are a lot of side things that I didn&#39;t describe in my document. All of this would probably need to be fully fleshed out and polished before something of this magnitude would be accepted as an official chapter or section in the handbook. Although I agree that it&#39;s very valuable information and a highly sought after use case I would think.. at least it was for me. I was thinking this technology would be out of reach for me for many many more years, but I&#39;m happy that the day has finally come, and on my favorite OS, FreeBSD. Let&#39;s go!!<br>
<br>
Congratz! :-) Nice to see you play Cyberpunk2077 and Witcher3 that are<br>
from Poland where I live! Cyberpunk Not Dead! =)<br>
<br>
Jonathan, I did not find detailed information about the monitors setup<br>
for the host and the guest on your blog post:<br>
<br>
<a href="https://xyinn.org/blog/freebsd/freebsd_bhyve_gpu_passthrough_amd" rel="noreferrer noreferrer" target="_blank">https://xyinn.org/blog/freebsd/freebsd_bhyve_gpu_passthrough_amd</a><br>;
<br>
So you are using two GPUs on the host machine, on-board for the host,<br>
and the PCI-E for the guest?<br>
<br>
Is it possible to use both host and guest on the same GPU? I guess not<br>
because BSD uses kernel driver and that cannot be unloaded and then<br>
reloaded on the guest enter/exit and so KVM is necessary?<br>
<br>
Another question is why this will not work for Intel and Nvidia GPUs?<br>
I have onboard Intel and PCI-E RTX5070 from Nvidia :-P<br>
<br>
You can add video about this setup on your YT channel :-)<br>
<br>
Thanks for sharing the success story and hints on how to repeat! :-)<br>
<br>
Tomek<br>
<br>
ps/2: I really miss the good GPU/GFX support in bhyve, that is we<br>
could reuse existing GPU and screen for the guest with no VNC, RDP, or<br>
Passthrough+KVM :-P<br>
<br>
-- <br>
CeDeROM, SQ7MHZ, <a href="http://www.tomek.cedro.info" rel="noreferrer noreferrer" target="_blank">http://www.tomek.cedro.info</a><br>;
<br>
</blockquote></div>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALFUBVG_=c=06EKf5JUi1B9%2B9-3kj_R%2BzrmDMPskas3qQ6k5-A>