VirtualBox

Opened 5 years ago

Last modified 3 years ago

#19523 new defect

Host audio not working after launching the guest

Reported by: ncj Owned by:
Component: audio Version: VirtualBox 6.1.6
Keywords: Cc:
Guest type: Windows Host type: Mac OS X

Description

I have an issue where the host audio disappears/doesn't work after the guest is launched.

I have tried disabling the guest audio (VM setting no audio), and full audio from the VM settings, but this makes no difference. During the boot, the audio for the host disappears. I've booted with the guest extensions installed and uninstalled, both exhibit the same outcome. Host is macOS Catalina (10.15.4), Touch Bar 2018 MacBook Pro.

After the VM is shutdown, the host audio will return, but it has a slight echo at the end of any audio play, just as the audio ends it stutters.

It was first noticed by me in 6.1.2, but may have been earlier and persists in 6.1.6 and 6.0.20. Hardware diagnostics return no errors on the host.

I have reduced the RAM allocated, from 4G (50%) to 3G and the audio seems to be ok. From a thread in the forums (https://forums.virtualbox.org/viewtopic.php?f=8&t=96902), a new guest (VDI) built from scratch seems to be ok.

I copied the VM over to a non-touch bar MacBook Pro (late 2016) and it appears to run without breaking the host audio (logs also attached).

Attachments (3)

logs touch 6.1.6.zip (406.1 KB ) - added by ncj 5 years ago.
Logs
logs touch 6.0.20.zip (160.9 KB ) - added by ncj 5 years ago.
Logs
logs nontouch 6.1.6.zip (79.8 KB ) - added by ncj 5 years ago.
Logs

Download all attachments as: .zip

Change History (9)

by ncj, 5 years ago

Attachment: logs touch 6.1.6.zip added

Logs

by ncj, 5 years ago

Attachment: logs touch 6.0.20.zip added

Logs

by ncj, 5 years ago

Attachment: logs nontouch 6.1.6.zip added

Logs

comment:1 by ncj, 5 years ago

macOS 10.15.3

comment:2 by ncj, 4 years ago

The issue exists in v 6.1.8 as well.

comment:3 by yohanc, 4 years ago

I observed the same issue with macOS 10.15.7 (MaxBook Pro 2019) and VitualBox 6.1.16 (Windows 10 VM). Any chance to have a fix? This seriously limits the usability of the VM.

comment:4 by aim, 4 years ago

Confirmed for HOST VB 6.1.22 r144080 (Qt5.6.3) 10.15.7 (19H1030) MacBook Pro (13-inch, 2020, Two Thunderbolt 3 ports) 16 ГБ 2133 MHz LPDDR3

guest Linux aim-server.crtdev.local 5.12.1-arch1-1 #1 SMP PREEMPT Sun, 02 May 2021 12:43:58 +0000 x86_64 GNU/Linux

comment:5 by aim, 3 years ago

It is still replicated for the lastest VB and Catalina

comment:6 by aim, 3 years ago

from macOS console

notice  12:39:53.815629+0400    coreauthd   Starting approve discovery
notice  12:39:53.815819+0400    coreauthd   Activating
notice  12:39:53.815885+0400    coreauthd   Activate
notice  12:39:53.816363+0400    coreauthd   XPC started
notice  12:39:53.816589+0400    coreauthd   ### Unexpectedly invalidated
error   12:39:53.816627+0400    coreauthd   ### Discovery invalidated.
notice  12:39:53.816660+0400    coreauthd   Invalidated
notice  12:39:53.816777+0400    coreauthd   Will try to restart approve discovery in 3600.0 sec.
error   12:39:53.816843+0400    coreauthd   Approve discovery activation failed: Error Domain=NSCocoaErrorDomain Code=4099 UserInfo={NSDebugDescription=<private>}
notice  12:39:53.816879+0400    coreauthd   Invalidating
error   12:39:53.816906+0400    coreauthd   Approve discovery invalidated
notice  12:39:53.816927+0400    coreauthd   Will try to restart approve discovery in 60.0 sec.
notice  12:39:53.816955+0400    coreauthd   Invalidated

стандартное	15:13:10.621459+0400	VirtualBoxVM	MEDeviceStreamClient.cpp:428:RemoveRunningClient: AQME device BuiltInSpeakerDevice: client stopping: <AudioQueueObject@0x7f83b4618a00; [0]; play>; running count now 0
стандартное	15:13:10.863804+0400	distnoted	register name: NSServicesChangedNotification object: kCFNotificationAnyObject token: f43a2 pid: 5180
стандартное	15:13:10.874222+0400	distnoted	register name: NSSpellServerLanguagesChanged object: kCFNotificationAnyObject token: f43a4 pid: 5180
стандартное	15:13:10.874295+0400	distnoted	register name: AppleLanguagePreferencesChangedNotification object: kCFNotificationAnyObject token: f43a5 pid: 5180
стандартное	15:13:10.874342+0400	distnoted	register name: NSSpellServerQuotesChanged object: kCFNotificationAnyObject token: f43a6 pid: 5180
стандартное	15:13:10.874464+0400	distnoted	register name: NSSpellServerReplacementsChanged object: kCFNotificationAnyObject token: f43a7 pid: 5180
стандартное	15:13:10.874535+0400	distnoted	register name: NSUserReplacementItemsEnabledChanged object: kCFNotificationAnyObject token: f43a8 pid: 5180
стандартное	15:13:10.874602+0400	distnoted	register name: NSAutomaticSpellingCorrectionEnabledChanged object: kCFNotificationAnyObject token: f43a9 pid: 5180
стандартное	15:13:10.874666+0400	distnoted	register name: NSAutomaticQuoteSubstitutionEnabledChanged object: kCFNotificationAnyObject token: f43aa pid: 5180
стандартное	15:13:10.874738+0400	distnoted	register name: NSAutomaticDashSubstitutionEnabledChanged object: kCFNotificationAnyObject token: f43ab pid: 5180
стандартное	15:13:10.874835+0400	distnoted	register name: NSAutomaticTextCompletionEnabledChanged object: kCFNotificationAnyObject token: f43ac pid: 5180
стандартное	15:13:10.874895+0400	distnoted	register name: NSAutomaticTextCompletionCollapsedChanged object: kCFNotificationAnyObject token: f43ad pid: 5180
стандартное	15:13:10.874938+0400	distnoted	register name: NSAutomaticCapitalizationEnabledChanged object: kCFNotificationAnyObject token: f43ae pid: 5180
стандартное	15:13:10.874978+0400	distnoted	register name: NSAutomaticPeriodSubstitutionEnabledChanged object: kCFNotificationAnyObject token: f43af pid: 5180
стандартное	15:13:10.875019+0400	distnoted	register name: DictationIMNotificationStartedListening object: kCFNotificationAnyObject token: f43b0 pid: 5180
стандартное	15:13:11.266086+0400	kernel	081716.958085 wlan0.A[11271] updateLQM@3339:No per core RSSI to report
стандартное	15:13:12.902793+0400	powerd	Process coreaudiod.1060 TurnedOff PreventUserIdleSystemSleep "com.apple.audio.BuiltInSpeakerDevice.context.preventuseridlesleep" age:00:01:29  id:4295001918 [System: DeclUser IntPrevDisp kDisp]
стандартное	15:13:12.902647+0400	kernel	PMRD: setAggressiveness(0) kPMMinutesToSleep = 0
стандартное	15:13:13.849931+0400	kernel	TX(EC:43:F6:05:7D:48) <Success NoACK Expired OtherErr> BE<23 0 0 0> BK<0 0 0 0> VI<0 0 0 0> VO<0 0 0 0> (5000ms)
стандартное	15:13:13.849962+0400	kernel	L3 Control VO TX(EC:43:F6:05:7D:48) Success=0 NoACK=0 Expired=0 OtherErr=0
стандартное	15:13:13.849967+0400	kernel	TX(FF:FF:FF:FF:FF:FF) <Success NoACK Expired OtherErr> BE<0 0 0 0> (5000ms)
стандартное	15:13:15.817006+0400	UserEventAgent	localbridge> Sending heartbeat request 2142
стандартное	15:13:15.821217+0400	UserEventAgent	localbridge> Heartbeat 2142 succeeded
стандартное	15:13:16.273591+0400	kernel	081721.965593 wlan0.A[11272] updateLQM@3339:No per core RSSI to report
стандартное	15:13:18.850378+0400	kernel	TX(EC:43:F6:05:7D:48) <Success NoACK Expired OtherErr> BE<26 0 0 0> BK<0 0 0 0> VI<0 0 0 0> VO<0 0 0 0> (5001ms)
стандартное	15:13:18.850393+0400	kernel	L3 Control VO TX(EC:43:F6:05:7D:48) Success=0 NoACK=0 Expired=0 OtherErr=0
стандартное	15:13:18.850398+0400	kernel	TX(FF:FF:FF:FF:FF:FF) <Success NoACK Expired OtherErr> BE<0 0 0 0> (5001ms)
стандартное	15:13:19.430829+0400	kernel	081725.122830 wlan0.A[11273] handleRoamScanStartEvent@14291:roamStartEv.status: 0 wle->status 0 roamStartEv.reason: -528348159 wle->reason: 1
стандартное	15:13:19.449544+0400	kernel	081725.141549 wlan0.A[11274] updateReportersChannelSwitchReport@2459:WARN: There are new IOReporter channels available since calling configureReport
стандартное	15:13:19.449592+0400	kernel	081725.141598 wlan0.E[11275] updateReportersChannelSwitchReport@2581:Failed to switchFromReasonReporter->setValue chid 505774521cd024 slice 0 chanspec 53284 reason 28
стандартное	15:13:19.451937+0400	kernel	No Service found 64e7c887e4f13a57
стандартное	15:13:19.452014+0400	kernel	No Service found a7572a8223d3a290
стандартное	15:13:19.452956+0400	kernel	081725.144965 wlan0.A[11276] addBeacon@1151:
стандартное	15:13:19.471560+0400	kernel	081725.163564 wlan0.A[11277] updateReportersChannelSwitchReport@2459:WARN: There are new IOReporter channels available since calling configureReport
стандартное	15:13:19.471605+0400	kernel	081725.163612 wlan0.E[11278] updateReportersChannelSwitchReport@2581:Failed to switchFromReasonReporter->setValue chid 505774521cd024 slice 0 chanspec 53284 reason 28
стандартное	15:13:19.473767+0400	kernel	No Service found 64e7c887e4f13a57
стандартное	15:13:19.473875+0400	kernel	No Service found a7572a8223d3a290
стандартное	15:13:21.294967+0400	kernel	081726.986975 wlan0.A[11279] updateLQM@3339:No per core RSSI to report
стандартное	15:13:21.904349+0400	coreaudiod	gPTPClockStatistics for 0x157dda9c69480005
стандартное	15:13:21.904397+0400	coreaudiod	Grandmaster Identity: 0x157dda9c69480005
стандартное	15:13:21.904445+0400	coreaudiod	Clock lock state: Locked
стандартное	15:13:21.904490+0400	coreaudiod	Rate Ratio: 2199023255552/2199023255552 (1.000000000000)
стандартное	15:13:21.904555+0400	coreaudiod	Anchors: 50166717565, 50166717565
стандартное	15:13:21.904597+0400	coreaudiod	Sync Identity: 0x157dda9c69480005.0

MEDeviceStreamClient.cpp:428:RemoveRunningClient: AQME device BuiltInSpeakerDevice: client stopping: <AudioQueueObject@0x7f83b4618a00; [0]; play>; running count now 0

Last edited 3 years ago by aim (previous) (diff)
Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette