You are not logged in.

#1 2015-11-13 18:10:43

slyfoxbr
Member
Registered: 2015-11-13
Posts: 10

[SOLVED] Can't get sound to work

I am using a fresh install of Arch Linux and I can't seem to get the sound working.

I've tried installing alsa-utils and unmuting the Master sound, but that didn't work. I don't even hear the beep from the sound card in the terminal.

Help getting the sound to work would be appreciated
Thanks!

Some infos:
lspci -nn

$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00] (rev 06)
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
00:14.0 USB controller [0c03]: Intel Corporation 9 Series Chipset Family USB xHCI Controller [8086:8cb1]
00:16.0 Communication controller [0780]: Intel Corporation 9 Series Chipset Family ME Interface #1 [8086:8cba]
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I218-V [8086:15a1]
00:1a.0 USB controller [0c03]: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2 [8086:8cad]
00:1b.0 Audio device [0403]: Intel Corporation 9 Series Chipset Family HD Audio Controller [8086:8ca0]
00:1c.0 PCI bridge [0604]: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 [8086:8c90] (rev d0)
00:1c.6 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev d0)
00:1d.0 USB controller [0c03]: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1 [8086:8ca6]
00:1f.0 ISA bridge [0601]: Intel Corporation 9 Series Chipset Family Z97 LPC Controller [8086:8cc4]
00:1f.2 SATA controller [0106]: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode] [8086:8c82]
00:1f.3 SMBus [0c05]: Intel Corporation 9 Series Chipset Family SMBus Controller [8086:8ca2]
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM200 [GeForce GTX 980 Ti] [10de:17c8] (rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:0fb0] (rev a1)
03:00.0 PCI bridge [0604]: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge [1b21:1080] (rev 03)

aplay -L

$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
    HDA Intel PCH, ALC892 Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC892 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Digital
    IEC958 (S/PDIF) Digital Audio Output
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
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output

aplay -l

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
  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
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

lsmod

$ lsmod
Module                  Size  Used by
cfg80211              466944  0
rfkill                 20480  2 cfg80211
nls_iso8859_1          16384  1
nls_cp437              20480  1
intel_rapl             20480  0
iosf_mbi               16384  1 intel_rapl
vfat                   20480  1
fat                    65536  1 vfat
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
kvm_intel             163840  0
kvm                   446464  1 kvm_intel
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
snd_hda_codec_realtek    73728  1
nvidia               8622080  91
crc32c_intel           24576  0
snd_hda_codec_hdmi     49152  1
snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
aesni_intel           167936  0
aes_x86_64             20480  1 aesni_intel
lrw                    16384  1 aesni_intel
uas                    24576  0
usb_storage            61440  1 uas
mousedev               20480  0
input_leds             16384  0
joydev                 20480  0
evdev                  24576  10
mxm_wmi                16384  0
gf128mul               16384  1 lrw
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
snd_hda_intel          32768  0
snd_hda_codec         106496  4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
snd_soc_rt5640        106496  0
snd_soc_rl6231         16384  1 snd_soc_rt5640
snd_soc_core          159744  1 snd_soc_rt5640
snd_compress           20480  1 snd_soc_core
snd_hda_core           49152  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_hwdep              16384  1 snd_hda_codec
ac97_bus               16384  1 snd_soc_core
snd_pcm                86016  7 snd_soc_rt5640,snd_soc_core,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_pcm_dmaengine,snd_hda_core
snd_timer              28672  1 snd_pcm
snd                    65536  10 snd_hda_codec_realtek,snd_soc_core,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_compress
soundcore              16384  1 snd
mac_hid                16384  0
nuvoton_cir            20480  0
drm                   286720  4 nvidia
glue_helper            16384  1 aesni_intel
rc_core                24576  1 nuvoton_cir
mei_me                 24576  0
psmouse               118784  0
serio_raw              16384  0
tpm_tis                20480  0
pcspkr                 16384  0
mei                    77824  1 mei_me
ablk_helper            16384  1 aesni_intel
cryptd                 20480  2 aesni_intel,ablk_helper
snd_soc_sst_acpi       16384  0
e1000e                217088  0
battery                20480  0
tpm                    32768  1 tpm_tis
lpc_ich                24576  0
shpchp                 32768  0
ptp                    20480  1 e1000e
pps_core               20480  1 ptp
i2c_i801               20480  0
video                  32768  0
i2c_hid                20480  0
dw_dmac                16384  0
dw_dmac_core           24576  1 dw_dmac
8250_dw                16384  0
gpio_lynxpoint         16384  0
i2c_designware_platform    16384  0
i2c_designware_core    16384  1 i2c_designware_platform
spi_pxa2xx_platform    24576  0
acpi_pad               20480  0
processor              32768  0
button                 16384  0
wmi                    20480  1 mxm_wmi
sch_fq_codel           20480  2
ip_tables              28672  0
x_tables               28672  1 ip_tables
ext4                  507904  2
crc16                  16384  1 ext4
mbcache                20480  1 ext4
jbd2                   90112  1 ext4
hid_generic            16384  0
usbhid                 45056  0
hid                   114688  3 i2c_hid,hid_generic,usbhid
sr_mod                 24576  0
cdrom                  49152  1 sr_mod
sd_mod                 36864  5
atkbd                  24576  0
libps2                 16384  2 atkbd,psmouse
ahci                   36864  4
libahci                28672  1 ahci
libata                196608  2 ahci,libahci
ehci_pci               16384  0
xhci_pci               16384  0
scsi_mod              147456  5 uas,usb_storage,libata,sd_mod,sr_mod
ehci_hcd               69632  1 ehci_pci
xhci_hcd              155648  1 xhci_pci
usbcore               196608  7 uas,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
usb_common             16384  1 usbcore
i8042                  24576  1 libps2
serio                  20480  6 serio_raw,atkbd,i8042,psmouse
sdhci_acpi             16384  0
sdhci                  40960  1 sdhci_acpi
led_class              16384  2 sdhci,input_leds
mmc_core              110592  2 sdhci,sdhci_acpi

