Cannot get audio on guest machine

Discussions about using Windows guests in VirtualBox.
Post Reply
U1rich
Posts: 5
Joined: 26. Jul 2015, 21:36
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows XP

Cannot get audio on guest machine

Post by U1rich »

I am trying to run XP 32-bit but it will not detect any audio drivers. I have tried Windows DirectSound and Null Audio Driver. ICH AC97, Intel Hd Audio, and SoundBlaster 16 do not work under Null Audio Driver or Windows DirectSound. Please help! I am frustrated! :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil:
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Cannot get audio on guest machine

Post by Perryg »

Post the guests log file ( as an attachment )
U1rich
Posts: 5
Joined: 26. Jul 2015, 21:36
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows XP

Re: Cannot get audio on guest machine

Post by U1rich »

Internet will not work either. Tried Bridged Adapter.
Attachments
XPSP3-2015-07-26-15-49-30.log
Took me 10 minutes to figure that out... Just so frustrated...
(83.76 KiB) Downloaded 16 times
U1rich
Posts: 5
Joined: 26. Jul 2015, 21:36
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows XP

Re: Cannot get audio on guest machine

Post by U1rich »

Ok, Xp detected the cable, now it wont set up the connection properly. I have broadband, like any normal person would have.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Cannot get audio on guest machine

Post by loukingjr »

Very confusing log. Why would anyone assign 17GBs of RAM to a Windows XP 32bit guest? I believe Microsoft set an artificial limit of 4GB on XP even with PAE. Why is the virtual drive called "Vista.vhd"? I think XP requires the PCnet-FAST III network adapter unless you installed the drivers for one of the PRO/1000 adapters. Why would you try the Null Audio Driver if you wanted audio?

The AMD CPU with 4 cores and 8 GPUs could be a problem.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
U1rich
Posts: 5
Joined: 26. Jul 2015, 21:36
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows XP

Re: Cannot get audio on guest machine

Post by U1rich »

I tried to get a vista vm... settled for xp to try to run fallout 3 and test viruses
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Cannot get audio on guest machine

Post by scottgus1 »

Lou's post has made me think that your XP guest's settings have all been changed from the defaults, perhaps without needing to, or there's considerable difference in the settings between XP and Vista (Vista being one of those OS's I have never even held an install disc for).

A new guest seems in order, using the XP guest template, perhaps with 1 or 2GB memory, maybe 32 megs for video memory, and one processor. If you want two processors, which I usually use myself (though others recommend against it, there being a slight overhead which slows the guest down a hair) you'll need to have IO-APIC checked, too. You may even be able to disconnect the virtual disk from the old bunged-up guest and attach it as the boot drive to the new guest, provided the processor count and IO-APIC settings are the same. The OS should find all the new hardware and load drivers for them automatically.
dlharper
Posts: 291
Joined: 25. Aug 2011, 19:17
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: MS Windows (several versions); DOS

Re: Cannot get audio on guest machine

Post by dlharper »

Windows XP should work "out of the box" using the "ICH AC97" sound card with Host Driver "Windows Direct Sound", and using the "PCNet Fast III" network adapter. You may be able to get other options to work, but you will have to find drivers for them, because they are not included with Windows XP. (These are both different from Vista which will work by default with "Intel HD Audio" and "Intel PRO/1000 MT Desktop".)

The other main difference from the Vista template, which you must have discovered, is that XP cannot easily be made to work with a SATA hard disk interface. You need to connect you hard disk to IDE.

However, further alterations I would make are to reduce the RAM size. Windows XP is supposed to work with up to 4Gb RAM (certainly not more) but I have sometimes found it unstable with more than 2Gb. Also, I would use just one CPU until you have everything else working correctly.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Cannot get audio on guest machine

Post by loukingjr »

@dlharper, sound advice. Pardon the pun. :D
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Cannot get audio on guest machine

Post by mpack »

dlharper wrote:Windows XP is supposed to work with up to 4Gb RAM (certainly not more) but I have sometimes found it unstable with more than 2Gb.
Not in my experience. This physical host I'm using now runs XP Pro and has 3.49GB RAM usable (4GB installed). Obviously a physical PC doesn't give me access to the entire RAM complement - presumably the hardware and BIOS needs some.

XP was designed to run well with 256MB. It runs great with 512MB. I wouldn't give a VM more than 2GB.

It sounds like the OP has used the wrong template, ignored the expert selected defaults, and run into problems - surprise surprise.
dlharper
Posts: 291
Joined: 25. Aug 2011, 19:17
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: MS Windows (several versions); DOS

Re: Cannot get audio on guest machine

Post by dlharper »

mpack wrote:XP was designed to run well with 256MB. It runs great with 512MB. I wouldn't give a VM more than 2GB.
I think that is what I meant. I have never tried running a physical XP machine with more than 2Gb. I did try a VM once with a bit more, but it didn't work well, perhaps because it didn't leave enough RAM for the host. I don't remember details now.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Cannot get audio on guest machine

Post by mpack »

dlharper wrote:I have never tried running a physical XP machine with more than 2Gb. I did try a VM once with a bit more, but it didn't work well, perhaps because it didn't leave enough RAM for the host.
Possibly, or if you were still using a 32bit Windows host at the time then it may not have been possible to assign more than 2GB to any application: Windows conventionally split the 4GB address space (not the actual RAM) into 2GB for the system (executable code, drivers) and 2GB for user data. This wasn't a problem until it became common for users to populate the entire address space with RAM and users wondered why their apps couldn't have more than 2GB of data.

There's a boot option in Windows to change the split to 1GB (system) : 3GB (data).

Obviously, RAM allocated to a VM is seen as data RAM by the host.

Obviously (2) this is a limitation of 32 bit Windows hosts, not something you would encounter on physical hardware.
Post Reply