FS#43810 - [pulseaudio] 6.0-1 HDMI output not working

Attached to Project: Arch Linux
Opened by Marc Geerlings (markus-66) - Friday, 13 February 2015, 16:03 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 27 February 2022, 08:52 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
After the upgrade of pulseaudio to 6.0-1 there is no sound anymore on the HDMI output.
A downgrade to pulseaudio 5.0-1 makes everything work again.

pulseaudio is running:
ps -ef | grep pulseaudio
xbmc 679 1 1 16:43 ? 00:00:02 /usr/bin/pulseaudio --start --log-target=syslog

Different between 5.0-1 and 6.0-1:
5.0-1:
* index: 0
name: <alsa_output.pci-0000_00_03.0.hdmi-stereo-extra2>
...
ports:
hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: yes)
properties:
device.icon_name = "video-display"
device.product.name = "SAMSUNG"
active port: <hdmi-output-2>
6.0-1
* index: 0
name: <alsa_output.pci-0000_00_03.0.hdmi-stereo>
...
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>


Additional info:
* package version(s)
libpulse-6.0-1-x86_64.pkg.tar.xz
lib32-libpulse-6.0-1-x86_64.pkg.tar.xz
pulseaudio-6.0-1-x86_64.pkg.tar.xz

* config and/or log files etc.
Relevant pacmd info:
1 sink input(s) available.
index: 0
driver: <protocol-native.c>
flags:
state: RUNNING
sink: 0 <alsa_output.pci-0000_00_03.0.hdmi-stereo>
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
muted: no
current latency: 94.85 ms
requested latency: 50.00 ms
sample spec: float32le 2ch 44100Hz
channel map: front-left,front-right
Stereo
resample method: copy
module: 13
client: 4 <Kodi>
properties:
media.name = "kodi audio stream"
application.name = "Kodi"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "30"
application.process.id = "684"
application.process.user = "xbmc"
application.process.host = "titanium"
application.process.binary = "kodi.bin"
application.language = "C"
window.x11.display = ":0"
application.process.machine_id = "97bbff4fccec44d8a752d33ca671549a"
application.process.session_id = "c1"
module-stream-restore.id = "sink-input-by-application-name:Kodi"
0 source output(s) available.
0 cache entrie(s) available.

$pactl list-sinks
2 sink(s) available.
* index: 0
name: <alsa_output.pci-0000_00_03.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: 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: no
current latency: 40.57 ms
max request: 8 KiB
max rewind: 344 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
configured latency: 50.00 ms; range is 0.50 .. 1999.82 ms
card: 0 <alsa_card.pci-0000_00_03.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 HDMI"
alsa.long_card_name = "HDA Intel HDMI at 0xf0734000 irq 31"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:03.0"
sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "0c0c"
device.product.name = "Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller"
device.form_factor = "internal"
device.string = "hdmi:0"
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 = "Built-in Audio Digital Stereo (HDMI)"
alsa.mixer_name = "Intel Haswell HDMI"
alsa.components = "HDA:80862807,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>
index: 1
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: IDLE
suspend cause:
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: 1639.70 ms
max request: 344 KiB
max rewind: 344 KiB
monitor source: 1
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 2000.00 ms; range is 0.50 .. 2000.00 ms
card: 1 <alsa_card.pci-0000_00_1b.0>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC1150 Analog"
alsa.id = "ALC1150 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xf0730000 irq 32"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "8c20"
device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
device.form_factor = "internal"
device.string = "front:1"
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 ALC1150"
alsa.components = "HDA:10ec0900,18491150,00100001"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
properties:

analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-lineout>


Steps to reproduce:
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 27 February 2022, 08:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  Upstream bug reported in 2015 got closed 2 years ago.
Comment by Jan Alexander Steffens (heftig) - Friday, 13 February 2015, 16:59 GMT
Have you rebooted after upgrading?
Comment by Marc Geerlings (markus-66) - Friday, 13 February 2015, 17:06 GMT
I reboot everytime I i installed the packages.
I installed 6.0-1 and did a reboot (Didn't work).
Degraded to 5.0-1 and did a reboot (worked).
Installed 6.0-1 again, did a reboot (Didn't work), retrieved information for the bug report.
Degraded to 5.0-1 and did a reboot (worked).

Comment by Jan Alexander Steffens (heftig) - Friday, 13 February 2015, 17:37 GMT Comment by Marc Geerlings (markus-66) - Friday, 13 February 2015, 17:42 GMT
I installe 6.0-1 again to see if I could solve it myself.

There is something strange if I do a "pacmd" info the ports of are listed as:
sinks:
alsa_output.pci-0000_00_03.0.hdmi-stereo/#0: Built-in Audio Digital Stereo (HDMI)
sources:
alsa_output.pci-0000_00_03.0.hdmi-stereo.monitor/#0: Monitor of Built-in Audio Digital Stereo (HDMI)
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: yes)
properties:
device.icon_name = "video-display"
device.product.name = "SAMSUNG"

Notice the hdmi-output-2.

Now if I do pacmd list-sinks I see:
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>

Notice no hdmi-output-1 and hdmi-output-2

if I do
$pacmd set-sink-port 0 hdmi-output-0
There is no error,
But if I do
$pacmd set-sink-port 0 hdmi-output-2
The error is "Failed to set sink port to 'hdmi-output-3'"
Comment by Marc Geerlings (markus-66) - Friday, 13 February 2015, 18:03 GMT Comment by Marc Geerlings (markus-66) - Monday, 16 February 2015, 12:08 GMT
You can close the bug.
When trying to generate a log I deleted the contents of .config/pulse.
After this everything worked again.
Comment by Mark Zanfardino (mzanfardino) - Friday, 27 February 2015, 09:13 GMT
I have run into this exact same issue with two different machines both running Arch following the upgrade to pulseaudio-6. I will be happy to provide whatever additional information is required, but please note that this issue should not be closed.

NOTE: I removed ~/.config/pulse as suggested by Marc but in my case it made no difference.
Comment by Javier Viñal (fjvinal) - Tuesday, 19 May 2015, 11:57 GMT
I have the same issue. No sound with HDMI-3, works fine with analog output with default configuration.
Comment by Michael Jarrett (mjarrett) - Thursday, 21 May 2015, 03:12 GMT
I am having a similar issue, also present in current version (6.0-2)

Removing pulseaudio, deleting /etc/pulse and ~/.config/pulse and reinstalling yields the same issue. running nvidia GT610 with 352.09-1 drivers, unable to downgrade due to kernel 4.0 requirements.

pulseaudio defaults to HDMI port which is unplugged, HDMI 2 is plugged and available. Able to switch to it however only as stereo (not 5.1/7.1 as the receiver is capable of), and even in stereo, sound does not work. This configuration has worked in the past however latest pulseaudio update has broken it. Also nvidia update could have contributed.

Workaround is to remove pulseaudio and use Kodi's AudioEngine for HDMI bitstreaming in 5.1/7.1. I am unable to use Chrome for sound in this configuration however.
Comment by Jan Alexander Steffens (heftig) - Thursday, 21 May 2015, 09:15 GMT
Please support upstream at https://bugs.freedesktop.org/show_bug.cgi?id=89139 in fixing this issue.

Loading...