Bug 233301 - emulators/virtualbox-ose - multimedia issues on 13-current
Summary: emulators/virtualbox-ose - multimedia issues on 13-current
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: vbox
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-18 19:50 UTC by andy
Modified: 2019-04-13 13:58 UTC (History)
5 users (show)

See Also:
bugzilla: maintainer-feedback? (vbox)


Attachments
Screenshot of YouTube with KDE, Manjaro Linux (756.99 KB, image/png)
2019-04-13 08:38 UTC, Graham Perrin
no flags Details
Screenshot of Vimeo with Lubuntu and with GhostBSD (563.14 KB, image/png)
2019-04-13 08:42 UTC, Graham Perrin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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
<https://vimeo.com/265045525>
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
<https://www.youtube.com/watch?v=S_GVbuddri8>

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 
/usr/local/poudriere/ports/default/emulators/virtualbox-ose/Makefile.local
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
FreeBSD 13.0-CURRENT r346108 GENERIC-NODEBUG 
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:

PULSEAUDIO_CONFIGURE_OFF= 
BUILD_DEPENDS+= pulseaudio:audio/pulseaudio