Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Keyboard works in X11 but not Wayland

Need help with peripherals or devices?
Post Reply
Message
Author
User avatar
mattikins
Posts: 21
Joined: 2023-11-25 18:22
Location: matthewcharlesallen@outlook.com
Has thanked: 2 times

Keyboard works in X11 but not Wayland

#1 Post by mattikins »

I am stumped...Wayland does not recognize any keyboard inputs, but X11 does. I am running Debian 12 on a Lenovo Yoga 720-15lkb. When I launch a Wayland session, my keyboard input stop working once the session is booted. If I log out, I can log back in without issue, but once the session is loaded it is a no-go on my keyboard input. I have tried the laptop keyboard, wireless K540/545 Logitech keyboard, and a USB Logitech keyboard. Nothing registers. My dilemma is that Debian runs much smoother and faster in Wayland than in X11. I cannot index my files for searching in X11 because it bogs down the computer to the point where is not functional. I would like to run Wayland. I do not have a Nvida graphics card (which is the only other place I have seen this type of issue reported). I have an Intel processor. If anyone has a solution, I would be grateful. I have done a lot of searching for an answer, but I may be using the wrong search parameters.

lindi
Debian Developer
Debian Developer
Posts: 452
Joined: 2022-07-12 14:10
Has thanked: 1 time
Been thanked: 88 times

Re: Keyboard works in X11 but not Wayland

#2 Post by lindi »

Does the issue occur with Debian live USB?

mrmazda
Posts: 339
Joined: 2023-06-02 02:22
Has thanked: 9 times
Been thanked: 44 times

Re: Keyboard works in X11 but not Wayland

#3 Post by mrmazda »

What input packages do you have installed. I have:

Code: Select all

# inxi -S
System:
  Host: hp750 Kernel: 6.1.0-17-amd64 arch: x86_64 bits: 64 Console: pty pts/1
    Distro: Debian GNU/Linux 12 (bookworm)
# dpkg-query -W | grep input
libinput-bin    1.22.1-1
libinput10:amd64        1.22.1-1
xserver-xorg-input-evdev        1:2.10.6-2+b1
#
If this is all you have too, you might try adding xserver-xorg-input-libinput and/or xserver-xorg-input-kbd to see what happens.

User avatar
mattikins
Posts: 21
Joined: 2023-11-25 18:22
Location: matthewcharlesallen@outlook.com
Has thanked: 2 times

Re: Keyboard works in X11 but not Wayland

#4 Post by mattikins »

matt@yogadebian:~$ inxi -S
System:
Host: yogadebian Kernel: 6.1.0-15-amd64 arch: x86_64 bits: 64
Desktop: KDE Plasma v: 5.27.5 Distro: Debian GNU/Linux 12 (bookworm)
matt@yogadebian:~$ dpkg-query -W | grep input
libinput-bin 1.22.1-1
libinput10:amd64 1.22.1-1
libxcb-xinput0:amd64 1.15-1
xserver-xorg-input-all 1:7.7+23
xserver-xorg-input-libinput 1.2.1-1+b1
xserver-xorg-input-wacom 1.1.0-1
matt@yogadebian:~$

mrmazda
Posts: 339
Joined: 2023-06-02 02:22
Has thanked: 9 times
Been thanked: 44 times

Re: Keyboard works in X11 but not Wayland

#5 Post by mrmazda »

I suppose it's conceivable that xserver-xorg-input-libinput, which is no longer needed due to libinput10, could be interfering somehow. Could also be that among the many deprecated packages the meta-package xserver-xorg-input-all installs are similar candidates.

Post Reply