no HDMI video output since GDM greeter after linux-oem-osp1 version 5.0.0-1026

Bug #1852386 reported by You-Sheng Yang on 2019-11-13
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Undecided
Unassigned
linux (Ubuntu)
Status tracked in Focal
Bionic
Undecided
Unassigned
Eoan
Medium
You-Sheng Yang
Focal
Undecided
You-Sheng Yang
linux-oem-osp1 (Ubuntu)
Status tracked in Focal
Bionic
Undecided
You-Sheng Yang
Eoan
Undecided
Unassigned
Focal
Undecided
Unassigned

Bug Description

[SRU Justification: oem-osp1-bionic]

[Impact]
Bug 1849278 introduced a regression on some Comet Lake platforms that
device may have no video output on HDMI port.

[Fix]
A currently in-review patch
https://patchwork.freedesktop.org/patch/340416 should be applied to
correct PCH's identity and restore HDMI output.

[Test Case]
1. Apply the patches to oem-osp1 kernel >= 1026 or Eoan/Focal generic
kernels.
2. Boot affected platforms with HDMI cable connected to an external
monitor.
3. Check if the monitor lights up when GDM service is started.

This was verified in to victim platforms.

[Regression Risk]
Low. This should affects only systems with matching PCH hw that is
currently affected by the regression to be fixed.

==============================================

[SRU Justification: E/F/U]

[Impact]
Some Comet Lake platforms got i915 call trace dump due to the lake of
support to its PCH id:

  [ 2.999233] ------------[ cut here ]------------
  [ 2.999238] eDP powered off while attempting aux channel
  communication.
  [ 2.999338] WARNING: CPU: 2 PID: 296 at
  drivers/gpu/drm/i915/display/intel_dp.c:1148
  intel_dp_aux_xfer+0x767/0x900 [i915]
  [ 2.999341] Modules linked in: i915(+) i2c_algo_bit drm_kms_helper
  syscopyarea sysfillrect sysimgblt fb_sys_fops drm r8169 ahci realtek
  libahci wmi video
  [ 2.999350] CPU: 2 PID: 296 Comm: systemd-udevd Not tainted
  5.3.0-997-generic #201910072204
  [ 2.999352] Hardware name: Dell Inc. OptiPlex 3280 AIO/, BIOS
  99.00.08 10/01/2019
  [ 2.999391] RIP: 0010:intel_dp_aux_xfer+0x767/0x900 [i915]
  [ 2.999394] Code: e8 ee b5 ff ff 84 c0 0f 85 ec f9 ff ff 48 8b 7d 80
  e8 5d b6 ff ff 84 c0 0f 85 db f9 ff ff 48 c7 c7 50 22 5d c0 e8 84 ea b5
  d1 <0f> 0b 48 8b 7d 80 48 8d 75 90 4c 8d ab a8 07 00 00 e8 63 b4 ff ff
  [ 2.999398] RSP: 0018:ffffb7000040b5b8 EFLAGS: 00010286
  [ 2.999400] RAX: 0000000000000000 RBX: ffff9bfa9dc20000 RCX:
  0000000000000396
  [ 2.999402] RDX: 0000000000000001 RSI: 0000000000000082 RDI:
  0000000000000246
  [ 2.999404] RBP: ffffb7000040b698 R08: 0000000000000396 R09:
  0000000000000019
  [ 2.999406] R10: 000000000000072e R11: ffffb7000040b420 R12:
  0000000000000004
  [ 2.999408] R13: ffff9bfa9fbca120 R14: ffff9bfa9dc20000 R15:
  ffff9bfa9dc207a8
  [ 2.999410] FS: 00007f0d8613a680(0000) GS:ffff9bfaaec80000(0000)
  knlGS:0000000000000000
  [ 2.999412] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [ 2.999414] CR2: 00007ffca955ae58 CR3: 000000041e67e002 CR4:
  00000000003606e0
  [ 2.999416] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
  0000000000000000
  [ 2.999418] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
  0000000000000400
  [ 2.999420] Call Trace:
  [ 2.999425] ? vprintk_default+0x29/0x50
  [ 2.999464] intel_dp_aux_transfer+0x15e/0x220 [i915]
  [ 2.999472] drm_dp_dpcd_access+0x72/0x110 [drm_kms_helper]
  [ 2.999478] drm_dp_dpcd_read+0x33/0xc0 [drm_kms_helper]
  [ 2.999515] intel_dp_read_dpcd+0x41/0x130 [i915]
  [ 2.999551] intel_edp_init_connector+0x136/0x540 [i915]
  [ 2.999587] intel_dp_init_connector+0x47f/0x870 [i915]
  [ 2.999623] intel_ddi_init+0x425/0x590 [i915]
  [ 2.999660] intel_setup_outputs+0x8e4/0xc60 [i915]

