Find the answer to your Linux question:
Results 1 to 9 of 9
Hi, I've just installed Ubuntu 10.04 LTS 64bi on my i5-2400 system, and I'm experiencing very laggy keyboard and mouse input. I have to type really slowly or I some ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Apr 2008
    Posts
    128

    Mouse and keyboard laggy


    Hi,



    I've just installed Ubuntu 10.04 LTS 64bi on my i5-2400 system, and I'm experiencing very laggy keyboard and mouse input.

    I have to type really slowly or I some keys will not get registered. Also, the mouse cursor moves around very slowly at a very low frame rate.

    I've checked my keyboard and mouse settings and they seem to be fine. System monitor doesn't show any processes taking up significant CPU utilization. What else could be wrong?

  2. #2
    Just Joined!
    Join Date
    Dec 2007
    Posts
    1

    Mouse and keyboard laggy

    Quote Originally Posted by galapogos View Post
    Hi,



    I've just installed Ubuntu 10.04 LTS 64bi on my i5-2400 system, and I'm experiencing very laggy keyboard and mouse input.

    I have to type really slowly or I some keys will not get registered. Also, the mouse cursor moves around very slowly at a very low frame rate.

    I've checked my keyboard and mouse settings and they seem to be fine. System monitor doesn't show any processes taking up significant CPU utilization. What else could be wrong?
    It is hard to imagine this could be the problem since this is a new installation, but could your disk be full? You can check that with df.

  3. #3
    Linux Newbie
    Join Date
    Apr 2008
    Posts
    128
    No it's not. It's a 256GB SSD.

    I've installed Ubuntu 10.04 on another system with a smaller 80GB SSD and it worked flawlessly, so it's a hardware issue.

    Doesn't anyone run 10.04 on the Sandy Bridge or newer platform?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie
    Join Date
    Apr 2008
    Posts
    128
    Tried a ps2 keyboard and the problem isn't there so I'm pretty sure it's a USB driver issue.

  6. #5
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Have you tried installing the "official" drivers for your video card? Disregard if you are already using that.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  7. #6
    Linux Newbie
    Join Date
    Apr 2008
    Posts
    128
    Where can I obtain official drivers for my Intel 3000 graphics? I wasn't able to find it. Neither intel nor hp (my desktop vendor) lists Linux drivers.

  8. #7
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Intel drivers are usually installed by default. Post the output of this command as root or use sudo.
    Code:
    lspci -knn
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  9. #8
    Linux Newbie
    Join Date
    Apr 2008
    Posts
    128
    Here's output from lspci -knn

    Code:
    00:00.0 Host bridge [0600]: Intel Corporation Device [8086:0100] (rev 09)
    	Kernel driver in use: agpgart-intel
    00:02.0 VGA compatible controller [0300]: Intel Corporation Sandy Bridge Integrated Graphics Controller [8086:0102] (rev 09)
    	Kernel driver in use: i915
    	Kernel modules: i915
    00:16.0 Communication controller [0780]: Intel Corporation Cougar Point HECI Controller #1 [8086:1c3a] (rev 04)
    00:16.3 Serial controller [0700]: Intel Corporation Cougar Point KT Controller [8086:1c3d] (rev 04)
    	Kernel driver in use: serial
    00:19.0 Ethernet controller [0200]: Intel Corporation Device [8086:1502] (rev 04)
    	Kernel driver in use: e1000e
    	Kernel modules: e1000e
    00:1a.0 USB Controller [0c03]: Intel Corporation Cougar Point USB Enhanced Host Controller #2 [8086:1c2d] (rev 04)
    	Kernel driver in use: ehci_hcd
    00:1b.0 Audio device [0403]: Intel Corporation Cougar Point High Definition Audio Controller [8086:1c20] (rev 04)
    	Kernel driver in use: HDA Intel
    	Kernel modules: snd-hda-intel
    00:1c.0 PCI bridge [0604]: Intel Corporation Cougar Point PCI Express Root Port 1 [8086:1c10] (rev b4)
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    00:1c.4 PCI bridge [0604]: Intel Corporation Cougar Point PCI Express Root Port 5 [8086:1c18] (rev b4)
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    00:1c.6 PCI bridge [0604]: Intel Corporation Cougar Point PCI Express Root Port 7 [8086:1c1c] (rev b4)
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    00:1c.7 PCI bridge [0604]: Intel Corporation Cougar Point PCI Express Root Port 8 [8086:1c1e] (rev b4)
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    00:1d.0 USB Controller [0c03]: Intel Corporation Cougar Point USB Enhanced Host Controller #1 [8086:1c26] (rev 04)
    	Kernel driver in use: ehci_hcd
    00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev a4)
    00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:1c4c] (rev 04)
    	Kernel modules: iTCO_wdt
    00:1f.2 SATA controller [0106]: Intel Corporation Cougar Point 6 port SATA AHCI Controller [8086:1c02] (rev 04)
    	Kernel driver in use: ahci
    	Kernel modules: ahci
    00:1f.3 SMBus [0c05]: Intel Corporation Cougar Point SMBus Controller [8086:1c22] (rev 04)
    	Kernel modules: i2c-i801
    Here's output from lsmod:

    Code:
    Module                  Size  Used by
    rndis_host             13801  0 
    cdc_ether              13201  1 rndis_host
    usbnet                 26147  2 rndis_host,cdc_ether
    snd_hda_codec_hdmi     28012  1 
    snd_hda_codec_realtek   336223  1 
    binfmt_misc            17498  1 
    ppdev                  17180  0 
    usb_storage            57483  0 
    uas                    17891  0 
    tpm_infineon           17403  0 
    snd_hda_intel          32995  2 
    snd_hda_codec         103312  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep              13652  1 snd_hda_codec
    snd_pcm                96468  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
    snd_seq_midi           13324  0 
    snd_rawmidi            30385  1 snd_seq_midi
    snd_seq_midi_event     14899  1 snd_seq_midi
    snd_seq                61538  2 snd_seq_midi,snd_seq_midi_event
    snd_timer              29708  2 snd_pcm,snd_seq
    snd_seq_device         14490  3 snd_seq_midi,snd_rawmidi,snd_seq
    snd                    67573  14 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    i915                  518754  3 
    soundcore              12680  1 snd
    snd_page_alloc         18484  2 snd_hda_intel,snd_pcm
    drm_kms_helper         42312  1 i915
    usbhid                 46708  0 
    psmouse                73514  0 
    lp                     17789  0 
    drm                   227591  4 i915,drm_kms_helper
    hp_wmi                 13683  0 
    serio_raw              13208  0 
    hid                    94906  1 usbhid
    sparse_keymap          13890  1 hp_wmi
    i2c_algo_bit           13368  1 i915
    parport                46360  2 ppdev,lp
    video                  19465  1 i915
    tpm_tis                18502  0 
    tpm                    22259  2 tpm_infineon,tpm_tis
    tpm_bios               13676  1 tpm
    ahci                   26002  2 
    libahci                30664  1 ahci
    e1000e                158424  0
    Here's output from lsusb:
    Code:
    Bus 002 Device 004: ID 1a74:6356  
    Bus 002 Device 002: ID 8087:0024  
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 004: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard
    Bus 001 Device 003: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
    Bus 001 Device 002: ID 8087:0024  
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  10. #9
    Linux Newbie
    Join Date
    Apr 2008
    Posts
    128
    OK, I've tried plugging the mouse into a few ports on the back of my PC, and it always connects to Bus 001 according to lsusb, and the lag remains.

    However, I just tried plugging in the mouse into one of my front USB ports, and it connects to Bus 002, and voila, no lag.

    I did some investigation by checking the interrupts via cat /proc/interrupts:

    Code:
               CPU0       CPU1       CPU2       CPU3       
      0:         28          0          0          0   IO-APIC-edge      timer
      1:         35         24          0       2525   IO-APIC-edge      i8042
      4:          2          0          0          0   IO-APIC-edge    
      8:          1          0          0          0   IO-APIC-edge      rtc0
      9:          0          0          0          0   IO-APIC-fasteoi   acpi
     12:          4          0          0          0   IO-APIC-edge      i8042
     16:     100001          0          0          0   IO-APIC-fasteoi   ehci_hcd:usb1
     17:         25          0          0          0   IO-APIC-fasteoi 
     23:        205          0       6409          0   IO-APIC-fasteoi   ehci_hcd:usb2
     40:          0          0          0          0   PCI-MSI-edge      PCIe PME
     41:          0          0          0          0   PCI-MSI-edge      PCIe PME
     42:          0          0          0          0   PCI-MSI-edge      PCIe PME
     43:          0          0          0          0   PCI-MSI-edge      PCIe PME
     44:       7641          0          0          0   PCI-MSI-edge      eth0
     45:      30039          0          0          0   PCI-MSI-edge      ahci
     46:      13512      58989          0          0   PCI-MSI-edge      i915
     47:        366         21          0         16   PCI-MSI-edge      hda_intel
    NMI:          0          0          0          0   Non-maskable interrupts
    LOC:      87691      58206      67621      32309   Local timer interrupts
    SPU:          0          0          0          0   Spurious interrupts
    PMI:          0          0          0          0   Performance monitoring interrupts
    IWI:          0          0          0          0   IRQ work interrupts
    RES:        259        431        268        354   Rescheduling interrupts
    CAL:        171        373        538        569   Function call interrupts
    TLB:        769       1135        227        173   TLB shootdowns
    TRM:          0          0          0          0   Thermal event interrupts
    THR:          0          0          0          0   Threshold APIC interrupts
    MCE:          0          0          0          0   Machine check exceptions
    MCP:          5          5          5          5   Machine check polls
    ERR:          0
    MIS:          0
    Seems like ehci_hcd:usb1, which I assume is bus 001, is getting hit very hard on CPU0. Why is this so, and how can I fix this?

Posting Permissions

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