Reetry
Contributor
Contributor

Crackling,Poppin, Scratchy sound under ESXI 5.5 host Windows 7 guset.

Hi!
I have ESXI 5.5. Host and Windows 7 VM

I`m connecting to this VM via Vmplayer remotely and for sound i`m using USB Sound card.Sound is very scratchy and unused.

But when i`m using RDP to connect same VM, sounds seems to working pretty  fine.

Tried Editing VMX file, no success.

Any help will be appreciated

thanks in advance!

And sorry for my English.

0 Kudos
12 Replies
pwilk
Hot Shot
Hot Shot

To resolve this issue, adjust the speaker configuration on your virtual machine.

To adjust the speaker configuration on your virtual machine:

  1. Navigate to Start > Control Panel and select Hardware and Sound.
  2. Click Sound.
  3. Select Speakers and then click Properties.
  4. Navigate to the Advanced tab.
  5. Select 24 bit, 44100 Hz (Studio Quality) or higher, using the dropdown menu.
  6. Click Apply, then click OK.
  7. Restart your virtual machine.

The audio output should now sound better.

The sound works fine through RDP, as in this connection type you're not really using the VMs sound adapter but your hosts. Same applies to other peripherals such as keyboard or mice.

Cheers, Paul Wilk
Reetry
Contributor
Contributor

pwilk

Hi!

I have tried this method many times, No success.

I have read somewhere, that this problem cause USB small block sizes. And i don`t know how to increase block sizes.

Before the Windows 7 I was used XP and sound worked perfect with same way, transfer sound from VM to Local PC with USB Sound card.

0 Kudos
pwilk
Hot Shot
Hot Shot

Ok, in this case can you try the solution described below:

          Edit the .vmx file of the virtual machine and delete the entry given below:

               sound.virtualDev = "hdaudio"

Cheers, Paul Wilk
0 Kudos
Reetry
Contributor
Contributor

sound.virtualDev = "hdaudio"
Does not existed in my .VMX file.

This is My .VMX File:

.encoding = "UTF-8"

config.version = "8"

virtualHW.version = "8"

nvram = "Soundtst.nvram"

pciBridge0.present = "TRUE"

svga.present = "TRUE"

pciBridge4.present = "TRUE"

pciBridge4.virtualDev = "pcieRootPort"

pciBridge4.functions = "8"

pciBridge5.present = "TRUE"

pciBridge5.virtualDev = "pcieRootPort"

pciBridge5.functions = "8"

pciBridge6.present = "TRUE"

pciBridge6.virtualDev = "pcieRootPort"

pciBridge6.functions = "8"

pciBridge7.present = "TRUE"

pciBridge7.virtualDev = "pcieRootPort"

pciBridge7.functions = "8"

vmci0.present = "TRUE"

hpet0.present = "TRUE"

extendedConfigFile = "Soundtst.vmxf"

virtualHW.productCompatibility = "hosted"

memSize = "4096"

scsi0.virtualDev = "lsisas1068"

scsi0.present = "TRUE"

ide1:0.startConnected = "FALSE"

ide1:0.deviceType = "cdrom-raw"

ide1:0.clientDevice = "TRUE"

ide1:0.fileName = "emptyBackingString"

ide1:0.present = "TRUE"

floppy0.startConnected = "FALSE"

floppy0.clientDevice = "TRUE"

floppy0.fileName = "vmware-null-remote-floppy"

ethernet0.virtualDev = "vmxnet3"

ethernet0.networkName = "VM Network"

ethernet0.addressType = "vpx"

ethernet0.generatedAddress = "00:50:56:8d:2c:4a"

ethernet0.present = "TRUE"

scsi0:0.deviceType = "scsi-hardDisk"

scsi0:0.fileName = "Soundtst.vmdk"

scsi0:0.present = "TRUE"

guestOS = "windows7-64"

toolScripts.afterPowerOn = "TRUE"

toolScripts.afterResume = "TRUE"

toolScripts.beforeSuspend = "TRUE"

toolScripts.beforePowerOff = "TRUE"

uuid.bios = "42 0d 00 86 50 f5 08 39-e7 df a9 76 f4 87 a8 0e"

vc.uuid = "50 0d 71 44 fa 88 50 37-e2 e2 b3 a4 cf 9d 40 6a"

svga.vramSize = "8388608"

sched.swap.derivedName = "/vmfs/volumes/59ea6720-2b765010-4713-00151795f472/Soundtst/Soundtst-14c729eb.vswp"

uuid.location = "56 4d 1c 5e 79 66 11 63-dc 99 83 fe 17 f2 15 0e"

