Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 4056

Graphical Environments & Desktops • [Solved] Intermittent cursor stuttering/freezing with any mouse (XFCE/i3, NVIDIA)

$
0
0
Hey everyone!

While I was writing the original post (see below), I finally thought about trying disconnecting keyboard. The problem has been eliminated. So, there is the possibility that the explanation is: SINO WEALTH Gaming KB contains something that makes xinput recognize it as both pointer and keyboard, and that 'something' sends noise to pointer channel and mouse stutters.

SOLUTION:

Code:

xinput list
find the id for keyboard in pointer section, in my case 14 and 15

Code:

xinput disable "14"xinput disable "15"
_________________________________________________________________________________
Problem:
When moving the mouse at a constant speed, the cursor moves smoothly about 95% of the time. However, roughly 5% of the time, it will stutter in a "freeze-move-freeze-move" pattern. This happens regardless of:

- Direction of movement
- Speed
- Screen position
- Mouse used (wired or wireless)

Annoying as hell.
Can it be a hardware (mobo or cpu) problem?
What logs can we check to find the source?
I will be glad to provide logs.

Steps I already tried over time to isolate & fix the bug and they didn't help:
  • Rebooted (five million times:))
  • Tried other mice: wireless & wired
  • Updates and hardware upgrades, all possible combinations occasionally were tried by me (as 'clean' experiments, no other significant changes were connected with these): used NVIDIA Quadro K2000 for long time then switched to GTX 1650 Super and also used for long time; for both cards used Debian 12 and Debian 13 with stock kernels; drivers nouveau and nvidia-tesla-470 for Quadro, drivers nouveau, nvidia-535 and nvidia-550 for GTX
  • Changed Nvidia-settings
  • XFCE on Xorg / i3 on Xorg
  • for XFCE: xfwm4 compositor / picom
  • for XFCE, set settings-editor > gtk > cursor-theme-size to 30 (there was 0, and it solved other flickering in some cases). Surprisingly, I feel like it reduced lagging at least by half, but did not fix
  • Stress-testing CPU, GPU, memory and network, however I could not think of any way to measure mouse lagging. Feeled like no difference.
  • Enable and disable mouse acceleration
  • Checked dmesg and various journals, found nothing interesting in moments of stuttering.
Things I find maybe helpful, but don't know how to utilize:
1. Output of xinput contains my keyboard amongst the pointers. I'm not sure if it's supposed to be that way. My keyboard doesn't have anything mouse-resembling, it's a most basic keyboard for like 30$.

Code:

$xinput list⎡ Virtual core pointer                    id=2[master pointer  (3)]⎜   ↳ Virtual core XTEST pointer              id=4[slave  pointer  (2)]⎜   ↳ RAPOO Rapoo 2.4G Wireless Device        id=8[slave  pointer  (2)]⎜   ↳ RAPOO Rapoo 2.4G Wireless Device Consumer Controlid=10[slave  pointer  (2)]⎜   ↳ SINO WEALTH Gaming KB  Consumer Control id=14[slave  pointer  (2)]⎜   ↳ SINO WEALTH Gaming KB  Mouse            id=16[slave  pointer  (2)]⎣ Virtual core keyboard                   id=3[master keyboard (2)]    ↳ Virtual core XTEST keyboard             id=5[slave  keyboard (3)]    ↳ Power Button                            id=6[slave  keyboard (3)]    ↳ Power Button                            id=7[slave  keyboard (3)]    ↳ RAPOO Rapoo 2.4G Wireless Device        id=9[slave  keyboard (3)]    ↳ RAPOO Rapoo 2.4G Wireless Device System Controlid=11[slave  keyboard (3)]    ↳ SINO WEALTH Gaming KB                   id=12[slave  keyboard (3)]    ↳ SINO WEALTH Gaming KB  System Control   id=13[slave  keyboard (3)]    ↳ SINO WEALTH Gaming KB  Keyboard         id=15[slave  keyboard (3)]    ↳ HP WMI hotkeys                          id=17[slave  keyboard (3)]    ↳ RAPOO Rapoo 2.4G Wireless Device Consumer Controlid=18[slave  keyboard (3)]    ↳ SINO WEALTH Gaming KB  Consumer Control id=19[slave  keyboard (3)]

Hardware:
HP Z230 Tower, stock motherboard
Intel Core i7-4770
256 Gb Adata SSD, plenty of space
400 W PSU
32 Gb RAM
NVIDIA Quadro K2000, then NVIDIA GTX 1650 Super by MSI
Mouse: usb wireless with 2.4GHz dongle, usb wired

Software:
Debian 12 -> 13 -> planning to try Sid
XFCE, i3wm see above
video drivers: see above
nothing special installed: docker, vscode, firefox, amneziaVPN, Telegram, couple of games as AppImages

Statistics: Posted by ad3ph — 2026-01-01 09:30



Viewing all articles
Browse latest Browse all 4056

Trending Articles