Public bug reported:

Since mutter 50 (MR !4877 made framebuffer scaling non-experimental),
meta_monitor_manager_native_get_default_layout_mode() always returns
LOGICAL. The stored-config lookup at startup builds its key with the
default layout mode, and the key comparison includes layout_mode. As a
result, a config saved via ApplyMonitorsConfig (method 2, layout-mode 2)
is written to ~/.config/monitors.xml as
<layoutmode>physical</layoutmode> but never matches at the next login.
mutter falls back to a logical config.

MR !4877 says physical behaviour "can still be achieved using gdctl set
--layout-mode=physical", but there is no way to make that persist across
logins (or apply it to GDM) without an autostart script.

Steps to reproduce
1. gdctl set --layout-mode=physical …, or ApplyMonitorsConfig with method 2 and 
{'layout-mode': <uint32 2>}.
2. Confirm monitors.xml contains the physical config.
3. Log out and log in.

Expected: the stored physical layout is restored.
Actual: the session starts in logical mode.

This matters because physical mode is currently the only workaround for
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2169751.

Version: mutter 50.1-0ubuntu2.4 on Ubuntu 26.04.1.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: mutter 50.1-0ubuntu2.4
ProcVersionSignature: Ubuntu 7.0.0-38.38-generic 7.0.14
Uname: Linux 7.0.0-38-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Oct  6 22:01:07 2026
InstallationDate: Installed on 2021-12-28 (1743 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
SourcePackage: mutter
UpgradeStatus: Upgraded to resolute on 2026-10-05 (1 days ago)

** Affects: mutter (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

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

Title:
  Stored monitors.xml configs with <layoutmode>physical</layoutmode> are
  never restored at login in mutter 50

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


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

Reply via email to