LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems with mice and KB - is it drivers? Where are they? (https://www.linuxquestions.org/questions/linux-software-2/problems-with-mice-and-kb-is-it-drivers-where-are-they-4175672590/)

binkyd 04-05-2020 08:32 AM

Problems with mice and KB - is it drivers? Where are they?
 
Having serious mouse and keyboard issues - both are hesitant, as in delays between my finger movement and result on screen.
Makes it really hard to do stuff when you scroll away and nothing happens at first, and then the screen goes by really fast, of course passed where you want. KB can delay, too.

There's an old sticky on LQ about this, but it refers to this directory which does not exist:
/usr/X11R6/lib/X11/doc/README.mouse

which I couldn't find readme anywhere.

The man pages refer to /dev/mouse, but I can't find that either.

Where and what in this system is causing this?

I first thought it was the distro, but this follows me. I seem to remember it having statred to occur on the previous PC also.

ferrari 04-06-2020 05:15 PM

Can you provide more definitive information about your input devices? How are they connected?

Code:

dmesg|grep input
Code:

xinput list

frankbell 04-06-2020 07:51 PM

Also, if you have the devices available, swap in a known-good mouse and keyboard and also try different USB ports, one change at a time, to rule out hardware issues.

binkyd 04-08-2020 09:35 AM

Code:

dmesg|grep input
gives no result

Code:

xinput list
result:
Code:

$ xinput list
⎡ Virtual core pointer                            id=2        [master pointer  (3)]
⎜  ↳ Virtual core XTEST pointer                      id=4        [slave  pointer  (2)]
⎜  ↳ Logitech USB Optical Mouse                      id=8        [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)]
    ↳  USB Keyboard                                  id=9        [slave  keyboard (3)]
    ↳  USB Keyboard System Control                  id=10        [slave  keyboard (3)]
    ↳  USB Keyboard Consumer Control                id=11        [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                                id=12        [slave  keyboard (3)]

(I don't know what this means)

I've tried 3 different mice, the Dell and the Belkin are really bad, the logitech usable. A 2nd KB was also affected. Tried different ports, too.

It gets better after a reboot, and gradually gets worse over several days.

ferrari 04-08-2020 05:32 PM

---Deleted---

ferrari 04-08-2020 07:47 PM

That's definitely not normal behaviour. Does this problem only occur within a graphical desktop environment? Try the keyboard behaviour outside of the Xorg server environment. If you need specific instructions, let us know your current distro and desktop environment details as well.

Post the output of these please
Code:

cat /etc/os-release
Code:

echo $XDG_CURRENT_DESKTOP
Code:

echo $DESKTOP_SESSION
Code:

lspci -nnk|grep -iA3 VGA

If you have 'inxi' installed, run
Code:

inxi -GSxx
That might help us advise further here.

ferrari 04-08-2020 07:49 PM

In addition to the above, let's check out current boot parameters
Code:

cat /proc/cmdline

jefro 04-08-2020 08:57 PM

"It gets better after a reboot, and gradually gets worse over several days."

Then maybe keep an eye on top for some sort of process use or memory use???

ferrari 04-08-2020 09:07 PM

Yes, good idea.

binkyd 04-10-2020 10:39 PM

Here ya go:
Code:

binkyd@BigBox:~$ cat /etc/os-release
NAME="Linux Mint"
VERSION="19.3 (Tricia)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19.3"
VERSION_ID="19.3"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.ubuntu.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=tricia
UBUNTU_CODENAME=bionic

binkyd@BigBox:~$ echo $XDG_CURRENT_DESKTOP
X-Cinnamon

binkyd@BigBox:~$ echo $DESKTOP_SESSION
cinnamon

binkyd@BigBox:~$ lspci -nnk|grep -iA3 VGA
09:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X] [1002:67df] (rev c7)
        Subsystem: Dell Ellesmere [Radeon RX 470/480/570/580] [1028:1701]
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

binkyd@BigBox:~$ inxi -GSxx
System:
  Host: BigBox Kernel: 5.3.0-46-generic x86_64 bits: 64 compiler: gcc
  v: 7.5.0 Desktop: Cinnamon 4.4.8 wm: muffin dm: LightDM
  Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X] vendor: Dell
  driver: amdgpu v: kernel bus ID: 09:00.0 chip ID: 1002:67df
  Display: x11 server: X.Org 1.20.5 driver: amdgpu,ati
  unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz
  OpenGL: renderer: AMD Radeon RX 480 Graphics (POLARIS10 DRM 3.33.0
  5.3.0-46-generic LLVM 9.0.0)
  v: 4.5 Mesa 19.2.8 direct render: Yes

binkyd@BigBox:~$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.3.0-46-generic root=UUID=d6a1f580-c1d3-4750-8d34-973131c424b6 ro quiet splash vt.handoff=1

And I found a very old mouse, definitely not USB 3.0, and it's been fine for the whole day so far.
I moved back to Mint over this - Manjaro had too many updates for me to figure this out.

ferrari 04-11-2020 12:45 AM

I have seen "erratic, laggy mouse and keyboard" issues reported for those with particular AMD chpisets and using the amdgpu driver. A quick search online will turn up results like this. One such thread was eventually resolved in this post with the OP announcing that they created a custom file /etc/X11/xorg.conf.d/20-amdgpu.conf

with this
Code:


Section "Device"
    Identifier "AMD"
    Driver "amdgpu"
    Option "DRI" "2"
EndSection

thereby forcing DRI 2 (as DRI 3 is usually default). Anyway, might be worth a shot. YMMV.

libroabierto 04-11-2020 06:11 PM

I have the same problem too. I hope I can get the answer on this topic. I've already seen some possible solutions here. I will try them.

ferrari 04-11-2020 06:45 PM

@libroabierto: In general it is best to start your own new thread (with descriptive title) for issues like this, as the underlying cause may be completely different. (Especially if your hardware is different.)

libroabierto 04-12-2020 03:25 PM

Thank you very much, I am going to open my own thread to look for chord solutions

binkyd 04-16-2020 04:32 PM

Possibly solved:
my 10 year (maybe) old mouse is working fine. The KB also has no more issues, in the original port.

All the other mice, 3 wired, 2 wireless, all have glitches, no matter which USB port I use. This old beast works just fine in the not-blue ports.
Beats me exactly why.

Maybe when it fails I'll need to hit a pawn shop for some old mice? lol


All times are GMT -5. The time now is 09:23 PM.