Virtualbox Mac Os X Guest Sound Driver

I had intermittent slow emulator (SDK v8.0) load times, up to three minutes on Intel Core i7 920 2.67 GHz CPU running on Xubuntu 10.04 VirtualBox 3.2.12 guest with Eclipse (3.6.1) loaded. I changed the VirtualBox guest memory from 1024 MB to 2048 MB and from that point on, I never experienced the slowness again (load times consistent at 33. The guest additions are not required for the audio output. Use the AC97 device. Is the virtual soundcard correctly detected by the guest? Note that VirtualBox on Mac OS X hosts doesn't support audio input, only audio output. Please attach a VBox.log file of a VM session when you used the AC97 device.

Since this is now became a common request by many, I decided to write a tutorial about Windows 9x (95/98/98SE/Me) usage on VirtualBox.
Forenote: Windows 9x is not officially supported by VirtualBox team, which means, that it lacks Guest VM Additions, and it runs slowly, because VirtualBox is not optimized to run Win 9x.
1. Installation - I won't cover here in detail, except few points.
Most CD-ROMs available for Windows 95/98 are not bootable, which means, that you must boot from DOS floppy, install DOS first and only then install Windows 95/98.
*It does require DOS skills*
Official bootable CD media is starting from 98SE. So if you're newbie, you should use Windows 98 SE bootable CD.
Additionally I strongly suggest to limit system RAM to 512 MB for those OSes. Otherwise it will crash. (There are workarounds, that allow Win 9x run on modern physical systems, but I won't go into detail here)
In some cases enabling or disabling AMD-V/VT-x can help you install the O.S.
For this tutorial, I presume, that you are able to install the OS.
Installing with ACPI:
(contributed by Richard_S)
Virtualbox Mac Os X Guest Sound DriverContrary to what you may have read here in some of the other VirtualBox Win98 threads, this is NOT because Win98se is a poorly written piece of antiquated crap that doesn't even know how to properly handle CPU IDLE.
Back when a lot of todays young Linux geeks were still pooping their dipiys, Win98 was already supporting ACPI functions to create greener PCs and help keep laptops from running down their batteries in 10 minutes (which is exactly what DID happen to me the first time I installed Linux on a laptop that was working FINE in Win98).

Virtualbox Guest Os Download

So, long story short, there is NOTHING really wrong with Win98, the problem is that VirtualBox's emulated BIOS doesn't fully match up with what Win98 expects a real ACPI BIOS to look like, so by default Win98 will not install ACPI support (and unfortunately, the older APM support doesn't handle CPU IDLE, so we get problems).
The solution is to FORCE ACPI support to be installed, by using the
/p j
command line switch when running the setup program that installs Win98.
This means that you can't just jam the virtual CD into the virtual CD drive and let 'autorun' take care of everything.
The best way to handle this is to simply move the Win98 install folder from the Windows 98 SE CD onto your virtual C: drive in VirtualBox, then change directory to that folder in a DOS prompt and run the setup program manually:
setup /p j
This will force ACPI power management (and the associated CPU IDLE functions) to be installed, and your Win98 virtual machine will consume no more system resources when running than a similar XP or Linux virtual machine.
2. Sound /Audio Integration.
GuestIn VirtualBox, you must enable Sound, and use 'Sound Blaster 16'.
It is available since VBox 1.6.0.
The procedure for installation is rather simple:
NOTE: The procedure below is only needed if you switch from AC'97 to SB16.
It is not needed, if you create new VM with SB16, then install Win98 on it.
2.1. Delete your sound card device and all unknown devices from 'Device Manager'.
2.2 Add New Hardware (from Control Panel).
Code: Select allExpand viewCollapse view
[img]http://img178.imageshack.us/img178/2780/win98soundscreenshot01xg6.png[/img]

win98soundscreenshot01xg6.png (44.95 KiB) Viewed 832355 times

Code: Select allExpand viewCollapse view
[img]http://img502.imageshack.us/img502/3426/win98soundscreenshot02sd3.png[/img]

win98soundscreenshot02sd3.png (39.97 KiB) Viewed 832355 times

2.3 Select 'no, device is not listed in the list'.
Code: Select allExpand viewCollapse view
[img]http://img397.imageshack.us/img397/7972/win98soundscreenshot03so7.png[/img]

win98soundscreenshot03so7.png (40.95 KiB) Viewed 832355 times

2.4 Let Windows search for non-plug'n'play devices.
Code: Select allExpand viewCollapse view
[img]http://img168.imageshack.us/img168/1111/win98soundscreenshot04gd2.png[/img]

win98soundscreenshot04gd2.png (42.2 KiB) Viewed 832355 times

2.5 It will manually detect non-plug-n-play devices. Click on 'Details' to show them.
Code: Select allExpand viewCollapse view
[img]http://img413.imageshack.us/img413/9726/win98soundscreenshot05yx4.png[/img]

2.6. It will find 'Soundblaster 16 or AWE 32 or compatible'.
Code: Select allExpand viewCollapse view
[img]http://img413.imageshack.us/img413/2001/win98soundscreenshot06me3.png[/img]

win98soundscreenshot06me3.png (39.92 KiB) Viewed 832355 times

2.7. Restart the VM.
3. Video driver integration.
By default Windows 98 will run only in 640x480 resolution, 16-colors.
Performance Note: VirtualBox is not optimized for 16-colors (4-bit) emulation. It works very slow this way.
Having 32-bit True Color driver makes Win98 VMs run on VirtualBox *much* faster.

If you want True color or high resolution, you need to download special drivers.
3.1. bearwindows driver (unstable)
http://bearwindows.zcm.com.au/
NOTE: You must install 'Universal version' (2nd link), as the 'VirtualBox' version is known to have problems.Install
WARNING: This driver is buggy, and many Windows fonts do not render correctly with it. Not recommended.
3.2. SciTech Display Doctor (recommended)
The second option is to get the SciTech Display Doctor version 7 beta driver (12 MB) -
(contributed by Richard_S)
Virtualboxhttps://www.dropbox.com/s/226caou8x0jf8 ... ctor-7.iso
-or-
https://docs.google.com/open?id=0BycgkM ... UhnWGRycVE
The driver is a high quality commercial grade video driver (even includes some software emulated Open GL 3D support), and it does include an exe installer program.
Despite having an installer, the SciTech Display Doctor is a little tricky to get going. After the program launches, you have to find the little round radio button link to click to 'enable' the new driver (otherwise you still have VGA). Even then, you can't select any higher resolution modes until you ditch the 'default monitor' and select one of the 'Super VGA' types.
After fiddling around with the above changes and rebooting several times you should be able to select 800x600 or 1024x768 (or higher) resolutions with 32 bit color depth. (setting 32 bit color mode optimizes the interface with Virtualbox and really speeds things up)
4. Network
Easiest thing, is to setup VirtualBox to NAT, and AMD PCnet-II network chip. It will be auto-detected by Win 9x.
5. Mouse
(contributed by stefan.becker)
VirtualBox 4.1 provides for Windows-98-compatible USB tablet device.
Enable USB Tablet: VM->Settings->System->Enable Absolute pointing device
then do: (enable Windows-98 mode)
VBoxManage setextradata 'VM name' 'VBoxInternal/USB/HidMouse/0/Config/CoordShift' 0
docs: '12.3.8 USB tablet coordinates ... in Windows 98 guests'
6. Shared Folders
Since VirtualBox shared folders won't work, there are other ways, such as SMB/Windows File Sharing. Recommended for Windows hosts.
(Tested with VBox 2.1.2.-- and was successful with 'bridged' network. I had no success with NAT.)
WARNING: I admit that with VirtualBox the network is very unstable, presumably due to very slow performance of Win 9x guests under VBox.
For Unix hosts, WinSCP is recommended.
Another way of read-only file sharing is to create a virtual CD-ROM *.iso file on the host and insert it into the guest VM.
7. Clipboard Host<=>Guest
(contributed by stefan.becker)
Clipboard integrated in VirtualBox only works with the Guest Additions, so not for Windows9x. But there is another solution: Clipboard over TCP/IP.
A Solution tested successfull with Linux Host is ShareClip: http://homepage.mac.com/bnej/shareclip/
-Technologov
Written on 2.9.2008, updated on 18.07.2011.
Please discuss this tutorial here
This topic is only for additions to this tutorial. Do not ask questions about how to get something working. Use a separate topic for that.
Reported by:Owned by:
Component: audio Version: VirtualBox 5.1.2
Keywords: Cc:
Guest type: OSX Server Host type: Mac OS X

Description

Attachments

Bildschirmfoto 2016-07-24 um 20.04.12.png (288.5 KB) - added by IOOI5 years ago.
screenshot
Bildschirmfoto 2016-08-23 um 16.21.39.jpg (503.5 KB) - added by IOOI5 years ago.
No audio output devices available
Bildschirmfoto 2016-08-23 um 16.21.45.jpg (503.0 KB) - added by IOOI5 years ago.
no audio input devices available
Bildschirmfoto 2016-08-23 um 16.22.10.jpg (163.6 KB) - added by IOOI5 years ago.
VM settings general
Bildschirmfoto 2016-08-23 um 16.22.17.jpg (121.4 KB) - added by IOOI5 years ago.
VM settings audio
VBox.log.zip (27.3 KB) - added by IOOI5 years ago.
Vbox.log of 10.11 guest zipped
VBox.log.OSX.10.12.zip (27.2 KB) - added by IOOI5 years ago.
VBox.log of 10.12 guest zipped
Bildschirmfoto 2016-08-23 um 21.22.26.png (263.7 KB) - added by IOOI5 years ago.
Sound assertion in AppleHDAController at line 567 screenshot
Mac OS X 10.11.vbox (4.3 KB) - added by IOOI5 years ago.
Mac OS X 10.11.vbox
Mac OS X 10.12.vbox (4.1 KB) - added by IOOI5 years ago.
Mac OS X 10.12.vbox
Bildschirmfoto 2016-08-24 um 11.39.36.jpg (476.8 KB) - added by IOOI5 years ago.
My Desktop (exported as JPEG to get a smaller size)
IMG_4372.JPG (450.0 KB) - added by IOOI5 years ago.
Is this really a hackintosh?
VBox.10.12.log.1.zip (30.3 KB) - added by IOOI5 years ago.
VBox.log on VBox Version 5.1.5 r110354 (Qt5.5.1) of 10.12 guest zipped
VBox.10.12.log.zip (27.0 KB) - added by IOOI5 years ago.
VBox.log on VBox Version 5.1.5 r110354 (Qt5.5.1) of 10.12 guest zipped subsequent run after awaking from sleep/freeze

Change History

Changed 5 years ago by IOOI

  • attachmentBildschirmfoto 2016-07-24 um 20.04.12.png added

comment:2 Changed 5 years ago by frank

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

comment:3 Changed 5 years ago by IOOI

  • Status changed from closed to reopened
  • Resolutionduplicate deleted

comment:4follow-up:↓ 6 Changed 5 years ago by IOOI

Changed 5 years ago by IOOI

  • attachmentBildschirmfoto 2016-08-23 um 16.21.39.jpg added

Changed 5 years ago by IOOI

  • attachmentBildschirmfoto 2016-08-23 um 16.21.45.jpg added

Changed 5 years ago by IOOI

  • attachmentBildschirmfoto 2016-08-23 um 16.22.10.jpg added

Changed 5 years ago by IOOI

  • attachmentBildschirmfoto 2016-08-23 um 16.22.17.jpg added

comment:6 in reply to: ↑ 4 ; follow-up:↓ 7 Changed 5 years ago by socratis

comment:7 in reply to: ↑ 6 Changed 5 years ago by IOOI

Changed 5 years ago by IOOI

  • attachmentVBox.log.zip added

Changed 5 years ago by IOOI

  • attachmentVBox.log.OSX.10.12.zip added

Changed 5 years ago by IOOI

  • attachmentBildschirmfoto 2016-08-23 um 21.22.26.png added

Changed 5 years ago by IOOI

  • attachmentMac OS X 10.11.vbox added

Virtualbox For Mac Os

Changed 5 years ago by IOOI

  • attachmentMac OS X 10.12.vbox added

comment:9follow-up:↓ 10 Changed 5 years ago by socratis

comment:10 in reply to: ↑ 9 Changed 5 years ago by IOOI

Changed 5 years ago by IOOI

  • attachmentBildschirmfoto 2016-08-24 um 11.39.36.jpg added

Changed 5 years ago by IOOI

  • attachmentIMG_4372.JPG added

comment:11follow-up:↓ 12 Changed 5 years ago by socratis

comment:12 in reply to: ↑ 11 Changed 5 years ago by IOOI

comment:14follow-up:↓ 15 Changed 5 years ago by IOOI

comment:15 in reply to: ↑ 14 ; follow-up:↓ 16 Changed 5 years ago by socratis

comment:16 in reply to: ↑ 15 Changed 5 years ago by IOOI

comment:18 Changed 5 years ago by IOOI

Changed 5 years ago by IOOI

  • attachmentVBox.10.12.log.1.zip added

Changed 5 years ago by IOOI

  • attachmentVBox.10.12.log.zip added

comment:21 Changed 5 years ago by IOOI

comment:23 Changed 16 months ago by aeichner

  • Status changed from reopened to closed
  • Resolution set to obsolete