this post was submitted on 24 Jan 2024
17 points (94.7% liked)

Linux

48178 readers
1096 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Whenever I am using an X11 session or a XWayland window, there is a chance the keyboard will stop working (globally for X11, only in XWayland windows if session is Wayland) until the session is restarted.

Nothing gets written in any log, the keyboard just stops getting registered in X11/Xwayland contexts. It will happen usually after heavy operations of the keyboard (like holding a shift key, or multiple buttons get pressed repeatedly or too quickly). It happens almost every time I play videogames, and happened only once during normal typing.

Attaching an external keyboard doesn't matter, as it will have the same synthoms.

This is the only proper mention of my issue online https://bbs.archlinux.org/viewtopic.php?id=274456

I am using a ASUS VivoBook Pro 15 N580VD laptop. Running Debian 12 and KDE Plasma. This is not a faulty keyboard, as doesn't happen on Windows and in strict Wayland contexts.

EXTRA info:

I want to further add that the only keyboard that remains working in a full X11 environment is the Super key, that in KDE Plasma opens the application list (like Microsoft Windows).

If it is known, here is a not full list of applications I was using when this was happening and what are they based on:

Minecraft, Project Zomboid (Java GLFW)

League of Legends, Palworld (Windows applications under Wine/Proton)

Victoria 3, Crusader Kings 3 (Native Vulkan applications under, X11, they use XWayland on Wayland contexts)

Libreoffice, CodeBlocks (Native WxWidgets applications)

I have noticed playing Minecraft that the keyboard will stop working after releasing the key at the time it "decides to break".

you are viewing a single comment's thread
view the rest of the comments
[–] SSUPII@sopuli.xyz 2 points 9 months ago (1 children)

Are you sure its a similar issue? Because usually closing the window actually doesn't solve it, as then reopening another X11/XWayland window will still not register keyboard presses. I am adding some more info to the post right now.

[–] hnh@beehaw.org 2 points 9 months ago (1 children)

I’m not sure, there can always be other issues. But note that closing the window is not the same as terminating the application. When you close the window, the application gets a signal that it usually handles as cleaning up and shutting down. But if it is hanging, that task is not performed and resources are still held.

[–] SSUPII@sopuli.xyz 1 points 9 months ago

I tried just now as it happened again. Killing the app in use doesn't make the keyboard work again in X11 apps.