For the second failure mode in this bug (the EACCES / DRM-master
handover race tracked upstream as
https://gitlab.gnome.org/GNOME/mutter/-/work_items/4548), a fix is now
proposed upstream for review:

- https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/5497 (main)
- https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/5496 (gnome-50 
backport)

Root cause: when the initial mode-set commit fails, ensure_crtc_modes()
has already popped the pending mode set and nothing re-queues it, so the
compositor never commits again and the screen stays frozen. The series
retries failed mode sets with a bounded backoff. It was reproduced
deterministically without a VM by running the native backend on VKMS and
injecting EACCES through the in-tree drm-mock, and the retry recovers.

This is separate from the stage/update_scheduled fix proposed in comment
#136 (upstream https://gitlab.gnome.org/GNOME/mutter/-/issues/3804),
which addresses the other population of reports in this bug. There is no
noble backport of the EACCES fix yet; mutter 46.2 has a different KMS
update architecture, so it would not be a simple cherry-pick.

** Bug watch added: gitlab.gnome.org/GNOME/mutter/-/issues #3804
   https://gitlab.gnome.org/GNOME/mutter/-/issues/3804

-- 
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/2089709

Title:
  Ubuntu 24.04 sometimes logs in to a black screen if the mouse is moved
  during login

To manage notifications about this bug go to:
https://bugs.launchpad.net/mutter/+bug/2089709/+subscriptions


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

Reply via email to