Bug #6973
closedaudioens driver does not work on VMWare
100%
Description
This is a very old problem -- (surprisingly I couldn't find a reference to an open issue for it though.)
The audioens driver does not function when running as a guest in VMware - no output is emitted, and the audio "sample counter" never makes progress. It looks like a device hang to the end user.
The story here is that the emulated audio device isn't quite the same as real hardware -- in particular, the emulation relies on the user to pules an interrupt enable at fairly frequent rates in order to ensure that the audio emulation makes progress. So the "interrupt free" design in Boomer does not function.
The solution to this is to return interrupt based processing to the driver, but we can do that conditionally based on whether VMware is detected or not using get_hwenv(). Actually we should probably just do this for all virtual environments. (Note: I have not tested this on virtual box. I have no idea if audio even works there.)
Updated by Garrett D'Amore about 6 years ago
Updated by Electric Monk about 6 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 5b1627536384deb03449347af9c01bd4fc2d271e
commit 5b1627536384deb03449347af9c01bd4fc2d271e Author: Garrett D'Amore <garrett@lucera.com> Date: 2016-05-16T15:17:18.000Z 6973 audioens driver does not work on VMWare Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Approved by: Dan McDonald <danmcd@omniti.com>