You are not logged in.

#1 2014-08-27 17:38:48

specular
Member
Registered: 2014-08-27
Posts: 9

[SOLVED] No sound with vmware

I'm getting no sound with vmware, not sure why

Here's what I've been trying to test things:

$ cat /dev/urandom | aplay
Playing raw data 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono

Here's some alsa info, if it helps:

$ aplay -L 
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=AudioPCI
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    Default Audio Device
sysdefault:CARD=AudioPCI
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    Default Audio Device
front:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    Front speakers
rear:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC1
    Rear speakers
surround40:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    4.0 Surround output to Front and Rear speakers
iec958:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    IEC958 (S/PDIF) Digital Audio Output

Last edited by specular (2014-08-27 19:52:45)

Offline

#2 2014-08-27 18:11:27

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] No sound with vmware

You posted the same output twice. So the normal sound works I take from play. For useful information on alsa use these in the future:

aplay -lL;
lspci -vnn | grep -A1 -i audio;
lsmod | grep ^snd;
for i in /proc/asound/card[0-9]*; do echo "--- $i ---"; amixer -c $(cat $i/id); done;
lsusb #if there is a usb sound card;
# or use the alsa-info script

As for the issue, you provide no information how you start vmware.

Edit: Used older template.

Last edited by emeres (2014-08-27 18:39:15)

Offline

#3 2014-08-27 18:31:17

specular
Member
Registered: 2014-08-27
Posts: 9

Re: [SOLVED] No sound with vmware

Don't think I was clear enough, but arch is installed as a vmware guest. Below is the requested output from the alsa-info script:

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.63
!!################################

!!Script ran on: Wed Aug 27 18:29:05 UTC 2014


!!Linux Distribution
!!------------------

NAME="Arch Linux" ID=arch PRETTY_NAME="Arch Linux" HOME_URL="https://www.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://bugs.archlinux.org/"


!!DMI Information
!!---------------

Manufacturer:      VMware, Inc.
Product Name:      VMware7,1
Product Version:   None
Firmware Version:  VMW71.00V.0.B64.1310020058


!!Kernel Information
!!------------------

Kernel release:    3.14.2-1-ARCH
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         unknown
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     k3.14.2-1-ARCH
Library version:    1.0.27.2
Utilities version:  1.0.28


!!Loaded ALSA modules
!!-------------------

snd_ens1371


!!Sound Servers on this system
!!----------------------------

No sound servers found.


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [AudioPCI       ]: ENS1371 - Ensoniq AudioPCI
                      Ensoniq AudioPCI ENS1371 at 0x1000, irq 19


!!PCI Soundcards installed in the system
!!--------------------------------------

02:01.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 02)


!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------

02:01.0 0401: 1274:1371 (rev 02)
	Subsystem: 1274:1371


!!Loaded sound module options
!!---------------------------

!!Module: snd_ens1371
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	joystick_port : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	lineio : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	spdif : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0


!!AC97 Codec information
!!----------------------
--startcollapse--

0-0/0: Cirrus Logic CS4297A rev 3

PCI Subsys Vendor: 0x1274
PCI Subsys Device: 0x1371

Flags: 4
Capabilities     :
DAC resolution   : 16-bit
ADC resolution   : 16-bit
3D enhancement   : No 3D Stereo Enhancement

Current setup
Mic gain         : +0dB [+0dB]
POP path         : pre 3D
Sim. stereo      : off
3D enhancement   : off
Loudness         : off
Mono output      : MIX
Mic select       : Mic1
ADC/DAC loopback : off

