You are not logged in.

#1 2016-09-17 03:35:21

jayendra
Member
Registered: 2016-06-10
Posts: 39

Audio not working and no sign of problem/error

I don't hear any sound from any application, however speaker-test runs fine, without any error.

[jay@alienware ~]$ speaker-test 

speaker-test 1.1.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 192 to 2097152
Period size range from 64 to 699051
Using max buffer size 2097152
Periods = 4
was set period_size = 524288
was set buffer_size = 2097152
 0 - Front Left
Time per period = 10.944493
 0 - Front Left
Time per period = 10.937919
 0 - Front Left
Time per period = 10.936167
 0 - Front Left
Time per period = 10.937515
 0 - Front Left
Time per period = 10.943169
 0 - Front Left
Time per period = 10.936451
 0 - Front Left
Time per period = 10.936177
 0 - Front Left
Time per period = 10.936824
 0 - Front Left
Time per period = 10.936737
 0 - Front Left
Time per period = 10.936397
 0 - Front Left
Time per period = 10.936204
 0 - Front Left
Time per period = 10.936266
 0 - Front Lef

device seems well detected as from here

[jay@alienware ~]$ ls -la /dev/snd/
total 0
drwxr-xr-x   3 root root      340 Sep 17 08:37 .
drwxr-xr-x  20 root root     3220 Sep 17 08:37 ..
drwxr-xr-x   2 root root       60 Sep 17 08:37 by-path
crw-rw----+  1 root audio 116,  2 Sep 17 08:37 controlC0
crw-rw----+  1 root audio 116, 12 Sep 17 08:37 hwC0D0
crw-rw----+  1 root audio 116, 13 Sep 17 08:37 hwC0D2
crw-rw----+  1 root audio 116,  4 Sep 17 08:39 pcmC0D0c
crw-rw----+  1 root audio 116,  3 Sep 17 08:39 pcmC0D0p
crw-rw----+  1 root audio 116,  8 Sep 17 08:39 pcmC0D1c
crw-rw----+  1 root audio 116,  7 Sep 17 08:44 pcmC0D1p
crw-rw----+  1 root audio 116,  5 Sep 17 08:37 pcmC0D2c
crw-rw----+  1 root audio 116,  9 Sep 17 08:39 pcmC0D3p
crw-rw----+  1 root audio 116,  6 Sep 17 08:37 pcmC0D4c
crw-rw----+  1 root audio 116, 10 Sep 17 08:39 pcmC0D7p
crw-rw----+  1 root audio 116, 11 Sep 17 08:39 pcmC0D8p
crw-rw----+  1 root audio 116,  1 Sep 17 08:37 seq
crw-rw----+  1 root audio 116, 33 Sep 17 08:37 timer

List of all devices

