bhyve flawless youtube performance in Windows 10 on bhyve ?

Hi, in Windows on bhyve, do you get flawless playback of youtube, full screen 1080p, with no freezing / pausing from time to time ?

I get this problem of freezing / pausing from time to time. And don't know how to solve it.

CPU is i5-7200U, 2 cores 4 threads, 16G memory. FreeBSD 13.1-RELEASE, ZFS on root, nvme disk. I managed to configure virtio network and I/O, using the last version that works: virtio-win-0.1.187.iso. Bhyve command line:

bhyve -c sockets=1,cores=2,threads=2 -m 4G -H -w -s 0,hostbridge -s 4,virtio-blk,/path/to/win10.img -s 5,virtio-net,tap10 -S -s 7,passthru,0/20/0 -s 30,xhci,tablet -s 31,lpc -l com1,stdio -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd win10

and on the same FreeBSD host use the following command to do RDP to that bhyve Windows:

rdesktop -u user -f -r lspci -r sound:remote -0 192.168.8.11

On the guest machine I do get network speed test result of 20Mbps up and down. But, youtube has above problem.

Are you able to get perfect youtube playback? If so, what do you think I may missed?

My purpose is actually not for youtube playback, but because I have to run a kind of remote desktop software from Windows to a company, and need to do video meeting / presentation inside that remote desktop running from Windows bhyve. During video meeting / presentation I get freezing / pausing from time to time, which is the same as if playing youtbe in that Windows bhyve. With the above problem, bhyve, or a FreeBSD host, can not be a solution. (VirtualBox won't work because USB 2/3 won't work, and noise-canceling USB headset is needed here.)

Thanks!
 
You most likely don't, because you're adding many kinds of different latencies and buffers to your video stream which will make that nearly impossible. Run your stuff on real bare metal instead.
 
Ok - that's discouraging. Then why Virtualbox can? In Virtualbox Windows I feel like in the real machine, including flawless youtube etc. Sadly that does not support USB 2/3.
 
…and with VirtualBox you've also used the same RDP connection to compare?

Remote desktops and virtual machines are IMO simply not designed to do multimedia things. Checked: I can watch YT videos with bhyve & Win10 in FullHD without any freezes; It's flawless, but the framerate looks like 15fps (vncviewer with "--NoJPEG" connected to bhyves builtin VNC server). BTW, 15fps is what desktop recordings do by default (at least the ones I've used so far).

For anything that requires frame rates: Use bare metal - remote desktops are for administration and testing software. But: When it comes to Zoom and/or Teams meetings I have none problem when using bhyve & Win10/Win11 - that works absolutely flawless (as they are no action game they simply don't need frame rates).
 
Thanks. My performance problem above must be due to running out of CPU / memory. Now if I kill web browser etc heavy applications on the host, then video conference inside that bhyve Windows is fine now.
 
Back
Top