Summary: | High cpu usage during trackpoint scrolling. | ||
---|---|---|---|
Product: | Wayland | Reporter: | dnord <pinguin255> |
Component: | libinput | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED NOTOURBUG | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | peter.hutterer |
Version: | 1.2.x | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
dnord
2017-01-17 14:43:28 UTC
hmm, this sounds more like a telegram bug then. If it was libinput, it would be high everywhere and I can't reproduce this here (tested on two different touchpads too). Not 100% sure though why it would be different for the touchpad. Also, libinput 1.2 is quite out of date now, please try 1.5 or the 16rc, thanks. oh, and you're using xserver 1.18 which still does select on the fd, better to try 1.19 with the input threads, that may distributed some of the work during rendering better. Ok, I'll try updated libinput and xorg when I'll have time.
>tested on two different touchpads too
Bug arises with Thinkpad's trackpoint+3 mouse scroll only (also known as "Wheel emulation"), not on touchpads.
sorry, wasn't clear: i tested on two different touchpad+trackpoint combos, a T440s where the middle button is actually on the touchpad and a T450p where the middle button is a physical button. I just booted Fedora 25 with Xorg session of GNOME with: xorg-x11-server-Xorg: 1.19.1-2.fc25 xorg-x11-drv-libinput: 0.23.0-2.fc25 libinput: 1.5.901-1.fc25 And it looks like main problem has gone: now it is 10% cpu for touchpad scrolling and only 20% cpu for trackpoint scrolling for Telegram, so it was definitely not Telegram bug. But it still 2 times more CPU usage! Should it be considered a bug? urgh, I didn't realise this was in telegram again, that's why I left it open. do you see the bug anywhere else but in Telegram? I certainly don't see any cpu spikes when just testing with the debugging tools and the CPU required for generating scroll events is miniscule. I wonder if the issue is here the difference between the scroll sources or how often telegram re-renders. I no longer have abnormal cpu-eating (like mentioned 80%) or difference between drivers after update. I just noticed, that sometimes trackpoint scrolling eats twice more cpu than touchpad scrolling (in Atom and Chromium, for example), but it can be due to more re-redering (or difference in a speed and way of scrolling movements are done) so nothing can be done about that. If it is not a problem, than bug can be closed. ok, I think we can close the bug then, thanks. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.