Comment 81 for bug 1968040

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: Blanked screen doesn't wake up after locking [drmModeAtomicCommit: Argument invalide] [drmModeAtomicCommit: Invalid argument]

Thanks!

It looks like most of the errors are in fact caused by previous errors:

i915 0000:00:02.0: [drm:drm_atomic_crtc_check [drm]] [CRTC:45:pipe A] requesting event but off
i915 0000:00:02.0: [drm:drm_atomic_check_only [drm]] [CRTC:45:pipe A] atomic core check failed
...
KMS: [atomic] KMS update failed: drmModeAtomicCommit: Invalid argument

So those could be improved, but they're not the root cause.

The root cause seems to be a failure of the first frame (modeset) when waking from sleep:

i915 0000:00:02.0: [drm:intel_hdmi_compute_clock [i915]] picking 12 bpc for HDMI output (pipe bpp: 36)
i915 0000:00:02.0: [drm:intel_hdmi_compute_config [i915]] bad AVI infoframe
i915 0000:00:02.0: [drm:intel_modeset_pipe_config [i915]] Encoder config failure: -22

That "-22" is the first "Invalid argument".