Bug 88823

Summary: TV audio output device not remembered
Product: PulseAudio Reporter: amichai2
Component: coreAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: output of 'xrandr --verbose' command

Description amichai2 2015-01-27 10:25:21 UTC
I've recently upgraded to Kubuntu 14.10 (KDE 4.14.2), and started getting this issue: Whenever my monitors enter energy savings mode (when pc is idle for a while - the pc itself is not suspended, only the monitors are), then the TV (connected as third display to PC) is no longer remembered as an audio output device.

So every time I want to use the TV I must go to K Menu -> System Settings -> Multimedia -> Audio and Video Settings -> Audio Hardware Setup -> Profile and re-select the proper profile. Sound Card is "Built-in Audio", and there are 3 different profiles in the dopdown list all identically named "Digital Stereo (HDMI) Output", however selecting each of them gives a different Connector name below: "HDMI / DisplayPort", "HDMI / DisplayPort 2 " and "HDMI / DisplayPort 3".

In my case the second one is the correct one, but when a screen energy savings mode is activated it reverts back to the third, which is incorrect.

This issue did not occur before the upgrade, and there were no other hardware changes.

See https://bugs.kde.org/show_bug.cgi?id=340979 for the previous history and discussion of this issue.
Comment 1 Raymond 2015-02-01 07:03:27 UTC
do you mean you have two hdmi connected ?

Active Profile: output:hdmi-stereo-extra1
	Ports:
		hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo, output:hdmi-surround
		hdmi-output-1: HDMI / DisplayPort 2 (priority: 5800, latency offset: 0 usec, available)
			Properties:
				device.icon_name = "video-display"
				device.product.name = "PANASONIC-TV"
			Part of profile(s): output:hdmi-stereo-extra1
		hdmi-output-2: HDMI / DisplayPort 3 (priority: 5700, latency offset: 0 usec, available)
			Properties:
				device.icon_name = "video-display"
				device.product.name = "SyncMaster"
			Part of profile(s): output:hdmi-stereo-extra2
Comment 2 amichai2 2015-02-01 08:48:00 UTC
I have a total of 3 connected: one monitor via DVI, one monitor via HDMI, and the TV via DP with a DP->HDMI active converter. In the KDE Display Settings they are identified as HDMI1, HDMI3 and DP1 respectively, but in the KDE Audio Hardware Setup under the first 'Built-in Audio' sound card there are 3 identically named 'Digital Stereo (HDMI) Output' options, which when selected, change the 'Connector' selection beneath it. The one showing connector 'HDMI/DisplayPort 2' is the TV. The other monitors don't have speakers on them, so selecting the other two profiles (with connectors 1 or 3) doesn't output any sound (and is not supposed to). Other than that there's a second 'Built-in Audio' sound card selection, but that's for all the analog output profiles (unrelated to monitors).

I hope that clarifies the setup :-)
Comment 3 Raymond 2015-02-01 15:36:32 UTC
xrandr --verbose


