[Bug 1870597] Re: libinput says "your system is too slow"

2022-06-01 Thread Seija K.
** Attachment removed: "BootLog.txt"
   
https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/1870597/+attachment/5350642/+files/BootLog.txt

** Attachment removed: "Lspci.txt"
   
https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/1870597/+attachment/5350644/+files/Lspci.txt

** Attachment removed: "Dependencies.txt"
   
https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/1870597/+attachment/5345771/+files/Dependencies.txt

** Attachment removed: "ProcCpuinfoMinimal.txt"
   
https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/1870597/+attachment/5345772/+files/ProcCpuinfoMinimal.txt

** Attachment removed: "ShellJournal.txt"
   
https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/1870597/+attachment/5345773/+files/ShellJournal.txt

** Attachment removed: "CurrentDmesg.txt"
   
https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/1870597/+attachment/5350643/+files/CurrentDmesg.txt

** Attachment removed: "Lsusb-t.txt"
   
https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/1870597/+attachment/5350646/+files/Lsusb-t.txt

** Attachment removed: "Lsusb.txt"
   
https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/1870597/+attachment/5350645/+files/Lsusb.txt

** Attachment removed: "Lsusb-v.txt"
   
https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/1870597/+attachment/5350647/+files/Lsusb-v.txt

** Attachment removed: "ProcCpuinfo.txt"
   
https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/1870597/+attachment/5350648/+files/ProcCpuinfo.txt

** Attachment removed: "ProcCpuinfoMinimal.txt"
   
https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/1870597/+attachment/5350649/+files/ProcCpuinfoMinimal.txt

** Attachment removed: "ProcInterrupts.txt"
   
https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/1870597/+attachment/5350650/+files/ProcInterrupts.txt

** Attachment removed: "ProcModules.txt"
   
https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/1870597/+attachment/5350651/+files/ProcModules.txt

** Attachment removed: "UdevDb.txt"
   
https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/1870597/+attachment/5350652/+files/UdevDb.txt

** Attachment removed: "Xrandr.txt"
   
https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/1870597/+attachment/5350653/+files/Xrandr.txt

** Attachment removed: "xdpyinfo.txt"
   
https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/1870597/+attachment/5350654/+files/xdpyinfo.txt

** Description changed:

- During the freeze, the output of the install had a message from "gdm-x-
- session" saying "your system is too slow".
- 
- To reproduce:
- 1. Launch the Ubuntu installer
- 2. Begin the installation process
- 3. When the installation process begins, move the cursor around
- 4. Notice how the PC freezes and drops mouse events
- 
- Description:  Ubuntu Focal Fossa (development branch)
- Release:  20.04
- 
- gnome-shell:
-   Installed: 3.36.0-2ubuntu2
-   Candidate: 3.36.0-2ubuntu2
-   Version table:
-  *** 3.36.0-2ubuntu2 500
- 500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
- 100 /var/lib/dpkg/status
- 
- ProblemType: Bug
- DistroRelease: Ubuntu 20.04
- Package: gnome-shell 3.36.0-2ubuntu2
- ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
- Uname: Linux 5.4.0-21-generic x86_64
- NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
- ApportVersion: 2.20.11-0ubuntu21
- Architecture: amd64
- CasperVersion: 1.442
- Date: Fri Apr  3 14:24:21 2020
- DisplayManager: gdm3
- GsettingsChanges:
-  
- LiveMediaBuild: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200401)
- ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  LANG=C.UTF-8
-  SHELL=/bin/bash
- RelatedPackageVersions: mutter-common 3.36.0-2ubuntu1
- SourcePackage: gnome-shell
- UpgradeStatus: No upgrade log present (probably fresh install)
- --- 
- ProblemType: Bug
- ApportVersion: 2.20.11-0ubuntu22
- Architecture: amd64
- CasperVersion: 1.442
- CompositorRunning: None
- DistUpgraded: Fresh install
- DistroCodename: focal
- DistroRelease: Ubuntu 20.04
- DistroVariant: ubuntu
- ExtraDebuggingInterest: Yes
- GraphicsCard:
-  Intel Corporation UHD Graphics 620 [8086:5917] (rev 07) (prog-if 00 [VGA 
controller])
-Subsystem: Dell UHD Graphics 620 [1028:0810]
- LiveMediaBuild: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
- MachineType: Dell Inc. Inspiron 5570
- NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
- Package: xorg-server (not installed)
- ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  LANG=C.UTF-8
-  SHELL=/bin/bash
- ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz 
file=/cdrom/preseed/hostname.seed quiet splash ---
- ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
- Tags:  focal ubuntu
- Uname: Linux 5.4.0-21-generic x86_64
- UpgradeStatus: No upgrade log present (probably fresh install)
- UserGroups:
-  
- _MarkForUpload: True
- dmi.bios.date: 05/15/2019
- dmi.bios.vendor: Dell Inc.
- dmi.bios.version: 1.2.3
- dmi.board.name: 09YTN7
- 

