Re: Gaming on FreeBSD 15.0 via PCI Passthrough on Windows 10 Pro w/ AMD Radeon RX 6900 XT minor update

From: Dmitry Salychev <dsl_at_FreeBSD.org>
Date: Thu, 14 May 2026 19:01:23 UTC
Tomek CEDRO <tomek@cedro.info> writes:

> On Sat, Jan 31, 2026 at 6:28 PM Jonathan Vasquez <jon@xyinn.org> wrote:
>> I got a chance today to upgrade my server from FreeBSD 14.3 to
>> FreeBSD 15.0 (15.0-RELEASE-p2) and re-checked the AMD Radeon RX 6900
>> XT passthrough that I was reporting on last year. I can happily
>> report that the passthrough is continuing to work with about the
>> same stability as before. I know there was a regression at the
>> beginning of FreeBSD 15.0's release, so I waited a bit while those
>> patches made their way into the kernel.
>>
>> I can say the following:
>>
>> I did some minor gaming to test the stability of the gaming VM on Windows 10 Pro for about 30-45 min on Cyberpunk 2077: Phantom Liberty. Performance was the same as before.
>> I would usually get a massive lag spike every once in a while,
>> probably some scheduling bug in the kernel somewhere. This doesn't
>> cause the VM to crash, but I do need to wait about 20-30 seconds
>> before things "settle down" again. This was happening in FreeBSD
>> 14.3 so it isn't something new.
>> On FreeBSD 14.3, I could get at least 30 days of uptime (or more)
>> before the VM would crash/exit. Basically if I leave the VM running
>> long enough, it will exit. Not sure what's the reason for that since
>> my server doesn't really experience memory pressure/contention that
>> would cause something like an OOM killer to run and kill the VM. So
>> it would need to be something else. I'm sure this would also happen
>> in FreeBSD 15.0 if I leave the VM running long enough in the
>> background as well.
>>
>>
>> Either way, this is a really good situation to be in, so I'm not complaining :D, but I believe things will continue to improve over time. Anyways, take care all and stay safe,
>>
>> Jonathan Vasquez
>> PGP: 7ED1 B5FF AADC 0030 5DBE  8616 0B11 7653 B646 98D5
>> Sent with ProtonMail Secure Email
>
> Just a quick feedback here, yesterday I did run smoothly Cyberpunk
> 2077 using latest WINE from standard packages (wine-11.0_2,1) on
> FreeBSD 14.4-RELEASE with nVidia RTX5070 GPU on XLibre
> (xlibre-nvidia-driver-devel-595.58.03). To my surprise!! No
> virtualization is necessary anymore!! Raytracing is not available due
> to missing features in the underlying drivers, but the graphics is
> still amazing and smooth in 4K resolution!! It also works well with
> other modern games like System Shock 2023 etc :-)
>
> BIG THANK YOU TO THE DESKTOP, GPU, AND WINE TEAMS!! =) <3

Lucky you!

I tried LSU [1] with wine-proton on the KDE Plasma desktop with RTX 2070
SUPER recently and had only a limited success. Baldur's Gate 3 and W40k Spare
Marine 2 failed to load with errors spamming similar to [2]:

err:virtual:try_map_free_area mmap() error Cannot allocate memory, range
0x7f600000-0x7f650000, unix_prot 0x3.

I tried both ZFS and UFS and had ~20 GiB of RAM spare. Neither worked.

Regards,
Dmitry

[1] https://github.com/shkhln/linuxulator-steam-utils
[2] https://forums.freebsd.org/threads/building-wine-with-wow64-through-poudriere-becoming-desperate.101059/#post-735957

-- 
https://wiki.freebsd.org/DmitrySalychev