the workaround is to disable audio of your first hdmi by xrandr
Comment 4 amichai2 2015-02-01 16:02:53 UTC
Created attachment 113021 [details]
output of 'xrandr --verbose' command
Comment 5 Raymond 2015-02-01 16:11:11 UTC
HDMI1 connected 1280x1024+0+0 (0xac) normal (normal left inverted right x axis y axis) 376mm x 301mm
	Identifier: 0x44
	Timestamp:  27340
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       1
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	EDID: 
		00ffffffffffff004c2d4e033931594d
		2412010380261e782a1f35a4564d9e24
		125054bfef8081808140714f01010101
		010101010101302a009851002a403070
		1300782d1100001e000000fd00384b1e
		510e000a202020202020000000fc0053
		796e634d61737465720a2020000000ff
		00484d41513930323738350a202000c6
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
  1280x1024 (0xac)  108.0MHz +HSync +VSync *current +preferred
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock   64.0KHz
        v: height 1024 start 1025 end 1028 total 1066           clock   60.0Hz
  1280x1024 (0xad)  135.0MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock   80.0KHz
        v: height 1024 start 1025 end 1028 total 1066           clock   75.0Hz
  1280x960 (0xae)  108.0MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock   60.0KHz
        v: height  960 start  961 end  964 total 1000           clock   60.0Hz
  1152x864 (0xaf)  108.0MHz +HSync +VSync
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock   67.5KHz
        v: height  864 start  865 end  868 total  900           clock   75.0Hz
  1024x768 (0xb0)   78.8MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock   60.1KHz
        v: height  768 start  769 end  772 total  800           clock   75.1Hz
  1024x768 (0xb1)   75.0MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock   56.5KHz
        v: height  768 start  771 end  777 total  806           clock   70.1Hz
  1024x768 (0xb2)   65.0MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  832x624 (0xb3)   57.3MHz -HSync -VSync
        h: width   832 start  864 end  928 total 1152 skew    0 clock   49.7KHz
        v: height  624 start  625 end  628 total  667           clock   74.6Hz
  800x600 (0xb4)   50.0MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock   48.1KHz
        v: height  600 start  637 end  643 total  666           clock   72.2Hz
  800x600 (0xb5)   49.5MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock   46.9KHz
        v: height  600 start  601 end  604 total  625           clock   75.0Hz
  800x600 (0xb6)   40.0MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
        v: height  600 start  601 end  605 total  628           clock   60.3Hz
  800x600 (0xb7)   36.0MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock   35.2KHz
        v: height  600 start  601 end  603 total  625           clock   56.2Hz
  640x480 (0xb8)   31.5MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock   37.5KHz
        v: height  480 start  481 end  484 total  500           clock   75.0Hz
  640x480 (0xb9)   31.5MHz -HSync -VSync
        h: width   640 start  664 end  704 total  832 skew    0 clock   37.9KHz
        v: height  480 start  489 end  491 total  520           clock   72.8Hz
  640x480 (0xba)   30.2MHz -HSync -VSync
        h: width   640 start  704 end  768 total  864 skew    0 clock   35.0KHz
        v: height  480 start  483 end  486 total  525           clock   66.7Hz
  640x480 (0xbb)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   60.0Hz
  720x400 (0xbc)   28.3MHz -HSync +VSync
        h: width   720 start  738 end  846 total  900 skew    0 clock   31.5KHz
        v: height  400 start  412 end  414 total  449           clock   70.1Hz
DP1 connected 1280x720+3200+0 (0xc5) normal (normal left inverted right x axis y axis) 1434mm x 806mm
	Identifier: 0x45
	Timestamp:  27340
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:     HDMI2
	CRTC:       2
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	EDID: 
		00ffffffffffff0034a964a0f7060000
		09120103800000780adaffa3584aa229
		17494b00000001010101010101010101
		010101010101011d00bc52d01e20b828
		55409a265300001e011d007251d01e20
		6e2855009a265300001e000000fc0050
		414e41534f4e49432d54560a000000fd
		00313d0f440f000a2020202020200167
		02031f724f938414051f101203110216
		071506012309070166030c0010008001
		1d80d0721c1620102c25809a26530000
		9e8c0ad090204031200c4055009a2653
		000018011d8018711c1620582c25009a
		265300009e8c0ad08a20e02d10103e96
		009a2653000018023a80d072382d4010
		2c45809a26530000180000000000000d
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
  
HDMI2 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x46
	Timestamp:  27340
	Subpixel:   unknown
	Clones:     DP1
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
HDMI3 connected primary 1920x1200+1280+0 (0x4a) normal (normal left inverted right x axis y axis) 160mm x 90mm
	Identifier: 0x47
	Timestamp:  27340
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	EDID: 
		00ffffffffffff004c2d230434325754
		26120103801009a02aef91a3544c9b26
		0f5054230800a9408180814081009500
		b30001010101283c80a070b023403020
		3600a05a0000001a023a801871382d40
		582c4500a05a0000001e000000fd0032
		3c1b5111000a202020202020000000fc
		0053796e634d61737465720a2020016e
		02031cf148901f051404130312230907
		078301000066030c00100080011d0072
		51d01e206e285500a05a0000001e011d
		00bc52d01e20b8285540a05a0000001e
		011d8018711c1620582c2500a05a0000
		009e011d80d0721c1620102c2580a05a
		0000009e8c0ad08a20e02d10103e9600
		a05a00000018000000000000000000ae
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on



support of hdmi audio can be turn off by the hdmi graphic driver
Comment 6 GitLab Migration User 2018-07-30 10:12:52 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/270.

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.