Last edited by slyfoxbr (2015-11-14 19:56:27)

Offline

#2 2015-11-14 02:07:20

Awebb
Member
Registered: 2010-05-06
Posts: 6,311

Re: [SOLVED] Can't get sound to work

Please describe what's going on between your soundcard and the speakers. If it's HDMI sound, you might need X to convince it to play sound.

Offline

#3 2015-11-14 14:24:56

slyfoxbr
Member
Registered: 2015-11-13
Posts: 10

Re: [SOLVED] Can't get sound to work

I have my headphones connected to the headphones jack.

Offline

#4 2015-11-14 14:34:28

Awebb
Member
Registered: 2010-05-06
Posts: 6,311

Re: [SOLVED] Can't get sound to work

Before we dive too deep into console commands, try alsamixer (the ncurse interface), press F6 and select the correct output.

Offline

#5 2015-11-14 18:00:47

slyfoxbr
Member
Registered: 2015-11-13
Posts: 10

Re: [SOLVED] Can't get sound to work

Awebb wrote:

Before we dive too deep into console commands, try alsamixer (the ncurse interface), press F6 and select the correct output.

Pressing F6 shows me two devices: HDA Intel PCH, HDA Nvidia.

The HDA Intel PCH in alsa mixer has various items and Master is all the way up to 100. So is headphones.
The Nvidia device, however, has only four items: S/PDIF, S/PDIF 1, S/PDIF 2 and S/PDIF 3. They show up as MM's in the mixer.

EDIT: Auto mute is disabled.

Last edited by slyfoxbr (2015-11-14 18:01:44)

Offline

#6 2015-11-14 19:02:21

slyfoxbr
Member
Registered: 2015-11-13
Posts: 10

Re: [SOLVED] Can't get sound to work

$ cat /proc/asound/modules 
 0 snd_hda_intel
 1 snd_hda_intel

Offline

#7 2015-11-14 19:56:01

slyfoxbr
Member
Registered: 2015-11-13
Posts: 10

Re: [SOLVED] Can't get sound to work

YES! I FIXED IT!

I created a ~/.asoundrc file:

pcm.!default {
	type hw
	card PCH
}

ctl.!default {
	type hw
	card PCH
}

But then only one application could play sound at a time.

So I installed pulseaudio and pulseaudio-alsa and now all sounds work! Thanks guys.

Offline

Board footer

Powered by FluxBB