[jay@alienware ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CA0132 Analog [CA0132 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: CA0132 Digital [CA0132 Digital]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

looking for processes using the hardware

[jay@alienware ~]$ fuser -fv /dev/snd/* /dev/dsp*
Specified filename /dev/dsp* does not exist.
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  jay        1237 F.... pulseaudio

Last edited by jayendra (2016-09-22 03:05:00)

Offline

#2 2016-09-17 05:41:41

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,778

Re: Audio not working and no sign of problem/error

Do you have pulseaudio installed?
If yes, do you have pulseaudio-alsa installed?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2016-09-17 07:42:37

jayendra
Member
Registered: 2016-06-10
Posts: 39

Re: Audio not working and no sign of problem/error

yes both are there

[jay@alienware ~]$ pacman -Qs pulseaudio
local/libcanberra-pulse 0.30-7
    PulseAudio plugin for libcanberra
local/pulseaudio 9.0-1
    A featureful, general-purpose sound server
local/pulseaudio-alsa 2-3
    ALSA Configuration for PulseAudio
[jay@alienware ~]$ pacman -Qs pulseaudio-alsa
local/pulseaudio-alsa 2-3
    ALSA Configuration for PulseAudio

Offline

#4 2016-09-17 09:17:18

jayendra
Member
Registered: 2016-06-10
Posts: 39

Re: Audio not working and no sign of problem/error

I tried the following two things

https://wiki.archlinux.org/index.php/Pu … dio_device
everything is at level 00,

and
https://wiki.archlinux.org/index.php/Ad … ter_reboot
I got this

[jay@alienware ~]$ alsactl restore
alsactl: state_lock:125: file /var/lib/alsa/asound.state lock error: File exists
alsactl: load_state:1683: Cannot open /var/lib/alsa/asound.state for reading: File exists
alsactl: sysfs_init:48: sysfs path '/sys' is invalid

Found hardware: "HDA-Intel" "Creative CA0132" "HDA:11020011,10280708,00100918 HDA:80862809,80860101,00100000" "0x1028" "0x0708"
Hardware is initialized using a generic method


I tried to alsactl restore with sudo too, it doesn't gave any error yet no sound.

Last edited by jayendra (2016-09-18 02:44:19)

Offline

#5 2016-09-17 14:02:32

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,914

Re: Audio not working and no sign of problem/error

alsactl needs to be run as root , not as user.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2016-09-17 23:08:30

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: Audio not working and no sign of problem/error

is pulseaudio running?

ps -fC pulseaudio

Offline

#7 2016-09-18 02:45:43

jayendra
Member
Registered: 2016-06-10
Posts: 39

Re: Audio not working and no sign of problem/error

yes it is running, but don't know why there are two such processes

[jay@alienware ~]$ ps -fC pulseaudio
UID        PID  PPID  C STIME TTY          TIME CMD
gdm       3755  3689  0 08:10 ?        00:00:00 /usr/bin/pulseaudio --daemonize=
jay       3905  3799  0 08:10 ?        00:00:00 /usr/bin/pulseaudio --daemonize=

Offline

#8 2016-09-18 09:16:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,678

Re: Audio not working and no sign of problem/error

Do you get sound from that speaker-test? Or does it just run and no sound?

Is this a Creative Soundcore 3D or similar? They don't have any official drivers, there's somewhat of a chance that your headset port might work, but for cases where it works the pin layout is hardcoded for specific hardware, if your hardware is not in that list you are somewhat screwed. One thing you can try is trying to get a correct setup with hdajackretask and/or loading the snd_hda_intel module with the position_fix=1 parameter with an entry in modprobe.d

If I'm misinterpreting and you actually get sound from the speaker-test post

pacmd list-cards
pacmd list-sinks
pacmd list-sink-inputs #While playing something

(Side-info: You should run fuser commands as root/with sudo, otherwise you will only find applications where your own user has access, which is mostly useless in debugging problems that could arise from multiple users accessing a soundcard)

Last edited by V1del (2016-09-18 09:19:06)

Offline

#9 2016-09-18 13:49:46

jayendra
Member
Registered: 2016-06-10
Posts: 39

Re: Audio not working and no sign of problem/error

no I am not getting sound when doing speaker-test but it also doesn't show any error.

yes it is Creative soundcore3d, this is spec from dell site

Creative Sound Core3D-EX Audio with Creative Soundblaster Pro Studio Software
2.0 Speaker configuration
Audio Powered by Klipsch®
7.1 Digtial Audio out using HDMI out connection

that 3.5mm jack port(headphones) is not working too, but that is the problem since installation, inbuilt speakers were working, but they accidentally stopped few days ago.

[jay@alienware ~]$ pacmd list-cards
1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_1f.3>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xdd128000 irq 129"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "a170"
		device.product.name = "Sunrise Point-H HD Audio"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
		input:iec958-stereo: Digital Stereo (IEC958) Input (priority 55, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
		output:analog-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (priority 6055, available: unknown)
		output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5560, available: unknown)
		output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (priority 5555, available: unknown)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: unknown)
		output:hdmi-stereo+input:iec958-stereo: Digital Stereo (HDMI) Output + Digital Stereo (IEC958) Input (priority 5455, available: unknown)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: unknown)
		output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
		output:hdmi-surround+input:iec958-stereo: Digital Surround 5.1 (HDMI) Output + Digital Stereo (IEC958) Input (priority 355, available: unknown)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: unknown)
		output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
		output:hdmi-surround71+input:iec958-stereo: Digital Surround 7.1 (HDMI) Output + Digital Stereo (IEC958) Input (priority 355, available: unknown)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: unknown)
		output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5260, available: unknown)
		output:hdmi-stereo-extra1+input:iec958-stereo: Digital Stereo (HDMI 2) Output + Digital Stereo (IEC958) Input (priority 5255, available: unknown)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 100, available: unknown)
		output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-surround-extra1+input:iec958-stereo: Digital Surround 5.1 (HDMI 2) Output + Digital Stereo (IEC958) Input (priority 155, available: unknown)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 100, available: unknown)
		output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-surround71-extra1+input:iec958-stereo: Digital Surround 7.1 (HDMI 2) Output + Digital Stereo (IEC958) Input (priority 155, available: unknown)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: unknown)
		output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (priority 5260, available: unknown)
		output:hdmi-stereo-extra2+input:iec958-stereo: Digital Stereo (HDMI 3) Output + Digital Stereo (IEC958) Input (priority 5255, available: unknown)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: unknown)
		output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-surround-extra2+input:iec958-stereo: Digital Surround 5.1 (HDMI 3) Output + Digital Stereo (IEC958) Input (priority 155, available: unknown)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: unknown)
		output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-surround71-extra2+input:iec958-stereo: Digital Surround 7.1 (HDMI 3) Output + Digital Stereo (IEC958) Input (priority 155, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:iec958-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1f.3.iec958-stereo/#0: Built-in Audio Digital Stereo (IEC958)
	sources:
		alsa_output.pci-0000_00_1f.3.iec958-stereo.monitor/#0: Monitor of Built-in Audio Digital Stereo (IEC958)
		alsa_input.pci-0000_00_1f.3.analog-stereo/#1: Built-in Audio Analog Stereo
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		iec958-stereo-input: Digital Input (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
		analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: yes)
			properties:
				
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
[jay@alienware ~]$ pacmd list-sinks
1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1f.3.iec958-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: 
	priority: 9958
	volume: front-left: 52247 /  80% / -5.91 dB,   front-right: 52247 /  80% / -5.91 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 1699.25 ms
	max request: 344 KiB
	max rewind: 344 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 2000.00 ms; range is 0.50 .. 2000.00 ms
	card: 0 <alsa_card.pci-0000_00_1f.3>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "CA0132 Digital"
		alsa.id = "CA0132 Digital"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "1"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xdd128000 irq 129"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "a170"
		device.product.name = "Sunrise Point-H HD Audio"
		device.form_factor = "internal"
		device.string = "iec958:0"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "iec958-stereo"
		device.profile.description = "Digital Stereo (IEC958)"
		device.description = "Built-in Audio Digital Stereo (IEC958)"
		alsa.mixer_name = "Creative CA0132"
		alsa.components = "HDA:11020011,10280708,00100918 HDA:80862809,80860101,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <iec958-stereo-output>
[jay@alienware ~]$ pacmd list-sink-inputs 
1 sink input(s) available.
    index: 15
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	sink: 0 <alsa_output.pci-0000_00_1f.3.iec958-stereo>
	volume: front-left: 68813 / 105% / 1.27 dB,   front-right: 68813 / 105% / 1.27 dB,   rear-left: 68813 / 105% / 1.27 dB,   rear-right: 68813 / 105% / 1.27 dB,   front-center: 68813 / 105% / 1.27 dB,   lfe: 68813 / 105% / 1.27 dB
	        balance 0.00
	muted: no
	current latency: 1018.62 ms
	requested latency: 40.00 ms
	sample spec: float32le 6ch 48000Hz
	channel map: front-left,front-right,rear-left,rear-right,front-center,lfe
	             Surround 5.1
	resample method: copy
	module: 8
	client: 11 <VLC media player (LibVLC 2.2.4)>
	properties:
		media.role = "video"
		media.name = "audio stream"
		application.name = "VLC media player (LibVLC 2.2.4)"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "31"
		application.id = "org.VideoLAN.VLC"
		application.version = "2.2.4"
		application.icon_name = "vlc"
		application.language = "en_US.UTF-8"
		application.process.id = "2459"
		application.process.user = "jay"
		application.process.host = "alienware"
		application.process.binary = "vlc"
		window.x11.display = ":0"
		application.process.machine_id = "11b77290a2ad41b784cb5d2ddc635159"
		application.process.session_id = "c2"
		module-stream-restore.id = "sink-input-by-media-role:video"
V1del wrote:

Side-info: You should run fuser commands as root/with sudo, otherwise you will only find applications where your own user has access, which is mostly useless in debugging problems that could arise from multiple users accessing a soundcard

Thanks for tip I will keep that in mind.

Last edited by jayendra (2016-09-18 13:50:29)

Offline

#10 2016-09-18 15:39:41

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,778

Re: Audio not working and no sign of problem/error

Have you installed pavucontrol  ?  It is a handy tool that, unlike many GUIs, does a good job of being discoverable and intuitive.  That tool has several controls you can quickly tweak to try to get sound.  More importantly, it will show you all the programs that are trying to produce sound, show you an individual volume control for each program, and will show an audio level indicator for each audio source.

Fire that program up and ensure your sound generating programs are represented, and that their audio meters are "bouncing".  Once that is working, if there is still no audio, there are similar controls for the back end.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#11 2016-09-18 22:29:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,678

Re: Audio not working and no sign of problem/error

Just from pulse's side, you are currently playing to the SPDIF output which is unlikely to be what you want, switch that

pacmd set-card-profile alsa_card.pci-0000_00_1f.3 output:analog-stereo+input:analog-stereo

Further than that I second the notion on getting familiar with pavucontrol.

Last edited by V1del (2016-09-18 22:30:47)

Offline

#12 2016-09-20 02:27:23

jayendra
Member
Registered: 2016-06-10
Posts: 39

Re: Audio not working and no sign of problem/error

Thanks V1del switching with

pacmd set-card-profile alsa_card.pci-0000_00_1f.3 output:analog-stereo+input:analog-stereo

worked.
what is the difference between analog-stereo and SPDIF. I read about SPDIF on wikipedia but it is still not clear.
Still head-phones are not working, after plugging it sound still comes from internal speaker.

Offline

#13 2016-09-20 07:31:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,678

Re: Audio not working and no sign of problem/error

Headphones not working is likely a limitation of the drivers for this card. SPDIF is for digital output, often for external audio appliances (big surround systems for example) that want the audio in digital format and convert them to analog themselves. But the speakers in your laptop are hooked to the card with analog, so you want to have the profile set to analog.

If the thread is solved for you, don^t forget to prepend the title with [SOLVED] or similar.

Offline

#14 2016-09-22 03:08:17

jayendra
Member
Registered: 2016-06-10
Posts: 39

Re: Audio not working and no sign of problem/error

it stopped working again, even though sink is analog-stereo (instead of SPIF).
haven't updated the system.

[jay@alienware ~]$ pacmd list-sinks
1 sink(s) available.
  * index: 8
	name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: 
	priority: 9959
	volume: front-left: 33852 /  52% / -17.21 dB,   front-right: 33852 /  52% / -17.21 dB
	        balance 0.00
	base volume: 46396 /  71% / -9.00 dB
	volume steps: 65537
	muted: no
	current latency: 1616.72 ms
	max request: 344 KiB
	max rewind: 344 KiB
	monitor source: 9
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 2000.00 ms; range is 0.50 .. 2000.00 ms
	card: 0 <alsa_card.pci-0000_00_1f.3>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "CA0132 Analog"
		alsa.id = "CA0132 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xdd128000 irq 129"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "a170"
		device.product.name = "Sunrise Point-H HD Audio"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Creative CA0132"
		alsa.components = "HDA:11020011,10280708,00100918 HDA:80862809,80860101,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: yes)
			properties:
				
	active port: <analog-output-lineout>

Last edited by jayendra (2016-09-22 03:09:06)

Offline

#15 2016-09-22 07:38:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,678

Re: Audio not working and no sign of problem/error

Repost fuser (with root rights this time) and pacmd list-sink-inputs

Offline

#16 2016-09-22 08:36:21

jayendra
Member
Registered: 2016-06-10
Posts: 39

Re: Audio not working and no sign of problem/error

[jay@alienware ~]$ sudo fuser -fv /dev/snd/* /dev/dsp*
[sudo] password for jay: 
Specified filename /dev/dsp* does not exist.
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  gdm        3771 F.... pulseaudio
                     jay        3922 F.... pulseaudio
[jay@alienware ~]$ pacmd list-sink-inputs 
1 sink input(s) available.
    index: 81
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	sink: 0 <alsa_output.pci-0000_00_1f.3.analog-stereo>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 53.29 ms
	requested latency: 23.22 ms
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	resample method: (null)
	module: 8
	client: 16 <Chrome>
	properties:
		application.icon_name = "google-chrome"
		media.name = "Playback"
		application.name = "Chrome"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "31"
		application.process.id = "9761"
		application.process.user = "jay"
		application.process.host = "alienware"
		application.process.binary = "chrome"
		window.x11.display = ":0"
		application.language = "en_US.UTF-8"
		application.process.machine_id = "11b77290a2ad41b784cb5d2ddc635159"
		application.process.session_id = "c2"
		module-stream-restore.id = "sink-input-by-application-name:Chrome"

Offline

#17 2016-09-22 15:44:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,678

Re: Audio not working and no sign of problem/error

That looks correct, do you get a DSP initialization failure or similar in dmesg? Another thing, since the stream starts corked, do you have some kind of recording software open that might cork your streams? What does

pacmd list-sources
pacmd list-source-outputs

give?

Offline

#18 2016-09-22 17:28:19

jayendra
Member
Registered: 2016-06-10
Posts: 39

Re: Audio not working and no sign of problem/error

WTF!! it is working now, weird !! I ran upgrade and only following things got updated, none of them are audio related.

3999 [2016-09-22 12:23] [ALPM] upgraded wayland (1.11.0-1 -> 1.12.0-1)
4000 [2016-09-22 12:23] [ALPM] upgraded libjpeg-turbo (1.5.0-1 -> 1.5.1-1)
4001 [2016-09-22 12:23] [ALPM] upgraded ffmpeg (1:3.1.3-1 -> 1:3.1.3-2)
4002 [2016-09-22 12:23] [ALPM] upgraded firefox (48.0.2-1 -> 49.0-1)
4003 [2016-09-22 12:23] [ALPM] upgraded linux-firmware (20160730.6bc2c60-1 -> 20160915.c4c07a8-1)
4004 [2016-09-22 12:23] [ALPM] upgraded nmap (7.12-1 -> 7.12-2)
4005 [2016-09-22 12:23] [ALPM] upgraded npm (3.10.7-1 -> 3.10.8-1)
4006 [2016-09-22 12:23] [ALPM] upgraded python-setuptools (1:27.2.0-1 -> 1:27.3.0-1)
4007 [2016-09-22 12:23] [ALPM] upgraded python2-setuptools (1:27.2.0-1 -> 1:27.3.0-1)
4008 [2016-09-22 12:23] [ALPM] upgraded xl2tpd (1.3.7-1 -> 1.3.8-1)

now waiting for next time till, it stop working!!

Offline

#19 2016-09-22 17:38:34

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,678

Re: Audio not working and no sign of problem/error

check your dmesg next time this happens, there's a chance that the driver fails to load the DSP module and it's somewhat random when/if this happens and might be mitigated by rebooting or similar. As mentioned this driver is highly finicky and unless creative starts to help out I don't see this changing anytime soon.

Offline

#20 2016-09-23 12:56:20

bgenc
Member
Registered: 2016-09-23
Posts: 7

Re: Audio not working and no sign of problem/error

Hi all,

I didn't want to open a new topic with the same problem and since it appears the original problem was solved, I thought maybe I can hijack this one.
Today I lost all HDMI sound output from my PC after an update. Normally I get sound from NVidia HDMI Audio to my monitor's speakers. It used to work.
I feel like it is something about the configuration but I am not expert enough to understand the details.

I had pulseaudo-equalizer installed and thought that may be the source of the problem and uninstalled it.
Nothing changed. I have pavucontrol installed. When I play a video in firefox, pavucontrol shows a "cubebutils" stream
and the signal bar is acting like normal. However I hear no sound.

When I do left/right speaker test from the sound control dialog, I hear nothing.

When I plug speakers to the analog output, and switch the sound output from HDMI to analog, I can hear sound from
the speakers. When I switch back to HDMI, I get no sound at all without any warnings or errors.
Oh, and the monitor's sound levels are at maximum and nothing is muted smile

Here are some possibly helpful outputs:

lspci:

00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
01:00.1 Audio device: NVIDIA Corporation Device 0fbc (rev a1)

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

aplay -L

null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC887-VD Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output

pulseaudio --start

N: [pulseaudio] main.c: User-configured server at {bdae522e7f13446c9bb701c8b3f141f7}unix:/run/user/1000/pulse/native, which appears to be local. Probing deeper.

Offline

#21 2016-09-23 13:11:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,678

Re: Audio not working and no sign of problem/error

Please don't hijack threads, your problem has nothing to do with the OPs problem, and make sure to use code tags instead of quote tags.when you open a new topic. Post the information I've asked for here as well.

Last edited by V1del (2016-09-23 13:19:47)

Offline

#22 2016-09-23 14:22:40

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,778

Re: Audio not working and no sign of problem/error

I concur with V1del.  Please feel free to start a new thread.  If you really feel this thread is relevant, go ahead and link back to this one.

Thanks.

I am going to close this thread now.  jayendra, if yo should need it reopened, please use the report link for the thread and drop the moderators a note.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB