• Sound through HDMI not working [SOLVED]


    Hello,

    I am running Antergos XFCE with ATI Radeon video driver, it’s a fresh installation, and I don’t have sound through HDMI.

    I found this Arch Wiki
    https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture/Troubleshooting#HDMI_Output_does_not_work

    and I followed the steps.

    $ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: MID [HDA Intel MID], device 0: ALC272X Analog [ALC272X Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    

    then:

    aplay -D plughw:1,3 /usr/share/sounds/alsa/Front_Center.wav
    

    And I get some sound.

    Then I try to create ~/.asoundrc, in both the configurations told in the WIKI:

    ~/.asoundrc
    pcm.!default {
        type hw
        card 1
        device 3
    }
    
    ~/.asoundrc
    defaults.pcm.card 1
    defaults.pcm.device 3
    defaults.ctl.card 1
    

    The first configuration does nothing,
    The second mutes completely also the speakers in the laptop, which probably means that it manages to switch HDMI as the default audio device, but I am unable to unmute it.

    0_1506427857600_318d099d-5b6a-4f6b-9cdb-78cb9983ceb4-image.png

    Now I deleted the ~/.asoundrc created by me,and I am back where I started.

    Can you help me ?
    Thanks

  • pulseaudio is your friend… >> pavucontrol

    0_1506454734488_Bildschirmfoto vom 2017-09-26 21-37-10.png

    0_1506454744634_Bildschirmfoto vom 2017-09-26 21-37-29.png

    [updates once a week] = [90% less problems]
    http://gofccyourself.com
    my-blog#k
    how to add system logs
    i3 GNOME

  • Hi Joekamprad,
    thank you for your answer.

    This is what pavucontrol is showing:

    alt text

    but still no audio from HDMI

  • try to put the Build-in-Audio to off under configuration…

    But as you can see it is detected and aviable… the output you show before is the same i get here for my HDMI…
    And it is working …

    [updates once a week] = [90% less problems]
    http://gofccyourself.com
    my-blog#k
    how to add system logs
    i3 GNOME

  • @maurizio Have you tried expanding the ‘advanced’ tab under your HDMI in pavucontrol pic ? Make sure sound formats are ticked.
    You also appear to have your built in Analog set as fallback.

  • Here’s the advanced tab.

    alt text

    Hi Uzi,
    I ticked all the boxes (they were unticked) but still no sound.
    I am not sure how to change the fallback, as it doesn’t appear to change anyway.

    Anyway,
    The volume in alsamixer still stays mute without me being able to change it.

  • try check alsamixer for the build-in card and put automute to disabled:

    0_1506503667472_Bildschirmfoto vom 2017-09-27 11-13-54.png

    and possible to check too is, enable simultaniuous output to all soundcards with paprefs:

    0_1506503846739_Bildschirmfoto vom 2017-09-27 11-16-32.png

    And do not forget to check my WIKI Page:

    https://antergos.com/wiki/hardware/getting-informations-on-soundproblems/

    [updates once a week] = [90% less problems]
    http://gofccyourself.com
    my-blog#k
    how to add system logs
    i3 GNOME

  • Here’s the output of pactl:

    pactl list sinks
    Sink #0
    	State: SUSPENDED
    	Name: alsa_output.pci-0000_01_00.1.hdmi-stereo
    	Description: Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series] Digital Stereo (HDMI)
    	Driver: module-alsa-card.c
    	Sample Specification: s16le 2ch 44100Hz
    	Channel Map: front-left,front-right
    	Owner Module: 6
    	Mute: no
    	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
    	Monitor Source: alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor
    	Latency: 0 usec, configured 0 usec
    	Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
    	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 = "1"
    		alsa.card_name = "HDA ATI HDMI"
    		alsa.long_card_name = "HDA ATI HDMI at 0xb4020000 irq 27"
    		alsa.driver_name = "snd_hda_intel"
    		device.bus_path = "pci-0000:01:00.1"
    		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
    		device.bus = "pci"
    		device.vendor.id = "1002"
    		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
    		device.product.id = "aa68"
    		device.product.name = "Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series]"
    		device.string = "hdmi:1"
    		device.buffering.buffer_size = "352768"
    		device.buffering.fragment_size = "176384"
    		device.access_mode = "mmap+timer"
    		device.profile.name = "hdmi-stereo"
    		device.profile.description = "Digital Stereo (HDMI)"
    		device.description = "Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series] Digital Stereo (HDMI)"
    		alsa.mixer_name = "ATI R6xx HDMI"
    		alsa.components = "HDA:1002aa01,00aa0100,00100200"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	Ports:
    		hdmi-output-0: HDMI / DisplayPort (priority: 5900, available)
    	Active Port: hdmi-output-0
    	Formats:
    		ac3-iec61937, format.rate = "[ 32000, 44100, 48000 ]"
    		eac3-iec61937, format.rate = "[ 32000, 44100, 48000 ]"
    		mpeg-iec61937, format.rate = "[ 32000, 44100, 48000 ]"
    		dts-iec61937, format.rate = "[ 32000, 44100, 48000 ]"
    		mpeg2-aac-iec61937, format.rate = "[ 32000, 44100, 48000 ]"
    		pcm
    
    Sink #1
    	State: SUSPENDED
    	Name: alsa_output.pci-0000_00_1b.0.analog-stereo
    	Description: Built-in Audio Analog Stereo
    	Driver: module-alsa-card.c
    	Sample Specification: s16le 2ch 48000Hz
    	Channel Map: front-left,front-right
    	Owner Module: 7
    	Mute: no
    	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
    	Monitor Source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
    	Latency: 0 usec, configured 0 usec
    	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
    	Properties:
    		alsa.resolution_bits = "16"
    		device.api = "alsa"
    		device.class = "sound"
    		alsa.class = "generic"
    		alsa.subclass = "generic-mix"
    		alsa.name = "ALC272X Analog"
    		alsa.id = "ALC272X Analog"
    		alsa.subdevice = "0"
    		alsa.subdevice_name = "subdevice #0"
    		alsa.device = "0"
    		alsa.card = "0"
    		alsa.card_name = "HDA Intel MID"
    		alsa.long_card_name = "HDA Intel MID at 0xb4100000 irq 26"
    		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 = "3b56"
    		device.product.name = "5 Series/3400 Series Chipset High Definition Audio"
    		device.form_factor = "internal"
    		device.string = "front:0"
    		device.buffering.buffer_size = "352800"
    		device.buffering.fragment_size = "176400"
    		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 = "Realtek ALC272X"
    		alsa.components = "HDA:10ec0272,10250487,00100001"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	Ports:
    		analog-output-speaker: Speakers (priority: 10000)
    		analog-output-headphones: Headphones (priority: 9000, not available)
    	Active Port: analog-output-speaker
    	Formats:
    		pcm
    
    Sink #2
    	State: SUSPENDED
    	Name: combined
    	Description: Simultaneous output to Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series] Digital Stereo (HDMI), Built-in Audio Analog Stereo
    	Driver: module-combine-sink.c
    	Sample Specification: s16le 2ch 44100Hz
    	Channel Map: front-left,front-right
    	Owner Module: 15
    	Mute: no
    	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
    	Monitor Source: combined.monitor
    	Latency: 0 usec, configured 0 usec
    	Flags: DECIBEL_VOLUME LATENCY 
    	Properties:
    		device.class = "filter"
    		device.description = "Simultaneous output to Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series] Digital Stereo (HDMI), Built-in Audio Analog Stereo"
    		device.icon_name = "audio-card"
    	Formats:
    		pcm
    
    

    I can spot some ‘State: SUSPENDED’ statements.
    what do you think about it?

  • Hi Joekamprad,

    I manage to make it work!

    I put the built-in audio to ‘off’ and it started working.
    (somehow I jumped this step before, apologize for that).

    So, what happens now? Shall I switch the built-in audio to ‘off’ each time Inconnect the laptop to the tv?

  • states all are SUSPENDED …

    but:

    Name: alsa_output.pci-0000_01_00.1.hdmi-stereo
    Mute: no

    [updates once a week] = [90% less problems]
    http://gofccyourself.com
    my-blog#k
    how to add system logs
    i3 GNOME

  • @maurizio said in Sound through HDMI not working:

    Hi Joekamprad,

    I manage to make it work!

    I put the built-in audio to ‘off’ and it started working.
    (somehow I jumped this step before, apologize for that).

    So, what happens now? Shall I switch the built-in audio to ‘off’ each time Inconnect the laptop to the tv?

    ;) ha ha! good to see it is working ! It is crappy nonetheless… i have to put active system to off also to get my BT Headset working, and on the hdmi it ios the same but after you put the active to off you can reanable it afterwords and it is working as it should for the rest of the session,…

    [updates once a week] = [90% less problems]
    http://gofccyourself.com
    my-blog#k
    how to add system logs
    i3 GNOME

  • @joekamprad said in Sound through HDMI not working:

    So, what happens now? Shall I switch the built-in audio to ‘off’ each time Inconnect the laptop to the tv?

    Should not be like this but seems at the moment… usually it switch automatic on plugin …

    [updates once a week] = [90% less problems]
    http://gofccyourself.com
    my-blog#k
    how to add system logs
    i3 GNOME

  • Ok, it’s fine, I can live with this. :blush:

    Thanks a lot for your help!

    I have the last question, if possible…

    The video through HDMI is too much zoomed.
    I googled around and found this is called ‘overscanning’, basically all the edges are cut out of the screen.

    Do you think I shall open a new topic about it?

  • @maurizio said in Sound through HDMI not working [SOLVED]:

    Do you think I shall open a new topic about it?

    yes better its getting more clear then, and it is a complete different thing also…

    [updates once a week] = [90% less problems]
    http://gofccyourself.com
    my-blog#k
    how to add system logs
    i3 GNOME

Posts 15Views 530
Log in to reply