VirtualBox

Ticket #8734 (closed defect: worksforme)

Opened 3 years ago

Last modified 3 years ago

OSX Guest Lacks Supported Sound Hardware (with workaround)

Reported by: mackyle Owned by:
Priority: minor Component: audio
Version: VirtualBox 4.0.4 Keywords: sound
Cc: Guest type: OSX Server
Host type: Mac OS X

Description

With the VM audio set to:

Host Driver: CoreAudio
Controller: Intel HD Audio

The OS X Server virtual machine guest (10.6.7) comes up without any recognized sound hardware.

However, after installing VoodooHDA from  http://code.google.com/p/voodoohda/ and restarting the Guest, lo-and-behold there is full input/output sound support in the OS X Server guest.

At the very least, this workaround to get sound input/output working for OS X Server guests should be mentioned in the manual until VirtualBox guest emulation can emulate an Intel HD Audio device in just the right way to make an OS X Server guest recognize it directly.

Attachments

dmesg.txt Download (2.9 KB) - added by mackyle 3 years ago.
dmesg from guest

Change History

comment:1 Changed 3 years ago by Hachiman

Could you please attach dmesg from the guest and the VM logfile?

Changed 3 years ago by mackyle

dmesg from guest

comment:2 Changed 3 years ago by mackyle

It looks like this is the basic problem with AppleHDA:

Sound assertion "0 != setupHostInterrupt ()" failed in "/SourceCache/AppleHDA/AppleHDA-199.4.12/AppleHDAController/AppleHDAController.cpp" at line 399 goto Exit

But the VoodooHDA kext doesn't seem to have this problem.

comment:3 Changed 3 years ago by Hachiman

Please try with chipset ICH9, our sound configuration is Intel HDA + IDT Stac9220 codec. AppleHDA works with this configuration via MSI, instead old irq, that cause behavior you're seeing.

comment:4 follow-up: ↓ 5 Changed 3 years ago by mackyle

The VM was originally created with vbox 3.2.0. When I attempted to change the chipset to ICH9 the vm aborted.

After making a new VM and attaching the disk to that I got dumped into the EFI shell every time on boot.

After finally figuring out how to exit the EFI shell and move it to the end of the boot list using the BIOS interface, I was finally able to boot with the ICH9 chipset.

And yes, then audio was supported natively!

The GUI should probably warn you if you pick Intel HD Audio and the motherboard chipset is not ICH9 (with one of those non-optimal icons or something).

comment:5 in reply to: ↑ 4 Changed 3 years ago by Hachiman

Replying to mackyle:

And yes, then audio was supported natively!

Thanks for testing.

The GUI should probably warn you if you pick Intel HD Audio and the motherboard chipset is not ICH9 (with one of those non-optimal icons or something).

Good idea, especially for users upgraded from 3.2.

comment:6 Changed 3 years ago by Hachiman

  • Status changed from new to closed
  • Resolution set to worksforme
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use