You are not logged in.

#1 2015-08-27 10:53:06

linlz
Member
Registered: 2015-08-27
Posts: 6

[SOLVED] No sound on arch linux

Hello,
I cant get my sound to work on arch linux.
I've tried stuff from other post but nothing has helped.
For example:
fluidsynth and timidity++ are not installed.

Reinstalled pulseadio and pulseaudio-alsa

Removed pulse config
rm -r ~/.config/pulse; pulseaudio -k

Disabled automute

nano /etc/libao.conf
And changed alsa to pulse

$ bash alsa-info.sh --upload
http://www.alsa-project.org/db/?f=41230 … 62af90c4f9

$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM Controller [8086:0154] (rev 09)
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4)
00:1c.1 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 [8086:1e12] (rev c4)
00:1c.3 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 [8086:1e16] (rev c4)
00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation HM76 Express Chipset LPC Controller [8086:1e59] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107M [GeForce GT 650M] [10de:0fd1] (rev ff)
03:00.0 Network controller [0280]: Qualcomm Atheros AR9485 Wireless Network Adapter [168c:0032] (rev 01)
04:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8161 Gigabit Ethernet [1969:1091] (rev 10)

$ pacmd list-sink-inputs
0 sink input(s) available.

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC663 Analog [ALC663 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC663 Digital [ALC663 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ pulseaudio -k; pulseaudio -vvvvv
http://pastebin.com/X6yRevNM

Hope someone can help me getting sound to work.

Regards
Linlz

Last edited by linlz (2015-08-27 12:55:02)

Offline

#2 2015-08-27 11:06:15

bu.domino
Member
Registered: 2012-11-22
Posts: 15

Re: [SOLVED] No sound on arch linux

Stupid question, but can you access pavucontrol if you're using pulseaudio?

Offline

#3 2015-08-27 11:10:02

linlz
Member
Registered: 2015-08-27
Posts: 6

Re: [SOLVED] No sound on arch linux

I just installed it.
And I can open it. It even shows that there is coming sound when playing something in vlc.
But no sound from the speakers.

Last edited by linlz (2015-08-27 11:10:24)

Offline

#4 2015-08-27 11:17:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: [SOLVED] No sound on arch linux

How do you determine that it doesn't work, what are you trying to play? Output of

# fuser -v /dev/snd/*

should shed some light


Edit: are you on the wrong port? switch to the configuration tab in pavucontrol and check that the correct port is used (sanity check: are all cables correctly plugged in too?)

Last edited by V1del (2015-08-27 11:19:54)

Offline

#5 2015-08-27 11:22:07

linlz
Member
Registered: 2015-08-27
Posts: 6

Re: [SOLVED] No sound on arch linux

Ive tried all ports but i didnt help. (Should i restart the sound application each time i change the port?)

$ fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  jp          603 F.... panel-1-mixer
                     jp         2703 F.... pulseaudio
/dev/snd/pcmC0D0c:   jp         2703 F...m pulseaudio
/dev/snd/pcmC0D0p:   jp         2703 F...m pulseaudio


I try playing a movie in VLC. - And ive tried playing from youtube through chrome.
It's a laptop so no cables. And the sound does work in Windows. I've also tried to plugin a headset but no sound there either.

Last edited by linlz (2015-08-27 11:38:26)

Offline

#6 2015-08-27 12:04:13

bu.domino
Member
Registered: 2012-11-22
Posts: 15

Re: [SOLVED] No sound on arch linux

So it's not muted at all even in amixer or pavucontrol? Does it work in live discs of other distros?

Offline

#7 2015-08-27 12:17:08

linlz
Member
Registered: 2015-08-27
Posts: 6

Re: [SOLVED] No sound on arch linux

It works out of the box in elementary os.
Nothing is muted in alsamixer or pavucontrol. Or the xfce4 icon plugin.

Last edited by linlz (2015-08-27 12:20:01)

Offline

#8 2015-08-27 12:18:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: [SOLVED] No sound on arch linux

can you give

pacmd list-cards
pacmd list-sinks

in [ code ]-tags please?

Offline

#9 2015-08-27 12:21:41

linlz
Member
Registered: 2015-08-27
Posts: 6

Re: [SOLVED] No sound on arch linux

$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 0xf7a10000 irq 28"
		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/C210 Series Chipset Family High Definition Audio Controller (N56VZ)"
		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:analog-surround-21: Analog Surround 2.1 Output (priority 800, available: unknown)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 860, available: unknown)
		output:analog-surround-40: Analog Surround 4.0 Output (priority 700, available: unknown)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760, 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)
		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"
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:

$ 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 FLAT_VOLUME DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9959
	volume: front-left: 53072 /  81% / -5,50 dB,   front-right: 53072 /  81% / -5,50 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: 0
	configured latency: 0,00 ms; range is 0,50 .. 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 = "ALC663 Analog"
		alsa.id = "ALC663 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 0xf7a10000 irq 28"
		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/C210 Series Chipset Family High Definition Audio Controller (N56VZ)"
		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 = "Realtek ALC663"
		alsa.components = "HDA:10ec0663,10431477,00100002"
		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>

Offline

#10 2015-08-27 12:26:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: [SOLVED] No sound on arch linux

muted: yes

Go to pavucontrol to the output devices tab and unmute... kill xfce's panel mixer to be sure that it doesn't interfere

Last edited by V1del (2015-08-27 12:29:25)

Offline

#11 2015-08-27 12:29:20

linlz
Member
Registered: 2015-08-27
Posts: 6

Re: [SOLVED] No sound on arch linux

Oh. How come all other places it says unmuted?
Now i got sound so thank you very much!

Offline

#12 2015-08-27 12:34:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: [SOLVED] No sound on arch linux

The other sources refer to alsa devices the vol level of those doesn't necessarily have a correlation with the volume of the pulse sink. On a related note, how many mixers do you see in the other places? One? That's the general pulseaudio-alsa mixer which doesn't correlate with any actual physical sink. To see the actual card (which likely was muted in alsamixer as well) open it up with

alsamixer -Dhw:0

Don't forget to prepend solved to the thread of the title.

Last edited by V1del (2015-08-27 12:36:33)

Offline

Board footer

Powered by FluxBB