apport information

** Attachment added: "acpidump.txt"
   
https://bugs.launchpad.net/bugs/2175509/+attachment/6020076/+files/acpidump.txt

** Description changed:

  
  Hardware: Dell Precision 7770 (SKU 0B2B), Intel Core i7-12850HX (Alder 
Lake-HX),
  NVIDIA RTX A4500 Laptop GPU (hybrid), Intel Maple Ridge Thunderbolt 4.
  Firmware: BIOS 1.42.0 (latest; flash verified against Dell's published image),
  EC 1.21, ME 16.1.42.2872, Thunderbolt NVM 43.83.
  OS: Ubuntu 26.10, kernel 7.3.0-10-generic.
- This model is sold with Ubuntu and is Ubuntu-certified.
+ The Precision 7770 is Ubuntu-certified for 20.04 LTS 
(ubuntu.com/certified/202203-30101,
+ 202203-30102); this RTX A4500 configuration and 26.10 are not part of that 
certification.
  
  SUMMARY
  1. Suspend (s2idle, the only sleep state offered) drains 3-5% battery per 
hour.
     The platform never reaches S0ix: SLP_S0 residency 0, package C-state max 
PC6.
  2. ACPI S4 hibernation ("platform" mode) aborts with "Wakeup pending. Abort 
CPU
     freeze", caused by the firmware's Intel discrete-Thunderbolt TPTS method,
     which _PTS calls.
  3. S3 is disabled in firmware (SS3 = Zero) and cannot work: the firmware never
     returns to the OS waking vector.
  
  ---------------------------------------------------------------------------
  1. s2idle never reaches S0ix
  
  - /sys/kernel/debug/pmc_core/slp_s0_residency_usec = 0 after suspend;
    substate_residencies S0i2.0 = 0.
  - package_cstate_show: PC7-PC10 are always 0; deepest is PC6. Cores reach C10.
  - MSR 0xE2 = 0x74008008 (package limit C10), so the CPU is not capped.
  - dmesg: "ACPI FADT declares the system doesn't support PCIe ASPM, so disable 
it";
    "FADT indicates ASPM is unsupported, using BIOS configuration".
  - The NVMe SSD sits on CPU root port 00:06.0, whose LnkCap says "ASPM not 
supported".
    CPU root ports 00:01.0 (dGPU) and 00:06.0 have no L1 PM Substates 
capability.
    Thunderbolt root port 00:1b.0 ships with ASPM disabled.
  - Already tried, no improvement:
    * NVreg_EnableS0ixPowerManagement=1 (the dGPU reaches D3cold)
    * BIOS: Wake on LAN / Wake on Dock disabled; C-states enabled;
      Block Sleep disabled; Force ASPM Off disabled
    * setpci ASPM L1 on the Thunderbolt link
  Expected: SLP_S0 residency > 0 and sleep drain < 1%/h, as on other Modern 
Standby systems.
  
  ---------------------------------------------------------------------------
  2. Hibernation (ACPI S4, platform mode) aborts because of TPTS
  
  With the unmodified firmware and resume= on a swap partition,
  `systemctl hibernate` (HibernateMode=platform) aborts:
  
    ACPI: PM: Preparing to enter system sleep state S4
    Disabling non-boot CPUs ...
    Wakeup pending. Abort CPU freeze
    Non-boot CPUs are not disabled
    ACPI: PM: Waking up from system sleep state S4
    pcieport 0000:00:1b.0: pciehp: Slot(16): Card not present
    xhci_hcd 0000:39:00.0: Host not accessible, reset failed.
  
  _PTS (DSDT) calls TPTS (SSDT "DTbtSsdt", Intel discrete Thunderbolt). TPTS 
runs
  TBON / DTSX / TBOF on root port 0x11 (00:1b.0, Maple Ridge) and cuts the
  controller's power.
  
  Measured on a running system with acpidbg ("execute \TPTS 4"):
  - The Maple Ridge controller disappears (39:00.0 gone).
  - IRQ 124 on root port 00:1b.0 fires immediately.
  - IRQ 124 is shared by PME, pciehp and bwctrl, and
    /sys/bus/pci/devices/0000:00:1b.0/power/wakeup = enabled.
  So during S4 entry the armed wake IRQ fires and cancels the transition.
  
  Workaround: a DSDT override (initrd ACPI table upgrade) that changes only the
  three TPTS references in the DSDT to an undefined name, so _PTS's
  CondRefOf(TPTS) fails. With that, platform-mode hibernation works fully
  (clean S4, power-off, resume).
  
  Side note: HibernateMode=shutdown with unmodified firmware writes the image
  correctly, but the final power-off hangs (fans and LED stay on). Not 
investigated
  further.
  
  Possible kernel-side fix: a quirk for this platform that disarms the 
pciehp/PME
  wake on the Thunderbolt root port during S4 entry, or that tolerates the
  TPTS-induced presence change.
  
  ---------------------------------------------------------------------------
  3. S3 (for reference)
  
  - The DSDT has `If (SS3) { Name (_S3, ...) }` with `Name (SS3, Zero)` 
hard-coded,
    and dmesg shows "ACPI: PM: (supports S0 S4 S5)".
  - With a DSDT override SS3 = One:
    * Thunderbolt enabled: pm_test=devices passes; pm_test=platform hangs inside
      _PTS -> TPTS (only when devices are already suspended; the same calls are
      fine on a running system). With TPTS skipped, pm_test=platform passes.
    * Thunderbolt disabled in BIOS (DTFS = 0, so firmware skips TPTS): the 
system
      enters S3 (fans and LEDs off), but never resumes. pm_trace shows the last
      hash at drivers/base/power/main.c:1574 (end of device_suspend_noirq); no
      resume trace point is reached. NVIDIA blacklisted: same result.
    Conclusion: the firmware's S3 resume path does not return to the OS.
  
  ---------------------------------------------------------------------------
  Attachments: launchpad-attachments.zip
  - ACPI tables of the unmodified BIOS
  - dmidecode, lspci -vvv / -tv, dmesg
  - Intel PMC debug output
  - the two DSDT overrides used
  - raw test logs
  
  A detailed report has also been prepared for Dell; Canonical/Dell OEM
  escalation would be appreciated.
  --- 
  ProblemType: Bug
  ApportVersion: 2.36.0-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  ice       14588 F.... wireplumber
   /dev/snd/controlC0:  ice       14588 F.... wireplumber
   /dev/snd/seq:        ice       14586 F.... pipewire
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 26.10
  InstallationDate: Installed on 2026-11-14 (8 days ago)
  InstallationMedia: Ubuntu 26.10 "Stonking Stingray" - Official amd64 
(20261013)
  Lsusb:
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 001 Device 002: ID 0c45:6737 Microdia Integrated_Webcam_FHD
   Bus 001 Device 004: ID 8087:0033 Intel Corp. AX211 Bluetooth
   Bus 001 Device 007: ID 0a5c:5842 Broadcom Corp. 58200
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  MachineType: Dell Inc. Precision 7770
  Package: linux (not installed)
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-7.3.0-10-generic 
root=UUID=0490fd7f-157b-4610-9fc3-02afebfb7abc ro quiet splash 
resume=UUID=169975f3-ab0b-441f-b730-712fed39f2af hibernate.compressor=lz4 
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
  ProcVersionSignature: Ubuntu 7.3.0-10.10-generic 7.3.0
  Tags: stonking wayland-session
  Uname: Linux 7.3.0-10-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin lxd ollama plugdev sudo users
  _MarkForUpload: True
  dmi.bios.date: 09/24/2026
  dmi.bios.release: 1.42
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.42.0
  dmi.board.name: 06NHNF
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A02
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.ec.firmware.release: 1.21
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.42.0:bd09/24/2026:br1.42:efr1.21:svnDellInc.:pnPrecision7770:pvr:rvnDellInc.:rn06NHNF:rvrA02:cvnDellInc.:ct10:cvr:sku0B2B:pfaPrecision:
  dmi.product.family: Precision
  dmi.product.name: Precision 7770
  dmi.product.sku: 0B2B
  dmi.sys.vendor: Dell Inc.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175509

Title:
  Dell Precision 7770 (BIOS 1.42.0): s2idle never reaches S0ix (high
  sleep drain); Intel DTbt TPTS aborts ACPI S4 hibernation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2175509/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to