Bug 24544

Summary: No sound over HDMI on Intel
Product: Mageia Reporter: egc <egc>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal CC: kernel, lovaren, marja11, pkg-bugs
Version: 6   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description egc 2019-03-21 10:43:46 CET
Description of problem:
There is no sound over HDMI and no HDMI device shows up anywhere in the configuration places.


How reproducible:
Attach an HDMI cable, play a video/audio file --> Sound continues coming out from the speaker, but not over HDMI.

I did a few commands, but i don't really understand their meanings:

$ cat /proc/asound/modules 
0 snd_hda_intel


$ lspci | grep Audio
00:0e.0 Audio device: Intel Corporation Device 3198 (rev 03)


$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC236 Analog [ALC236 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC236 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC236 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC236 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC236 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC236 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC236 Analog                                                                                                                                                                     
    5.0 Surround output to Front, Center and Rear speakers                                                                                                                                           
surround51:CARD=PCH,DEV=0                                                                                                                                                                            
    HDA Intel PCH, ALC236 Analog                                                                                                                                                                     
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers                                                                                                                                
surround71:CARD=PCH,DEV=0                                                                                                                                                                            
    HDA Intel PCH, ALC236 Analog                                                                                                                                                                     
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers


pactl list cards                                                                                                                                                              
Karte #0                                                                                                                                                                                             
        Name: alsa_card.pci-0000_00_0e.0                                                                                                                                                             
        Treiber: module-alsa-card.c                                                                                                                                                                  
        Owner-Modul: 6                                                                                                                                                                               
        Eigenschaften:                                                                                                                                                                               
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xa1310000 irq 125"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:0e.0"
                sysfs.path = "/devices/pci0000:00/0000:00:0e.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "3198"
                device.form_factor = "internal"
                device.string = "0"
                device.description = "Internes Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Profile:
                input:analog-stereo: Analog Stereo-Eingabe (Ziele: 0, Quellen: 1, Priorität: 60, verfügbar: ja)
                output:analog-stereo: Analog Stereo-Ausgabe (Ziele: 1, Quellen: 0, Priorität: 6000, verfügbar: ja)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (Ziele: 1, Quellen: 1, Priorität: 6060, verfügbar: ja)
                off: Aus (Ziele: 0, Quellen: 0, Priorität: 0, verfügbar: ja)
        Aktives Profil: output:analog-stereo+input:analog-stereo
        Ports:
                analog-input-internal-mic: Internes Mikrofon (priority: 8900, latency offset: 0 usec)
                        Eigenschaften:
                                device.icon_name = "audio-input-microphone"
                        Teil der/des Profil(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
                analog-input-mic: Mikrofon (priority: 8700, latency offset: 0 usec, not available)
                        Eigenschaften:
                                device.icon_name = "audio-input-microphone"
                        Teil der/des Profil(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
                analog-output-speaker: Lautsprecher (priority: 10000, latency offset: 0 usec)
                        Eigenschaften:
                                device.icon_name = "audio-speakers"
                        Teil der/des Profil(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
                analog-output-headphones: Kopfhörer (priority: 9000, latency offset: 0 usec, not available)
                        Eigenschaften:
                                device.icon_name = "audio-headphones"
                        Teil der/des Profil(s): output:analog-stereo, output:analog-stereo+input:analog-stereo


$ pacmd list-sinks
1 sink(s) available.
  * index: 0
        name: <alsa_output.pci-0000_00_0e.0.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 9959
        volume: front-left: 42558 /  65% / -11,25 dB,   front-right: 42558 /  65% / -11,25 dB
                balance 0,00
        base volume: 65536 / 100% / 0,00 dB
        volume steps: 65537
        muted: no
        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 .. 2000,00 ms
        card: 0 <alsa_card.pci-0000_00_0e.0>
        module: 6
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC236 Analog"
                alsa.id = "ALC236 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 0xa1310000 irq 125"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:0e.0"
                sysfs.path = "/devices/pci0000:00/0000:00:0e.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "3198"
                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 = "Internes Audio Analog Stereo"
                alsa.mixer_name = "Realtek ALC236"
                alsa.components = "HDA:10ec0236,103c84ce,00100002"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-output-speaker: Lautsprecher (priority 10000, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-speakers"
                analog-output-headphones: Kopfhörer (priority 9000, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
        active port: <analog-output-speaker>


$ grep -i codec /proc/asound/card*/codec*
Codec: Realtek ALC236
Comment 1 Marja Van Waes 2019-03-24 10:58:05 CET
Can someone please help debug this?

CC: (none) => kernel, marja11, pkg-bugs

Comment 2 Kristoffer Grundström 2019-03-24 15:26:12 CET
I wonder if the PulseAudio audio profile setting is NOT correctly set for the output. I have seen this issue before, but as soon as I set PulseAudio to use HDMI in the output tab it worked. Not saying that it will work with this problem though.

CC: (none) => hamnisdude

Comment 3 egc 2019-03-25 17:59:26 CET
(In reply to Kristoffer Grundström from comment #2)
> I wonder if the PulseAudio audio profile setting is NOT correctly set for
> the output. I have seen this issue before, but as soon as I set PulseAudio
> to use HDMI in the output tab it worked. Not saying that it will work with
> this problem though.

There is no option for HDMI. HDMI does not show up at all in any of Puslaudio or ALSA options or Plasma multimedia settings. Please see also the results of the commands above in the original post.
Comment 4 egc 2019-05-08 17:27:32 CEST
I've tried it on Mageia 7b3 Live Media and it works great there.
Would be very good to have it also in Mageia 6 ...
Comment 5 egc 2019-10-19 17:59:15 CEST
ok, it's resolved in Mageia 7.x

Resolution: (none) => FIXED
Status: NEW => RESOLVED