System with freezing in some actions

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…

Info about system:

Graphics:
  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: ASUSTeK driver: nvidia
    v: 550.54.14 alternate: nouveau,nvidia_drm non-free: 545.xx+ status: current
    (as of 2024-02; EOL~2026-12-xx) arch: Pascal code: GP10x process: TSMC 16nm
    built: 2016-2021 pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 08:00.0
    chip-ID: 10de:1c82 class-ID: 0300
  Display: x11 server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
    compositor: gnome-shell v: 45.4 driver: X: loaded: nvidia gpu: nvidia
    display-ID: :1 screens: 1
  Screen-1: 0 s-res: 2560x1080 s-size: <missing: xdpyinfo>
  Monitor-1: Unknown-1 mapped: HDMI-0 res: 2560x1080 dpi: 81
    size: 798x334mm (31.42x13.15") modes: 640x480
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
    drv: swrast gbm: drv: kms_swrast surfaceless: drv: nvidia x11: drv: nvidia
    inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.54.14
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
    memory: 3.91 GiB
  API: Vulkan v: 1.3.276 layers: 9 device: 0 type: discrete-gpu name: NVIDIA
    GeForce GTX 1050 Ti driver: nvidia v: 550.54.14 device-ID: 10de:1c82
    surfaces: xcb,xlib

Can anyone help me?

I was wondering if there is a way to use Wayland, even if it for test purpose only…

This seems to be a xorg problem, at least from the behavior of the system…

Maybe try including usable/full system information.

inxi -Fazy

Sorry, I didn’t knew what exactly kind of information was useful.

System:
  Kernel: 6.6.19-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
    root=UUID=d6ecda09-ff35-416a-9f44-94f281802154 rw quiet
    udev.log_priority=3
  Desktop: GNOME v: 45.4 tk: GTK v: 3.24.41 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM v: 45.0.1 Distro: Manjaro
    base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME B450M-GAMING/BR v: Rev X.0x
    serial: <superuser required> part-nu: SKU uuid: <superuser required>
    UEFI-[Legacy]: American Megatrends v: 2202 date: 07/14/2020
CPU:
  Info: model: AMD Ryzen 5 1600 bits: 64 type: MT MCP arch: Zen+ gen: 2
    level: v3 note: check built: 2018-21 process: GF 12nm family: 0x17 (23)
    model-id: 8 stepping: 2 microcode: 0x800820D
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 576 KiB desc: d-6x32 KiB; i-6x64 KiB L2: 3 MiB desc: 6x512 KiB L3: 16 MiB
    desc: 2x8 MiB
  Speed (MHz): avg: 2060 high: 2794 min/max: 1550/3200 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2794 2: 2794
    3: 1327 4: 1271 5: 2486 6: 2222 7: 2794 8: 2794 9: 1270 10: 1276 11: 1550
    12: 2148 bogomips: 76671
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT vulnerable
  Type: spec_rstack_overflow mitigation: Safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
    disabled, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: ASUSTeK driver: nvidia
    v: 550.54.14 alternate: nouveau,nvidia_drm non-free: 545.xx+ status: current
    (as of 2024-02; EOL~2026-12-xx) arch: Pascal code: GP10x process: TSMC 16nm
    built: 2016-2021 pcie: gen: 2 speed: 5 GT/s lanes: 16 link-max: gen: 3
    speed: 8 GT/s bus-ID: 08:00.0 chip-ID: 10de:1c82 class-ID: 0300
  Display: x11 server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
    compositor: gnome-shell driver: X: loaded: nvidia gpu: nvidia display-ID: :1
    screens: 1
  Screen-1: 0 s-res: 2560x1080 s-size: <missing: xdpyinfo>
  Monitor-1: Unknown-1 mapped: HDMI-0 res: 2560x1080 dpi: 81
    size: 798x334mm (31.42x13.15") modes: 640x480
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
    drv: swrast gbm: drv: kms_swrast surfaceless: drv: nvidia x11: drv: nvidia
    inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.54.14
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
    memory: 3.91 GiB
  API: Vulkan v: 1.3.276 layers: 9 device: 0 type: discrete-gpu name: NVIDIA
    GeForce GTX 1050 Ti driver: nvidia v: 550.54.14 device-ID: 10de:1c82
    surfaces: xcb,xlib
Audio:
  Device-1: NVIDIA GP107GL High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 08:00.1 chip-ID: 10de:0fb9 class-ID: 0403
  Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 0a:00.3
    chip-ID: 1022:1457 class-ID: 0403
  Device-3: Generalplus Usb Audio Device
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 3-4:4 chip-ID: 1b3f:2008 class-ID: 0300
    serial: <filter>
  API: ALSA v: k6.6.19-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: pipewire-media-session status: active 3: pipewire-alsa
    type: plugin 4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK PRIME B450M-A driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 07:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Drives:
  Local Storage: total: 1.58 TiB used: 880.13 GiB (54.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD10EZEX-08WN4A0
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: 1A02 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WDS500G2B0A-00SM50 size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 20WD
    scheme: MBR
  ID-3: /dev/sdc maj-min: 8:32 vendor: Seagate model: WDC WDS240G2G0B-00EPW0
    size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 0400 scheme: GPT
Partition:
  ID-1: / raw-size: 456.96 GiB size: 448.72 GiB (98.20%)
    used: 189.42 GiB (42.2%) fs: ext4 dev: /dev/sdb1 maj-min: 8:17
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sdb2 maj-min: 8:18
Sensors:
  System Temperatures: cpu: 45.9 C mobo: N/A gpu: nvidia temp: 36 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 30%
Info:
  Memory: total: 16 GiB available: 15.55 GiB used: 5.07 GiB (32.6%)
  Processes: 373 Power: uptime: 9m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 6.21 GiB services: gsd-power,
    power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
    tool: systemctl
  Packages: 1987 pm: dpkg pkgs: 0 pm: pacman pkgs: 1914 libs: 551
    tools: gnome-software,pamac,yay pm: flatpak pkgs: 67 pm: snap pkgs: 6
    Compilers: clang: 16.0.6 gcc: 13.2.1 Shell: Zsh v: 5.9
    running-in: gnome-terminal inxi: 3.3.33

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…

Since its gnome … have you checked your extensions (and disabling them?)

Yes, already disable but the issue persists.

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)

Hello, everyone.

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:

  1. I disabled all extensions. Nothing got better…

  2. I disabled Easyeffects, nothing got better…

  3. 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:

  4. Uninstall touche, because I have a desktop, so no problem.

Right here: Bug #1857392 “Window manager warning: Overwriting existing bindi...” : Bugs : gnome-shell package : Ubuntu

  1. 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?

But, in general, it got better!