You are not logged in.

#1 2017-11-25 14:11:13

capstayn
Member
Registered: 2017-11-25
Posts: 13

[SOLVED] No audio after update

After an update sound stopped working in any application of my laptop. I've browsed for fixes in Archlinux forums, but to no avail.

Here some info for debugging:

% lspci | grep Audio

00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)

speaker-test -D default:PCH -c 2


speaker-test 1.1.5

Playback device is default:PCH
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
0 - Front Left
1 - Front Right
Time per period = 5.652913
0 - Front Left
1 - Front Right
Time per period = 5.973537
0 - Front Left

% bash alsa-info.sh --upload

url with the info:

http://www.alsa-project.org/db/?f=47a91 … b3a0bf7a57

I could post as well ouputs from aplay, /dev/snd, fuser, lsmod if requested, although I believe the alsa-info url has it all.

AFAIK everything seems to be fine and I don't see any error. I have unmuted the Master in alsamixer and tried a variety of things on alsamixer, but it won't work.

Last edited by capstayn (2017-11-26 00:18:54)

Offline

#2 2017-11-25 17:58:32

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED] No audio after update

What was updated?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2017-11-25 19:42:30

capstayn
Member
Registered: 2017-11-25
Posts: 13

Re: [SOLVED] No audio after update

I believe the update that made the audio mute was this:

[2017-11-18 01:42] [ALPM] installed libidn2 (2.0.4-2)

Then I reinstalled pulseaudio:

[2017-11-18 01:50] [ALPM] reinstalled pulseaudio (11.1-1)

And today I did another update before running the commands posted above, just in case:

[2017-11-25 14:06] [ALPM] installed libfreehand (0.1.2-1)
[2017-11-25 14:06] [ALPM] installed libstaroffice (0.0.5-1)
[2017-11-25 14:31] [ALPM] installed jemalloc (1:5.0.1-3)
[2017-11-25 14:31] [ALPM] installed unibilium (1.2.1-1)
[2017-11-25 14:31] [ALPM] installed libtermkey (0.20-1)
[2017-11-25 14:31] [ALPM] installed libuv (1.16.1-1)
[2017-11-25 14:31] [ALPM] installed msgpack-c (2.1.5-1)
[2017-11-25 14:31] [ALPM] installed libvterm (0.1.git1.c4317a6-2)
[2017-11-25 14:31] [ALPM] installed luajit (2.0.5-1)

I also installed neovim, but I don't think that matters:

[2017-11-25 14:31] [ALPM] installed neovim (0.2.2-1)
[2017-11-25 14:33] [ALPM] installed xsel (1.2.0.20160929-1)
[2017-11-25 14:34] [ALPM] reinstalled neovim (0.2.2-1)

Last edited by capstayn (2017-11-25 19:55:57)

Offline

#4 2017-11-25 21:09:17

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED] No audio after update

Why do you think libidn2  affects your audio?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#5 2017-11-25 21:23:42

capstayn
Member
Registered: 2017-11-25
Posts: 13

Re: [SOLVED] No audio after update

Oh, I don't think it does. In fact, I looked into it and it doesn't have anything to do with audio at all. But everything worked up to that update. Prior to this update I installed these packages:

[2017-11-04 14:47] [ALPM] installed python-parso (0.1.0-1)
[2017-11-04 14:47] [ALPM] installed python-jedi (0.11.0-1)
[2017-11-16 01:10] [ALPM] installed dropbox (39.4.49-1)

But I believe that audio was working after these installs. And they don't have anything to do with audio in any case.

I mean, if an update didn't make audio stop working, what did it? I hadn't touched any audio configuration file, and I reinstalled pulseaudio when I noticed this problem. What other packages should I reinstall to restore the audio system to a fresh install state?

Last edited by capstayn (2017-11-25 21:24:40)

Offline

#6 2017-11-25 23:11:31

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

Re: [SOLVED] No audio after update

If you use pulseaudio posting

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

