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>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000717d7b063f08a9b4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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=E2=80=AFAM 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 yo=
u
> start the bhyve VM, you will get video out at full power (- w/e performan=
ce
> 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 us=
e
> my keyboard/mouse in the VM, and I can even use Ethernet and sound as wel=
l
> since the KVM has a headphone jack. So with all of that, I have everythin=
g
> 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 a=
nd
> 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 o=
ut
> 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! =3D)
>
> 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
>
>

--000000000000717d7b063f08a9b4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Hi Jonathan,<div dir=3D"auto">Thanks for the=C2=A0update.=
</div><div dir=3D"auto"><br></div><div dir=3D"auto">Can you try sunshine/mo=
onlight setup?</div><div dir=3D"auto">This setup will bring you to somethin=
g GeForce Now service.</div><div dir=3D"auto"><br></div><div dir=3D"auto">R=
egards,</div><div dir=3D"auto">Petru</div></div><br><div class=3D"gmail_quo=
te gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Sep=
 17, 2025, 20:39 Tomek CEDRO &lt;<a href=3D"mailto:tomek@cedro.info">tomek@=
cedro.info</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, =
Sep 18, 2025 at 2:05=E2=80=AFAM Jonathan Vasquez &lt;<a href=3D"mailto:jon@=
xyinn.org" target=3D"_blank" rel=3D"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 go=
t 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 passthrou=
gh is working, I just plugged in my monitor directly into the GFX card. Onc=
e you start the bhyve VM, you will get video out at full power (- w/e perfo=
rmance lose we have due to running in a VM). But I&#39;m not getting any la=
g or stuttering due to RDP/VNC stuff. Since I have a KVM, I was able to pas=
s through my mobo&#39;s USB stuff to the VM which means the KVM allows me t=
o 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 every=
thing I need to play games on this VM with the AMD Radeon RX 6900 XT. The n=
ice 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 ha=
s 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 byproduc=
t of something else going on)<br>
&gt; - Any weird graphical/artifact issues in - some - circumstances. Altho=
ugh it seems when I do get graphical issues, it&#39;s only temporary and do=
esn&#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 desc=
ribe in my document. All of this would probably need to be fully fleshed ou=
t and polished before something of this magnitude would be accepted as an o=
fficial 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 re=
ach for me for many many more years, but I&#39;m happy that the day has fin=
ally 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! =3D)<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=3D"https://xyinn.org/blog/freebsd/freebsd_bhyve_gpu_passthrough_amd=
" rel=3D"noreferrer noreferrer" target=3D"_blank">https://xyinn.org/blog/fr=
eebsd/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=3D"http://www.tomek.cedro.info" rel=3D"noreferrer =
noreferrer" target=3D"_blank">http://www.tomek.cedro.info</a><br>;
<br>
</blockquote></div>

--000000000000717d7b063f08a9b4--



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>