Hi !
I’m on a laptop with a strong config : 8core i7@2.9GHz, 32GB of RAM, Nvidia Quadro M1200, but my USB mouse sometimes get really laggy, there is like one second between each position update, it’s verry annoying.
Note that there is no issue when I use the trackpad. My load is verry low, it’s lagging a bit now and I’m at (0.9, 1.14, 1.41)…
The mouse works properly on others computer and on my Windows dual boot.
I have tried to switch USB ports, doesn’t changes anything.
I’m using GNOME.
My laptop brand : Dell Precision 7520.
Reboot or session logout fix the problem for like 45 minutes but it always reappears.
This is an Optimus GPU setup you need to install bumblebee do deal with this. Note if you install the NVIDIA driver uninstall before doing the bumblebee procedure completly and exactly.
I have had that happen. When it has happened here, it has been a resource shortage.
Maybe when this is happening, try:
free
at a terminal, to see if you are paging (using swap). And then run
top
at the same terminal, or check what is running with whatever Gnome application lists processes.
I used to see this with an older computer, when I was copying an iso to a USB. I suspect the problem was with the high I/O rate. On my current computer, when this happens, it usually indicates that “firefox” is being a memory hog.
Such problems are often related to graphics drivers, but you mentioned that the trackpad doesn’t cause trouble, so it would seem to be either hardware or perhaps libinput related? I note that you’re using Gnome…assuming Gnome on Wayland?
This will help confirm…
loginctl show-session "$XDG_SESSION_ID" -p Type
Open a terminal and run
dmesg --follow
then plug in the mouse, capture the output.
With your USB mouse connected, what is reported by the following command?
libinput list-devices
*You may need to install the ‘libinput-tools’ package first. You can do that with
805.681063] usb 1-3: new full-speed USB device number 8 using xhci_hcd 805.830413] usb 1-3: New USB device found, idVendor=046d, idProduct=c332
805.830419] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
805.830424] usb 1-3: Product: Gaming Mouse G502
805.830428] usb 1-3: Manufacturer: Logitech
805.830431] usb 1-3: SerialNumber: 038236793330
805.832830] input: Logitech Gaming Mouse G502 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:046D:C332.0008/input/input29
805.833317] hid-generic 0003:046D:C332.0008: input,hidraw0: USB HID v1.11 Mouse [Logitech Gaming Mouse G502] on usb-0000:00:14.0-3/input0
805.835127] input: Logitech Gaming Mouse G502 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:046D:C332.0009/input/input30
805.893487] hid-generic 0003:046D:C332.0009: input,hiddev96,hidraw1: USB HID v1.11 Keyboard [Logitech Gaming Mouse G502] on usb-0000:00:14.0-3/input1