VirtualBox

Ticket #15598 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

AC97 volume control is not linear [5.1 regression]

Reported by: mhanor Owned by:
Priority: major Component: audio
Version: VirtualBox 5.1.0 Keywords:
Cc: Guest type: all
Host type: all

Description

I have discussed the issue  here

The guest volume control is off, when using the AC97 audio controller. I would expect a linear control, but that's not the case. I consider it to be a regression in 5.1, as I have never had this kind of problems with previous versions, 5.0.xx and older. It manifests on my Windows 10 x64 host and on my Ubuntu 16.04 x64 host (running on the same PC).

As an example, on my Ubuntu host, using VirtualBox 5.1 (release) to run Ubuntu 16.04 x64 (live) as a guest. The host's Master volume control is set to 100%. Using amixer from the guest's terminal to change the guest Master volume control (e.g. amixer sset 'Master' 100%), there is no difference in sound intensity when modifying the guest's Master volume control anywhere in the range 71-100%, including the limits of this range (which seems to set the maximum intensity). Only when setting to 70%, I can hear a drop in sound intensity. On the other hand, any value below 58%, it's almost mute (I almost can hear something at 58% Master volume setting, but I have good hearing). At 59%, the sound can definitely be heard, at a very low intensity. The same is with Windows as host, the difference is an offset, meaning that, at 50% guest volume setting (using the same guest), I definitely can hear something at a very low intensity. Also, I haven't identified any differences when changing the Host Audio driver (from PulseAudio to ALSA), when using the Ubuntu host.

Attachments

VBox.log Download (102.0 KB) - added by mhanor 10 months ago.
VBox.2.2.log Download (100.7 KB) - added by mhanor 10 months ago.
VBox.2.log Download (100.7 KB) - added by mhanor 10 months ago.

Change History

Changed 10 months ago by mhanor

Changed 10 months ago by mhanor

Changed 10 months ago by mhanor

comment:1 Changed 10 months ago by michaln

The compression of the range where the volume actually changes is a VirtualBox bug. But I'm much less certain about the behavior where there's no change between about 70 and 100%. As far as I can tell, Linux simply does not change the volume in that range with AC'97 (it's different with HDA). Windows XP behaves differently. Are you certain the volume used to change with AC'97 in the upper range?

The other problem should be fixed in svn now and the there's now something audible even when the guest volume is set low.

comment:2 Changed 10 months ago by michaln

Upon further inspection, the 70% problem was a bug too, but probably specific to the AD1980 codec emulation (default for Linux guests). Should be fixed now too.

Last edited 10 months ago by michaln (previous) (diff)

comment:3 Changed 10 months ago by mhanor

Please let me know when a test build is available with these fixes, so I can try it.

comment:4 Changed 10 months ago by michaln

Please try a test build 108800 or later from here. Let me know if you need something other than the builds on that page.

Last edited 10 months ago by frank (previous) (diff)

comment:5 Changed 10 months ago by mhanor

It's OK with the test build. Thank you.

comment:6 Changed 10 months ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Thanks for the feedback! Fix is part of 5.1.2.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use