3

I am running Ubuntu with XFCE.

After I plug in a USB device (mouse, keyboard, headset) the system becomes unresponsive for 5-20 seconds (windows do not focus, resizing windows does not redraw content of windows of some programs (Thunderbird, Firefox, terminal xfce4-terminal does redraw), mouse works, keyboard works) which was not happening before and is quite anoying. It also happens after waking up the system from sleep, there I have unresponsive system too.

I see that these two processes have high CPU usage:

  1. /usr/lib/xorg/Xorg -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
  2. xfwm4 --replace

If I plug in only mouse it takes 3-5 seconds. If I plug in mouse and keyboard both via usb hub it takes 10-15 seconds.

/var/log/Xorg.0.log does not show anything weird - just information about plugged in devices, also the dmesg does show only information about the devices. journalctl -f either ( https://pastebin.com/eFr2XYgE ).

Where to look for the problem further?

3
  • Check dmesg and journalctl -f outputs as well. Commented Aug 19, 2020 at 11:50
  • Output from dmesg or journalctl does not show anything weird. Sometimes I see there error "rtw_pci 0000:03:00.0: failed to send h2c command". Commented Aug 19, 2020 at 14:03
  • Do you have a ~/.Xmodmap? See unix.stackexchange.com/questions/546116/… Commented Jan 10, 2022 at 21:16

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.