No audio output on Linux over HDMI

Discussion in 'UDOO X86' started by Davide Lucchesi, Apr 15, 2017.

Tags:
  1. Davide Lucchesi

    Davide Lucchesi New Member

    Joined:
    Apr 15, 2017
    Messages:
    2
    Likes Received:
    0
    I just received my UDOO X86 (4 gb ram, 32 gb mmc). I managed to install several flavours of Linux (Ubuntu 16.4, Lubuntu 16.4, Debian Jessie), but regardless the distribution it looks like I can't get any audio played by my TV through HDMI.

    Is anything specific I should check which can help out with the debug of this issue?

    Thanks for your help,

    -- Davide
     
  2. Maurice

    Maurice Active Member

    Joined:
    Oct 13, 2015
    Messages:
    394
    Likes Received:
    87
    My guess is that the default output channel is the jack. I think you have to configure it to HDMI. In Ubuntu this is done via the System Settings -> Audio.
     
  3. Davide Lucchesi

    Davide Lucchesi New Member

    Joined:
    Apr 15, 2017
    Messages:
    2
    Likes Received:
    0
    Thanks for your reply, Maurice.

    Your guess was right, but unfortunately I can't still solve the problem. Since my last installation was a Debian Jessie, I've installed "pavucontrol" to check if it was possible to change something, but all the HDMI available "profiles" shows their entries as "unplugged" and regardless the choice, I still have no audio output on my TV. :(

    Any other suggestion?

    From the command line, I've gathered this information:

    ---
    davide@vinales:~$ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
    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
    davide@vinales:~$ 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: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 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 44100Hz
    channel map: front-left,front-right
    Stereo
    used by: 0
    linked by: 0
    configured latency: 0.00 ms; range is 0.50 .. 371.52 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 = "ALC283 Analog"
    alsa.id = "ALC283 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 0x91410000 irq 134"
    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 = "2284"
    device.form_factor = "internal"
    device.string = "front:0"
    device.buffering.buffer_size = "65536"
    device.buffering.fragment_size = "32768"
    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 = "Intel Braswell HDMI"
    alsa.components = "HDA:10ec0283,10ec0283,00100003 HDA:80862883,80860101,00100000"
    module-udev-detect.discovered = "1"
    device.icon_name = "audio-card-pci"
    ports:
    analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
    properties:

    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>
    ---

    After changing the profile from the pavucontrol gui, the last command now displays different information, but still no audio:

    ---
    davide@vinales:~$ pacmd list-sinks
    1 sink(s) available.
    * index: 12
    name: <alsa_output.pci-0000_00_1b.0.hdmi-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
    state: RUNNING
    suspend cause:
    priority: 9950
    volume: front-left: 91607 / 140% / 8.73 dB, front-right: 91607 / 140% / 8.73 dB
    balance 0.00
    base volume: 65536 / 100% / 0.00 dB
    volume steps: 65537
    muted: no
    current latency: 19.58 ms
    max request: 3 KiB
    max rewind: 64 KiB
    monitor source: 15
    sample spec: s16le 2ch 44100Hz
    channel map: front-left,front-right
    Stereo
    used by: 1
    linked by: 3
    configured latency: 20.00 ms; range is 0.50 .. 371.52 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 = "HDMI 0"
    alsa.id = "HDMI 0"
    alsa.subdevice = "0"
    alsa.subdevice_name = "subdevice #0"
    alsa.device = "3"
    alsa.card = "0"
    alsa.card_name = "HDA Intel PCH"
    alsa.long_card_name = "HDA Intel PCH at 0x91410000 irq 134"
    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 = "2284"
    device.form_factor = "internal"
    device.string = "hdmi:0"
    device.buffering.buffer_size = "65536"
    device.buffering.fragment_size = "32768"
    device.access_mode = "mmap+timer"
    device.profile.name = "hdmi-stereo"
    device.profile.description = "Digital Stereo (HDMI)"
    device.description = "Built-in Audio Digital Stereo (HDMI)"
    alsa.mixer_name = "Intel Braswell HDMI"
    alsa.components = "HDA:10ec0283,10ec0283,00100003 HDA:80862883,80860101,00100000"
    module-udev-detect.discovered = "1"
    device.icon_name = "audio-card-pci"
    ports:
    hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
    properties:
    device.icon_name = "video-display"
    active port: <hdmi-output-0>
    ---

    -- Davide
     

Share This Page