I did the suggested steps. Below are the results:pentagonik wrote:Switching to the AC'97 emulation is a workaround, but HDA still needs to work. Therefore it would be good to have all those debug files supplied.
Dumping audio output
Dumping guest audio output as .WAV (wave) files to the host is available since VirtualBox 5.2. For older VirtualBox versions an instrumented (debug) build must be used (will be given on request).
To enable dumping guest audio output, do the following:
Make sure that the affected VM is not running anymore.
Run
VBoxManage setextradata <Name-of-VM> "VBoxInternal2/Audio/Debug/Enabled" "true"
Start the affected VM again.
Now, when performing any audio output on the guest (playback), there will be separate .WAV files created in the host's temporary directory.
For Windows hosts this by default is C:\Windows\Temp or C:\Users\<username>\AppData\Local\Temp.
*** No wav file created in user or system temp
Proceeded to extended logging
=====
Enable extended logging
Note: These steps are only for VirtualBox older than 5.2. Newer versions perform those steps automatically.
As always when it comes to diagnosing problems with VirtualBox the appropriate VBox.log is useful to have. To gather more verbose information about the actual audio state, please do the following:
On Windows
Shut down all VM instances and VirtualBox programs, including VBoxSVC.
Run
setx VBOX_RELEASE_LOG "drv_host_audio.e.l.l2.l3.f+drv_audio.e.l.l2.l3.f+audio_mixer.e.l.l2.l3.f+dev_hda_codec.e.l.l2.l3.f+dev_hda.e.l.l2.l3.f+dev_ac97.e.l.l2.l3.f" /M
on an Administrator command prompt to set this on a system-wide level (required).
Close the Administrator terminal
Open a new terminal as regular user
verify that the changes were applied correctly be running
Microsoft Windows [Version 10.0.16299.192]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Users\kjoyce>echo %VBOX_RELEASE_LOG%
drv_host_audio.e.l.l2.l3.f+drv_audio.e.l.l2.l3.f+audio_mixer.e.l.l2.l3.f+dev_hda_codec.e.l.l2.l3.f+dev_hda.e.l.l2.l3.f+dev_ac97.e.l.l2.l3.f
C:\Users\kjoyce>
Start the VirtualBox Manager.
Start the machine you want to diagnose audio for.
Perform and reproduce the audio operation.
I have the vbox.log I would prefer not to upload it to the discussion. Is there somewhere else I can send it?