[Bug 258007] FreeBSD and Linux guest os emulated with bhyve can't pass thru any of my NVIDIA graphic cards : the vm freezes before to starting the boot of the disk.

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 26 Aug 2021 13:44:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258007

--- Comment #11 from mario felicioni <marietto2008@gmail.com> ---
I have installed the nvidia driver and then I did :

Code:

bhyve -S -c 4 -m 11G -w -H \
-s 0,hostbridge \
-s 1,virtio-blk,/mnt/da1p1/vms/os/ubuntu-budgie-gpu/ubuntu-2104-gpu.img \
-s 2:0,passthru,1/0/0 \
-s 2:1,passthru,1/0/1 \
-s 2:2,passthru,1/0/2 \
-s 2:3,passthru,1/0/3 \
-s 6,virtio-net,tap0 \
-s 29,fbuf,tcp=0.0.0.0:5900,w=1440,h=900 \
-s 30,xhci,tablet \
-s 31,lpc \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
vm0


mount: /dev/da1p1: Device busy
VM:vm0 is not created.
fbuf frame buffer base: 0xb04600000 [sz 16777216]
Assertion failed: (error == 0), function modify_bar_registration, file
/usr/src/usr.sbin/bhyve/pci_emul.c, line 501.
Segnale di annullamento

root@marietto:/home/marietto/Desktop/Files/bhyve # ./os-uefi-hirsute.sh
mount: /dev/da1p1: Device busy
vm_open: Invalid argument

root@marietto:/home/marietto/Desktop/Files/bhyve # ./os-uefi-hirsute.sh
mount: /dev/da1p1: Device busy
VM:vm0 is not created.
fbuf frame buffer base: 0xb04600000 [sz 16777216]

BLACK SCREEN and nothing happens.

-- 
You are receiving this mail because:
You are the assignee for the bug.