Bug 233301

Summary: emulators/virtualbox-ose - multimedia issues on 13-current
Product: Ports & Packages Reporter: andy
Component: Individual Port(s)Assignee: vbox
Status: New ---    
Severity: Affects Only Me CC: grahamperrin, lacey.leanne, osa, phd_kimberlite, tony, transitive
Priority: --- Flags: bugzilla: maintainer-feedback? (vbox)
Version: Latest   
Hardware: amd64   
OS: Any   
Description Flags
Screenshot of YouTube with KDE, Manjaro Linux
Screenshot of Vimeo with Lubuntu and with GhostBSD none

Description andy 2018-11-18 19:50:12 UTC
FreeBSD FBSD_13 13.0-CURRENT FreeBSD 13.0-CURRENT #3 r340586: Sun Nov 18 14:13:13 EST 2018     root@FBSD_13:/usr/obj/usr/src/amd64.amd64/sys/MYKERNEL  amd64 1300003

virtualbox-ose-5.2.22          General-purpose full virtualizer for x86 hardware
virtualbox-ose-kmod-5.2.22     VirtualBox kernel module for FreeBSD

I had several virtual machines running on 12-current and all were working perfectly.  Now on 13-current there seems to be issues with multimedia.  Specifically videos do not play correctly.

Steps to repeat:
open Firefox 63.0.3 in a VM
go to youtube
try to play any video

Does it play successfully?

On the physical host I am able to successfully play any video with sound in Firefox.
Comment 1 Robert Cina 2018-12-13 14:42:54 UTC
I see a similar issue with virtualbox guests on FreeBSD 12 at the moment. As well as youtube videos not playing correctly for me I also don't have any audio.  I'd like to listen to spotify using a virtual machine guest but can't at the moment.  If anyone has any suggestions on what to try to fix this issue I'd be really appreciative. Thanks.
Comment 2 tony@accesslab.com 2019-01-30 20:47:03 UTC
I too have this problem on FreeBSD 12.0-RELEASE-p2. Virtualbox-ose-5.2.22_2 installed from pkg does not play sound inside any guests. Driver OSS is selected for the guest and sound works normally on the host itself, but will not produce any sound from inside the guests.
Comment 3 Eijiro Shibusawa 2019-02-13 09:32:18 UTC
I have similar problem too. I think that workaround to it is to install virtualbox from port and to use different sound server. Virtualbox-ose-5.2.26_1 with pulseaudio configuration works fine on my FreeBSD box (12.0-Release / amd64).
Comment 4 Graham Perrin 2019-04-13 08:38:34 UTC
Created attachment 203632 [details]
Screenshot of YouTube with KDE, Manjaro Linux
Comment 5 Graham Perrin 2019-04-13 08:42:00 UTC
Created attachment 203633 [details]
Screenshot of Vimeo with Lubuntu and with GhostBSD

Looking For Something on Vimeo
Comment 6 Graham Perrin 2019-04-13 08:49:55 UTC
Comment on attachment 203632 [details]
Screenshot of YouTube with KDE, Manjaro Linux

First Image of a Black Hole! - YouTube

Playback ceases before the advertisement ends; the main video does not begin.
Comment 7 Graham Perrin 2019-04-13 11:42:27 UTC
(In reply to Eijiro Shibusawa from comment #3)

> … I  think that workaround to it is to install virtualbox 
> from port and to use different sound server. … pulseaudio …

How might I do this with poudriere? 

I experimented with a couple of lines in 
but I guess that my lines were wrong, because the end result is still bugged by stalling after a moment's playback. 


grahamperrin@momh167-gjp4-8570p:~ % date ; uname -v
Sat 13 Apr 2019 11:23:39 BST
grahamperrin@momh167-gjp4-8570p:~ % poudriere jail -i -j head | grep -i version
Jail version:      13.0-CURRENT 1300018
grahamperrin@momh167-gjp4-8570p:~ %
Comment 8 Graham Perrin 2019-04-13 13:58:37 UTC
Sorry, ignore my previous comment. I had forgotten to switch from OSS Audio Driver to PulseAudio in host driver preferences for the guest. 

The end result _is_ good. 

Here's my Makefile.local, two lines:

BUILD_DEPENDS+= pulseaudio:audio/pulseaudio