[Bug 1870597] Re: libinput says "your system is too slow"

2022-05-21 Thread Bug Watch Updater
** Changed in: libinput
   Status: Unknown => Fix Released

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

Title:
  libinput says "your system is too slow"

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/1870597/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870597] Re: libinput says "your system is too slow"

2022-01-30 Thread Daniel van Vugt
I see the messages with higher numbers than 20ms in some bug reports so
the above change won't really solve it, just reduce the number of people
who see the message.

Luckily, gnome-shell 40 in Ubuntu 21.10 and gnome-shell 41/42 in Ubuntu
22.04 changes the input system to fix more cases. Maybe not 100%
still...

The kernel bug also sounds very relevant:
https://bugzilla.kernel.org/show_bug.cgi?id=212461

** Bug watch added: gitlab.freedesktop.org/libinput/libinput/-/issues #711
   https://gitlab.freedesktop.org/libinput/libinput/-/issues/711

** Also affects: libinput via
   https://gitlab.freedesktop.org/libinput/libinput/-/issues/711
   Importance: Unknown
   Status: Unknown

** Also affects: libinput (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: libinput (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: libinput (Ubuntu)
   Status: New => Fix Committed

** Tags added: fixed-in-libinput-1.20

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

Title:
  libinput says "your system is too slow"

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/1870597/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870597] Re: libinput says "your system is too slow"

2022-01-28 Thread Angel D. Segarra
I'm getting spammed by libinput messages about the system being slow. A
couple of patches in libinput were merged to master about  month ago
that rate limits some messages that previously were not, and should at
least stop the spamming of messages, if you use a wireless mouse for
example the journal gets flooded if you're doing a lot of mouse
movements.

Please consider backporting these.

https://gitlab.freedesktop.org/libinput/libinput/-/commit/a1e9150210abda0d3dd41127330cd7985d29957d
https://gitlab.freedesktop.org/libinput/libinput/-/commit/64a49d18b948a5b8ac88da9207689af356a081cf

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

Title:
  libinput says "your system is too slow"

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/1870597/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870597] Re: libinput says "your system is too slow"

2022-01-20 Thread Daniel van Vugt
** Tags removed: hirsute

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

Title:
  libinput says "your system is too slow"

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/1870597/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870597] Re: libinput says "your system is too slow"

2021-10-20 Thread Bug Watch Updater
Launchpad has imported 3 comments from the remote bug at
https://bugzilla.kernel.org/show_bug.cgi?id=212461.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2021-03-28T08:17:23+00:00 dor.askayo wrote:

Issue description

Distinct input events can incorrectly share the same timestamp, even
though they were actually generated a few milliseconds (or even seconds)
apart and a "SYN_REPORT" event occurred between them. See example output
below.

