Sound still fails with 5.1.4 and Mac 10.11.6...

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
grayfox
Posts: 76
Joined: 10. Aug 2008, 20:51

Sound still fails with 5.1.4 and Mac 10.11.6...

Post by grayfox »

For me, at least, sound is still a fail with the 5.1.4 release of virtual box on Mac 10.11.6 and Fedora 24
as a client.

It is a slight improvement in that sometimes sound is briefly available after a clean reboot.
It seems like any change to the volume mutes the sound ( forever). Sometimes the sound just goes
away all by itself.

Anyone else have a similar problem?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Sound still fails with 5.1.4 and Mac 10.11.6...

Post by socratis »

You should know the drill by now. VBox.log.zip, after you've had a full session and you've observed the problem. Also, please consider changing the title to show the specificity to the Fedora guest.
If that is the only guest you're seeing it and it is not widespread...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
nfolken
Posts: 11
Joined: 29. Jul 2016, 00:15

Re: Sound still fails with 5.1.4 and Mac 10.11.6...

Post by nfolken »

I am also still having issues with sound, but only in a linux guest (opensuse leap), not my xp guest. I upgraded to 5.1.4 and now I sometimes get sound briefly if I reset and restart my sound system. I switched from AC97 to Intel HD Audio and then I got audio, but now the VM randomly aborts when playing audio/video.

Another issue that arose when I upgraded my Guest Addition to the latest version is that now I have double cursors (host superimposed over guest) and the guest cursor lags horribly, especially when playing video. I have used lsmod and modinfo to confirm I am using the latest guest additions.
Attachments
Intel HD Audio.log.zip
00:00:14.419573 HDA: Unsupported channel count (6), falling back to stereo channels
00:00:14.420350 CoreAudio: Using playback device: Built-in Output (UID: AppleHDAEngineOutput:1B,0,1,1:0)
00:00:14.421351 CoreAudio: Failed to register sample rate changed listener for output stream (1852797029)
(19.31 KiB) Downloaded 7 times
ICH AC97.log.zip
00:42:46.119225 AC97: Reset
00:42:46.120759 CoreAudio: Using playback device: Built-in Output (UID: AppleHDAEngineOutput:1B,0,1,1:0)
00:42:46.129243 CoreAudio: Failed to register sample rate changed listener for output stream (1852797029)
(38.34 KiB) Downloaded 5 times
TuneSoft
Posts: 1
Joined: 24. Aug 2016, 09:02

Re: Sound still fails with 5.1.4 and Mac 10.11.6...

Post by TuneSoft »

I also have problems with audio enabled and windows 10 guest:
With audio enabled the VM collapses unexpectedly and go in "interrupted" state sometimes just when is going to reproduce sounds ( system sounds ) from W10.
No problems with audio disabled in VM settings.
VBox_Logs.zip
Logs of Virtualbox
(77.95 KiB) Downloaded 8 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Sound still fails with 5.1.4 and Mac 10.11.6...

Post by socratis »

@TuneSoft
  1. Start the VM. Not from a saved or suspended state. Clean start.
  2. Take the steps required to generate/observe the error.
  3. Shut down the VM (if it hasn't aborted by itself). Not suspended, not paused. Shut down. If you can't shut it down by normal means, close the VM window and select "Power off".
  4. Right-click on the VM in the VirtualBox Manager. Select "Show Log..."
  5. Save it (just the first log), ZIP it and attach it in your response (see the "Upload attachment" at the bottom of the form).
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Sound still fails with 5.1.4 and Mac 10.11.6...

Post by socratis »

nfolken wrote:now the VM randomly aborts when playing audio/video.
If you can narrow it down to a reproducible scenario, that would be great.

As for the double cursors: https://www.virtualbox.org/ticket/15610
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
nfolken
Posts: 11
Joined: 29. Jul 2016, 00:15

Re: Sound still fails with 5.1.4 and Mac 10.11.6...

Post by nfolken »

When I start playing or seek within an audio or video file I get this error most of the time: (but not always)

Code: Select all

00:06:03.804008 CoreAudio: Using playback device: Built-in Output (UID: AppleHDAEngineOutput:1B,0,1,1:0)
00:06:03.805453 CoreAudio: Failed to register sample rate changed listener for output stream (1852797029)
And sometimes it just aborts. It has even aborted once just before a system notification sound would have played. I can't track down the randomness of it, except maybe that it happens more often when the system is taxed (when playing HD videos or switching desktops).

As for the cursor issue, I have guest additions, and that ticket is for guests without guest additions installed. I have seen several posts about the double cursor issue and they all seem to come down to guest additions not being installed or loaded, but I have checked and made sure I am running the latest.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Sound still fails with 5.1.4 and Mac 10.11.6...

Post by socratis »

I've seen these messages recently for a variety of host/guest combinations. I'm not sure what to make of it. Try changing the Audio, Host Driver to "Null Audio Driver", or download one of the test builds (https://www.virtualbox.org/wiki/Testbuilds) and see if that changes the situation. They're actively working on the audio front and that may explain the messages.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
nfolken
Posts: 11
Joined: 29. Jul 2016, 00:15

Re: Sound still fails with 5.1.4 and Mac 10.11.6...

Post by nfolken »

I went back to WindowsXP to check a few things. With AC97 I seem to solidly get sound, though the log still shows those "Failed to register sample rate" errors. I switched to HD Audio, but after installing the driver, it complains "This device cannot start. (Code 10)", maybe because virtualbox no longer supports XP?

Back on linux. If I switch the host to the Null Audio device and emulate HD Audio, I no longer get the "sample rate" errors, but it still randomly aborts when playing audio...
nfolken
Posts: 11
Joined: 29. Jul 2016, 00:15

Re: Sound still fails with 5.1.4 and Mac 10.11.6...

Post by nfolken »

Now running 5.1.6, and at first I thought the audio issues had been all resolved, but unfortunatly its the intermittent problems that are the hardest to pin down. I am still occasionally having audio drop out when switching between videos or skipping within them. Strangly though, the audio also randomly comes back when doing the same thing. Checking the virtualbox logs these corresponding errors get logged:

Code: Select all

00:23:33.716710 CoreAudio: Using playback device: Built-in Output (UID: AppleHDAEngineOutput:1B,0,1,1:0)
00:25:05.551722 CoreAudio: Using playback device: Built-in Output (UID: AppleHDAEngineOutput:1B,0,1,1:0)
00:25:05.553033 CoreAudio: Failed to register sample rate changed listener for output stream (1852797029)
00:32:36.010342 CoreAudio: Using playback device: Built-in Output (UID: AppleHDAEngineOutput:1B,0,1,1:0)
00:37:00.345684 CoreAudio: Using playback device: Built-in Output (UID: AppleHDAEngineOutput:1B,0,1,1:0)
00:40:37.985819 CoreAudio: Using playback device: Built-in Output (UID: AppleHDAEngineOutput:1B,0,1,1:0)
00:42:20.383973 CoreAudio: Using playback device: Built-in Output (UID: AppleHDAEngineOutput:1B,0,1,1:0)
00:42:24.399826 CoreAudio: Using playback device: Built-in Output (UID: AppleHDAEngineOutput:1B,0,1,1:0)
00:42:24.404109 CoreAudio: Failed to register sample rate changed listener for output stream (1852797029)
00:42:26.415959 CoreAudio: Using playback device: Built-in Output (UID: AppleHDAEngineOutput:1B,0,1,1:0)
00:42:26.417385 CoreAudio: Failed to register sample rate changed listener for output stream (1852797029)
Post Reply