might also help in tracking this down.

Also please use [ code ] tags for pasting command output.

Offline

#7 2017-11-25 23:47:41

capstayn
Member
Registered: 2017-11-25
Posts: 13

Re: [SOLVED] No audio after update

Sure:

 %pacmd list-cards
1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_1b.0>
	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 0xf7f10000 irq 31"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "1e20"
		device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller"
		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)
		output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: no)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: unknown)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: no)
		output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: no)
		output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Built-in Audio Analog Stereo
	sources:
		alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
		alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Built-in Audio Analog Stereo
	ports:
		analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
 % pacmd list-sinks
1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9039
	volume: front-left: 37930 /  58% / -14.25 dB,   front-right: 37930 /  58% / -14.25 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: yes
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 1
	configured latency: 0.00 ms; range is 2.00 .. 1837.50 ms
	card: 0 <alsa_card.pci-0000_00_1b.0>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "92HD91BXX Analog"
		alsa.id = "92HD91BXX 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 0xf7f10000 irq 31"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "1e20"
		device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller"
		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 = "IDT 92HD91BXX"
		alsa.components = "HDA:111d76e0,1028057e,00100102 HDA:80862806,80860101,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-speaker>
 % pacmd list-sink-inputs
2 sink input(s) available.
    index: 1
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: CORKED
	sink: 0 <alsa_output.pci-0000_00_1b.0.analog-stereo>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 93.17 ms
	requested latency: 25.00 ms
	sample spec: float32le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	resample method: copy
	module: 8
	client: 2 <Firefox>
	properties:
		media.name = "AudioStream"
		application.name = "Firefox"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "832"
		application.process.user = "pedro"
		application.process.host = "krakow"
		application.process.binary = "firefox"
		application.language = "en_GB.utf8"
		window.x11.display = ":0"
		application.process.machine_id = "b23afa885eab458988544577a6058402"
		application.process.session_id = "c2"
		application.icon_name = "firefox"
		module-stream-restore.id = "sink-input-by-application-name:Firefox"
    index: 44
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	sink: 0 <alsa_output.pci-0000_00_1b.0.analog-stereo>
	volume: front-left: 76677 / 117% / 4.09 dB,   front-right: 76677 / 117% / 4.09 dB,   rear-left: 76677 / 117% / 4.09 dB,   rear-right: 76677 / 117% / 4.09 dB,   front-center: 76677 / 117% / 4.09 dB,   lfe: 76677 / 117% / 4.09 dB
	        balance 0.00
	muted: no
	current latency: 386.50 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: 31 <VLC media player (LibVLC 2.2.6)>
	properties:
		media.role = "video"
		media.name = "audio stream"
		application.name = "VLC media player (LibVLC 2.2.6)"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.id = "org.VideoLAN.VLC"
		application.version = "2.2.6"
		application.icon_name = "vlc"
		application.language = "en_GB.utf8"
		application.process.id = "28603"
		application.process.user = "pedro"
		application.process.host = "krakow"
		application.process.binary = "vlc"
		window.x11.display = ":0"
		application.process.machine_id = "b23afa885eab458988544577a6058402"
		application.process.session_id = "c2"
		module-stream-restore.id = "sink-input-by-media-role:video"

Thanks for the [ code ] tags advice

Last edited by capstayn (2017-11-25 23:48:20)

Offline

#8 2017-11-26 00:15:40

capstayn
Member
Registered: 2017-11-25
Posts: 13

Re: [SOLVED] No audio after update

I noticed that sink <0> was muted, in the ouput of

 pacmd list-sinks 

So I went again to pulseAudio troubleshooting page, and with the help of Muted Audio Device and Output stuck muted while... I got audio back on.

Even though I still don't know why I got my audio device muted, I know how to fix it so I'll mark this thread as solved.

Many thanks for the support.

Last edited by capstayn (2017-11-26 00:16:06)

Offline

Board footer

Powered by FluxBB