Results 1 to 7 of 7

Thread: USB mouse get laggy

  1. #1

    Default USB mouse get laggy

    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.

    Any ideas ? Thanks.

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,748

    Default Re: USB mouse get laggy

    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.

    https://en.opensuse.org/SDB:NVIDIA_Bumblebee

  3. #3
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,640
    Blog Entries
    3

    Default Re: USB mouse get laggy

    I have had that happen. When it has happened here, it has been a resource shortage.

    Maybe when this is happening, try:
    Code:
    free
    at a terminal, to see if you are paging (using swap). And then run
    Code:
    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.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,395
    Blog Entries
    1

    Default Re: USB mouse get laggy

    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...
    Code:
    loginctl show-session "$XDG_SESSION_ID" -p Type
    Open a terminal and run
    Code:
    dmesg --follow
    then plug in the mouse, capture the output.

    With your USB mouse connected, what is reported by the following command?
    Code:
    libinput list-devices
    *You may need to install the 'libinput-tools' package first. You can do that with
    Code:
    sudo zypper in libinput-tools
    openSUSE Leap 15.0; KDE Plasma 5

  5. #5
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,748

    Default Re: USB mouse get laggy

    Wayland does not get on well with NVIDIA. try booting to the X stack You still need Bumblebee because of Optimus (hybrid graphics)

  6. #6

    Default Re: USB mouse get laggy

    Code:
    loginctl show-session "$XDG_SESSION_ID" -p Type
    Right, I'm on Wayland.

    Code:
    dmesg --follow
    Here is the output :
    Code:
    [  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
    Code:
    libinput list-devices
    Here is my mouse related output :
    Code:
    Device:           Logitech Gaming Mouse G502
    Kernel:           /dev/input/event2
    Group:            7
    Seat:             seat0, default
    Capabilities:     pointer 
    Tap-to-click:     n/a
    Tap-and-drag:     n/a
    Tap drag lock:    n/a
    Left-handed:      disabled
    Nat.scrolling:    disabled
    Middle emulation: disabled
    Calibration:      n/a
    Scroll methods:   button
    Click methods:    none
    Disable-w-typing: n/a
    Accel profiles:   flat *adaptive
    Rotation:         n/a
    
    
    Device:           Logitech Gaming Mouse G502
    Kernel:           /dev/input/event3
    Group:            7
    Seat:             seat0, default
    Capabilities:     keyboard pointer 
    Tap-to-click:     n/a
    Tap-and-drag:     n/a
    Tap drag lock:    n/a
    Left-handed:      n/a
    Nat.scrolling:    disabled
    Middle emulation: n/a
    Calibration:      n/a
    Scroll methods:   none
    Click methods:    none
    Disable-w-typing: n/a
    Accel profiles:   n/a
    Rotation:         n/a
    Quote Originally Posted by gogalthorp View Post
    Wayland does not get on well with NVIDIA. try booting to the X stack You still need Bumblebee because of Optimus (hybrid graphics)
    I will try to install NVIDIA Bumblebee, excuse my ignorance but what does "booting to the X stack" means ?

  7. #7
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,640
    Blog Entries
    3

    Default Re: USB mouse get laggy

    Quote Originally Posted by TheZopo View Post
    I will try to install NVIDIA Bumblebee, excuse my ignorance but what does "booting to the X stack" means ?
    He meant to login to Gnome-X11 instead of to Gnome-Wayland. If you are using GDM for login, that's a menu choice during login.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •