Public bug reported:

System Information:
   * Model: HP OmniBook X Flip Laptop 16-ar0xxx
   * OS: Ubuntu 24.04.3 LTS
   * GNOME Version: 46.2 (Wayland session)

Problem Description:
  Automatic screen rotation does not function on this convertible laptop. The 
"Rotation Lock" button is not visible in the GNOME system menu, and physically 
changing the laptop's orientation has no effect on the display. This occurs 
despite the system correctly identifying the accelerometer.

Diagnosis:
  The core issue appears to be that the GNOME Shell's window manager, Mutter, 
is not managing the device's orientation. Introspection of the 
org.gnome.Mutter.DisplayConfig D-Bus service shows the PanelOrientationManaged 
property is set to false.

```
   1 $ gdbus introspect --session --dest org.gnome.Mutter.DisplayConfig 
--object-path /org/gnome/Mutter/DisplayConfig
   2 ...
   3       readonly b PanelOrientationManaged = false;
   4 ...
```

This happens even though iio-sensor-proxy is installed, running, and
correctly identifies the accelerometer.

Supporting Logs:
See attached.

Logs summary:
1 [BUG_REPORT_CONTENT]
   1. `journalctl -b 0`: Full system journal from boot. Shows kernel version 
6.14.0-37-generic and hid-sensor-hub driver loading for the AMD sensor.
   2. `dmidecode`: Detailed hardware information. Confirms system model HP 
OmniBook X Flip Laptop 16-ar0xxx and chassis type Convertible.
   3. `systemctl status iio-sensor-proxy.service`: Confirms the service is 
loaded and active.
   4. `udevadm info /dev/iio:device*`: Shows that udev has identified multiple 
IIO devices, including one tagged for iio-sensor-proxy.service.
   5. `gdbus introspect ... org.gnome.Mutter.DisplayConfig`: The full 
introspection output confirming PanelOrientationManaged = false.

Attempted Fixes (that did not work):
   * Ensuring iio-sensor-proxy is installed and running.
   * Verifying gsettings get org.gnome.settings-daemon.peripherals.touchscreen 
orientation-lock is false.
   * Adding a custom udev rule to tag the sensor with ID_INPUT_ACCELEROMETER.
   * Adding a custom hwdb entry with a mounting matrix for the sensor.
   * Restarting services and rebooting the system after configuration changes.

This appears to be a hardware enablement issue where Mutter is not
correctly identifying the device as a convertible, despite the hardware
reporting it as such in DMI and the sensor being active. A fix likely
requires an update to Mutter or a related system component.

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

** Attachment added: "bug_report.txt"
   
https://bugs.launchpad.net/bugs/2137359/+attachment/5936996/+files/bug_report.txt

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

Title:
  Automatic screen rotation not working on HP OmniBook X Flip
  (16-ar0xxx)

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


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

Reply via email to