Touchscreen input doesn't rotate with the screen

Bug #1822515 reported by Alexandre Jasmin
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Mutter
Fix Released
Unknown
mutter (Ubuntu)
Fix Released
High
Unassigned
xorg-server (Ubuntu)
Invalid
High
Unassigned

Bug Description

When a touch screen is rotated, touch input is not mapped correctly.

I'm testing 19.04 on an Acer-One S1003 where the default orientation is portrait.

Ubuntu 19.04 support automatic screen rotation out of the box. But, when the tablet is in landscape, the touchscreen doesn't behave correctly. Moving a finger horizontally cause a vertical movement and vice versa.

The same happens in both X11 and Wayland.
---
ProblemType: Bug
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 19.04
Package: xorg-server
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
Tags: disco
Uname: Linux 5.0.0-13-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True

Revision history for this message
Alexandre Jasmin (alexandre-jasmin) wrote :

I don't know whether this touch input issue should be marked as a duplicate of Bug #1822513 as I was experiencing before the "part of the screen is black" problem appeared.

Revision history for this message
Alexandre Jasmin (alexandre-jasmin) wrote :

I have the same touchscreen rotation problem in a Wayland session.

description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue looks similar to bug #1821933

Changed in xorg-server (Ubuntu):
importance: Undecided → High
Revision history for this message
Alexandre Jasmin (alexandre-jasmin) wrote :

I have 3.32.0+git20190410-1ubuntu1 which is supposed to fix bug #1821933.

But I still have this rotation bug.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Alexandre,

Are you using Gnome Shell?

Could you please also run this command to send us more information?;

  apport-collect 1822515

tags: added: disco touch
Revision history for this message
Alexandre Jasmin (alexandre-jasmin) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Alexandre Jasmin (alexandre-jasmin) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Alexandre Jasmin (alexandre-jasmin) wrote : ProcEnviron.txt

apport information

Revision history for this message
Alexandre Jasmin (alexandre-jasmin) wrote :

I'm using a vanilla ubuntu:GNOME session.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mutter (Ubuntu):
status: New → Confirmed
Changed in xorg-server (Ubuntu):
status: New → Confirmed
Revision history for this message
Pavel Rojtberg (rojtberg) wrote :

if touchscreen rotation used to work, it is probably this: https://gitlab.gnome.org/GNOME/mutter/issues/581

it needs the mentioned patch on top of mutter 3.32.1.

You can verify with a Ubuntu 18.10 live-usb, whether touchscreen rotation works there.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Could those having the issue give the output of that command?

$ sudo libinput list-devices:

Revision history for this message
Pavel Rojtberg (rojtberg) wrote :

here you go - its the "Goodix Capacitive TouchScreen"

Revision history for this message
Pavel Rojtberg (rojtberg) wrote :

I also uploaded a modified mutter package in the GNOME bug report which do fix the issue for me

Revision history for this message
Alexandre Jasmin (alexandre-jasmin) wrote :

rojtberg's build of the gnome patch fixed it for me too.

Here's my libinput list-devices with also happens to have a Goodix Capacitive TouchScreen

Revision history for this message
Yassine (yassine10suno) wrote :

Lenovo MIIX 310-10ICR here also with a Goodix Capacitive TouchScreen. This bug exists here as well. Used to work fine on Ubuntu 18.10

Revision history for this message
Sebastien Bacher (seb128) wrote :

The commit is in 3.32.2, needs to be SRUed to disco

Changed in xorg-server (Ubuntu):
status: Confirmed → Invalid
Changed in mutter (Ubuntu):
importance: Undecided → High
status: Confirmed → Fix Committed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It's true that commit f9d6627fe03f68a132501a488f73e08080018115 is released in mutter version 3.32.2 already. Which is also fix released in eoan already.

Changed in mutter (Ubuntu):
status: Fix Committed → Fix Released
Changed in mutter:
status: Unknown → Fix Released
Revision history for this message
miromarszal (miromarszal) wrote :

I'm on mutter 3.34.3-1ubuntu1~19.10.1 and the bug is there. However, it does work sometimes, but really extremely rarely. I can't figure out what triggers the correct behavior.

Revision history for this message
duuso (duuso) wrote :

Hi! I have this problem too. I just did a fresh install of Lubuntu.

Lubuntu 20.10 64bit
ii xserver-xorg-core 2:1.20.9-2ubuntu1 amd64 Xorg X server - core server

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This bug has been closed for over a year. Please open a new bug for any issues in 20.10.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.