Bug 2061074 - touchpad mouse freezes randomly for a few seconds
Summary: touchpad mouse freezes randomly for a few seconds
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 35
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-05 15:12 UTC by Zhifeng Hu
Modified: 2022-12-13 16:49 UTC (History)
22 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-13 16:49:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Zhifeng Hu 2022-03-05 15:12:28 UTC
Description of problem:

I get a new laptop and install Fedora 35, the touchpad mouse acts erratically and unresponsive at times, the cursor just seems to freeze, usually it recovers automatically after a short time.


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


```
$ hostnamectl 
 Static hostname: fedora35
       Icon name: computer-laptop
         Chassis: laptop
      Machine ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
         Boot ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Operating System: Fedora Linux 35 (Workstation Edition)
     CPE OS Name: cpe:/o:fedoraproject:fedora:35
          Kernel: Linux 5.16.11-200.fc35.x86_64
    Architecture: x86-64
 Hardware Vendor: HUAWEI
  Hardware Model: NBD-WXX9
```

How reproducible:

There is no clear way and steps to reproduce the problem, it is a bit random and occasional, sometimes just a few minutes, sometimes more than an hour.


Steps to Reproduce:
1.
2.
3.

Actual results:

The touchpad mouse freezes for a few seconds.


Expected results:


Additional info:

Touchpad device and driver info:

```
$ cat /proc/bus/input/devices | grep -B 1 -A 4 -i -E " (touchpad|mouse)"
I: Bus=0018 Vendor=27c6 Product=01e0 Version=0100
N: Name="GXTP7863:00 27C6:01E0 Mouse"
P: Phys=i2c-GXTP7863:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-GXTP7863:00/0018:27C6:01E0.0003/input/input14
U: Uniq=
H: Handlers=mouse1 event9 
--
I: Bus=0018 Vendor=27c6 Product=01e0 Version=0100
N: Name="GXTP7863:00 27C6:01E0 Touchpad"
P: Phys=i2c-GXTP7863:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-GXTP7863:00/0018:27C6:01E0.0003/input/input15
U: Uniq=
H: Handlers=mouse2 event10

$ dmesg | grep -E -i "(00:15.0|i2c_designware)"
[    0.722603] pci 0000:00:15.0: [8086:a0e8] type 00 class 0x0c8000
[    0.723396] pci 0000:00:15.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.901601] pci 0000:00:15.0: BAR 0: assigned [mem 0x4017000000-0x4017000fff 64bit]
[    0.944616] intel-lpss 0000:00:15.0: enabling device (0004 -> 0006)
[    1.994437] input: GXTP7863:00 27C6:01E0 Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-GXTP7863:00/0018:27C6:01E0.0003/input/input10
[    1.994525] input: GXTP7863:00 27C6:01E0 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-GXTP7863:00/0018:27C6:01E0.0003/input/input11
[    2.048941] input: GXTP7863:00 27C6:01E0 Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-GXTP7863:00/0018:27C6:01E0.0003/input/input14
[    2.049151] input: GXTP7863:00 27C6:01E0 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-GXTP7863:00/0018:27C6:01E0.0003/input/input15
[ 4458.127685] i2c_designware i2c_designware.0: controller timed out
[ 4859.407215] i2c_designware i2c_designware.0: controller timed out
[ 5099.470571] i2c_designware i2c_designware.0: controller timed out
[ 7867.467793] i2c_designware i2c_designware.0: controller timed out
[ 8896.651752] i2c_designware i2c_designware.0: controller timed out
[ 9097.099759] i2c_designware i2c_designware.0: controller timed out
[ 9248.907705] i2c_designware i2c_designware.0: controller timed out
```

Comment 1 fujiwara 2022-03-07 07:25:33 UTC
This is not an input-pad issue.

Comment 2 Olivier Fourdan 2022-03-07 07:39:43 UTC
(In reply to fujiwara from comment #1)
> This is not an input-pad issue.

Actually, this is very unlikely Xwayland either, Xwayland is just a compatibility layer for legacy X11 applications which cannot support Wayland natively.

It is more likely kernel or the Wayland compositor, but it is hard to tell without any tangible data. So first things first, please provide the journalctl around the time of the issue.

Comment 3 Olivier Fourdan 2022-03-07 08:52:01 UTC
Also, while at it, can you try plugging a mouse and see if the issue occurs with a regular mouse as well?

Comment 4 Zhifeng Hu 2022-03-10 05:30:30 UTC
(In reply to Olivier Fourdan from comment #2)
> (In reply to fujiwara from comment #1)
> > This is not an input-pad issue.
> 
> Actually, this is very unlikely Xwayland either, Xwayland is just a
> compatibility layer for legacy X11 applications which cannot support Wayland
> natively.
> 
> It is more likely kernel or the Wayland compositor, but it is hard to tell
> without any tangible data. So first things first, please provide the
> journalctl around the time of the issue.

full journalctl log: https://pastebin.com/VV1cMFJP

The following are the relevant logs for each "i2c_designware i2c_designware.0: controller timed out"

1. 
Feb 28 19:47:27 fedora35 polkitd[840]: Unregistered Authentication Agent for unix-process:4372:1960104 (system bus name :1.209, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Feb 28 19:48:43 fedora35 kernel: i2c_designware i2c_designware.0: controller timed out
Feb 28 19:48:59 fedora35 google-chrome.desktop[3411]: [3588:4:0228/194859.689511:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 49CC76BC3307225F.D2C0FA7229157FB7

2.
Feb 28 19:56:16 fedora35 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 28 19:56:20 fedora35 kernel: i2c_designware i2c_designware.0: controller timed out
Feb 28 19:56:37 fedora35 systemd[1711]: Started Application launched by org.gnome.Nautilus.

3.
Feb 28 19:58:21 fedora35 google-chrome.desktop[3411]: [3588:4:0228/195821.925143:ERROR:node_controller.cc(585)] Trying to re-add dropped peer DC0939233846A44F.6E51C9D3E5628BC5
Feb 28 19:58:26 fedora35 wpa_supplicant[1045]: wlp0s20f3: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-64 noise=9999 txrate=26000
Feb 28 19:58:28 fedora35 kernel: i2c_designware i2c_designware.0: controller timed out
Feb 28 19:58:42 fedora35 systemd[1]: systemd-hostnamed.service: Deactivated successfully.

4.
Mar 03 21:49:03 fedora35 gnome-shell[1853]: libinput error: event5  - GXTP7863:00 27C6:01E0 Touchpad: kernel bug: Touch jump detected and discarded.
Mar 03 21:49:03 fedora35 gnome-shell[1853]: See https://wayland.freedesktop.org/libinput/doc/1.19.3/touchpad-jumping-cursors.html for details
Mar 03 21:49:06 fedora35 gnome-shell[1853]: libinput error: event5  - GXTP7863:00 27C6:01E0 Touchpad: kernel bug: Touch jump detected and discarded.
Mar 03 21:49:06 fedora35 gnome-shell[1853]: See https://wayland.freedesktop.org/libinput/doc/1.19.3/touchpad-jumping-cursors.html for details
Mar 03 21:49:06 fedora35 gnome-shell[1853]: libinput error: event5  - GXTP7863:00 27C6:01E0 Touchpad: WARNING: log rate limit exceeded (5 msgs per 24h). Discarding future messages.
Mar 03 21:50:22 fedora35 systemd[1]: Starting system activity accounting tool...
...
Mar 03 21:57:40 fedora35 gsd-media-keys[2108]: gvc_mixer_stream_get_port: assertion 'stream->priv->ports != NULL' failed
Mar 03 21:58:28 fedora35 kernel: i2c_designware i2c_designware.0: controller timed out
Mar 03 21:58:31 fedora35 systemd-resolved[805]: Using degraded feature set UDP instead of UDP+EDNS0 for DNS server 192.168.0.1.
Mar 03 22:00:22 fedora35 systemd[1]: Starting system activity accounting tool...

5.
Mar 04 19:51:04 fedora35 wpa_supplicant[1045]: wlp0s20f3: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-61 noise=9999 txrate=520000
Mar 04 19:51:15 fedora35 kernel: i2c_designware i2c_designware.0: controller timed out
Mar 04 19:51:32 fedora35 google-chrome.desktop[3411]: [3588:4:0304/195132.757346:ERROR:node_controller.cc(585)] Trying to re-add dropped peer B19032EEF741D26E.9FC90B39F79F054

6.
Mar 04 22:33:54 fedora35 google-chrome.desktop[3411]: [3533:3569:0304/223354.409165:ERROR:node_controller.cc(585)] Trying to re-add dropped peer A70847BD60BA59D5.942457FB0950324F
Mar 04 22:34:50 fedora35 gnome-shell[1853]: Window manager warning: last_user_time (271657545) is greater than comparison timestamp (271657539).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
Mar 04 22:34:50 fedora35 gnome-shell[1853]: Window manager warning: 0x800003 appears to be one of the offending windows with a timestamp of 271657545.  Working around...
Mar 04 22:34:51 fedora35 kernel: i2c_designware i2c_designware.0: controller timed out
Mar 04 22:35:05 fedora35 google-chrome.desktop[3411]: [3588:4:0304/223505.480526:ERROR:node_controller.cc(585)] Trying to re-add dropped peer B25CDAE01BF095F1.B98A748FA0B4FB42
Mar 04 22:35:13 fedora35 kernel: i2c_designware i2c_designware.0: controller timed out
Mar 04 22:35:32 fedora35 google-chrome.desktop[3411]: [3588:4:0304/223532.706078:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 7CE2C683A484DA12.80EC8F70965C3056
Mar 04 22:36:06 fedora35 google-chrome.desktop[3411]: [3588:4:0304/223606.599750:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 250C78DB32441ABA.3C750F72116EFA41
Mar 04 22:38:08 fedora35 kernel: i2c_designware i2c_designware.0: controller timed out
Mar 04 22:38:19 fedora35 google-chrome.desktop[3411]: [3588:4:0304/223819.582448:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 1200A7B9C5966583.2101A5D9DFF27226

7.
Mar 05 09:20:56 fedora35 google-chrome.desktop[3411]: [3588:4:0305/092056.231298:ERROR:node_controller.cc(585)] Trying to re-add dropped peer C8D20E7AF1502622.380D5B5B308F80DC
Mar 05 09:21:00 fedora35 kernel: i2c_designware i2c_designware.0: controller timed out
Mar 05 09:22:13 fedora35 wpa_supplicant[1045]: wlp0s20f3: WPA: Group rekeying completed with 50:bd:5f:63:00:83 [GTK=CCMP]

8.
Mar 05 09:28:57 fedora35 google-chrome.desktop[3411]: [3588:4:0305/092857.213103:ERROR:node_controller.cc(585)] Trying to re-add dropped peer B6C5D11042B4373F.1FAE38CEFE1BF264
Mar 05 09:30:11 fedora35 kernel: i2c_designware i2c_designware.0: controller timed out
Mar 05 09:30:22 fedora35 systemd[1]: Starting system activity accounting tool...

9.
Mar 06 20:33:10 fedora35 google-chrome.desktop[3411]: [3588:4:0306/203310.619035:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 47BFC2F6E42FB5AF.F503DB7BA9FA7450
Mar 06 20:34:33 fedora35 kernel: i2c_designware i2c_designware.0: controller timed out
Mar 06 20:34:34 fedora35 wireplumber[1968]: 0x55c1fbc6be68: error 24
Mar 06 20:34:34 fedora35 wireplumber[1968]: 0x55c1fbc6be68: ioctl fail: Inappropriate ioctl for device

10.
Mar 06 20:34:40 fedora35 bluetoothd[833]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
Mar 06 20:34:46 fedora35 kernel: i2c_designware i2c_designware.0: controller timed out
Mar 06 20:34:55 fedora35 gsd-media-keys[2108]: Unable to get default sink

Comment 5 Zhifeng Hu 2022-03-10 05:34:27 UTC
(In reply to Olivier Fourdan from comment #3)
> Also, while at it, can you try plugging a mouse and see if the issue occurs
> with a regular mouse as well?

I confirm that wireless and wired mouse always work well.

Comment 7 Olivier Fourdan 2022-03-10 07:51:03 UTC
Moving to kernel.

Comment 8 Zhifeng Hu 2022-03-15 06:03:45 UTC
I've been upgrading to 5.16.12-200.fc35.x86_64 for several days since Mar 06, the touchpad doesn't freeze as often as it used to, and there are very few errors in the dmesg log.

[huzhifeng@fedora35 ~]$ journalctl | grep "$(uname -r)" | grep "Linux version"
Mar 06 20:43:21 fedora35 kernel: Linux version 5.16.12-200.fc35.x86_64 (mockbuild.fedoraproject.org) (gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9), GNU ld version 2.37-10.fc35) #1 SMP PREEMPT Wed Mar 2 19:06:17 UTC 2022
Mar 10 09:08:13 fedora35 kernel: Linux version 5.16.12-200.fc35.x86_64 (mockbuild.fedoraproject.org) (gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9), GNU ld version 2.37-10.fc35) #1 SMP PREEMPT Wed Mar 2 19:06:17 UTC 2022
Mar 10 09:12:02 fedora35 kernel: Linux version 5.16.12-200.fc35.x86_64 (mockbuild.fedoraproject.org) (gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9), GNU ld version 2.37-10.fc35) #1 SMP PREEMPT Wed Mar 2 19:06:17 UTC 2022
Mar 10 10:41:33 fedora35 kernel: Linux version 5.16.12-200.fc35.x86_64 (mockbuild.fedoraproject.org) (gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9), GNU ld version 2.37-10.fc35) #1 SMP PREEMPT Wed Mar 2 19:06:17 UTC 2022
Mar 11 14:17:09 fedora35 kernel: Linux version 5.16.12-200.fc35.x86_64 (mockbuild.fedoraproject.org) (gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9), GNU ld version 2.37-10.fc35) #1 SMP PREEMPT Wed Mar 2 19:06:17 UTC 2022
Mar 11 14:17:25 fedora35 kernel: Linux version 5.16.12-200.fc35.x86_64 (mockbuild.fedoraproject.org) (gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9), GNU ld version 2.37-10.fc35) #1 SMP PREEMPT Wed Mar 2 19:06:17 UTC 2022
Mar 12 19:47:34 fedora35 kernel: Linux version 5.16.12-200.fc35.x86_64 (mockbuild.fedoraproject.org) (gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9), GNU ld version 2.37-10.fc35) #1 SMP PREEMPT Wed Mar 2 19:06:17 UTC 2022
[huzhifeng@fedora35 ~]$ 
[huzhifeng@fedora35 ~]$ journalctl --since "2022-03-06 20:43:00" | grep "controller timed out"
Mar 06 23:15:48 fedora35 kernel: i2c_designware i2c_designware.0: controller timed out
Mar 11 23:26:54 fedora35 kernel: i2c_designware i2c_designware.0: controller timed out
Mar 11 23:41:53 fedora35 kernel: i2c_designware i2c_designware.0: controller timed out
Mar 14 19:27:00 fedora35 kernel: i2c_designware i2c_designware.0: controller timed out
[huzhifeng@fedora35 ~]$ 
[huzhifeng@fedora35 ~]$ journalctl --until "2022-03-06 20:43:00" | grep "controller timed out" | wc -l
88
[huzhifeng@fedora35 ~]$

Comment 9 Ben Cotton 2022-11-29 17:59:45 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 10 Ben Cotton 2022-12-13 16:49:28 UTC
Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13.

Fedora Linux 35 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


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