replay.supported = "FALSE"

replay.filename = ""

scsi0:0.redo = ""

pciBridge0.pciSlotNumber = "17"

pciBridge4.pciSlotNumber = "21"

pciBridge5.pciSlotNumber = "22"

pciBridge6.pciSlotNumber = "23"

pciBridge7.pciSlotNumber = "24"

scsi0.pciSlotNumber = "160"

ethernet0.pciSlotNumber = "192"

vmci0.pciSlotNumber = "32"

scsi0.sasWWID = "50 05 05 66 50 f5 08 30"

vmci0.id = "-192436210"

hostCPUID.0 = "0000000d756e65476c65746e49656e69"

hostCPUID.1 = "000306a90010080077bae3ffbfebfbff"

hostCPUID.80000001 = "00000000000000000000000128100800"

guestCPUID.0 = "0000000d756e65476c65746e49656e69"

guestCPUID.1 = "000306a900010800969822030fabfbff"

guestCPUID.80000001 = "00000000000000000000000128100800"

userCPUID.0 = "0000000d756e65476c65746e49656e69"

userCPUID.1 = "000306a900010800969822030fabfbff"

userCPUID.80000001 = "00000000000000000000000128100800"

evcCompatibilityMode = "FALSE"

vmotion.checkpointFBSize = "8388608"

cleanShutdown = "TRUE"

softPowerOff = "FALSE"

toolsInstallManager.lastInstallError = "0"

tools.remindInstall = "TRUE"

toolsInstallManager.updateCounter = "1"

usb_xhci.pciSlotNumber = "-1"

vmotion.checkpointSVGASize = "11534336"

migrate.hostlog = "./Soundtst-14c729eb.hlog"

config.readOnly = "FALSE"

usb.pciSlotNumber = "33"

ehci.pciSlotNumber = "34"

usb_xhci:1.speed = "2"

usb_xhci:1.present = "TRUE"

usb_xhci:1.deviceType = "hub"

usb_xhci:1.port = "1"

usb_xhci:1.parent = "-1"

usb_xhci:3.speed = "2"

usb_xhci:3.present = "TRUE"

usb_xhci:3.deviceType = "hub"

usb_xhci:3.port = "3"

usb_xhci:3.parent = "-1"

usb_xhci:4.present = "TRUE"

usb_xhci:4.deviceType = "hid"

usb_xhci:4.port = "0"

usb_xhci:4.parent = "1"

usb.present = "TRUE"

ehci.present = "TRUE"

usb:0.present = "TRUE"

usb:0.deviceType = "hid"

usb:0.port = "0"

usb:0.parent = "-1"

usb:1.speed = "2"

usb:1.present = "TRUE"

usb:1.deviceType = "hub"

usb:1.port = "1"

usb:1.parent = "-1"

0 Kudos
pwilk
Hot Shot
Hot Shot

Are you using USB passthrough on this VM? Configuring USB passthrough from an ESXi host

Cheers, Paul Wilk
0 Kudos
Reetry
Contributor
Contributor

No.

I have added USB controller to VM. Then i`m connecting remotely using Vmplayer and attaching USB Sound card to Remote VM with Next way:

Player>Removable Devices> Connect (My USB device)

0 Kudos
pwilk
Hot Shot
Hot Shot

Try setting it up in passthrough mode then. This way the physical device (the sound card) would be connected "directly" to your VM.

Cheers, Paul Wilk
0 Kudos
Reetry
Contributor
Contributor

Yes i know and it will work, but Host and Clients PC is located in different places. I need sound Via remote session not "directly"

0 Kudos
pwilk
Hot Shot
Hot Shot

It doesn't matter. If you attach a USB sound to a host hosting the VM in question and set it to passthrough, the card will be permanently assigned to the VM and clients connecting to it remotely will still be able to use it. Connecting the USB sound card through Removable devices will never work as you expect it to work as in that case the connection is simply too slow for decent sound quality.

Cheers, Paul Wilk
0 Kudos
Reetry
Contributor
Contributor

Ok.And how to transfer audio from remote VM to Local PC with this way?

0 Kudos
pwilk
Hot Shot
Hot Shot

Connect to VM as usual using VMware Player. Your local PC should receive sound output from the VM.

Cheers, Paul Wilk
0 Kudos
Reetry
Contributor
Contributor

Sound working on remote Vm not in a local PC.
Sorry, i can`t understand you. The Sound card is attached to Server Were is located VM not to PC and how exactly Client would get Sound from REMOTE VM.

0 Kudos