[Fix]
Two patches to be backported to have correct support:
* commit 37c92dc303dd "drm/i915: Add new CNL PCH ID seen on a CML
  platform" from drm-tip tree.
* patch "https://patchwork.freedesktop.org/patch/340416"

[Test Case]
1. Apply the patches to oem-osp1 kernel >= 1026 or Eoan/Focal generic
kernels.
2. Boot affected platforms with HDMI cable connected to an external
monitor.
3. Check if the monitor lights up when GDM service is started.

This was verified in to victim platforms.

[Regression Risk]
Low. This should affects only systems with matching PCH hw that is
currently affected by the regression to be fixed.

========== original bug description ==========

This is a regression caused by bug 1849278, which sends external monitor (via HDMI port) to DPMS mode.

Commit 1d6870b9f9ca "UBUNTU: SAUCE: drm/i915: Add new CNL PCH ID seen on a CML platform"[1] was originated from https://bugs.freedesktop.org/show_bug.cgi?id=112051 patch https://bugs.freedesktop.org/attachment.cgi?id=145786 , which can cause this regression and was then revised by https://bugs.freedesktop.org/attachment.cgi?id=145843 and is currently in review in https://patchwork.freedesktop.org/patch/340416/?series=69345&rev=1 .

[1]: https://git.launchpad.net/~canonical-kernel/ubuntu/+source/linux-oem-osp1/+git/bionic/commit/?h=oem-next&id=1d6870b9f9cab73179d694479e7ec667f7e1e2e7

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-5.0.0-1027-oem-osp1 5.0.0-1027.31
ProcVersionSignature: Ubuntu 5.0.0-1027.31-oem-osp1 5.0.21
Uname: Linux 5.0.0-1027-oem-osp1 x86_64
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: gdm 1739 F.... pulseaudio
Date: Wed Nov 13 14:22:06 2019
DistributionChannelDescriptor:
 # This is the distribution channel descriptor for the OEM CDs
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-bionic-amd64-20190418-59+beaver-osp1-ygritte+X28
InstallationDate: Installed on 2019-11-05 (8 days ago)
InstallationMedia: Ubuntu 18.04 "Bionic" - Build amd64 LIVE Binary 20190418-12:10
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 0cf3:e007 Atheros Communications, Inc.
 Bus 001 Device 002: ID 062a:4c01 Creative Labs
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. OptiPlex 3080
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-1027-oem-osp1 root=UUID=05eaedf0-39f2-4353-9c49-de8aa0ebc39b ro reboot=efi drm.debug=0x107 log_bug_len=32M
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-5.0.0-1027-oem-osp1 N/A
 linux-backports-modules-5.0.0-1027-oem-osp1 N/A
 linux-firmware 1.173.11
SourcePackage: linux-oem-osp1
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/04/2019
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 0.8.17
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr0.8.17:bd11/04/2019:svnDellInc.:pnOptiPlex3080:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct3:cvr:
dmi.product.family: OptiPlex
dmi.product.name: OptiPlex 3080
dmi.product.sku: 09A8
dmi.sys.vendor: Dell Inc.

You-Sheng Yang (vicamo) wrote :
You-Sheng Yang (vicamo) on 2019-11-13
description: updated
You-Sheng Yang (vicamo) on 2019-11-13
tags: added: oem-priority originate-from-1850768 somerville
You-Sheng Yang (vicamo) on 2019-11-13
Changed in linux (Ubuntu Bionic):
status: New → Won't Fix

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Changed in linux (Ubuntu Eoan):
status: New → Confirmed
You-Sheng Yang (vicamo) on 2019-11-13
Changed in linux (Ubuntu Eoan):
status: Confirmed → In Progress
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux (Ubuntu Focal):
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux-oem-osp1 (Ubuntu Bionic):
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux (Ubuntu Focal):
status: Confirmed → In Progress
Changed in linux-oem-osp1 (Ubuntu Bionic):
status: New → In Progress
description: updated
You-Sheng Yang (vicamo) wrote :

The second patch has been landed as upstream commit https://cgit.freedesktop.org/drm/drm-tip/commit/?id=50a5065f4474c2dbc1f7462b45a32d33d7b48d88 "drm/i915: Fix detection for a CMP-V PCH".

Timo Aaltonen (tjaalton) on 2019-11-18
Changed in linux-oem-osp1 (Ubuntu Bionic):
status: In Progress → Fix Committed
Timo Aaltonen (tjaalton) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-bionic' to 'verification-done-bionic'. If the problem still exists, change the tag 'verification-needed-bionic' to 'verification-failed-bionic'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-bionic
Yuan-Chen Cheng (ycheng-twn) wrote :

per test 5.0.0.1030.34 from the proposed chanel on a Comet Lake-S platform, I confirm the issue is gone.

tags: added: verification-done-bionic
removed: verification-needed-bionic
Changed in linux-oem-osp1 (Ubuntu Focal):
status: New → Invalid
Stefan Bader (smb) on 2019-11-28
Changed in linux (Ubuntu Eoan):
importance: Undecided → Medium
Changed in linux (Ubuntu Eoan):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :
Download full text (26.3 KiB)

This bug was fixed in the package linux-oem-osp1 - 5.0.0-1030.34

---------------
linux-oem-osp1 (5.0.0-1030.34) bionic; urgency=medium

  * bionic/linux-oem-osp1: 5.0.0-1030.34 -proposed tracker (LP: #1853116)

  * Add support for Realtek 8723DE wireless adapter (LP: #1780590)
    - SAUCE: rtw88: 8822c: update PHY parameter to v38
    - SAUCE: rtw88: 8822c: update pwr_seq to v13
    - SAUCE: rtw88: 8822c: Enable interrupt migration
    - SAUCE: rtw88: 8822c: add FW IQK support
    - SAUCE: rtw88: 8822c: add SW DPK support
    - SAUCE: rtw88: move IQK/DPK into phy_calibration
    - SAUCE: rtw88: add dynamic cck pd mechanism
    - SAUCE: rtw88: allows to receive AMSDU in AMPDU
    - SAUCE: rtw88: remove redundant flag check helper function
    - SAUCE: rtw88: pci: extract skbs free routine for trx rings
    - SAUCE: rtw88: pci: release tx skbs DMAed when stop
    - SAUCE: rtw88: not to enter or leave PS under IRQ
    - SAUCE: rtw88: not to control LPS by each vif
    - SAUCE: rtw88: remove unused lps state check helper
    - SAUCE: rtw88: LPS enter/leave should be protected by lock
    - SAUCE: rtw88: leave PS state for dynamic mechanism
    - SAUCE: rtw88: add deep power save support
    - SAUCE: rtw88: not to enter LPS by coex strategy
    - SAUCE: rtw88: select deep PS mode when module is inserted
    - SAUCE: rtw88: add deep PS PG mode for 8822c
    - SAUCE: rtw88: add RTS support
    - SAUCE: rtw88: add driver tx queue support
    - SAUCE: rtw88: take over rate control from mac80211
    - SAUCE: rtw88: report tx rate to mac80211 stack
    - SAUCE: rtw88: add TX-AMSDU support
    - SAUCE: rtw88: add power tracking support
    - SAUCE: rtw88: Enable 802.11ac beamformee support
    - SAUCE: rtw88: flush hardware tx queues
    - SAUCE: rtw88: config 8822c multicast address in MAC init flow
    - SAUCE: rtw88: add set_bitrate_mask support
    - SAUCE: rtw88: use struct rtw_fw_hdr to access firmware header
    - SAUCE: rtw88: fix NSS of hw_cap
    - SAUCE: rtw88: fix error handling when setup efuse info
    - SAUCE: rtw88: fix wrong rx power calculation
    - SAUCE: rtw88: update regulatory settings implementaion
    - SAUCE: rtw88: check firmware leave lps successfully
    - SAUCE: rtw88: support wowlan feature for 8822c
    - SAUCE: rtw88: wowlan: support pattern match
    - SAUCE: rtw88: wowlan: support PNO for 8822C
    - SAUCE: rtw88: add phy_info debugfs to show Tx/Rx physical status
    - SAUCE: rtw88: coex: Set 4 slot mode for A2DP
    - SAUCE: rtw88: default enable LPS + LCLK
    - SAUCE: rtw88: add module parameter to enable PCIE clock request
    - SAUCE: rtw88: add module parameter to enable PCIE ASPM L1
    - SAUCE: rtw88: fix TX secondary channel offset of 40M if current bw is 20M or
      40M
    - SAUCE: rtw88: Use secondary channel offset enumeration to make better read
    - SAUCE: rtw88: keep leave and enter IPS as the first and last in config
      callback
    - SAUCE: rtw88: fix rate mask for 1SS chip
    - SAUCE: rtw88: refine conversion of rx_evm_dbm from rx_evm
    - SAUCE: rtw88: 8723d: Add basic chip information of 8723D
    - SAUCE: rtw88: 8723de: Add 8723DE to Kconfig and Makefile
    - SAUCE: rtw88: 8723d: check se...

Changed in linux-oem-osp1 (Ubuntu Bionic):
status: Fix Committed → Fix Released
Changed in linux-oem-osp1 (Ubuntu Eoan):
status: New → Fix Released

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-eoan' to 'verification-done-eoan'. If the problem still exists, change the tag 'verification-needed-eoan' to 'verification-failed-eoan'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-eoan
You-Sheng Yang (vicamo) wrote :

Verified 5.3.0-25-generic/eoan-proposed.

tags: added: verification-done-eoan
removed: verification-needed-eoan
Launchpad Janitor (janitor) wrote :
Download full text (27.4 KiB)

This bug was fixed in the package linux - 5.3.0-26.28

---------------
linux (5.3.0-26.28) eoan; urgency=medium

  * eoan/linux: 5.3.0-26.28 -proposed tracker (LP: #1856807)

  * nvidia-435 is in eoan, linux-restricted-modules only builds against 430,
    ubiquity gives me the self-signed modules experience instead of using the
    Canonical-signed modules (LP: #1856407)
    - Add nvidia-435 dkms build

linux (5.3.0-25.27) eoan; urgency=medium

  * eoan/linux: 5.3.0-25.27 -proposed tracker (LP: #1854762)

  * CVE-2019-14901
    - SAUCE: mwifiex: Fix heap overflow in mmwifiex_process_tdls_action_frame()

  * CVE-2019-14896 // CVE-2019-14897
    - SAUCE: libertas: Fix two buffer overflows at parsing bss descriptor

  * CVE-2019-14895
    - SAUCE: mwifiex: fix possible heap overflow in mwifiex_process_country_ie()

  * [CML] New device id's for CMP-H (LP: #1846335)
    - mmc: sdhci-pci: Add another Id for Intel CML
    - i2c: i801: Add support for Intel Comet Lake PCH-H
    - mtd: spi-nor: intel-spi: Add support for Intel Comet Lake-H SPI serial flash
    - mfd: intel-lpss: Add Intel Comet Lake PCH-H PCI IDs

  * i915: Display flickers (monitor loses signal briefly) during "flickerfree"
    boot, while showing the BIOS logo on a black background (LP: #1836858)
    - [Config] FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER=y

  * Please add patch fixing RK818 ID detection (LP: #1853192)
    - SAUCE: mfd: rk808: Fix RK818 ID template

  * Kernel build log filled with "/bin/bash: line 5: warning: command
    substitution: ignored null byte in input" (LP: #1853843)
    - [Debian] Fix warnings when checking for modules signatures

  * Lenovo dock MAC Address pass through doesn't work in Ubuntu (LP: #1827961)
    - r8152: Add macpassthru support for ThinkPad Thunderbolt 3 Dock Gen 2

  * Dell XPS 13 9350/9360 headphone audio hiss (LP: #1654448) // [XPS 13 9360,
    Realtek ALC3246, Black Headphone Out, Front] High noise floor (LP: #1845810)
    - ALSA: hda/realtek: Reduce the Headphone static noise on XPS 9350/9360

  * no HDMI video output since GDM greeter after linux-oem-osp1 version
    5.0.0-1026 (LP: #1852386)
    - drm/i915: Add new CNL PCH ID seen on a CML platform
    - SAUCE: drm/i915: Fix detection for a CMP-V PCH

  * [broadwell-rt286, playback] Since Linux 5.2rc2 audio playback no longer
    works on Dell Venue 11 Pro 7140 (LP: #1846539)
    - [Config] Drop snd-sof-intel-bdw build
    - SAUCE: ASoC: SOF: Intel: Broadwell: clarify mutual exclusion with legacy
      driver

  * [CML-S62] Need enable turbostat patch support for Comet lake- S 6+2
    (LP: #1847451)
    - SAUCE: tools/power turbostat: Add Cometlake support

  * External microphone can't work on some dell machines with the codec alc256
    or alc236 (LP: #1853791)
    - SAUCE: ALSA: hda/realtek - Move some alc256 pintbls to fallback table
    - SAUCE: ALSA: hda/realtek - Move some alc236 pintbls to fallback table

  * Memory leak in net/xfrm/xfrm_state.c - 8 pages per ipsec connection
    (LP: #1853197)
    - xfrm: Fix memleak on xfrm state destroy

  * CVE-2019-18660: patches for Ubuntu (LP: #1853142) // CVE-2019-18660
    - powerpc/64s: support nospectre_v2 cmdline option
    - powerp...

Changed in linux (Ubuntu Eoan):
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :
Download full text (8.6 KiB)

This bug was fixed in the package linux - 5.4.0-9.12

---------------
linux (5.4.0-9.12) focal; urgency=medium

  * alsa/hda/realtek: the line-out jack doens't work on a dell AIO
    (LP: #1855999)
    - SAUCE: ALSA: hda/realtek - Line-out jack doesn't work on a Dell AIO

  * scsi: hisi_sas: Check sas_port before using it (LP: #1855952)
    - scsi: hisi_sas: Check sas_port before using it

  * CVE-2019-19078
    - ath10k: fix memory leak

  * cifs: DFS Caching feature causing problems traversing multi-tier DFS setups
    (LP: #1854887)
    - cifs: Fix retrieval of DFS referrals in cifs_mount()

  * Support DPCD aux brightness control (LP: #1856134)
    - SAUCE: drm/i915: Fix eDP DPCD aux max backlight calculations
    - SAUCE: drm/i915: Assume 100% brightness when not in DPCD control mode
    - SAUCE: drm/i915: Fix DPCD register order in intel_dp_aux_enable_backlight()
    - SAUCE: drm/i915: Auto detect DPCD backlight support by default
    - SAUCE: drm/i915: Force DPCD backlight mode on X1 Extreme 2nd Gen 4K AMOLED
      panel
    - USUNTU: SAUCE: drm/i915: Force DPCD backlight mode on Dell Precision 4K sku

  * The system cannot resume from S3 if user unplugs the TB16 during suspend
    state (LP: #1849269)
    - PCI: pciehp: Do not disable interrupt twice on suspend
    - PCI: pciehp: Prevent deadlock on disconnect

  * change kconfig of the soundwire bus driver from y to m (LP: #1855685)
    - [Config]: SOUNDWIRE=m

  * alsa/sof: change to use hda hdmi codec driver to make hdmi audio on the
    docking station work (LP: #1855666)
    - ALSA: hda/hdmi - implement mst_no_extra_pcms flag
    - ASoC: hdac_hda: add support for HDMI/DP as a HDA codec
    - ASoC: Intel: skl-hda-dsp-generic: use snd-hda-codec-hdmi
    - ASoC: Intel: skl-hda-dsp-generic: fix include guard name
    - ASoC: SOF: Intel: add support for snd-hda-codec-hdmi
    - ASoC: Intel: bxt-da7219-max98357a: common hdmi codec support
    - ASoC: Intel: glk_rt5682_max98357a: common hdmi codec support
    - ASoC: intel: sof_rt5682: common hdmi codec support
    - ASoC: Intel: bxt_rt298: common hdmi codec support
    - ASoC: SOF: enable sync_write in hdac_bus
    - [config]: SND_SOC_SOF_HDA_COMMON_HDMI_CODEC=y

  * Fix unusable USB hub on Dell TB16 after S3 (LP: #1855312)
    - SAUCE: USB: core: Make port power cycle a seperate helper function
    - SAUCE: USB: core: Attempt power cycle port when it's in eSS.Disabled state

  * Focal update: v5.4.3 upstream stable release (LP: #1856583)
    - rsi: release skb if rsi_prepare_beacon fails
    - arm64: tegra: Fix 'active-low' warning for Jetson TX1 regulator
    - arm64: tegra: Fix 'active-low' warning for Jetson Xavier regulator
    - perf scripts python: exported-sql-viewer.py: Fix use of TRUE with SQLite
    - sparc64: implement ioremap_uc
    - lp: fix sparc64 LPSETTIMEOUT ioctl
    - time: Zero the upper 32-bits in __kernel_timespec on 32-bit
    - mailbox: tegra: Fix superfluous IRQ error message
    - staging/octeon: Use stubs for MIPS && !CAVIUM_OCTEON_SOC
    - usb: gadget: u_serial: add missing port entry locking
    - serial: 8250-mtk: Use platform_get_irq_optional() for optional irq
    - tty: serial: fsl_lpuart: use the sg ...

Read more...

Changed in linux (Ubuntu Focal):
status: In Progress → Fix Released
Changed in hwe-next:
status: New → Incomplete
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers