[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.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Aug 2021 14:47:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258007 --- Comment #5 from mario felicioni <marietto2008@gmail.com> --- Here we go. I've installed FreeBSD instead of Linux with bhyve and I tried to pass thru the rtx 2080 ti using this command : Code: bhyve -S -c 4 -m 8G -w -H \ -s 0,hostbridge \ -s 1,passthru,1/0/0 \ -s 1:1,passthru,1/0/2 \ -s 1:2,passthru,1/0/3 \ -s 2,virtio-blk,/mnt/da1p1/vms/os/freebsd-13R/freebsd-13R.img \ -s 3,virtio-net,tap0 \ -s 29,fbuf,tcp=0.0.0.0:5900,w=1440,h=900 \ -s 30,xhci,tablet \ -s 31,lpc -l com1,stdio \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \ vm0 as u can see : 1) I didn't pass thru the device 1/0/1 because it is the audio device integrated with the rtx 2080 ti 2) I have removed the emulated audio device 3) I have installed freebsd 13R instead of linux 4) without the passthru lines it works but it didn't work. it freezes on the black screen before to itizialize the disk. On /boot/loader.conf I have added this : Code: pptdevs="1/0/0 1/0/2 1/0/3" Code: pciconf -v -l ppt0@pci0:1:0:0: class=0x030000 rev=0xa1 hdr=0x00 vendor=0x10de device=0x1e04 subvendor=0x19da subdevice=0x2503 vendor = 'NVIDIA Corporation' device = 'TU102 [GeForce RTX 2080 Ti]' class = display subclass = VGA hdac0@pci0:1:0:1: class=0x040300 rev=0xa1 hdr=0x00 vendor=0x10de device=0x10f7 subvendor=0x19da subdevice=0x2503 vendor = 'NVIDIA Corporation' device = 'TU102 High Definition Audio Controller' class = multimedia subclass = HDA ppt1@pci0:1:0:2: class=0x0c0330 rev=0xa1 hdr=0x00 vendor=0x10de device=0x1ad6 subvendor=0x19da subdevice=0x2503 vendor = 'NVIDIA Corporation' device = 'TU102 USB 3.1 Host Controller' class = serial bus subclass = USB ppt2@pci0:1:0:3: class=0x0c8000 rev=0xa1 hdr=0x00 vendor=0x10de device=0x1ad7 subvendor=0x19da subdevice=0x2503 vendor = 'NVIDIA Corporation' device = 'TU102 USB Type-C UCSI Controller' class = serial bus -- You are receiving this mail because: You are the assignee for the bug.