This commit fixes the issue: commit 2d8f63297b9f0b430c96329893667c0bfdcbd47e Author: Jani Nikula <jani.nik...@intel.com> Date: Tue Sep 19 18:38:13 2017 +0300
drm/i915: always update ELD connector type after get modes drm_edid_to_eld() initializes the connector ELD to zero, overwriting the ELD connector type initialized in intel_audio_codec_enable(). If userspace does getconnector and thus get_modes after modeset, a subsequent audio component i915_audio_component_get_eld() call will receive an ELD without the connector type properly set. It's fine for HDMI, but screws up audio for DP. Always set the ELD connector type at intel_connector_update_modes() based on the connector type. We can drop the connector type update from intel_audio_codec_enable(). Credits to Joseph Nuzman <jnuz...@gmail.com> for figuring this out. Cc: Ville Syrjälä <ville.syrj...@linux.intel.com> Cc: Joseph Nuzman <jnuz...@gmail.com> Reported-by: Joseph Nuzman <jnuz...@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101583 Reviewed-by: Ville Syrjälä <ville.syrj...@linux.intel.com> Tested-by: Joseph Nuzman <jnuz...@gmail.com> Cc: sta...@vger.kernel.org # v4.10+, maybe earlier Signed-off-by: Jani Nikula <jani.nik...@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20170919153813.29808-1-jani.nik...@intel.com (cherry picked from commit d81fb7fd9436e81fda67e5bc8ed0713aa28d3db2) Signed-off-by: Rodrigo Vivi <rodrigo.v...@intel.com> It has "Cc: sta...@vger.kernel.org" so it'll get pulled into Ubuntu's kernel. ** Bug watch added: freedesktop.org Bugzilla #101583 https://bugs.freedesktop.org/show_bug.cgi?id=101583 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1709708 Title: [Intel Broxton HDMI, Digital Out, HDMI] Pulseaudio detects output but produces no sound on an HDMI TV until power cycled. Status in linux package in Ubuntu: Incomplete Status in pulseaudio package in Ubuntu: Confirmed Bug description: Upon bootup, the HDMI output connected to a Samsung TV shows up as an output. If this output is selected and a sound test run (either using the GUI or using aplay /user/share/sounds/alsa/Front_Center.wav) no sound is heard. Pavumeter does however show sound coming through. I found that sound can be fixed by allowing the display to sleep, waking it up, and then restarting pulseaudio (pulseaudio -k). After that sound output through HDMI to the TV will work until rebooted. The fix can be succesfully scripted as follows: xset dpms force off sleep 1 pulseaudio -k The machine is an Intel NUC6CAYH, connected to a not particularly new Samsung 42" TV using an HDMI cable, running a fresh install of Ubuntu 16.04. In earlier attempts at fixing the issue I set pulseaudio to never let the sound device sleep (commented out load-module module-suspend-on- idle in /etc/pulse/default.pa), and also set the default sampling rate to 48000 (default-sample-rate = 48000 in /etc/pulse/daemon.conf). Not sure if these settings contributed to the fix, but they are not sufficient on their own. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: pulseaudio 1:8.0-0ubuntu3.3 ProcVersionSignature: Ubuntu 4.10.0-30.34~16.04.1-generic 4.10.17 Uname: Linux 4.10.0-30-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.10 Architecture: amd64 Date: Wed Aug 9 21:48:39 2017 InstallationDate: Installed on 2017-08-06 (2 days ago) InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801) SourcePackage: pulseaudio Symptom: audio Symptom_Card: HDA-Intel - HDA Intel PCH Symptom_Jack: Digital Out, HDMI Title: [, Intel Broxton HDMI, Digital Out, HDMI] Pulseaudio fails to detect card UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 11/24/2016 dmi.bios.vendor: Intel Corp. dmi.bios.version: AYAPLCEL.86A.0029.2016.1124.1625 dmi.board.name: NUC6CAYB dmi.board.vendor: Intel Corporation dmi.board.version: J23203-402 dmi.chassis.type: 3 dmi.modalias: dmi:bvnIntelCorp.:bvrAYAPLCEL.86A.0029.2016.1124.1625:bd11/24/2016:svn:pn:pvr:rvnIntelCorporation:rnNUC6CAYB:rvrJ23203-402:cvn:ct3:cvr: modified.conffile..etc.pulse.daemon.conf: [modified] modified.conffile..etc.pulse.default.pa: [modified] mtime.conffile..etc.pulse.daemon.conf: 2017-08-06T22:55:35.510382 mtime.conffile..etc.pulse.default.pa: 2017-08-06T22:51:49.639085 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1709708/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp