Date: Fri, 03 Oct 2025 20:51:26 +0000 From: Jonathan Vasquez <jon@xyinn.org> To: Jonathan Vasquez <jon@xyinn.org> Cc: "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Re: GPU Passthrough on FreeBSD 14.3 (AMD Radeon RX 6900 XT and Windows 10 Pro) Message-ID: <RzyDFcafMRg39mXNnngW6YOm-myIo0vbJID9O-VKrHe-qIQLmPANIH-OVFCMA-s9sjXoUC-Q4jo5YCToUIhf9m4ofvcCngP3AaEE8ws0N8k=@xyinn.org> In-Reply-To: <INv1QRTDanPqExdkRH9g_SlRzYv6-m_Xg5SWWYjpkvkQ_RqVdS_OuVJgJvQW3ZAnhsS334kzM-0IP0rj4c6MN2WRvws2_FII5XBr1aL5Rw4=@xyinn.org> References: <6CV-OY6BcErrWRit9jSpi6fWsYBG3E_Z3u6eTLPcz6foPAZV1gQpZYaZTR7JA_1ot5RQVqrWQaLxJFySXjspIhSbBJGxmckcDQyzxhALNus=@xyinn.org> <77221679b528434788d667441d1a32a2@userve.net> <44d9286c-0866-4805-827d-5cb91511800b@tilda.center> <mOxiSfmxWrHIMEStshHuwzAKYh003kyxHWvA_NY42h2TJfzeGaYSA5ePY1WNK67MtP_quGeVkFzRTTeSf7ESI-gMBbcoxtr7DeQ24xr5Ntg=@xyinn.org> <3HATaLlOogPiMZWbxSnWPCnJC11_unXloaoQzyF8Ek01s9gZGVqnKKruZgFTrqHQBCi5xWNEzLzK37xiNdn3yCwXG8U7NfXKRmwY8_5xCLw=@xyinn.org> <7CNs3oS07TqJcWsTrJCZmDlAypBuy9yh4xr_iAgGnUOGjqAP5iRl1JMkuna8LwFSNIvphQLojKi214B4w6ef2q2IRgvjdolLwUD8KCnXaSQ=@xyinn.org> <9c53f1805e22fcf2c9eb878e0c7cc9a723c30dd8.camel@FreeBSD.org> <-rzPcOUnhEy7jFcu7cF7V_kjAVPV_2deuhv7EY-eJl536fUllXK-3SSnWq13HStABMZuphkRAysMMhDXvd_MWIlH4QaMGU-8l2nXKeOY-Eo=@xyinn.org> <INv1QRTDanPqExdkRH9g_SlRzYv6-m_Xg5SWWYjpkvkQ_RqVdS_OuVJgJvQW3ZAnhsS334kzM-0IP0rj4c6MN2WRvws2_FII5XBr1aL5Rw4=@xyinn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello everyone, I hope you are all doing well. Since the last time I sent a= message, I've been able to collect a bit more data. After I sent that mess= age, my VM actually started having issues with it turning off, it took many= reboots for it to get stabilized again. There were different error codes, = usually related to 0x77 and 0x78, which seem to be related to power managem= ent or potentially cpu related. I eventually decided to try to see if I cou= ld turn the VM on, and immediately open up a game (like cyberpunk 2077) and= just leave it running in the main menu. Essentially I was trying to force = the VM to always stay running so that any power management optimizations th= at bhyve is doing don't run or are reduced. Leaving Cyberpunk 2077 running = for 3 days had no issues. I then decided to close the game and just leave i= t running on idle to see if it crashed, it still hasn't crashed in another = 2 days. So I have 5 days of uptime so far, and I've played a few sessions f= or at least 1-2 hours each session. Every once in a while there would be ma= ssive lag spike and I see my CPU (and I think GPU) cores going a bit crazy,= after a little bit things calm down a bit. I wonder if that would have bee= n a situation where the VM would have crashed, but didn't due to the game b= eing running. I have no idea. I've also was able to finally get Windows 11 Pro installed in bhyve and I w= as able to bypass all of the install and online requirements. I was reading jbo and other people's success at this thread: https://forums= .freebsd.org/threads/bhyve-vm-stuck-when-passthru-enabled.92854/page-2#post= -719569 so that inspired me to try and work through the issues I was receiving befo= re (I wanted to find a way to bypass everything using a clean Microsoft ISO= and now have to use Rufus to modify the install.. plus Rufus doesn't seem = to generate an ISO, and I'm trying to install this in bhyve). I documented = all we need here: https://xyinn.org/blog/freebsd/install_windows_11_bhyve Now that it's documented and I have a VM running, I'm going to upgrade my s= erver from FreeBSD 14.3-RELEASE to the stable branch so I can take advantag= e of this new commit that seems to have fixed the vCPU issues/crashes on Wi= ndows 11.. that issue seems to be very similar to what I've been experienci= ng on Windows 10 so I feel there may be a relationship there. Once I upgrad= e and have that fix running, I'm gonna do more experiments in my Windows 10= VM and see how stable it runs. I also will try out GPU passthrough on Wind= ows 11 as well and I'll probably make a smaller length video showing the pe= rformance of the AMD Radeon RX 6900 XT on Windows 11 Pro as well, and of co= urse, test the patch's stability since my Windows 11 Pro VM already crashed= a few times when I use it with 2 cores (and no passthrough). When I use it= with 1 core it hasn't crashed so far. - Jonathan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?RzyDFcafMRg39mXNnngW6YOm-myIo0vbJID9O-VKrHe-qIQLmPANIH-OVFCMA-s9sjXoUC-Q4jo5YCToUIhf9m4ofvcCngP3AaEE8ws0N8k=>