...
Event: time 1616757853.303892, -- SYN_REPORT 
Event: time 1616757853.337911, type 1 (EV_KEY), code 97 (KEY_RIGHTCTRL), value 2
Event: time 1616757853.337911, -- SYN_REPORT 
Event: time 1616757853.372886, type 1 (EV_KEY), code 97 (KEY_RIGHTCTRL), value 2
Event: time 1616757853.372886, -- SYN_REPORT 
Event: time 1616757853.406914, type 1 (EV_KEY), code 97 (KEY_RIGHTCTRL), value 2
Event: time 1616757853.406914, -- SYN_REPORT 
Event: time 1616757853.440892, type 1 (EV_KEY), code 97 (KEY_RIGHTCTRL), value 2
Event: time 1616757853.440892, -- SYN_REPORT 
Event: time 1616757853.474907, type 1 (EV_KEY), code 97 (KEY_RIGHTCTRL), value 2
Event: time 1616757853.474907, -- SYN_REPORT 
Event: time 1616757853.508886, type 1 (EV_KEY), code 97 (KEY_RIGHTCTRL), value 2
Event: time 1616757853.508886, -- SYN_REPORT 
Event: time 1616757853.508886, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e4
Event: time 1616757853.508886, type 1 (EV_KEY), code 97 (KEY_RIGHTCTRL), value 0
Event: time 1616757853.508886, -- SYN_REPORT 

Reproduction steps

To reproduce the above:
1. Run evtest and select a device that supports emulated repeat events. (such 
as a keyboard)
2. Press and hold a key for a few seconds and then release.
3. Notice that the "release" event (value 2) incorrectly shares the same 
timestamp as the last repeat event "value 0".

Prior work

* A similar issue was fixed in 6c7e54bd5fda ("Input: reset device timestamp on 
sync") by making sure the timestamp is reset after a "SYN_REPORT" event is 
generated, forcing a new timestamp to be created for following events. However, 
it only handled the case of events that were sent to the input_handle_event() 
function, and didn't cover "SYN_REPORT" events that were generated internally 
in the input core, such as emulated repeat events.
* Another similar issue was fixed by cb5a89cdbaec ("Input: fix stale timestamp 
on key autorepeat events") which made sure that each repeat event got an 
updated timestamp. However, it didn't prevent those timestamps from becoming 
stale and used by following events.

Proposed fix

The attached patch resets the timestamp similarly to 6c7e54bd5fda
("Input: reset device timestamp on sync"), but does so in every case a
"SYN_REPORT" event is generated by the input core. The idea being that
the next event sequence would then be forced to get a new timestamp.

Related issues

* https://bugzilla.kernel.org/show_bug.cgi?id=206929 - The original bug report 
where this issue was reported, which was only partially fixed by cb5a89cdbaec 
("Input: fix stale timestamp on key autorepeat events"). While "repeat" events 
had their timestamps update correctly, the "release" event did not.
* https://gitlab.freedesktop.org/libinput/libinput/-/issues/571#note_83 - 
An issue about errors constantly being printed by libinput about delay in 
handling of events. The investigation of this issue revealed the reported bug.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1870597/comments/22


On 2021-03-28T09:16:55+00:00 dor.askayo wrote:

Created attachment 296099
0001-Input-reset-timestamp-after-SYN_REPORT-events.patch

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1870597/comments/23


On 2021-06-15T08:10:50+00:00 michel wrote:

I suspect you need to just submit the patch by e-mail according to the
kernel development process. Running

 scripts/get_maintainer.pl 0001-Input-reset-timestamp-after-SYN_REPORT-
events.patch

in a kernel tree prints the maintainers and lists where the patch should
be sent to.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1870597/comments/25


** Changed in: linux
   Status: Unknown => Confirmed

** Changed in: linux
   Importance: Unknown => Medium

** Bug watch added: Linux Kernel Bug Tracker #206929
   https://bugzilla.kernel.org/show_bug.cgi?id=206929

** Bug watch added: gitlab.freedesktop.org/libinput/libinput/-/issues #571
   

[Bug 1870597] Re: libinput says "your system is too slow"

2021-10-20 Thread Daniel van Vugt
There is a kernel regression that causes some of the problem:

  https://bugzilla.kernel.org/show_bug.cgi?id=212461

But other than that it should be mostly fixed, not entirely, in GNOME
40.

** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu)
   Status: New => Confirmed

** Changed in: linux (Ubuntu)
   Importance: Undecided => Low

** Bug watch added: Linux Kernel Bug Tracker #212461
   https://bugzilla.kernel.org/show_bug.cgi?id=212461

** Also affects: linux via
   https://bugzilla.kernel.org/show_bug.cgi?id=212461
   Importance: Unknown
   Status: Unknown

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

Title:
  libinput says "your system is too slow"

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/1870597/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs