VirtualBox

Ticket #20273 (new defect)

Opened 3 months ago

Last modified 9 days ago

Troubles with audio in VBox 6.1.19-143492

Reported by: boxer01 Owned by:
Component: audio Version: VirtualBox 6.1.18
Keywords: Cc:
Guest type: Windows Host type: Windows

Description

After testing the newly appeared version I immediately found a bug. If one stops audio playback, the last half second will still play over and over again, endlessly. This reminds me about an old good tickets with host audio output device change during the playback, like #17225 or #18594#comment:31. And some problems after audio backend rewrite back in 5.2. Those issues first appear in the new version and couldn't be found in 6.1.19-143292.

I put my logs and audio dump here. Both my host and my guest are Windows 10 20H2 with patches from March.

Attachments

vbox_audio_6.1.19_logs.7z Download (43.3 KB) - added by boxer01 3 months ago.
Logs of both versions
vbox_audio_6.1.19-143292.7z Download (344.1 KB) - added by boxer01 3 months ago.
Audio of 6.1.19-143292
vbox_audio_6.1.19-143492.7z Download (498.7 KB) - added by boxer01 3 months ago.
Audio of 6.1.19-143492
VBox-Windows81-143492.zip Download (66.3 KB) - added by frg 3 months ago.
Same problem Windows 8.1 Host 7x86 vm
VBox_6.1.21-143957_logs.7z Download (94.4 KB) - added by boxer01 8 weeks ago.
Version 6.1.21-143957 logs

Change History

Changed 3 months ago by boxer01

Logs of both versions

Changed 3 months ago by boxer01

Audio of 6.1.19-143292

Changed 3 months ago by boxer01

Audio of 6.1.19-143492

Changed 3 months ago by frg

Same problem Windows 8.1 Host 7x86 vm

comment:1 Changed 3 months ago by frg

Woodpecker sounds here too see VBox-Windows81-143492.zip.

It seems to occur with short sounds mostly. I can clear it by testing the sound via the control panel in the vm.

comment:2 Changed 3 months ago by frg

Still occurs with 6.1.9 revision 143581 It is not the guest addtions. Even the newer ones seem to work fine with the older 14292 version.

comment:3 Changed 2 months ago by frg

Still a problem with VirtualBox-6.1.19-143633-Win.

comment:4 Changed 2 months ago by boxer01

Just tested version 6.1.19 r143678 and this issue is still here.

I think that the testing routine is really important here. I test with these two  audio  streams (Radio Liberty) and XMPlay. This is an excellent audio player for Windows, and for Internet radio too. One can find a portable version on portableapps.com. But if I play the same streams directly in Firefox or if the Firefox is opened when I play this in XMPlay, then everything is fine. So it depends on all this circumstances. This issue can be caused by a short system sounds but not by long ones.

comment:5 follow-up: ↓ 6 Changed 2 months ago by frg

I think that the testing routine is really important here.

In my Windows 7 Pro vm I can reproduce this easy with using the Sound Control panel item. Just test the Device Connect or Device Disconnect sounds and if not the first time it will happen after a few tries.

There was some stutter before during vm startup but unfortunately now this bug makes the later versions unusable for me :(

comment:6 in reply to: ↑ 5 Changed 2 months ago by boxer01

Replying to frg:

In my Windows 7 Pro vm I can reproduce this easy with using the Sound Control panel item.

Thank you for this tip. But the Windows 8 or 10 Device sounds are longer than the short sounds of the Vista or 7. So this couldn't be used for reproducing the issue in those versions of Windows.

I see a lot of changes for sound staff in the Subversion repository in the last four weeks. This could explain such troubles. The strange thing is that it looks like nobody is monitoring the tickets to see that those changes already causes some issues. And this is the whole meaning behind the development / beta testing.

comment:7 Changed 2 months ago by frg

Unfortunately not fixed with 6.1.20 already available under downloads. So if we are not the only ones experiencing this it might now get more attention :)

Able to reproduce easy with Server 2016 too. Just clicking thru sounds and the "New Fax" triggered it 100%. Low hum wave here.

Uninstalled and gone back to 4.1.19.143292 but if a new log is needed I can reinstall.

comment:8 Changed 8 weeks ago by ashubisht

Reproducible with vbox v6.1.20 using host as Windows 10 20H2 Pro and guest as Windows 8.1 Pro. Volume control button on task bar creates very low humming sound. I found that in browser if we play any sound and then pause it (checked with youtube video), then its not echoing repeatedly. But if we close browser while sound was playing, it plays last half second endlesly.

Last edited 8 weeks ago by ashubisht (previous) (diff)

comment:9 Changed 8 weeks ago by FrankW

Confirmed in version 6.1.20. Running Windows 10 Guest on Windows 10 Host. Blue Iris running on guest. Close app. Sound keeps playing on host until Audio Output is unchecked in guest. Re-enabling Audio Output on guest does not continue the phantom sound.

comment:10 Changed 8 weeks ago by FrankW

Tried Windows Media Player in Windows 7 guest. Same problem/resolution as above.

comment:11 Changed 8 weeks ago by Banana James

Same issue here on 6.1.20 release version with W10 host and W7 guest. Downgrading back to 6.1.18.

comment:12 Changed 8 weeks ago by boxer01

Because of many changes in the audio code in the last days, I created new logs and audio debug files. Hopefully this would help developers to find the source of this nondrying sound source. This is from version 6.1.21-143957.

 vb_6.1.21-143957_audio.7z

Changed 8 weeks ago by boxer01

Version 6.1.21-143957 logs

comment:13 Changed 7 weeks ago by hhmmoo

For me, 6.1.18 is working fine. Same issue of repeating last ½ second audio with 6.1.20 and 6.1.22. Unrelated to guest additions. Unrelated to application used in the guest - it even occurs with console bell. W10 20H2 latest patches host and guest here.

comment:14 Changed 6 weeks ago by BrianGinUK

Same problem here. Windows 7 64 bit host, Windows 7 32 bit guest. Reverted to 6.1.18 for now.

comment:15 Changed 5 weeks ago by chad_vb

Noting same repeating sound issue for me for a Windows 10 20H2 host with Windows 7 x64 guest both on VB 6.1.22. Still reviewing another issue too with keyboard key presses getting lost or stuck on this and another host installation. Was already thinking time to revert.

comment:16 Changed 5 weeks ago by Nosenoise

Seconded, I have this problem on Win10 20H2 x64 host and guest. It began immediately after upgrade to VB 6.1.22. It never occurred prior to 6.1.22 for me.

comment:17 Changed 5 weeks ago by deepend

My virtual box was working fine on Friday. Something happened and I am seeing this issue now. I have one of my VB working correctly and the others are not. I tried to clone the one working and installed the other software on it. Getting the last 1/2 second going again. At first it was way worse than where I am at now, the pinging sound was blocking other sounds. I turned on the audio debug and the sounds are no longer blocking. It sure makes my life difficult. I am in 6.1.22 r144080

Last edited 5 weeks ago by deepend (previous) (diff)

comment:18 Changed 3 weeks ago by martiniturbide

Hi

I'm experiencing a similar issue with OS/2 Warp 4.52 (ArcaOS 5.0.6) guest , while using the "Intel HD Audio".

With VirtualBoox 6.1.14 (Windows 10 host) and OS/2 guest I didn't have this issue. When I updated to 6.1.19 and 6.1.22 the issue started for this audio adapter.

The issue is that the sound gets played, but at the end it keep looping the last half second of the sound.

For the moment my workaround is to switch the audio of the VM to "ICH AC97".

Regards

comment:19 Changed 10 days ago by boxer01

As of version 6.1.23-145004, this bug finally disappears. But now I have found another one, which looks similar to an old one from #17225: if I change the host output from speaker to the Bluetooth headphones, the sound of VBox goes to the headphones. Then I change back and the VBox sounds also goes to the speakers. But the next time I repeat the change to Bluetooth, the VBox ignores it. The sound form the host and programs, running on the host played in the Bluetooth headphones, but the sound from VBox is lost. If I turn the BT headphones off, the VBox sound returns to the speakers, but I can't get the VBox sound to the Bluetooth anymore. The only way is to save and restore the VM state or to turn the VM off and then on (restart).

All information about how I test the sound in VBox is in this (comment 4) and other ticket.

comment:20 Changed 10 days ago by frg

The bug is not fully fixed. Maybe 90% which is good enough. Short sounds like the ones for devices in the Windows 7 sound panel still want to loop but are cut after about a second max.

So thanks but I would not close the ticket yet.

comment:21 Changed 9 days ago by BrianGinUK

It was always worse on the short sounds. Longer sounds usually played correctly. I don't think they're working on this yet :(

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use