0:00 = 0000
0:02 = 0e8e
0:04 = 0000
0:06 = 0000
0:08 = 0000
0:0a = 0000
0:0c = bfbf
0:0e = bfbf
0:10 = bfbf
0:12 = bfbf
0:14 = bfbf
0:16 = bfbf
0:18 = 28a8
0:1a = 0000
0:1c = 0808
0:1e = 0000
0:20 = 0000
0:22 = 0000
0:24 = 0000
0:26 = 000f
0:28 = 0000
0:2a = 0000
0:2c = 0000
0:2e = 0000
0:30 = 0000
0:32 = 0000
0:34 = 0000
0:36 = 0000
0:38 = 0000
0:3a = 0000
0:3c = 0000
0:3e = 0000
0:40 = 0000
0:42 = 0000
0:44 = 0000
0:46 = 0000
0:48 = 0000
0:4a = 0000
0:4c = 0000
0:4e = 0000
0:50 = 0000
0:52 = 0000
0:54 = 0000
0:56 = 0000
0:58 = 0000
0:5a = 0000
0:5c = 0000
0:5e = 0000
0:60 = 0000
0:62 = 0000
0:64 = 0000
0:66 = 0000
0:68 = 0000
0:6a = 0000
0:6c = 0000
0:6e = 0000
0:70 = 0000
0:72 = 0000
0:74 = 0000
0:76 = 0000
0:78 = 0000
0:7a = 0000
0:7c = 4352
0:7e = 5913
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw----+ 1 root audio 116,  6 Aug 28 01:35 /dev/snd/controlC0
crw-rw----+ 1 root audio 116,  2 Aug 28 01:35 /dev/snd/midiC0D0
crw-rw----+ 1 root audio 116,  5 Aug 28 01:35 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  4 Aug 28 03:28 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116,  3 Aug 28 01:35 /dev/snd/pcmC0D1p
crw-rw----+ 1 root audio 116,  1 Aug 28 01:35 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Aug 28 01:35 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Aug 28 01:35 .
drwxr-xr-x 3 root root 200 Aug 28 01:35 ..
lrwxrwxrwx 1 root root  12 Aug 28 01:35 pci-0000:02:01.0 -> ../controlC0


