Bug 1958433 - [Regression] Broken screen rotation on GNOME Wayland
Summary: [Regression] Broken screen rotation on GNOME Wayland
Keywords:
Status: CLOSED DUPLICATE of bug 1910784
Alias: None
Product: Fedora
Classification: Fedora
Component: mutter
Version: 34
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Florian Müllner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-07 23:43 UTC by Luya Tshimbalanga
Modified: 2021-05-09 17:39 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-09 17:39:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME mutter issues 1686 0 None None None 2021-05-07 23:43:05 UTC

Description Luya Tshimbalanga 2021-05-07 23:43:06 UTC
Description of problem:
Since 40 beta version, the screen rotation no longer works on GNOME Wayland due to upstream change to detect touchscreen support for devices like 2-in-1 laptops. 

Version-Release number of selected component (if applicable):
40.0

How reproducible:
Always

Steps to Reproduce:
1. Log in on GNOME (Wayland by default)
2. 
3.

Actual results:
Screen rotation failed when turning the device in portrait mode.

Expected results:
Auto-rotation of screen depending of the position from the device

Additional info:
The issue was originally reported on https://bugzilla.redhat.com/show_bug.cgi?id=1651886#c53 after upgrading from Fedora 33 which was mutter 3.38

monitor-sensor commands confirms the accelerometer runs but the screen failed to rotate on mutter in Wayland session.
--
 monitor-sensor 
    Waiting for iio-sensor-proxy to appear
+++ iio-sensor-proxy appeared
=== Has accelerometer (orientation: normal)
=== No ambient light sensor
=== No proximity sensor
    Accelerometer orientation changed: left-up
    Accelerometer orientation changed: normal
    Accelerometer orientation changed: right-up
    Accelerometer orientation changed: normal
--

Discussion about the issue is attached on the upstream report below. A patch to revert the change related to the screen rotation is already available at the time of writing.

Comment 1 Luya Tshimbalanga 2021-05-09 17:39:17 UTC

*** This bug has been marked as a duplicate of bug 1910784 ***


Note You need to log in before you can comment on or make changes to this bug.