OpenIndiana (aka Solaris) host, VirtualBox 5.0.24 removes sound driver for guest

Discussions related to using VirtualBox on Solaris hosts.
Post Reply
3eka
Posts: 7
Joined: 4. Jul 2016, 10:47
Primary OS: OpenSolaris other
VBox Version: OSE self-compiled
Guest OSses: Windows 10
Location: Germany, Hessen, Eppstein

OpenIndiana (aka Solaris) host, VirtualBox 5.0.24 removes sound driver for guest

Post by 3eka »

Hi All,

I am using OpenIndiana /hipster release (detected by VirtualBox as snv_151) and with upgrade from 5.0.22 to 5.0.24 I have lost sound on all guest:

If I check VBox.log (grep -i audio VBox.log)
5.0.22:

00:00:00.461167 Audio: WARNING: Solaris Audio is deprecated, please switch to OSS!
00:00:00.461197 Audio: Automatically setting host audio backend to OSS
00:00:00.471797 [/Devices/hda/0/AudioConfig/] (level 4)
00:00:00.471800 Driver <string> = "AUDIO" (cb=6)
00:00:00.471802 Driver <string> = "OSSAudio" (cb=9)
00:00:00.471807 Driver <string> = "AUDIO" (cb=6)
00:00:00.471809 Driver <string> = "AudioVRDE" (cb=10)
00:00:00.471812 AudioDriver <string> = "AudioVRDE" (cb=10)
00:00:00.635398 Audio: Initializing OSS driver
00:00:00.635409 Audio: Host audio backend supports 64 output streams and 64 input streams at once
00:00:00.635419 Audio: Initializing VRDE driver
00:00:00.635425 Audio: Host audio backend supports 1 output streams and 2 input streams at once

5.0.24:

00:00:00.404643 [/Devices/hda/0/AudioConfig/] (level 4)
00:00:00.404646 Driver <string> = "AUDIO" (cb=6)
00:00:00.404648 Driver <string> = "NullAudio" (cb=10)
00:00:00.404653 Driver <string> = "AUDIO" (cb=6)
00:00:00.404655 Driver <string> = "AudioVRDE" (cb=10)
00:00:00.404658 AudioDriver <string> = "AudioVRDE" (cb=10)
00:00:00.556910 Audio: Initializing NULL driver
00:00:00.556920 Audio: Host audio backend supports 1 output streams and 2 input streams at once
00:00:00.556930 Audio: Initializing VRDE driver
00:00:00.556938 Audio: Host audio backend supports 1 output streams and 2 input streams at once

No OS changes made, just install/upgrade of VirtualBox. What ever sound driver I choose (have "Solaris Audio" and "OSS Audio", as well as "Null Audio" drivers) - it is always set to "Null Audio" and there is no sound in guest (tested Win7, Win10, CentOS6)

According to Changelog#v24 - nothing suggests what can cause this problem.

Anyone has idea?
Regards.
mnespen
Posts: 32
Joined: 19. Aug 2008, 12:44

Re: OpenIndiana (aka Solaris) host, VirtualBox 5.0.24 removes sound driver for guest

Post by mnespen »

Hi,
I have the exact same configuration, and ... the exact same problem.
- reverted to 5.0.22 fixed the problem, but I'm hoping someone finds a workaround for .24
pentagonik
Oracle Corporation
Posts: 283
Joined: 19. May 2008, 16:09
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Too many to specify!
Contact:

Re: OpenIndiana (aka Solaris) host, VirtualBox 5.0.24 removes sound driver for guest

Post by pentagonik »

Can you please attach the VM's configuration file (ends with .vbox) here?
mnespen
Posts: 32
Joined: 19. Aug 2008, 12:44

Re: OpenIndiana (aka Solaris) host, VirtualBox 5.0.24 removes sound driver for guest

Post by mnespen »

Hi,
I don't see what you can do with this? All my VM's looses sound when upgrading to 5.0.24-r108355.
The OSS driver in this setup is just removed and replaced with Null driver.

(just like the the original posting)
My HostOS: 5.11 illumos-c770959 i86pc i386 i86pc Solaris
Attachments
ubuntu1404.vbox.txt
taken after reverted to 5.0.22, sound working
(8.78 KiB) Downloaded 52 times
pentagonik
Oracle Corporation
Posts: 283
Joined: 19. May 2008, 16:09
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Too many to specify!
Contact:

Re: OpenIndiana (aka Solaris) host, VirtualBox 5.0.24 removes sound driver for guest

Post by pentagonik »

Thanks for the file -- this file is after you upgraded to 5.0.24 and ran the guest, right? Just wanted to make sure that the audio driver was set correctly.
mnespen
Posts: 32
Joined: 19. Aug 2008, 12:44

Re: OpenIndiana (aka Solaris) host, VirtualBox 5.0.24 removes sound driver for guest

Post by mnespen »

No, this file was after:
1 running 5.0.22 - sound works fine
2 upgrade to 5.0.24, sound do NOT work
3 revert to 5.0.22

Here is two new files:
ubuntu1404.vbox.24.preboot.txt : right after upgrading from a working .22
ubuntu1404.vbox.24.postboot.txt : right after bootuyp, and shutdown - no audio working

$ diff ubuntu1404.vbox.24.postboot.txt ubuntu1404.vbox.24.preboot.txt
9c9
< <Machine uuid="{580ff396-8ea6-43fb-8ce0-cd6424af072f}" name="ubuntu1404" OSType="Ubuntu_64" snapshotFolder="Snapshots" lastStateChange="2016-07-07T13:30:17Z">
---
> <Machine uuid="{580ff396-8ea6-43fb-8ce0-cd6424af072f}" name="ubuntu1404" OSType="Ubuntu_64" snapshotFolder="Snapshots" lastStateChange="2016-07-07T09:37:03Z">
141c141
< <AudioAdapter controller="AC97" driver="Null" enabled="true"/>
---
> <AudioAdapter controller="AC97" driver="OSS" enabled="true"/>
167c167
< <GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="en_US" timestamp="1467898159055271000" flags=""/>
---
> <GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="en_US" timestamp="1467884223568533000" flags=""/>
Attachments
ubuntu1404.vbox.24.postboot.txt
(8.78 KiB) Downloaded 50 times
ubuntu1404.vbox.24.preboot.txt
(8.78 KiB) Downloaded 67 times
mnespen
Posts: 32
Joined: 19. Aug 2008, 12:44

Re: OpenIndiana (aka Solaris) host, VirtualBox 5.0.24 removes sound driver for guest

Post by mnespen »

Looks like it is written back to the xml-file at the same time sound is started on the VM.
while true ; do
> sleep 1
> cat ubuntu1404.vbox | grep AudioAdapter
> done

<AudioAdapter controller="AC97" driver="OSS" enabled="true"/>
<AudioAdapter controller="AC97" driver="OSS" enabled="true"/>
<AudioAdapter controller="AC97" driver="OSS" enabled="true"/>
<AudioAdapter controller="AC97" driver="Null" enabled="true"/>
<AudioAdapter controller="AC97" driver="Null" enabled="true"/>
<AudioAdapter controller="AC97" driver="Null" enabled="true"/>

Another check, showed me that if I reverted the xml-file (to OSS), the GUI still showed "Null", and when I tried to change this via GUI to OSS, it changed it to Null in the XML-file.
pentagonik
Oracle Corporation
Posts: 283
Joined: 19. May 2008, 16:09
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Too many to specify!
Contact:

Re: OpenIndiana (aka Solaris) host, VirtualBox 5.0.24 removes sound driver for guest

Post by pentagonik »

We just reproduced the issue and a new test build will come soon for you to check out. Thanks!
pentagonik
Oracle Corporation
Posts: 283
Joined: 19. May 2008, 16:09
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Too many to specify!
Contact:

Re: OpenIndiana (aka Solaris) host, VirtualBox 5.0.24 removes sound driver for guest

Post by pentagonik »

We have a new test build for Solaris available:
https://www.virtualbox.org/download/tes ... nOS.tar.gz

This should fix the audio issues on Solaris hosts. The fix also will be included in the next upcoming maintenance version.
mnespen
Posts: 32
Joined: 19. Aug 2008, 12:44

Re: OpenIndiana (aka Solaris) host, VirtualBox 5.0.24 removes sound driver for guest

Post by mnespen »

!!
works like a charm!

thx, superb service
pentagonik
Oracle Corporation
Posts: 283
Joined: 19. May 2008, 16:09
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Too many to specify!
Contact:

Re: OpenIndiana (aka Solaris) host, VirtualBox 5.0.24 removes sound driver for guest

Post by pentagonik »

Glad it works again, and thanks for verifying!
Post Reply