Screen freezes when mouse/cursor is moved

For context, I am not a particularly “new” Linux user, but I’ve only been using Manjaro for about 2.5 months now. Arch-based distros are still somewhat new to me. This is an issue I have had since day 1, where whenever the cursor is continuously moved around it will cause the entire screen to freeze. My current kernel version is 6.12.4-1, however this issue doesn’t happen in version 6.6.65-1 and below. I was originally just using 6.6.65-1 to avoid the issue, however I needed a higher kernel version to change my GPU fan curve so I would like to finally tackle this. Here is a list of the symptoms I have noticed:

Symptoms
  • The screen freezes during continuous cursor movement, and returns to normal after the cursor has stopped.
  • While the screen is frozen, the cursor will begin to periodically misread the mouse speed, making cursor movement erratic. This almost feels like mouse acceleration turns on briefly, when I have it disabled entirely.
  • When certain applications are open the issue will stop, typically with most video games, although others such as System Monitor also stop the issue.
  • When htop is running and the screen returns to normal after being frozen, it will briefly show one CPU core at 90-100% OR two cores at a total of 90-100% (e.g. one core at 60% and another at 40%). This was tested with only htop running, and the CPU core usage drops back to 1-2% afterwards.
  • Also according to htop, one of the X11 processes is putting the heavy load on the CPU cores.
  • /var/log/Xorg.0.log gives repeated SYN_DROPPED events for my mouse.
  • Wayland doesn’t give any different results. All of the above symptoms still apply.

My computer is pretty new, so here’s the full specs if necessary:

PC Specs
  • Motherboard: MSI MAG B650M Mortar Wifi
  • CPU: Ryzen 5 7600X (No OC)
  • CPU Cooler: EK AIO Basic 360mm
  • GPU: Gigabyte RX 7800 XT (No OC)
  • RAM: 32GB DDR5 @ 6000MHz (EXPO Enabled)
  • SSD: Samsung 990 Pro 2TB
  • PSU: Corsair RM850x (2024) 850W
  • Case: Asus Prime AP201

