On 26.04 I can easily reproduce this issue by issuing 'sudo systemctl
hibernate' and can CONFIRM that using the
'MUTTER_DEBUG_FORCE_KMS_MODE=simple' config solves the problem.  In my
specific case it seems to be related to a mis-match between the panel
expecting a 120hz signal but only receiving a 60hz signal on resume.

On an Intel Kaby Lake laptop with a dual-refresh (60/120 Hz) internal eDP panel,
the internal display fails to return after resume from suspend (S3) AND from
hibernation. The machine is fully alive (SSH works) but the panel stays black 
and
can only be recovered by a hard power-off (Ctrl+Alt+F3 to a VT does not help).

Environment
- Ubuntu 26.04 LTS (Resolute Raccoon); kernel 7.0.0-29-generic (also 7.0.0-27)
- Intel Kaby Lake-U GT2 [HD Graphics 620] [8086:5916] (rev 02)
- HP EliteBook x360 1030 G2; eDP-1 panel IVO 0x0535, 1920x1080, 60/120 Hz
- GNOME/Wayland (mutter atomic KMS); reproduced with DisplayLink/evdi 
blacklisted

Exact kernel failure (drm.debug=0x1e, on a failing resume)
  [drm:intel_panel_compute_config] [CONNECTOR:110:eDP-1] Requested mode vrefresh
      (60 Hz) does not match fixed mode vrefresh (120 Hz)
  [drm:intel_modeset_pipe_config] [ENCODER:109:DDI A/PHY A] config failure: -22
  [drm:intel_crtc_state_dump] [CRTC:58:pipe A] enable: yes [failed]
  [drm:drm_atomic_check_only] [CRTC:58:pipe A] atomic core check failed
The same 1920x1080@60 mode programs fine on a cold boot; only the resume 
recompute
rejects it, so mutter logs endless "Page flip failed: drm
Invalid argument".

Reproducer (100% reliable)
  sudo systemctl hibernate  -> power on -> panel stays bl
  journalctl -b -1 | grep -c drmModeAtomicCommit   -> hundreds

Ruled out (each with evidence): PSR (enable_psr=0), DC states (enable_dc=0),
evdi/DisplayLink (blacklisted), kernel version (-27 and -
(hibernation is a full power-cycle and reproduces it).

Suspected mechanism
Dual-fixed-mode eDP (60/120 Hz). On resume the fixed mode
intel_panel_compute_config() is 120 Hz and the 60 Hz request is rejected instead
of being matched to the 60 Hz alternate fixed mode. Looks
alternate-fixed-mode/DRRS handling in
drivers/gpu/drm/i915/display/intel_panel.c.

** Attachment added: "i915-resume-fail-dmesg.txt"
   
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1968040/+attachment/5993003/+files/i915-resume-fail-dmesg.txt

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

Title:
  [i915] Blanked screen doesn't wake up after locking
  [drmModeAtomicCommit: Argument invalide] [drmModeAtomicCommit: Invalid
  argument]

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/1968040/+subscriptions


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

Reply via email to