Bug 89139 - Pulseaudio 6.0 on Arch no HDMI sound after upgrade from 5.0
Summary: Pulseaudio 6.0 on Arch no HDMI sound after upgrade from 5.0
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: alsa (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
: 89138 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-02-13 17:55 UTC by Marc Geerlings
Modified: 2018-07-30 10:09 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
pacmd list-sinks (4.35 KB, text/plain)
2015-02-13 18:01 UTC, Marc Geerlings
Details
pacmd list (25.38 KB, text/plain)
2015-02-13 18:02 UTC, Marc Geerlings
Details
pacmd list, (currently working configuration, arch, pulseaudio 5.0-1) (25.71 KB, text/plain)
2015-02-13 19:36 UTC, Marc Geerlings
Details
pacmd list-sinks, (currently working configuration, arch, pulseaudio 5.0-1) (4.37 KB, text/plain)
2015-02-13 19:36 UTC, Marc Geerlings
Details
default.pa (working on 5.0-1, not working on 6.0-1) (5.58 KB, text/plain)
2015-02-13 19:38 UTC, Marc Geerlings
Details

Description Marc Geerlings 2015-02-13 17:55:54 UTC
After upgrade HDMI is not working, downgrading to 5.0-1 everything works again.

"pactl info"

pactl info
Server String: /run/user/1001/pulse/native
Library Protocol Version: 30
Server Protocol Version: 30
Is Local: yes
Client Index: 28
Tile Size: 65472
User Name: xbmc
Host Name: titanium
Server Name: pulseaudio
Server Version: 6.0
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_03.0.hdmi-stereo
Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
Cookie: b50a:197b

There is something I notice with pacmd

"pacmd info" shows my hdmi sink with 3 ports:
		active profile: <output:hdmi-stereo>
	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"

"pacmd list-sinks" shows only one port:
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"

If I do "pacmd set-sink-port alsa_output.pci-0000_00_03.0.hdmi-stereo  hdmi-output-0" there is no error.
If I do 'pacmd set-sink-port alsa_output.pci-0000_00_03.0.hdmi-stereo  hdmi-output-2" the error is "Failed to set sink port to 'hdmi-output-2'".
Comment 1 Marc Geerlings 2015-02-13 18:01:43 UTC
Created attachment 113473 [details]
pacmd list-sinks

Notice the one port.
Comment 2 Marc Geerlings 2015-02-13 18:02:22 UTC
Created attachment 113474 [details]
pacmd list

Notice the three ports with #3 active
Comment 3 Marc Geerlings 2015-02-13 19:36:02 UTC
Created attachment 113477 [details]
pacmd list, (currently working configuration, arch, pulseaudio 5.0-1)
Comment 4 Marc Geerlings 2015-02-13 19:36:46 UTC
Created attachment 113478 [details]
pacmd list-sinks, (currently working configuration, arch, pulseaudio 5.0-1)
Comment 5 Marc Geerlings 2015-02-13 19:38:53 UTC
Created attachment 113479 [details]
default.pa (working on 5.0-1, not working on 6.0-1)
Comment 6 Marc Geerlings 2015-02-13 19:53:58 UTC
Put following in /etc/pulse/default.pa

### Make some devices default
set-default-sink 0
set-sink-port 0  hdmi-output-2

Works in 5.0-1, doesn't work in 6.0-1

journalctl output:
Feb 13 20:45:55 titanium pulseaudio[731]: [pulseaudio] main.c: Daemon startup failed.
Feb 13 20:45:55 titanium pulseaudio[734]: [pulseaudio] main.c: Failed to initialize daemon.
Feb 13 20:45:55 titanium pulseaudio[734]: [pulseaudio] main.c: Failed to set sink port to 'hdmi-output-2'.
Feb 13 20:45:55 titanium pulseaudio[717]: [pulseaudio] main.c: Daemon startup failed.
Feb 13 20:45:55 titanium pulseaudio[722]: [pulseaudio] main.c: Failed to initialize daemon.
Feb 13 20:45:55 titanium pulseaudio[722]: [pulseaudio] main.c: Failed to set sink port to 'hdmi-output-2'.
Feb 13 20:45:55 titanium pulseaudio[694]: [pulseaudio] main.c: Daemon startup failed.
Feb 13 20:45:55 titanium pulseaudio[708]: [pulseaudio] main.c: Failed to initialize daemon.
Feb 13 20:45:55 titanium pulseaudio[708]: [pulseaudio] main.c: Failed to set sink port to 'hdmi-output-2'.
Feb 13 20:45:54 titanium pulseaudio[688]: [pulseaudio] main.c: Daemon startup failed.
Feb 13 20:45:54 titanium pulseaudio[702]: [pulseaudio] main.c: Failed to initialize daemon.
Feb 13 20:45:54 titanium pulseaudio[702]: [pulseaudio] main.c: Failed to set sink port to 'hdmi-output-2'.
Feb 13 20:45:54 titanium pulseaudio[676]: [pulseaudio] main.c: Daemon startup failed.
Feb 13 20:45:54 titanium pulseaudio[681]: [pulseaudio] main.c: Failed to initialize daemon.
Feb 13 20:45:54 titanium pulseaudio[681]: [pulseaudio] main.c: Failed to set sink port to 'hdmi-output-2'.
Comment 7 Arun Raghavan 2015-02-14 06:04:25 UTC
*** Bug 89138 has been marked as a duplicate of this bug. ***
Comment 8 David Henningsson 2015-02-16 08:48:36 UTC
Ok, so the problem is that in 6.0, the hdmi-output-2 port is not detected, and therefore you cannot set it either.

On a fresh reboot with PA 6.0 (so that 6.0's udev rules get loaded correctly), if the problem still exists, could you please attach a pulseaudio verbose log ( https://wiki.ubuntu.com/PulseAudio/Log )? Thanks.
Comment 9 Marc Geerlings 2015-02-16 12:07:24 UTC
You can close the bug.
When trying to generate a log I deleted the contents of .config/pulse.
After this everything worked again.
Comment 10 Rex Dieter 2015-02-16 17:03:16 UTC
Closing as requested
Comment 11 David Henningsson 2015-02-17 07:39:29 UTC
Ok. It would still be interesting to know what in .config/pulse that caused the hdmi-output-2 not to show up, but I guess this is not possible now.
Comment 12 Marc Geerlings 2015-02-17 13:29:23 UTC
Ther was no config in the .config/pulse directory only files similar like the below:

97bbff4fccec44d8a752d33ca671549a-card-database.tdb
97bbff4fccec44d8a752d33ca671549a-default-sink
97bbff4fccec44d8a752d33ca671549a-default-source
97bbff4fccec44d8a752d33ca671549a-device-volumes.tdb
97bbff4fccec44d8a752d33ca671549a-stream-volumes.tdb
cookie

Sadly the contents is unknow, when I was following the instruction to create a log I saw this and removeditwihout thinking, after this hdmi worked as expected. Without changing anything else.
Comment 13 Mark Zanfardino 2015-02-27 09:18:11 UTC
Please note that I am encountering the exact same issue with two different machines both running Arch, one exhibits identical behavior as posted by Marc right down to the log files, the other exhibits the same behavior with slightly different hardware.

Please let me know if I should post all the same log data or if there is additional information I can provide.

NOTE: I removed ~/.config/pulse after re-installing pulseaudio-6 but found not change: audio output still null.
Comment 14 David Henningsson 2015-02-27 13:19:10 UTC
Yes, we'll need a PulseAudio verbose log from a system that shows the problem: https://wiki.ubuntu.com/PulseAudio/Log
Comment 15 richard 2015-04-04 18:20:32 UTC
I'm on a current Arch (x86_64) system and Pulse Audio 6 doesn't work at all. Pulse Audio 5 worked beautifully. 

I do use alsa on an Intel C210 Series Chipset Family High Definition Audio Controller with Analog and HDMI outputs. 

PA 6 acts completely dead. Doesn't repsond to any commands, for example:

"pactl set-sink-mute 0 toggle" does nothing, but works perfectly on PA 5

Fortunately I'm able to downgrade to PA 5 to keeps things working.
Comment 16 Tanu Kaskinen 2015-04-14 11:56:16 UTC
Since this is a regression, I'm making this a release blocker.

I'm also changing the status to NEEDINFO, because we really need those logs to be able to do anything. So Mark and Richard, could you please get the logs as instructed at https://wiki.ubuntu.com/PulseAudio/Log ?
Comment 17 David Henningsson 2015-06-03 08:04:59 UTC
Since we can't get proper logs of a system exposing this problem, I think we should close it (or at least not mark it as release blocker for 7.0).
Comment 18 Raymond 2015-06-17 02:26:51 UTC
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>


why do an active port  when available is no ?
Comment 19 GitLab Migration User 2018-07-30 10:09:35 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/245.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.