bhyve Current state of bhyve Nvidia passthrough?

The regression patch breaks everything :

Code:
# ./04-Ubuntu-2404-KDE-6-Wayland-vm4
ls: /dev/vmm/*: No such file or directory

rtx 2080ti slot 2/0/0 is already attached to ppt
rtx 2080ti slot 2/0/1 is not attached to ppt,attaching...
rtx 2080ti slot 2/0/2 is not attached to ppt,attaching...
rtx 2080ti slot 2/0/3 is not attached to ppt,attaching...
rtx 2080ti is fully attached to ppt

VM avviata, attendo che x11vnc sia pronto su 192.168.1.11:5905...
bhyve: vm_openf: Operation not permitted

Someone can pass one nVidia GPU with FreeBSD 15.0 and a Linux vm ?
Yes ZioMario read my previous post, I game on Linux CachyOS with RTX 2080ti Super, Airost works for him with newer card it seems. I didn't update Corvink patch BECAUSE I believe it is not complete WIP = work in progress? Perhaps it was already patch into latest 15p5+?

Code:
uname -ar
\

FreeBSD white_beastie 15.0-RELEASE-p5 FreeBSD 15.0-RELEASE-p5 GENERIC amd64


You can check some of the Games on this post

 
The source code of Corvin does not include your patches. Bhyve doesn't work as it comes out from his github :

Code:
.bhyve: bootrom_alloc: vm_mmap_mapseg: Invalid argument

tell me where I can find the patch. thanks. It is necessary for me,to continue the development of the gpu passthru for qemu / bhyve.
 
GPU passthru for my nvidia gpu , RTX 2080 ti didn't work using the Corvin's code as is for 15-RELEASE,not even with 15.0-p9,so I worked with Claude to fix the bug and after some days of work,we developed the correct patches. Now it is working fine. I attach them here,if someone wants give a look.
 

Attachments

Good morning all,
It was busy couple of weeks for me but this weekend coming I will look again to install Windows 10 or Windows 11 for RTX 5060. As my previous posts I have managed to install RTX 3090 in Windows 10 without a problem. CachyOS works fine however I don't wanna look at different versions of Proton everytime I wanna play a game so Windows is my way to go. CachyOS only confirmed RTX 5060 works fine. At this stage I am not sure if this is an issue with Windows drivers or FreeBSD updates bug. On the other hand with RTX 3090 I could have had VNC enabled and that didn't crash FreeBSD system so looks like there is a bug. With your suggestion to the fixes and custom patches - how does it work if there is an official patch from FreeBSD? will this overwrite the custom patch or will it run into an error while patching? During patching process it will look for some lines if they are changed due to custom patch I think this will come to an error???
Custom patch is only like temporary solution to me - I believe FreeBSD developers should release such as fix and this should be support officially. I wonder if developers are even looking on this forum?
 
Back
Top