!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: AudioPCI [Ensoniq AudioPCI], device 0: ES1371/1 [ES1371 DAC2/ADC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: AudioPCI [Ensoniq AudioPCI], device 1: ES1371/2 [ES1371 DAC1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: AudioPCI [Ensoniq AudioPCI], device 0: ES1371/1 [ES1371 DAC2/ADC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [AudioPCI]

Card hw:0 'AudioPCI'/'Ensoniq AudioPCI ENS1371 at 0x1000, irq 19'
  Mixer name	: 'Cirrus Logic CS4297A rev 3'
  Components	: 'AC97a:43525913'
  Controls      : 26
  Simple ctrls  : 13
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 63
  Mono:
  Front Left: Playback 49 [78%] [-21.00dB] [on]
  Front Right: Playback 49 [78%] [-21.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 63
  Mono:
  Front Left: Playback 23 [37%] [0.00dB] [on]
  Front Right: Playback 23 [37%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 63
  Front Left: Playback 0 [0%] [-34.50dB] [off] Capture [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off] Capture [off]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 63
  Front Left: Playback 0 [0%] [-34.50dB] [off] Capture [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off] Capture [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 63
  Front Left: Playback 0 [0%] [-34.50dB] [off] Capture [on]
  Front Right: Playback 0 [0%] [-34.50dB] [off] Capture [on]
Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Video',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 63
  Front Left: Playback 0 [0%] [-34.50dB] [off] Capture [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off] Capture [off]
Simple mixer control 'Phone',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 63
  Front Left: Playback 0 [0%] [-34.50dB] [off] Capture [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off] Capture [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 63
  Front Left: Playback 0 [0%] [-34.50dB] [off] Capture [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off] Capture [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 8 [53%] [12.00dB] [on]
  Front Right: Capture 8 [53%] [12.00dB] [on]
Simple mixer control 'Mix',0
  Capabilities: cswitch cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Mix Mono',0
  Capabilities: cswitch cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]


!!Alsactl output
!!--------------

--startcollapse--
state.AudioPCI {
	control.1 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'Master Playback Volume'
		value.0 49
		value.1 49
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 63'
			dbmin -9450
			dbmax 0
			dbvalue.0 -2100
			dbvalue.1 -2100
		}
	}
	control.3 {
		iface MIXER
		name 'Phone Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'Phone Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 63'
			dbmin -3450
			dbmax 6000
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.5 {
		iface MIXER
		name 'Mic Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.6 {
		iface MIXER
		name 'Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 63'
			dbmin -3450
			dbmax 6000
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.7 {
		iface MIXER
		name 'Mic Boost (+20dB)'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.8 {
		iface MIXER
		name 'Line Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'Line Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 63'
			dbmin -3450
			dbmax 6000
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.10 {
		iface MIXER
		name 'CD Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.11 {
		iface MIXER
		name 'CD Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 63'
			dbmin -3450
			dbmax 6000
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.12 {
		iface MIXER
		name 'Video Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.13 {
		iface MIXER
		name 'Video Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 63'
			dbmin -3450
			dbmax 6000
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.14 {
		iface MIXER
		name 'Aux Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.15 {
		iface MIXER
		name 'Aux Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 63'
			dbmin -3450
			dbmax 6000
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.16 {
		iface MIXER
		name 'PCM Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.17 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 23
		value.1 23
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 63'
			dbmin -3450
			dbmax 6000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.18 {
		iface MIXER
		name 'Capture Source'
		value.0 Mic
		value.1 Mic
		comment {
			access 'read write'
			type ENUMERATED
			count 2
			item.0 Mic
			item.1 CD
			item.2 Video
			item.3 Aux
			item.4 Line
			item.5 Mix
			item.6 'Mix Mono'
			item.7 Phone
		}
	}
	control.19 {
		iface MIXER
		name 'Capture Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.20 {
		iface MIXER
		name 'Capture Volume'
		value.0 8
		value.1 8
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 15'
			dbmin 0
			dbmax 2250
			dbvalue.0 1200
			dbvalue.1 1200
		}
	}
	control.21 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.22 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value cf00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.23 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.24 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.25 {
		iface PCM
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.26 {
		iface PCM
		device 1
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------

Module
fuse
vmw_vsock_vmci_transport
vsock
nls_iso8859_1
nls_cp437
vfat
fat
coretemp
hwmon
joydev
snd_ens1371
mousedev
snd_ac97_codec
hid_generic
ac97_bus
gameport
snd_rawmidi
snd_seq_device
snd_pcm
snd_timer
snd
crct10dif_pclmul
crc32_pclmul
crc32c_intel
ghash_clmulni_intel
soundcore
usbhid
aesni_intel
aes_x86_64
lrw
gf128mul
glue_helper
hid
psmouse
vmwgfx
ppdev
ablk_helper
cryptd
evdev
vmxnet3
mac_hid
pcspkr
vmw_balloon
i2c_piix4
serio_raw
ttm
microcode
drm
processor
i2c_core
intel_agp
intel_gtt
vmw_vmci
parport_pc
parport
battery
shpchp
ac
button
ext4
crc16
mbcache
jbd2
dm_mod
sd_mod
crc_t10dif
crct10dif_common
sr_mod
cdrom
ata_generic
pata_acpi
atkbd
libps2
ata_piix
libata
mptsas
scsi_transport_sas
mptscsih
uhci_hcd
ehci_pci
scsi_mod
ehci_hcd
usbcore
mptbase
usb_common
floppy
i8042
serio


!!ALSA/HDA dmesg
!!--------------

[    5.342713] mousedev: PS/2 mouse device common for all mice
[    5.345140] snd_ens1371 0000:02:01.0: enabling device (0000 -> 0001)
[    5.391722] intel_rapl: domain package energy ctr 0:0 not working, skip

Last edited by specular (2014-08-27 18:45:55)

Offline

#4 2014-08-27 18:34:23

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] No sound with vmware

lspci -vnn | grep -A1 -i audio

My bad.

Edit: And I meant running it in the future as concrete information on alsa setup. Using the above and alsa-info is discouraged, so you may want to edit and keep only one part, since alsa-info does basically the same. I do not use vmware, so I cannot help here, wanted just to point the alsa issue out.

Last edited by emeres (2014-08-27 18:38:17)

Offline

#5 2014-08-27 18:36:42

specular
Member
Registered: 2014-08-27
Posts: 9

Re: [SOLVED] No sound with vmware

[removed]

Last edited by specular (2014-08-27 18:45:38)

Offline

#6 2014-08-27 18:38:01

specular
Member
Registered: 2014-08-27
Posts: 9

Re: [SOLVED] No sound with vmware

I'm using my headphones, if that's relevant.

Offline

#7 2014-08-27 19:16:18

specular
Member
Registered: 2014-08-27
Posts: 9

Re: [SOLVED] No sound with vmware

For some reason it's working now.

Offline

#8 2014-08-27 19:21:12

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] No sound with vmware

Do you use a sound server like pulseaudio? If so, it might have blocked alsa or was not up when vm wanted pa, but that might have been blocked by alsa.

Edit: Should you consider this issue solved, then please mark the thread as such.

Last edited by emeres (2014-08-27 19:36:57)

Offline

#9 2014-08-27 19:54:16

specular
Member
Registered: 2014-08-27
Posts: 9

Re: [SOLVED] No sound with vmware

No, I did install pulseaudio but removed it completely after, so don't think that was the cause. Maybe the volume was too small before and I changed that while attempting to fix things.

Offline

Board footer

Powered by FluxBB