You are not logged in.

#1 2015-06-13 14:37:11

LaserEyess
Member
Registered: 2015-05-06
Posts: 12

HDMI shows no channels/does not play sound

I have a X1 Carbon Gen 3 and I'm trying to get my HDMI port to output sound to my TV. I have alsa installed only, and only modified my asound.conf to make the default sound card my laptop's speakers.

Here's the output of various commands, I'm not sure how useful they are but after a lot of googling these have solved other people's problems, but not mine:

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: ALC3232 Analog [ALC3232 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

lsmod | grep snd

snd_hda_codec_hdmi     53248  1 
snd_hda_codec_realtek    65536  1 
snd_hda_codec_generic    65536  1 snd_hda_codec_realtek
snd_hda_intel          28672  1 
snd_hda_controller     28672  1 snd_hda_intel
snd_hda_codec         114688  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep              16384  1 snd_hda_codec
snd_pcm                90112  5 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              28672  1 snd_pcm
snd                    69632  10 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,thinkpad_acpi
soundcore              16384  2 snd,snd_hda_codec

lspci -v (irrelevant stuff cut out):

00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
        Subsystem: Lenovo Device 2227
        Flags: bus master, fast devsel, latency 0, IRQ 49
        Memory at e1130000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
        Subsystem: Lenovo Device 2227
        Flags: bus master, fast devsel, latency 32, IRQ 48
        Memory at e1134000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 3
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

asound.conf:

pcm.!default { 
        type hw
        card 1
}

ctl.!default {
        type hw
        card 1
}

Without the asound.conf the default sound card is HDMI, and still no sound is played through the TV. Using xrandr I'm able to see HDMI video, so I know it is connected, but there is no sound. doing aplay -D plughw:0,3 sound.wav gives no errors as does device 7 and 8, but produces no sound despite HDMI being connected and running. Whether it is set as the default card or not this result is the same.

More troubling is that looking at alsamixer shows the following: http://i.imgur.com/I9nlgP3.png which seems to be abnormal based on issues that other people have had with HDMI. I'm running the latest kernel and packages, but I don't think that has caused the issue since I've never gotten HDMI audio to work with any kernel version on this laptop.

Offline

#2 2015-06-16 08:03:36

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

Re: HDMI shows no channels/does not play sound

I use 2 sound card: XFI and hdmi from nvidia graphic card (GTX660) without asound.conf. I just ordered them in /etc/modprobe/alsa-base.conf with index=0 and index=1 and it works.

Offline

#3 2015-06-20 00:31:52

lenk
Member
Registered: 2009-01-27
Posts: 27

Re: HDMI shows no channels/does not play sound

I have exactly the same problem except mine is haswell but exactly the same issue. I've got Asus Chromebox Haswell. Still searching how to fix this. The analog works though.

Last edited by lenk (2015-06-20 00:32:20)

Offline

#4 2015-06-20 00:38:25

lenk
Member
Registered: 2009-01-27
Posts: 27

Re: HDMI shows no channels/does not play sound

I know that openelec linux distribution works on my hardware. I may pop over there to ask what magic they used.

Offline

#5 2015-06-20 11:26:43

lenk
Member
Registered: 2009-01-27
Posts: 27

Re: HDMI shows no channels/does not play sound

LaserEyess: I got mine figured out. I have a Samsung TV and I labelled my hdmi 1 to DVI/PC so it would get rid of overscan. It seems audio doesn't passthrough with that label. Now I labelled hdmi 1 as PC and sound is working. However I still don't have a volume channel on hdmi, the hdmi in alsamixer still does not let me change volume.

Offline

#6 2015-06-23 21:48:02

LaserEyess
Member
Registered: 2015-05-06
Posts: 12

Re: HDMI shows no channels/does not play sound

I fixed mine by installing pulse audio. It let me access the HDMI channels, but only stereo for some reason, I couldn't get the 5.1 or 7.1 surround sound on the specific HDMI output that was "real". I had to reboot my computer but it worked. This isn't an elegant solution (or even a solution at all) and I'm still baffled why ALSA won't let me adjust the channels.

Offline

#7 2015-06-26 09:30:32

lenk
Member
Registered: 2009-01-27
Posts: 27

Re: HDMI shows no channels/does not play sound

I manage to get alsa working too. But its just easier with pulseaudio. If you want volume control, you need to use softvol in alsa.

Offline

Board footer

Powered by FluxBB