Score:1

typing on multiple USB keyboards causes Ubuntu 22.04.1 to pause the video system

kh flag

I was trying out a new usb keyboard and noticed that when I type on multiple usb keyboards simultaneously that the x server will stutter/pause.

For example, typing 1 on one keyboard and typing 1 on the other keyboard causes the x server to pause for a second or more.

Typing 1234 1234 1234 on both keyboards simultaneously causes the x server to pause for a bit longer.

To see the effect, launch something that updates the screen continuously, like VLC or System Monitor (with its running graph), type on both keyboards simultaneously and watch it stutter. (Video playing in VLC stutters, but the sound continues without problem.)

I tried the same thing on knoppix 9.1 (based on debian) and it didn't exhibit the same pausing behavior.

(I also got a new keyboard that has n-key rollover which means that you can have more than 6 keys pressed. It uses a second keyboard input device and sends additional keystrokes to the second device, and this will also trigger the pausing. I hold down 6 keys like keypad 1 through 6, then tapping keypad 7 and 8 quickly will cause the stutter. Also you can mash the entire keypad 1-9 and that will stutter.)

(running 22.04.1 with xorg(x11) server)

Description: Ubuntu 22.04.1 LTS

Doing some more looking, appears to be an "old bug":

Using 2 keyboards at the same time create annoying input lag

Input delay when using two keyboards under Ubuntu 18.04 (Xorg)

David avatar
cn flag
I use 2 keyboards both USB all the time on my HTPC running Ubuntu 22.04.1 and never have any issues. I just tried what you described and it does not happen with mine.
Golden Child avatar
kh flag
Are you using xorg or wayland? I'm using an hp system with core i3-2100 integrated graphics along with a radeon cedar 5450 (2 displays with integrated and 2 displays with cedar) and I use xorg because with wayland the system will crash on resuming from suspend. With xorg I can resume without crashing. This bug doesn't seem to happen with wayland.
Golden Child avatar
kh flag
I installed 22.04.1 fresh on a dell laptop, wayland seems to have no problem with multiple usb keyboards simultaneously typing. Switching to "Ubuntu on xorg" at the login screen, typing with multiple usb keyboards simultaneously causes video pausing/stuttering.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.