Wayland: Display Rotates to Portrait Mode when Certain Apps Open
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
mutter (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When using a 2 in 1 tablet with auto-rotation (Dell Precision 5530 2 in 1), the screen will frequently incorrectly rotate whenever some apps open. This has been observed with Settings, Videos, Steam, Lollypop and Firefox. Issue still occurs when the screen rotation is locked.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSign
Uname: Linux 5.4.0-54-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
BootLog: Error: [Errno 13] Permission non accordée: '/var/log/boot.log'
CasperMD5CheckR
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Sun Nov 22 22:59:56 2020
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
ExtraDebuggingI
GraphicsCard:
Intel Corporation HD Graphics 630 [8086:591b] (rev 04) (prog-if 00 [VGA controller])
Subsystem: Dell HD Graphics 630 [1028:08ac]
Subsystem: Dell Polaris 22 MGL XL [Radeon Pro WX Vega M GL] [1028:08ac]
InstallationDate: Installed on 2020-11-18 (4 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8087:0a2b Intel Corp.
Bus 001 Device 004: ID 27c6:5395 Shenzhen Goodix Technology Co.,Ltd. Fingerprint Reader
Bus 001 Device 002: ID 0bda:58f4 Realtek Semiconductor Corp. Integrated_
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. Precision 5530 2-in-1
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/09/2020
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.11.10
dmi.board.name: 02TH5P
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 31
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: Precision
dmi.product.name: Precision 5530 2-in-1
dmi.product.sku: 08AC
dmi.sys.vendor: Dell Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.101-2
version.
version.
version.
version.
version.
version.
version.
summary: |
- DIsplay Rotates to Portrait Mode when Certain Apps Open + Wayland: Display Rotates to Portrait Mode when Certain Apps Open |
Changed in gnome-shell (Ubuntu): | |
status: | Incomplete → New |
Changed in mutter (Ubuntu): | |
status: | Incomplete → New |
Interestingly Xwayland thinks the screen is portrait:
XWAYLAND2 connected 2160x3840+0+0 (0x3d3) normal (normal left inverted right x axis y axis) 190mm x 340mm
but the BIOS and Xorg think it is landscape:
[ 0.495406] efifb: mode is 3840x2160x32, linelength=15360, pages=1
[ 52.062] (II) modeset(0): Modeline "3840x2160"x60.0 533.25 3840 3888 3920 4000 2160 2163 2168 2222 -hsync -vsync (133.3 kHz eP)
so that makes me think it's just mutter/gnome-shell giving the wrong info to Xwayland and certain apps.
Do you find the same bug in Xorg sessions? Try logging into 'Ubuntu' instead of 'Ubuntu on Wayland'.