Mouse pointer disappears on the second screen [Failed to post KMS update: drmModeAtomicCommit: Device or resource busy]

Bug #2003998 reported by Jerzy Husakowski
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned
mutter (Ubuntu)
New
Undecided
Unassigned

Bug Description

On a setup with two screens (primary: laptop screen, secondary: external monitor via thunderbolt & docking station), when moving the mouse from the primary to the secondary screen, the mouse pointer becomes invisible. Waving the mouse and clicking on windows sometimes helps.

Journalctl shows "Failed to post KMS update: drmModeAtomicCommit: Device or resource busy" from gnome-shell, which is perfectly timed with when I move the mouse pointer to the secondary screen. There's a kernel stack trace immediately before that message (drm_atomic_nonblocking_commit).

The issue started occurring 1-2 weeks ago, I suspect immediately after installing system updates.

ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: gnome-shell 43.1-0ubuntu1
ProcVersionSignature: Ubuntu 5.19.0-29.30-generic 5.19.17
Uname: Linux 5.19.0-29-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Fri Jan 27 09:40:39 2023
DisplayManager: gdm3
InstallationDate: Installed on 2021-09-01 (512 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
RelatedPackageVersions: mutter-common 43.0-1ubuntu4
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to kinetic on 2022-10-22 (96 days ago)

Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

If there's a kernel stack trace mentioning "drm_atomic_nonblocking_commit" around the same time then please also paste that here. It's not yet clear if this is mutter or the kernel's fault.

Likely workaround: Add to /etc/environment

  MUTTER_DEBUG_FORCE_KMS_MODE=simple

and then reboot.

summary: - Mouse pointer disappears on the second screen
+ Mouse pointer disappears on the second screen [Failed to post KMS
+ update: drmModeAtomicCommit: Device or resource busy]
affects: gnome-shell (Ubuntu) → mutter (Ubuntu)
Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: cursor multimonitor
tags: added: i915
Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :

Added journalctl output with kernel stacktrace.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. The log in comment #3 seems to show this is a duplicate of bug 2003031.

Please also remember to try the workaround in comment #2.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.