Hello, everyone.
Since the stable update from 2024-02-21, I am suffering with some laggy/buggy responses, kind of a freezing thing.
For example: when I am doing something, or gaming, and change the volume, the system freezes for 0.3 seconds, and then the volume changes and everything comes back to work.
I updated today (2024-03-06) but no changes here.
Using the “task manager”, I saw a peak CPU usage from Xorg when I change mt volume, ou press play on my keyboard. Sometimes, change my window to another workspace have the same effect.
I don’t know where to start looking, so, I need some help. Very frustrating this issue…
Anyone can help me or give me a direction from where to start the investigation?
It’s really annoying… seems like a Xorg problem. Lind of laggying my “screen” when I use a special input on my keyboard (like the pause button, or the keybind for change the workspace). I can’t describe better than this, sorry…
However, I just tried to do 2 actions that causes this little freeze: a play a song using media keys on my keyboard (that always have worked well in the last 2 years) and changed the workspace.
Here is the journalctl -r output:
mar 11 14:44:18 dwightspc systemd[1272]: Starting GNOME Terminal Server...
mar 11 14:44:18 dwightspc systemd[1272]: Started Application launched by gsd-media-keys.
mar 11 14:44:14 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
mar 11 14:44:14 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
mar 11 14:44:14 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 30 with keysym 30 (keycode 13).
mar 11 14:44:14 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
mar 11 14:44:14 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 30 with keysym 30 (keycode 13).
mar 11 14:44:14 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 73 with keysym 73 (keycode 27).
mar 11 14:44:14 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
mar 11 14:44:14 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
mar 11 14:44:14 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
mar 11 14:44:14 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
mar 11 14:44:14 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
mar 11 14:44:14 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
mar 11 14:44:14 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
mar 11 14:44:14 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
mar 11 14:44:14 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
mar 11 14:44:14 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
mar 11 14:44:14 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
mar 11 14:44:14 dwightspc touchegg.desktop[1665]: Reconnecting in 5 seconds...
mar 11 14:44:14 dwightspc touchegg.desktop[1665]: Error connecting to Touchégg daemon: Could not connect: Connection refused
mar 11 14:44:09 dwightspc touchegg.desktop[1665]: Reconnecting in 5 seconds...
mar 11 14:44:09 dwightspc touchegg.desktop[1665]: Error connecting to Touchégg daemon: Could not connect: Connection refused
mar 11 14:44:04 dwightspc touchegg.desktop[1665]: Reconnecting in 5 seconds...
mar 11 14:44:04 dwightspc touchegg.desktop[1665]: Error connecting to Touchégg daemon: Could not connect: Connection refused
mar 11 14:44:04 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
mar 11 14:44:04 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
mar 11 14:44:04 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 30 with keysym 30 (keycode 13).
mar 11 14:44:04 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
mar 11 14:44:04 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 30 with keysym 30 (keycode 13).
mar 11 14:44:04 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 73 with keysym 73 (keycode 27).
mar 11 14:44:04 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
mar 11 14:44:04 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
mar 11 14:44:04 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
mar 11 14:44:04 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
mar 11 14:44:04 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
mar 11 14:44:04 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
mar 11 14:44:04 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
mar 11 14:44:04 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
mar 11 14:44:04 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
mar 11 14:44:04 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
mar 11 14:44:04 dwightspc gnome-shell[1434]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
Two warnings related with “Window manager writing” and “touchegg.desktop”.
At 14:44:04, I played the song, and at 14:44:14, changed the workspace.
In some way, it can help to investigate? It is normal have this warnings?
EDIT: I don’t have a touchpad, so I believe that touchegg.desktop is useless. Am I right?
Touchegg is for multitouch gestures … on any number of inputs, though I have probably most often seen it used for touchscreen gestures. And somewhat legacy to boot.
Its certainly not a system requirement.
(you can check your packages, ex: pacman -Qs touchegg)
Some days after, here I am with some tests. I kind of solved the problem, not 100%.
But, maybe it will be useful for someone else.
Step-by-step:
I disabled all extensions. Nothing got better…
I disabled Easyeffects, nothing got better…
After running journalctl -r, I saw the log posted earlier.
So, two problems: touchegg.desktop with some errors, and some gnome-shell warnings about some “Overwriting existing bindind”.
After some googling:
Uninstall touche, because I have a desktop, so no problem.
The “Overwriting existing bindind” seems to be a problem with “Dash to dock” extension.
I found the reason why the warning is displayed. It has to do with Dash-to-Dock and the keyboard shortcuts. You can install the dconf-editor, then navigate to “/org/gnome/shell/extensions/dash-to-dock/” and search for “hot-keys”, “hotkeys-overlay” and “hotkeys-show-dock”. Then disable the options. Now the message no longer appears.
For me, it worked, in parts.
Changing workspace no longer freezes. Changing the volume still have some freezing, but less than before. Using journalctl -r, I have this error when pausing/playing or changing the volume using multimedia keys:
mar 18 21:51:33 dwightspc gnome-shell[1472]: Window manager warning: Overwriting existing binding of keysym 73 with keysym 73 (keycode 27).
mar 18 21:51:30 dwightspc gnome-shell[1472]: Window manager warning: Overwriting existing binding of keysym 73 with keysym 73 (keycode 27).
Using xev | awk -F'[ )]+' '/^KeyPress/ { a[NR+2] } NR in a { printf "%-3s %s\n", $5, $8 }' for testing, F7 is the 73 keysym. So, some keybing is using F7? Or the mapping of my keyboard in the media keys are using F7 for something?
Hello, everyone.
So, about 2 months later, and nothing solved.
Even without Dash-to-dock or other extensions, nothing got better at the end, was just a placebo.
With the last update, same thing.
And nothing appear on journalctl -r…
My last test was using Manjaro on a live USB stick, version 24, with proprietary drivers, and no problem at all!
So, I really don’t know where to run.
I can’t reinstall my system, so I need a “light” to solve this problem.
Somebody please help me on this, it’s becoming very annoying on my daily routine…
But, I have a number 1 suspect: Xorg (or Xwayland). I didn’t reinstall Nvidia drivers yet, but don’t seen that is the problem. Gnome or any extension are all clear.
For now, I will just accept the problem and keep investigating sometimes. But, the principal suspect is Xorg ou anything related to that.
Anyway, I will open another topic for solving that, if anyone can’t help me anymore.
Yochanan’s post is relevant, but I can confirm that my system is using Xorg. Well, kind of using Xwayland too, but it’s Xorg.
I am using Nvidia, but I really wanted to test. I have a laptop with Intel, and even with open drivers the Wayland experience is so more smooth than Xorg. Maybe this can solve my problem, idk
At least, that’s what I thought! I’ll have to look on my mate’s machine which is still on X11. Or switch this one, temporarily, next time I do an upgrade/reboot.
Inxi displays the XWayland version if detected no matter the display server being used. You’ll notice you have both xorg-xwayland and wayland installed on GNOME regardless.
# GDM configuration storage
[daemon]
AutomaticLoginEnable=False
# Uncomment the line below to force the login screen to use Xorg
#WaylandEnable=false
[security]
[xdmcp]
[chooser]
[debug]
# Uncomment the line below to turn on debugging
#Enable=true
Nope, that’s a good idea. I will try later.
Ok, I will make it clear:
I have a system running Gnome+NVIDIA+X11. When I do some actions, like pause a song using my keyboard, or change the workspace, a little freeze happens, and it’s very annoying, especially during my work time (make me lose the focus) or gaming time.
I won’t install KDE, and I believe that I maintained the system right. I am very careful at the updates. And, the most important thing: using a live USB with same version and same drivers, this problem don’t happen.
So, what I do know that is NOT causing the problem:
My keyboard;
NVIDIA Driver;
GNOME 46.
What I suspect is some package or setup file related to mutter or Xorg. But I already readed a lot of log files and nothing…
I was trying to take a shot on Wayland, and see if the system is usable, but haven’t done this yet.
Long explanation, but this topic is almost 3 months old already.