No input/USB devices work on hyprland launch, have to unplug and replug

Very strange bug,
Every time i boot up into hyprland, no input devices work except when i unplug and re plug them back in (all of them work again after closing and opening the laptop lid).
This is weird since it perfectly works in my login screen (LightDM) and other WMs.

Mouse is easy to deal with by just unplugging and re-plugging, but the laptop keyboard is a pain since i have to close the lid and open it again to get it and the touch pad working.
Any ideas?

SYSTEM INFO:

pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
Hyprland 0.45.0 built from branch  at commit  dirty ().
Date: 
Tag: , commits: 
built against aquamarine 0.5.0


flags set:
debug


System Information:
System name: Linux
Node name: Obsidian
Release: 6.11.8-arch1-2
Version: #1 SMP PREEMPT_DYNAMIC Fri, 15 Nov 2024 15:35:07 +0000


GPU information: 
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA107M [GeForce RTX 3050 Ti Mobile] [10de:25a0] (rev a1) (prog-if 00 [VGA controller])
34:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] [1002:1681] (rev 01) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  565.57.01  Thu Oct 10 12:29:05 UTC 2024


os-release: NAME="EndeavourOS"
PRETTY_NAME="EndeavourOS"
ID="endeavouros"
ID_LIKE="arch"
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://endeavouros.com"
DOCUMENTATION_URL="https://discovery.endeavouros.com"
SUPPORT_URL="https://forum.endeavouros.com"
BUG_REPORT_URL="https://forum.endeavouros.com/c/general-system/endeavouros-installation"
PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2"
LOGO="endeavouros"

Did you end up finding a fix? Same issue here on Arch+Hyprland.

EDIT: I was also using LightDM, and that turned out to be the issue. I fixed it by changing to GDM.

Process below:

sudo pacman -S gdm
sudo systemctl enable gdm.service -f

At this point, reboot and it will throw you into GDM. You will have to choose Hyprland in the settings icon on the bottom right, as it defaults to Gnome. Feel free to try out other display managers and report successes/failures.

Cheers.

Sup m8!

Thank you so much! It works perfectly, its sad to see LightDM go since i used to customize it alot, but since GDM works amazingly, i guess ill have to switch.

Thank you again, this problem has been bugging me for a month or so.

Cheers!

Yes, i didn’t remember, but I had the same issue. LightDM just didn’t work as well as SDDM did for me. It apparently has some issues somewhere.