You are not logged in.

#1 2014-12-28 21:29:48

Derson5
Member
Registered: 2010-07-29
Posts: 34

[SOLVED] Problem with no sound

I installed Arch on new laptop (Lenovo G510), and I have problem:
I installed all package with alsa, (I didnt install pulseaudio) and when I walk in to alsamixer, appearse this:

Card: HDA INTEL HDMI
CHIP: INTEL HASWELL HDMI

And there is choose  S/PDIF; S/PDIF1 and S/PDIF2
Any of this 3 options didnt change when I want to change something.
When I click F6 I can choose second sound card (HDA Intel PCH).

Card: HDA Intel PCH
Chip: Conexant CX20757

And there is all sound options like Master, Speaker, Headphone etc. I unmute Master and change it to 100, but still there isnt sound. I change in VLC to output from HDA Intel PCH and there is sound, but only in vlc.

Last edited by Derson5 (2014-12-30 22:51:29)

Offline

#2 2014-12-29 00:33:31

VikingWarrior75
Member
Registered: 2014-10-18
Posts: 12

Re: [SOLVED] Problem with no sound

Hi I found a Link that may help you with
the sound problem, if not, I'm sure someone
else will post something here is the
link:

https://wiki.archlinux.org/index.php/Alsa


Ο Ιησούς είναι ο Κύριος

Offline

#3 2014-12-29 00:42:20

Derson5
Member
Registered: 2010-07-29
Posts: 34

Re: [SOLVED] Problem with no sound

Unfortunately I know this topic on wiki and I didnt see there any solution for my problem.

Offline

#4 2014-12-29 12:31:36

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,969

Re: [SOLVED] Problem with no sound

Derson5,

i suggest for the 2nd issue you create a new topic and add Xorg logs to it.

sound issue

please post the output of aplay -l and lspci -k .

then re-read section 3.2 of that wiki page, it has a potential solution.


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

#5 2014-12-29 22:58:32

Derson5
Member
Registered: 2010-07-29
Posts: 34

Re: [SOLVED] Problem with no sound

[x@arch64 ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: CX20757 Analog [CX20757 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[x@arch64 ~]$ lspci -k
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
	Subsystem: Lenovo Device 3978
	Kernel modules: ie31200_edac
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
	Subsystem: Lenovo Device 3801
	Kernel driver in use: i915
	Kernel modules: i915
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_hcd
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.1 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 (rev d5)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
00:1f.0 ISA bridge: Intel Corporation HM86 Express LPC Controller (rev 05)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
	Subsystem: Lenovo Device 3978
	Kernel modules: i2c_i801
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun PRO [Radeon HD 8570A/8570M] (rev ff)
	Kernel driver in use: radeon
	Kernel modules: radeon
08:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
	Subsystem: Lenovo Device 0611
	Kernel driver in use: bcma-pci-bridge
	Kernel modules: bcma
09:00.0 Ethernet controller: Qualcomm Atheros QCA8172 Fast Ethernet (rev 10)
	Subsystem: Lenovo Device 3801
	Kernel driver in use: alx
	Kernel modules: alx

@Lone_Wolf I cut second issue from this topic, as you suggest.

Edit: I create /etc/modprobe.d/alsa-base.conf

[x@arch64 ~]$ cat /proc/asound/modules
 0 snd_hda_intel
 1 snd_hda_intel
/etc/modprobe.d/alsa-base.conf

options snd_hda_intel index=1
options snd_hda_intel index=0

But this didnt change anything.

Last edited by Derson5 (2014-12-29 23:08:51)

Offline

#6 2014-12-30 12:50:37

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,969

Re: [SOLVED] Problem with no sound

Atleast the problem is now clear, your system initializes the hdmi sound output as default card.

try using this alsa-base.conf :

options snd_hda_intel index=-2
options snd_hda_intel index=0

then reboot to console/multi-user mode, and run aplay -l again.
(Some DM / DEs can mess up sound configuration, that's why we should verify things in pure console mode first.)

Hopefully then card 0 will be listed as PCH [HDA Intel PCH], device 0: CX20757 Analog [CX20757 Analog]


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

#7 2014-12-30 20:54:30

Derson5
Member
Registered: 2010-07-29
Posts: 34

Re: [SOLVED] Problem with no sound

aplay -l is the same as previous. I tried launch moc player

[x@arch64 ~]$ mocp
Running the server...
Trying JACK...
Trying ALSA...
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Trying OSS...

FATAL_ERROR: No valid sound driver!


FATAL_ERROR: Server exited!

Offline

#8 2014-12-30 21:58:15

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,969

Re: [SOLVED] Problem with no sound

I found something here : https://bbs.archlinux.org/viewtopic.php … 3#p1446773

It seems the options for snd_hda_intel have changed and index is now an array.

try

options snd_hda_intel index=1,0

in alsa-base.conf .


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

#9 2014-12-30 22:49:43

Derson5
Member
Registered: 2010-07-29
Posts: 34

Re: [SOLVED] Problem with no sound

Now everything is all right.  PCH [HDA Intel PCH], device 0: CX20757 Analog [CX20757 Analog] is actually on top in aplay -l. MOC player, vlc, youtube etc is now with sound.
Thank you very much!

Offline

Board footer

Powered by FluxBB