High CPU usage when using gestures on the touchscreen

I am using Gnome on my ThinkPad X1 Yoga Gen 1 with openSUSE MicroOS. I really like it, especially for it’s good touch screen support.
However, there is one issue I keep running into:
When using the “left-right” three-finger-gestures for switching virtual desktops on the touchscreen of the laptop, the entire machine freezes for a moment (on the touchpad everything works just fine). By looking at the system monitor I noticed that every time this happens, there is a spike in CPU usage.
I did a bit more digging and found some error messages in the system journal:

Dec 06 21:22:15 kebnekaise gnome-shell[2271]: == Stack trace for context 0x55ff23371310 ==
Dec 06 21:22:15 kebnekaise gnome-shell[2271]: #0   55ff29c0aa40 i   resource:///org/gnome/shell/ui/keyboard.js:761 (170d5ed59ab0 @ 20)
Dec 06 21:22:15 kebnekaise gnome-shell[2271]: #1   7ffc373fb060 b   self-hosted:1121 (f08bdd7eec0 @ 463)
Dec 06 21:22:15 kebnekaise gnome-shell[2271]: #2   55ff29c0a998 i   resource:///org/gnome/shell/ui/swipeTracker.js:603 (170d5ed618d0 @ 184)
Dec 06 21:22:15 kebnekaise gnome-shell[2271]: #3   55ff29c0a8f0 i   resource:///org/gnome/shell/ui/swipeTracker.js:591 (170d5ed61880 @ 73)
Dec 06 21:22:15 kebnekaise gnome-shell[2271]: #4   7ffc373fc430 b   self-hosted:1121 (f08bdd7eec0 @ 546)
Dec 06 21:22:15 kebnekaise gnome-shell[2271]: #5   55ff29c0a808 i   resource:///org/gnome/shell/ui/swipeTracker.js:275 (170d5ed61290 @ 1115)

and

Dec 06 21:22:15 kebnekaise gnome-shell[2271]: JS ERROR: TypeError: this._panel is null
                                              set delta@resource:///org/gnome/shell/ui/keyboard.js:720:9
                                              _onSwipeUpdate@resource:///org/gnome/shell/ui/keyboard.js:750:22
                                              _updateGesture@resource:///org/gnome/shell/ui/swipeTracker.js:670:14
                                              vfunc_gesture_progress@resource:///org/gnome/shell/ui/swipeTracker.js:288:14

I’m not at all familiar with the inner-workings of the shell and don’t know what other parts of the logs might be of interest, so I saved the journal of everything that happened during a swipe and uploaded it to GitHub Gists: Journal Log while doing a swipe gesture in gnome-shell · GitHub. I know this is a long file, but from what I could tell it seems to be repeating itself over and over.

This issue is appearing on openSUSE MicroOS with Gnome 43.1.

Any help is appreciated. I did everything I could imagine, I searched the internet, I reinstalled the machine, I looked through gnome-logs and dmesg (both of them don’t mention anything regarding this issue).
Also, please tell me should this be the wrong place to ask about this.
Thanks.

Maybe you can create a ticket in gitlab (Issues · GNOME / gnome-shell · GitLab) for this issue. Also if you use ubuntu then you can create a ticket on ubuntu launchpad as well.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.