You are not logged in.

#1 2017-01-08 10:16:04

Zapata
Member
Registered: 2017-01-08
Posts: 1

HDMI: audio problem in Intel NUC6i7

Problem:
No sound through the HDMI.

Description:
I can get sound through my headphones (the analog output) using pactl set-card-profile 0 output:analog-stereo, but when I tray to configure the hdmi interface to use TV speakers using pactl set-card-profile 0 output:hdmi-surround, while the TV is on I get no sound.

What I have tried:
- I have tried all card-profiles using pactl set-card-profile 0. Only works for my headphones with the profile "output:analog-stereo" ... and ...  works with the profile "output:hdmi-surround"  (this only works without initilize X server). I can't figure out the problem.
- If I startx the X server (I use awesome wm) turn off/on  and disconect/conect hdmi cable doesnt works, But if I wait until NUC turn off screen and the TV's energy system turn the TV off; then I turn on back the TV and set by pactl the HDM, it works.
- Unmute all channels using amixer sset "Channel" unmute and using alsamixer (unmuting with key M)
- I have tried aplay -D plughw:0,0 /usr/share/sounds/alsa/Front_Center.wav with all devices from the output of aplay -l. I got no error in any but I only get sound through my headphones with the analog ouput (card 0 device 0)
- I disabled ~/.asoundrc by renaming it to ~/.asoundrcBack
- I have turn off/on TV(hdmi) without disconect the hdmi cable.
- I have just change the input source of the TV, lest say from HDM1(where NUC is conected) to TV(regular TV) the back to HDMI1
- I have tried a different HDMI cable

I would like to find a solution.
Any suggestion?

My system state is:
- I have an Intel NUC6i7:ArchLinux kernel 4.8.13-1-ARCH x86_64 GNU/Linux.
- It is working with ALSA and PulseAudio. I use awesome wm instead of a desktop enviroment.
- Some system info command outputs are:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC233 Analog [ALC233 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC233 Digital [ALC233 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
    HDA Intel PCH, ALC233 Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC233 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
$ lsmod | grep ^snd | column -t
snd_hda_codec_hdmi     45056   1
snd_hda_codec_realtek  69632   1
snd_hda_codec_generic  69632   1   snd_hda_codec_realtek
snd_hda_intel          32768   2
snd_hda_codec          106496  4   snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core           65536   5   snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep              16384   1   snd_hda_codec
snd_pcm                90112   4   snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_timer              28672   1   snd_pcm
snd                    69632   12  snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
ls -l /dev/snd/
total 0
drwxr-xr-x  2 root root       60 Jan  8 08:31 by-path
crw-rw----+ 1 root audio 116,  2 Jan  8 08:31 controlC0
crw-rw----+ 1 root audio 116, 10 Jan  8 08:31 hwC0D0
crw-rw----+ 1 root audio 116, 11 Jan  8 08:31 hwC0D2
crw-rw----+ 1 root audio 116,  4 Jan  8 08:34 pcmC0D0c
crw-rw----+ 1 root audio 116,  3 Jan  8 09:48 pcmC0D0p
crw-rw----+ 1 root audio 116,  5 Jan  8 08:48 pcmC0D1p
crw-rw----+ 1 root audio 116,  6 Jan  8 08:31 pcmC0D2c
crw-rw----+ 1 root audio 116,  7 Jan  8 08:47 pcmC0D3p
crw-rw----+ 1 root audio 116,  8 Jan  8 08:34 pcmC0D7p
crw-rw----+ 1 root audio 116,  9 Jan  8 08:34 pcmC0D8p
crw-rw----+ 1 root audio 116,  1 Jan  8 08:31 seq
crw-rw----+ 1 root audio 116, 33 Jan  8 08:31 timer

Last edited by Zapata (2017-01-11 13:41:36)

Offline

Board footer

Powered by FluxBB