I/O:

  • Mouse: Razer DeathAdder V2 Pro (Wired)
  • Keyboard: Razer BlackWidow V3
  • Monitor: LG 27GN7 (27" 1920x1080 @ 240Hz)

I apologize for not including much info from the OS/software, I’m not sure what information would be relevant. If you need any more information just let me know and I will happily provide it.

Hello and welcome,

A good start is usually an inxi

inxi -Farz

And also here is a guide including tips on how to format code etc;

Thank you. Here is the output:

System:
  Kernel: 6.12.4-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.12-x86_64
    root=UUID=3f112e64-17f5-473d-8e46-ad7c9c1669ff rw quiet splash
    resume=UUID=873977d4-14a0-4b9b-bad7-ec23e01ef7e8 udev.log_priority=3
  Desktop: KDE Plasma v: 6.2.4 tk: Qt v: N/A wm: kwin_x11 with: krunner
    dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: MAG B650M MORTAR WIFI (MS-7D76) v: 2.0
    serial: <filter> uuid: 196ba479-8a6e-2516-acb2-d843aeccbfc2 UEFI: American
    Megatrends LLC. v: A.J1 date: 10/22/2024
CPU:
  Info: model: AMD Ryzen 5 7600X socket: AM5 bits: 64 type: MT MCP arch: Zen 4
    gen: 4 level: v4 note: check built: 2022+ process: TSMC n5 (5nm)
    family: 0x19 (25) model-id: 0x61 (97) stepping: 2 microcode: 0xA601209
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 6 threads: 12 tpc: 2
    smt: enabled cache: L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 6 MiB
    desc: 6x1024 KiB L3: 32 MiB desc: 1x32 MiB
  Speed (MHz): avg: 2988 min/max: 545/5453 boost: enabled
    base/boost: 4700/5450 scaling: driver: amd-pstate-epp governor: performance
    volts: 1.3 V ext-clock: 100 MHz cores: 1: 2988 2: 2988 3: 2988 4: 2988
    5: 2988 6: 2988 7: 2988 8: 2988 9: 2988 10: 2988 11: 2988 12: 2988
    bogomips: 112852
  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: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  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: Enhanced / Automatic IBRS; IBPB:
    conditional; STIBP: always-on; RSB filling; PBRSB-eIBRS: Not affected;
    BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 32 [Radeon RX 7700 XT /
    7800 XT] vendor: Gigabyte driver: amdgpu v: kernel arch: RDNA-3
    code: Navi-3x process: TSMC n5 (5nm) built: 2022+ pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: HDMI-A-1 empty: DP-1, DP-2,
    HDMI-A-2, Writeback-1 bus-ID: 03:00.0 chip-ID: 1002:747e class-ID: 0300
  Device-2: Advanced Micro Devices [AMD/ATI] Raphael vendor: Micro-Star MSI
    driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm)
    built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: none
    empty: DP-3, DP-4, DP-5, HDMI-A-3, Writeback-2 bus-ID: 12:00.0
    chip-ID: 1002:164e class-ID: 0300 temp: 32.0 C
  Display: unspecified server: X.Org v: 21.1.14 with: Xwayland v: 24.1.4
    compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting,radeon
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: LG (GoldStar) 27GN7
    serial: <filter> built: 2022 res: mode: 1920x1080 hz: 240 scale: 100% (1)
    dpi: 81 gamma: 1.2 size: 600x303mm (23.62x11.93") diag: 708mm (27.9")
    ratio: 15:9, 16:9 modes: max: 1920x1080 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: radeonsi device: 2 drv: swrast gbm: drv: radeonsi
    surfaceless: drv: radeonsi x11: drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.8-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 7800 XT (radeonsi
    navi32 LLVM 18.1.8 DRM 3.59 6.12.4-1-MANJARO) device-ID: 1002:747e
    memory: 15.62 GiB unified: no
  API: Vulkan v: 1.4.303 layers: N/A device: 0 type: discrete-gpu name: AMD
    Radeon RX 7800 XT (RADV NAVI32) driver: N/A device-ID: 1002:747e
    surfaces: xcb,xlib device: 1 type: integrated-gpu name: AMD Radeon
    Graphics (RADV RAPHAEL_MENDOCINO) driver: N/A device-ID: 1002:164e
    surfaces: xcb,xlib
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: corectrl,lact wl: wayland-info
    x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 31 HDMI/DP Audio
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 03:00.1 chip-ID: 1002:ab30 class-ID: 0403
  Device-2: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High
    Definition Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 12:00.1 chip-ID: 1002:1640
    class-ID: 0403
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: 12:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Device-4: SteelSeries ApS Arctis Nova 7P
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-4:2 chip-ID: 1038:220a class-ID: 0300
  Device-5: Micro Star USB Audio driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:7
    chip-ID: 0db0:7696 class-ID: 0300
  Device-6: XMOS JDS Labs Atom DAC+ driver: snd-usb-audio type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-1:2 chip-ID: 20b1:30e1
    class-ID: fe01
  API: ALSA v: k6.12.4-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.7 status: n/a (root, process) with:
    1: pipewire-pulse status: active 2: wireplumber status: active
    3: pipewire-alsa type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: c000 bus-ID: 0e:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp14s0 state: down mac: <filter>
  Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
    bus-ID: 0f:00.0 chip-ID: 14c3:0616 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-7:8 chip-ID: 0e8d:0616
    class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 1.82 TiB used: 1001.06 GiB (53.7%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 990 PRO 2TB
    size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 4B2QJXD7 temp: 34.9 C
    scheme: GPT
  SMART: yes health: PASSED on: 15d 12h cycles: 101
    read-units: 4,163,317 [2.13 TB] written-units: 8,992,429 [4.60 TB]
Partition:
  ID-1: / raw-size: 1.79 TiB size: 1.76 TiB (98.37%) used: 1001.06 GiB (55.6%)
    fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
    maj-min: 259:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 33.5 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 38.0 C mobo: 30.2 C
  Fan Speeds (rpm): N/A
  GPU: device: amdgpu temp: 37.0 C mem: 32.0 C fan: 0 watts: 10.00
    device: amdgpu temp: 32.0 C
Repos:
  Packages: pm: pacman pkgs: 1469 libs: 441 tools: pamac
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://gsl-syd.mm.fcix.net/manjaro/stable/$repo/$arch
    2: https://mirror.yandex.ru/mirrors/manjaro/stable/$repo/$arch
    3: http://ossmirror.mycloud.services/os/linux/manjaro/stable/$repo/$arch
    4: https://manjaro.kurdy.org/stable/$repo/$arch
    5: https://opencolo.mm.fcix.net/manjaro/stable/$repo/$arch
    6: https://mirror.alpix.eu/manjaro/stable/$repo/$arch
    7: https://ftp.gwdg.de/pub/linux/manjaro/stable/$repo/$arch
    8: https://mirror.truenetwork.ru/manjaro/stable/$repo/$arch
    9: https://mirrors.ustc.edu.cn/manjaro/stable/$repo/$arch
    10: https://mirror.telepoint.bg/manjaro/stable/$repo/$arch
    11: http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/stable/$repo/$arch
    12: https://mirror.dkm.cz/manjaro/stable/$repo/$arch
    13: https://mirror.easyname.at/manjaro/stable/$repo/$arch
    14: https://mirror.2degrees.nz/manjaro/stable/$repo/$arch
    15: https://manjaro.c3sl.ufpr.br/stable/$repo/$arch
    16: https://mirror.bouwhuis.network/manjaro/stable/$repo/$arch
    17: https://mirror.alwyzon.net/manjaro/stable/$repo/$arch
    18: https://ftp.psnc.pl/linux/manjaro/stable/$repo/$arch
    19: https://manjaro.ipacct.com/manjaro/stable/$repo/$arch
    20: https://manjaro.mirror.wearetriple.com/stable/$repo/$arch
    21: http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable/$repo/$arch
    22: https://mirrors.gigenet.com/manjaro/stable/$repo/$arch
    23: https://mirror.futureweb.be/manjaro/stable/$repo/$arch
    24: http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/stable/$repo/$arch
    25: https://mirrors.ucr.ac.cr/manjaro/stable/$repo/$arch
    26: https://ask4.mm.fcix.net/manjaro/stable/$repo/$arch
    27: https://mirrors.nic.cz/manjaro/stable/$repo/$arch
    28: https://ftpmirror1.infania.net/mirror/manjaro/stable/$repo/$arch
    29: https://bd.mirror.vanehost.com/Manjaro/stable/$repo/$arch
    30: https://mirror.archlinux.tw/Manjaro/stable/$repo/$arch
    31: https://linorg.usp.br/manjaro/stable/$repo/$arch
    32: https://mirror.kamtv.ru/manjaro/stable/$repo/$arch
    33: https://mnvoip.mm.fcix.net/manjaro/stable/$repo/$arch
    34: https://mirrors.dotsrc.org/manjaro/stable/$repo/$arch
    35: https://mirror.nju.edu.cn/manjaro/stable/$repo/$arch
    36: https://mirror.csclub.uwaterloo.ca/manjaro/stable/$repo/$arch
    37: https://mirrors.manjaro.org/repo/stable/$repo/$arch
    38: http://ftp.free.org/mirrors/repo.manjaro.org/repos/stable/$repo/$arch
    39: https://mirror.init7.net/manjaro/stable/$repo/$arch
    40: https://ct.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
    41: https://mirrors.ocf.berkeley.edu/manjaro/stable/$repo/$arch
    42: https://mirror.ufam.edu.br/manjaro/stable/$repo/$arch
    43: https://ftp.linux.org.tr/manjaro/stable/$repo/$arch
    44: https://uvermont.mm.fcix.net/manjaro/stable/$repo/$arch
    45: https://manjaro.mirror.liquidtelecom.com/stable/$repo/$arch
    46: https://manjaro.repo.cure.edu.uy/stable/$repo/$arch
    47: https://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable/$repo/$arch
    48: https://mirror.it4i.cz/manjaro/stable/$repo/$arch
    49: https://mirror.funami.tech/manjaro/stable/$repo/$arch
    50: https://manjaro.ynh.ovh/stable/$repo/$arch
    51: https://mirror.vinehost.net/manjaro/stable/$repo/$arch
    52: http://mirror.fcix.net/manjaro/stable/$repo/$arch
    53: https://irltoolkit.mm.fcix.net/manjaro/stable/$repo/$arch
    54: https://mirror.freedif.org/Manjaro/stable/$repo/$arch
    55: https://mirrors.xtom.jp/manjaro/stable/$repo/$arch
    56: https://mirror.koddos.net/manjaro/stable/$repo/$arch
    57: https://manjaro.mirrors.lavatech.top/stable/$repo/$arch
    58: https://codingflyboy.mm.fcix.net/manjaro/stable/$repo/$arch
    59: https://mirrors2.manjaro.org/stable/$repo/$arch
    60: https://mirror1.sox.rs/manjaro/stable/$repo/$arch
    61: https://ridgewireless.mm.fcix.net/manjaro/stable/$repo/$arch
    62: https://mirror.zetup.net/manjaro/stable/$repo/$arch
    63: https://ipng.mm.fcix.net/manjaro/stable/$repo/$arch
    64: http://kartolo.sby.datautama.net.id/manjaro/stable/$repo/$arch
    65: https://ftp.cc.uoc.gr/mirrors/linux/manjaro/stable/$repo/$arch
    66: https://mirrors.cicku.me/manjaro/stable/$repo/$arch
    67: https://ziply.mm.fcix.net/manjaro/stable/$repo/$arch
    68: https://coresite.mm.fcix.net/manjaro/stable/$repo/$arch
    69: https://volico.mm.fcix.net/manjaro/stable/$repo/$arch
    70: https://ftp.lysator.liu.se/pub/manjaro/stable/$repo/$arch
    71: https://repo.ialab.dsu.edu/manjaro/stable/$repo/$arch
    72: https://mirror.dc.uz/manjaro/stable/$repo/$arch
    73: https://mirror.ibakerserver.pt/manjaro/stable/$repo/$arch
    74: https://mirrors.pku.edu.cn/manjaro/stable/$repo/$arch
    75: https://mirrors.tuna.tsinghua.edu.cn/manjaro/stable/$repo/$arch
    76: https://ba.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
    77: https://mirror.netcologne.de/manjaro/stable/$repo/$arch
    78: https://mirror.raiolanetworks.com/manjaro/stable/$repo/$arch
    79: https://mirrors.jlu.edu.cn/manjaro/stable/$repo/$arch
    80: https://mirror.ufro.cl/manjaro/stable/$repo/$arch
    81: https://repo.iut.ac.ir/repo/manjaro/stable/$repo/$arch
    82: https://edgeuno-bog2.mm.fcix.net/manjaro/stable/$repo/$arch
    83: http://manjaro.mirrors.uk2.net/stable/$repo/$arch
    84: http://mirror.is.co.za/mirrors/manjaro.org/stable/$repo/$arch
    85: https://quantum-mirror.hu/mirrors/pub/manjaro/stable/$repo/$arch
    86: https://nocix.mm.fcix.net/manjaro/stable/$repo/$arch
    87: https://mirrors.atlas.net.co/manjaro/stable/$repo/$arch
    88: https://forksystems.mm.fcix.net/manjaro/stable/$repo/$arch
    89: https://mirrors.sonic.net/manjaro/stable/$repo/$arch
    90: http://ftp.belnet.be/mirrors/manjaro/repos/stable/$repo/$arch
    91: http://mirror.xeonbd.com/manjaro/stable/$repo/$arch
    92: https://ohioix.mm.fcix.net/manjaro/stable/$repo/$arch
    93: https://manjaro.mirror.garr.it/manjaro/stable/$repo/$arch
    94: https://mirror.math.princeton.edu/pub/manjaro/stable/$repo/$arch
    95: https://mirror.leitecastro.com/manjaro/stable/$repo/$arch
    96: https://fastmirror.pp.ua/manjaro/stable/$repo/$arch
    97: https://muug.ca/mirror/manjaro/stable/$repo/$arch
    98: https://mirror.nyist.edu.cn/manjaro/stable/$repo/$arch
    99: https://cofractal-ewr.mm.fcix.net/manjaro/stable/$repo/$arch
    100: https://manjarolinux-mirror.cloud.mu/stable/$repo/$arch
    101: https://mirror.23m.com/manjaro/stable/$repo/$arch
    102: http://ftp.riken.jp/Linux/manjaro/stable/$repo/$arch
    103: http://ftp.uni-kl.de/pub/linux/manjaro/stable/$repo/$arch
    104: http://free.nchc.org.tw/manjaro/stable/$repo/$arch
    105: https://fosszone.csd.auth.gr/manjaro/stable/$repo/$arch
    106: https://nnenix.mm.fcix.net/manjaro/stable/$repo/$arch
    107: https://ftp.caliu.cat/pub/distribucions/manjaro/stable/$repo/$arch
    108: https://ftp.halifax.rwth-aachen.de/manjaro/stable/$repo/$arch
    109: https://mirror.aarnet.edu.au/pub/manjaro/stable/$repo/$arch
    110: https://mirrors.up.pt/pub/manjaro/stable/$repo/$arch
    111: https://mirror.hostiko.network/manjaro/stable/$repo/$arch
    112: http://manjaro.grena.ge/stable/$repo/$arch
    113: https://mirror.xenyth.net/manjaro/stable/$repo/$arch
    114: https://mirrors.sjtug.sjtu.edu.cn/manjaro/stable/$repo/$arch
    115: https://southfront.mm.fcix.net/manjaro/stable/$repo/$arch
    116: https://mirror.phoepsilonix.love/manjaro/stable/$repo/$arch
    117: http://ftp.snt.utwente.nl/pub/linux/manjaro/stable/$repo/$arch
    118: http://manjaro.mirror.ac.za/stable/$repo/$arch
    119: https://mirrors.aliyun.com/manjaro/stable/$repo/$arch
Info:
  Memory: total: 32 GiB note: est. available: 30.46 GiB used: 3.44 GiB (11.3%)
  Processes: 343 Power: uptime: 6h 1m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.16 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
    tool: systemctl
  Compilers: clang: 18.1.8 gcc: 14.2.1 Shell: Sudo (sudo) v: 1.9.16p2
    default: Bash v: 5.2.37 running-in: konsole inxi: 3.3.37

Just wonder if the Plasma updates have fixed this, or is it still an issue?