Dell XPS 15 2016 with Ubuntu 16 Sound HDMI issues

Bug #1649763 reported by Daniel Rodriguez
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
OEM Priority Project
Confirmed
Low
Unassigned
Unity Control Center
New
Undecided
Unassigned
unity-control-center (Ubuntu)
Confirmed
High
Unassigned

Bug Description

This issue is related to sound not working properly on Ubuntu when switching between an external display using HDMI with 4K resolution and the standard laptop display.

Issue 1 - Sound only works on laptop when plugged into 4k HDMI display
Issue 2 - Sound doesn't work when plugged removed from 4k HDMI display

When you plug in a 4k Display that supports sound to the Dell XPS 15 2016 model the sound only works on the laptop. Only when you go to Sound Settings and manually select the HDMI output for sound does the sound start to work on the display itself instead of the laptop.

When you unplug the HDMI 4k display the sound doesn't work on the laptop. When you go to the Sound Settings dialog it only shows one output that is selected - if you select the same output thats already selected the sound starts to work again on the laptop.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1649763/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → unity (Ubuntu)
affects: unity (Ubuntu) → unity-control-center (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-control-center (Ubuntu):
status: New → Confirmed
Hui Wang (hui.wang)
Changed in unity-control-center (Ubuntu):
assignee: nobody → Hui Wang (hui.wang)
importance: Undecided → High
Revision history for this message
Hui Wang (hui.wang) wrote :

I don't think the issue 1 is a problem, since the pulseaudio's design is just like that. In the pulseaudio, the HDMI output does not have higher priority than internal speaker. If users want the sound output via HDMI, users need to select it manually.

For issue 2, it is really a problem, and I can reproduce this problem on my own laptop, so it is a common problem instead of specific to Dell xps 15 and 4K monitor.

I am debugging the pulseaudio's code and u-c-c's code, try to fix this problem from either PA or u-c-c.

Revision history for this message
Jared Dominguez (jared-dominguez) wrote :

It sounds to me like issue 1 should be opened as a separate bug report as a feature request. I think it makes sense to at least prompt the user whether they want to switch to external audio.

Revision history for this message
Hui Wang (hui.wang) wrote :

Yes, I agree with the comment #4.

Revision history for this message
Hui Wang (hui.wang) wrote :

And for issue #2, I found if we open the u-c-c when unplugging the HDMI cable, the issue #2 will not happen. But it does not make sense to keep the u-c-c opened all the time since it is not a daemon app.

So I think it is difficult to fix this problem in the u-c-c, I will focus on looking for a solution in the pulseaudio.

Chih-Hsyuan Ho (chih)
no longer affects: unity-control-center
affects: unity-control-center (Ubuntu) → oem-priority
affects: oem-priority → unity-control-center (Ubuntu)
Changed in oem-priority:
importance: Undecided → Critical
Changed in oem-priority:
importance: Critical → High
Revision history for this message
Hui Wang (hui.wang) wrote :

Sent a patch for pulseaudio to fix this problem. The track URL is here:
 https://lists.freedesktop.org/archives/pulseaudio-discuss/2017-April/028083.html

Changed in oem-priority:
status: New → Confirmed
affects: unity-control-center → dell-sputnik
affects: dell-sputnik → unity-control-center
Revision history for this message
Hui Wang (hui.wang) wrote :

Looks like this issue is fixed by 3 pulseaudio patches. two of them already been merged to master branch, waiting for the last one to be merged.

Revision history for this message
Hui Wang (hui.wang) wrote :

The 3 fixing commits are (pulseaudio):

6b348961304903483aa78d4ddc1fd036ef75a7cb
1c477fcb679ac50259ef057ebe23c80c529aa612
4c6843f02067bed2a299bed1651d00832e2afea0

Revision history for this message
Anthony Wong (anthonywong) wrote :

From what I learnt from Hui Wang, it is not easy to backport these 3 commits to 16.04, or even it is not possible at all. These commits make a great change for pulseaudio core as well as some other modules, it will affect a lot of existing functions in the pulesaudio. The 1st commit looks like below. I will leave the decision to desktop team if we want to fix this in 16.04 or not.

hwang4@hwang4-Inspiron-7520:~/source/pulseaudio$ git show 6b348961304903483aa78d4ddc1fd036ef75a7cb |diffstat
modules/dbus/iface-core.c | 114 ++++++++++++++-------
modules/dbus/iface-sample.c | 10 +
modules/module-default-device-restore.c | 14 +-
modules/module-intended-roles.c | 37 +++---
modules/module-rescue-streams.c | 20 +--
modules/module-switch-on-connect.c | 30 +++--
pulsecore/cli-command.c | 20 +--
pulsecore/cli-text.c | 12 --
pulsecore/core.c | 170 ++++++++++++++++++++++++++++++++
pulsecore/core.h | 28 ++++-
pulsecore/namereg.c | 115 +--------------------
pulsecore/namereg.h | 6 -
pulsecore/protocol-native.c | 19 +--
pulsecore/sink.c | 7 +
pulsecore/source.c | 7 +
15 files changed, 370 insertions(+), 239 deletions(-)

Changed in unity-control-center (Ubuntu):
assignee: Hui Wang (hui.wang) → nobody
Changed in oem-priority:
importance: High → Low
Rex Tsai (chihchun)
tags: added: oem-priority
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.