Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M mutter
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,009
    • Issues 1,009
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 138
    • Merge requests 138
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • mutter
  • Issues
  • #2007
Closed
Open
Created Nov 12, 2021 by Mark Blakeney@mark.blakeney

laptop screen blank after unplugging from dock with drmModeAtomicCommit: Invalid argument errors

Arch Linux updated to GNOME 41 a couple of days ago and since then I get a completely blank screen on my laptop whenever I disconnect it from my Dell WD19TB dock (with 2 DP screens connected) and flip the screen up. In that state, gnome-shell is just constantly blasting out the same two error messages quoted by the OP in issue #2005 (closed). I commented on that issue but was asked to create a new issue here. To recover, I hard reboot, or ssh in and reboot. This issue is repeatable at will.

In issue #2005 (closed), I was asked to add MUTTER_DEBUG=kms so here is what I get from that:

Nov 12 10:20:29 lt gnome-shell[784]: Failed to post KMS update: drmModeAtomicCommit: Invalid argument
Nov 12 10:20:29 lt gnome-shell[784]: Page flip discarded: drmModeAtomicCommit: Invalid argument
Nov 12 10:20:30 lt gnome-shell[784]: KMS: Posting primary plane composite update for CRTC 98 (/dev/dri/card0)
Nov 12 10:20:30 lt gnome-shell[784]: KMS: [atomic] Processing update 740
Nov 12 10:20:30 lt gnome-shell[784]: KMS: [atomic] Assigning primary plane (31, /dev/dri/card0) to 284, 1920x1200+0+0 -> 1920x1200+0+0
Nov 12 10:20:30 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'FB_ID' (17) to 284
Nov 12 10:20:30 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'CRTC_ID' (20) to 98
Nov 12 10:20:30 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'SRC_X' (9) to 0.00
Nov 12 10:20:30 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'SRC_Y' (10) to 0.00
Nov 12 10:20:30 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'SRC_W' (11) to 1920.00
Nov 12 10:20:30 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'SRC_H' (12) to 1200.00
Nov 12 10:20:30 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'CRTC_X' (13) to 0
Nov 12 10:20:30 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'CRTC_Y' (14) to 0
Nov 12 10:20:30 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'CRTC_W' (15) to 1920
Nov 12 10:20:30 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'CRTC_H' (16) to 1200
Nov 12 10:20:30 lt gnome-shell[784]: KMS: [atomic] Setting plane (31, /dev/dri/card0) rotation to 1
Nov 12 10:20:30 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'rotation' (33) to 1
Nov 12 10:20:30 lt gnome-shell[784]: KMS: [atomic] Committing update 740, flags: ATOMIC_NONBLOCK|PAGE_FLIP_EVENT
Nov 12 10:20:30 lt gnome-shell[784]: KMS: [atomic] KMS update failed: drmModeAtomicCommit: Invalid argument
Nov 12 10:20:30 lt gnome-shell[784]: KMS: [atomic] Creating transient page flip data for (98, /dev/dri/card0): 0x56032c827240
Nov 12 10:20:30 lt gnome-shell[784]: Failed to post KMS update: drmModeAtomicCommit: Invalid argument
Nov 12 10:20:30 lt gnome-shell[784]: Page flip discarded: drmModeAtomicCommit: Invalid argument
Nov 12 10:20:31 lt gnome-shell[784]: KMS: Posting primary plane composite update for CRTC 98 (/dev/dri/card0)
Nov 12 10:20:31 lt gnome-shell[784]: KMS: [atomic] Processing update 741
Nov 12 10:20:31 lt gnome-shell[784]: KMS: [atomic] Assigning primary plane (31, /dev/dri/card0) to 286, 1920x1200+0+0 -> 1920x1200+0+0
Nov 12 10:20:31 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'FB_ID' (17) to 286
Nov 12 10:20:31 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'CRTC_ID' (20) to 98
Nov 12 10:20:31 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'SRC_X' (9) to 0.00
Nov 12 10:20:31 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'SRC_Y' (10) to 0.00
Nov 12 10:20:31 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'SRC_W' (11) to 1920.00
Nov 12 10:20:31 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'SRC_H' (12) to 1200.00
Nov 12 10:20:31 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'CRTC_X' (13) to 0
Nov 12 10:20:31 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'CRTC_Y' (14) to 0
Nov 12 10:20:31 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'CRTC_W' (15) to 1920
Nov 12 10:20:31 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'CRTC_H' (16) to 1200
Nov 12 10:20:31 lt gnome-shell[784]: KMS: [atomic] Setting plane (31, /dev/dri/card0) rotation to 1
Nov 12 10:20:31 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'rotation' (33) to 1
Nov 12 10:20:31 lt gnome-shell[784]: KMS: [atomic] Committing update 741, flags: ATOMIC_NONBLOCK|PAGE_FLIP_EVENT
Nov 12 10:20:31 lt gnome-shell[784]: KMS: [atomic] KMS update failed: drmModeAtomicCommit: Invalid argument
Nov 12 10:20:31 lt gnome-shell[784]: KMS: [atomic] Creating transient page flip data for (98, /dev/dri/card0): 0x5603318ebbf0
Nov 12 10:20:31 lt gnome-shell[784]: Failed to post KMS update: drmModeAtomicCommit: Invalid argument
Nov 12 10:20:31 lt gnome-shell[784]: Page flip discarded: drmModeAtomicCommit: Invalid argument
Nov 12 10:20:32 lt gnome-shell[784]: KMS: Posting primary plane composite update for CRTC 98 (/dev/dri/card0)
Nov 12 10:20:32 lt gnome-shell[784]: KMS: [atomic] Processing update 742
Nov 12 10:20:32 lt gnome-shell[784]: KMS: [atomic] Assigning primary plane (31, /dev/dri/card0) to 284, 1920x1200+0+0 -> 1920x1200+0+0
Nov 12 10:20:32 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'FB_ID' (17) to 284
Nov 12 10:20:32 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'CRTC_ID' (20) to 98
Nov 12 10:20:32 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'SRC_X' (9) to 0.00
Nov 12 10:20:32 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'SRC_Y' (10) to 0.00
Nov 12 10:20:32 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'SRC_W' (11) to 1920.00
Nov 12 10:20:32 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'SRC_H' (12) to 1200.00
Nov 12 10:20:32 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'CRTC_X' (13) to 0
Nov 12 10:20:32 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'CRTC_Y' (14) to 0
Nov 12 10:20:32 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'CRTC_W' (15) to 1920
Nov 12 10:20:32 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'CRTC_H' (16) to 1200
Nov 12 10:20:32 lt gnome-shell[784]: KMS: [atomic] Setting plane (31, /dev/dri/card0) rotation to 1
Nov 12 10:20:32 lt gnome-shell[784]: KMS: [atomic] Setting plane 31 (/dev/dri/card0) property 'rotation' (33) to 1
Nov 12 10:20:32 lt gnome-shell[784]: KMS: [atomic] Committing update 742, flags: ATOMIC_NONBLOCK|PAGE_FLIP_EVENT
Nov 12 10:20:32 lt gnome-shell[784]: KMS: [atomic] KMS update failed: drmModeAtomicCommit: Invalid argument
Nov 12 10:20:32 lt gnome-shell[784]: KMS: [atomic] Creating transient page flip data for (98, /dev/dri/card0): 0x56032ced7d10

The above just keeps repeating every 1 second until I reboot.

  • Arch Linux, up to date. Running on Wayland.
  • Arch package versions: mutter = 41.1-1, gnome-shell = 41.1-1, linux = 5.14.16.arch1-1.
Edited Nov 12, 2021 by Mark Blakeney
Assignee
Assign to
Time tracking