Unset Keymap Preventing Login

Context as this was originally a reply in Hyprland login failed
After inputting the correct login credentials, I’d get booted back to the greeter almost immediately.

Same boat. This doesn’t seem to be an Nvidia issue :thinking: but could be wrong.
I tried 2 ISOs: garuda-hyprland-linux-zen-231127.iso from the Nvidia fixes thread, and garuda-hyprland-linux-zen-231029.iso, available from the main site downloads page.

Here’s the crash report from running Hyprland in the terminal:

   Hyprland Crash Report

Hyprland received signal 11 (Segmentation fault)

Version: 11d1c50420cdeaa5426b837a6479455f47368f29
Tag: v0.33.1-11-g11d1c504

System info:
	System name: Linux
	Node name: eva-xps159560
	Release: 6.6.4-zen1-1-zen
	Version: #1 ZEN SMP PREEMPT_DYNAMIC Mon, 04 Dec 2023 00:28:58 +0000

	00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 630 [8086:591b] (rev 04) (prog-if 00 [VGA controller])

	NAME="Garuda Linux"
	PRETTY_NAME="Garuda Linux"

	#0 | Hyprland(_Z12getBacktracev+0x62) [0x56397f59d152]
	#1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x581) [0x56397f569731]
	#2 | Hyprland(_Z25handleUnrecoverableSignali+0x43) [0x56397f4ff293]
	#3 | /usr/lib/libc.so.6(+0x3e710) [0x7ff74a45c710]
	#4 | /usr/lib/libc.so.6(+0x15aedd) [0x7ff74a578edd]
	#5 | Hyprland(+0xda30b) [0x56397f53230b]
	#6 | Hyprland(+0x1e7919) [0x56397f63f919]
	#7 | Hyprland(+0xa54f3) [0x56397f4fd4f3]
	#8 | Hyprland(_ZN13CInputManager21applyConfigToKeyboardEP9SKeyboard+0x9e3) [0x56397f5c5c63]
	#9 | Hyprland(_ZN13CInputManager11newKeyboardEP16wlr_input_device+0x3f9) [0x56397f5c7249]
	#10 | Hyprland(_ZN6Events17listener_newInputEP11wl_listenerPv+0xb2) [0x56397f583d12]
	#11 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7ff74ae4901e]
	#12 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7ff74ae4901e]
	#13 | /usr/lib/libwlroots.so.13032(+0x507ec) [0x7ff74aea57ec]
	#14 | /usr/lib/libwlroots.so.13032(+0x50aa0) [0x7ff74aea5aa0]
	#15 | /usr/lib/libwlroots.so.13032(+0x54dd6) [0x7ff74aea9dd6]
	#16 | Hyprland(_ZN11CCompositor15startCompositorEv+0x7ae) [0x56397f50408e]
	#17 | Hyprland(main+0x8d4) [0x56397f4e7e34]
	#18 | /usr/lib/libc.so.6(+0x27cd0) [0x7ff74a445cd0]
	#19 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7ff74a445d8a]
	#20 | Hyprland(_start+0x25) [0x56397f4fc885]

Log tail:
er 5639801b08c0: 5639801b0978 -> 56397f6b8420 (owner: WLRCursor)
[LOG] Registered signal for owner 5639801b08c0: 5639801b09b8 -> 56397f6b8400 (owner: WLRCursor)
[LOG] Registered signal for owner 5639801b08c0: 5639801b09a8 -> 56397f6b83e0 (owner: WLRCursor)
[LOG] Registered signal for owner 5639801b08c0: 5639801b09c8 -> 56397f6b83c0 (owner: WLRCursor)
[LOG] Registered signal for owner 5639801b08c0: 5639801b09e8 -> 56397f6b83a0 (owner: WLRCursor)
[LOG] Registered signal for owner 5639801b08c0: 5639801b0988 -> 56397f6b8380 (owner: WLRCursor)
[LOG] Registered signal for owner 5639801b08c0: 5639801b0998 -> 56397f6b8360 (owner: WLRCursor)
[LOG] Registered signal for owner 56397f825d70: 56397f825d88 -> 56397f6b8340 (owner: Backend)
[LOG] Registered signal for owner 56397f813988: 5639801b7ad8 -> 56397f6b8320 (owner: Seat)
[LOG] Registered signal for owner 56397f813988: 5639801b7ae8 -> 56397f6b8300 (owner: Seat)
[LOG] Registered signal for owner 56397f813988: 5639801b7b28 -> 56397f6b82e0 (owner: Seat)
[LOG] Registered signal for owner 56397f813988: 5639801b7b38 -> 56397f6b82c0 (owner: Seat)
[LOG] Registered signal for owner 56397f813988: 5639801b7ae8 -> 56397f6b8300 (owner: Seat)
[LOG] Registered signal for owner 56397f813988: 5639801b7b08 -> 56397f6b82a0 (owner: Seat)
[LOG] Registered signal for owner 5639801b7d60: 5639801b7d80 -> 56397f6b8280 (owner: LayerShell)
[LOG] Registered signal for owner 5639801af1a0: 5639801af1c8 -> 56397f6b8260 (owner: OutputLayout)
[LOG] Registered signal for owner 5639801b7f80: 5639801b7fb8 -> 56397f6b8240 (owner: OutputMgr)
[LOG] Registered signal for owner 5639801b7f80: 5639801b7fc8 -> 56397f6b8220 (owner: OutputMgr)
[LOG] Registered signal for owner 5639801b8110: 5639801b8128 -> 56397f6b8200 (owner: PointerConstraints)
[LOG] Registered signal for owner 5639801b7ed0: 5639801b7f00 -> 56397f6b81e0 (owner: XDGDecoMgr)
[LOG] Registered signal for owner 5639801b8310: 5639801b8340 -> 56397f6b81c0 (owner: VirtPtrMgr)
[LOG] Registered signal for owner 5639801b8260: 5639801b8290 -> 56397f6b81a0 (owner: VKeyboardMgr)
[LOG] Registered signal for owner 56397f99dfa0: 56397f99dfa0 -> 56397f6b8180 (owner: WLRRenderer)
[LOG] Registered signal for owner 5639801b86c0: 5639801b86f0 -> 56397f6b8160 (owner: WLRIdleInhibitMgr)
[LOG] Registered signal for owner 5639801af210: 5639801af240 -> 56397f6b8140 (owner: PowerMgr)
[LOG] Registered signal for owner 5639801b8b40: 5639801b8b70 -> 56397f6b8120 (owner: IMEMgr)
[LOG] Registered signal for owner 5639801b8a90: 5639801b8ac0 -> 56397f6b8100 (owner: TextInputMgr)
[LOG] Registered signal for owner 5639801b8bf0: 5639801b8c18 -> 56397f6b80e0 (owner: ActivationV1)
[LOG] Registered signal for owner 5639801b8d40: 5639801b8d48 -> 56397f6b80c0 (owner: SessionLockMgr)
[LOG] Registered signal for owner 5639801af0f0: 5639801af130 -> 56397f6b80a0 (owner: GammaCtrlMgr)
[LOG] Registered signal for owner 5639801b8de0: 5639801b8de8 -> 56397f6b8080 (owner: CursorShapeMgr)
[LOG] Registered signal for owner 5639801b8e80: 5639801b8eb0 -> 56397f6b8060 (owner: TearingControlMgr)
[LOG] Registered signal for owner 56397f8136f0: 5639801b84b0 -> 56397f6b8040 (owner: DRM)
[LOG] Registered signal for owner 56397f825e00: 56397f825f60 -> 56397f6b8020 (owner: Session)
[LOG] wl_display_add_socket for wayland-1 succeeded with 0
[LOG] Running on WAYLAND_DISPLAY: wayland-1
[LOG] Attached a keyboard with name Power Button
[LOG] Registered signal for owner 5639801edc00: 5639802205f0 -> 5639801edc08 (owner: Keyboard)
[LOG] Registered signal for owner 5639801edc00: 5639802205e0 -> 5639801edc70 (owner: Keyboard)
[LOG] Registered signal for owner 5639801edc00: 5639802204c0 -> 5639801edd40 (owner: Keyboard)
[LOG] Registered signal for owner 5639801edc00: 563980220600 -> 5639801edcd8 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "power-button", hasconfig: 0
[LOG] Attempting to create a keymap for layout (unset) with variant  (rules: , model: , options: )
[ERR] Keyboard layout (unset) with variant  (rules: , model: , options: ) couldn't have been loaded.
[LOG] [hookSystem] New hook event registered: activeLayout

The same segmentation fault error happened after installing from both ISOs. Seems like some kind of keyboard issue?
The issue is persistent after running a garuda-update -a.

I put the env vars you, SGS, mentioned into ~/.config/hypr/hyprstart - I hope that’s the correct place? Stll no change.

garuda-inxi from Hyprland boot:

  Kernel: 6.6.4-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1 clocksource: tsc
    available: hpet,acpi_pm parameters: BOOT_IMAGE=/hyprland/boot/vmlinuz-linux-zen
    root=UUID=e34775a9-3a44-4cad-b4a1-7a4688cda7b4 rw rootflags=subvol=hyprland loglevel=3
    nvidia_drm.modeset=1 nowatchdog ibt=off
  Console: tty 3 DM: SDDM Distro: Garuda Linux base: Arch Linux
  Type: Laptop System: Dell product: XPS 15 9560 v: N/A serial: <superuser required> Chassis:
    type: 10 serial: <superuser required>
  Mobo: Dell model: 05FFDN v: A00 serial: <superuser required> UEFI: Dell v: 1.24.0
    date: 08/10/2021
  ID-1: BAT0 charge: 62.4 Wh (75.4%) condition: 82.8/97.0 Wh (85.4%) volts: 11.7 min: 11.4
    model: LGC-LGC8.33 DELL 5XJ28 type: Li-ion serial: <filter> status: not charging
  Info: model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake gen: core 7 level: v3
    note: check built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 9
    microcode: 0xF4
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 867 high: 901 min/max: 800/3800 scaling: driver: intel_pstate
    governor: powersave cores: 1: 900 2: 900 3: 900 4: 849 5: 901 6: 800 7: 800 8: 892
    bogomips: 44798
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
  Device-1: Intel HD Graphics 630 vendor: Dell driver: i915 v: kernel arch: Gen-9.5
    process: Intel 14nm built: 2016-20 ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:591b class-ID: 0300
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Dell driver: nvidia v: 545.29.06
    alternate: nouveau,nvidia_drm non-free: 545.xx+ status: current (as of 2023-10; EOL~2026-12-xx)
    arch: Pascal code: GP10x process: TSMC 16nm built: 2016-2021 pcie: gen: 1 speed: 2.5 GT/s
    lanes: 16 link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:1c8d class-ID: 0302
  Device-3: Sunplus Innovation Integrated_Webcam_HD driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-12:7 chip-ID: 1bcf:2b95 class-ID: 0e02
  Display: server: X.org v: with: Xwayland v: 23.2.2 driver: X:
    loaded: modesetting,nvidia unloaded: nouveau alternate: fbdev,intel,nv,vesa dri: iris gpu: i915
    tty: 240x67
  Monitor-1: eDP-1 model: Sharp 0x1476 built: 2016 res: 3840x2160 dpi: 282 gamma: 1.2
    size: 346x194mm (13.62x7.64") diag: 397mm (15.6") ratio: 16:9 modes: 3840x2160
  API: Vulkan v: 1.3.269 layers: 4 device: 0 type: integrated-gpu name: Intel HD Graphics 630
    (KBL GT2) driver: mesa intel v: 23.2.1-arch1.2 device-ID: 8086:591b surfaces: N/A device: 1
    type: discrete-gpu name: NVIDIA GeForce GTX 1050 driver: nvidia v: 545.29.06
    device-ID: 10de:1c8d surfaces: N/A device: 2 type: cpu name: llvmpipe (LLVM 16.0.6 256 bits)
    driver: mesa llvmpipe v: 23.2.1-arch1.2 (LLVM 16.0.6) device-ID: 10005:0000 surfaces: N/A
  API: OpenGL Message: GL data unavailable in console, glxinfo missing.
  Device-1: Intel CM238 HD Audio vendor: Dell driver: snd_hda_intel v: kernel
    alternate: snd_soc_avs bus-ID: 00:1f.3 chip-ID: 8086:a171 class-ID: 0403
  API: ALSA v: k6.6.4-zen1-1-zen status: kernel-api tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.0.0 status: off with: 1: pipewire-pulse status: off 2: wireplumber
    status: off 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
  Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Rivet Networks
    Killer Wireless-n/a/ac 1535 driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    bus-ID: 02:00.0 chip-ID: 168c:003e class-ID: 0280 temp: 38.0 C
  IF: wlp2s0 state: up mac: <filter>
  Device-1: Qualcomm Atheros QCA61x4 Bluetooth 4.0 driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4:4 chip-ID: 0cf3:e300 class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.2 lmp-v: 8 status:
    discoverable: no pairing: no class-ID: 10c
  Local Storage: total: 476.94 GiB used: 241.47 GiB (50.6%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba model: KXG50ZNV512G NVMe 512GB
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD
    serial: <filter> fw-rev: AADA4106 temp: 37.9 C scheme: GPT
  ID-1: / raw-size: 459.62 GiB size: 459.62 GiB (100.00%) used: 241.46 GiB (52.5%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 6.8 MiB (2.3%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 459.62 GiB size: 459.62 GiB (100.00%) used: 241.46 GiB (52.5%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 459.62 GiB size: 459.62 GiB (100.00%) used: 241.46 GiB (52.5%)
    fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 459.62 GiB size: 459.62 GiB (100.00%) used: 241.46 GiB (52.5%)
    fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 17.02 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p3 maj-min: 259:3
  ID-2: swap-2 type: zram size: 15.47 GiB used: 0 KiB (0.0%) priority: 100 comp: zstd
    avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8 dev: /dev/zram0
  System Temperatures: cpu: 54.0 C pch: 56.0 C mobo: 53.0 C gpu: nvidia temp: 47 C
  Fan Speeds (rpm): cpu: 3228 fan-1: 3212
  Processes: 217 Uptime: 0m wakeups: 0 Memory: total: 16 GiB available: 15.47 GiB
  used: 1.16 GiB (7.5%) Init: systemd v: 255 default: graphical tool: systemctl Compilers:
  gcc: 13.2.1 Packages: pm: pacman pkgs: 1237 libs: 362 tools: paru Shell: Bash v: 5.2.21
  running-in: tty 3 inxi: 3.3.31
Garuda (2.6.19-2):
  System install date:     2023-12-09
  Last full system update: 2023-12-09
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut nvidia-dkms
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:            systemd-vconsole-setup.service 

Please let me know if there’s anything else I can provide :slight_smile:
If OP could provide theirs as well, that’d be good. Hopefully it’s the same issue

Update: I can now login after running localectl set-keymap us. The problem was the unset VC keyboard layout in this case (which you can see with localectl status - the X11 layout was au for me but not VC). If you don’t fix it this way, no matter how many times you try to change it in hyprland.conf, it will always revert to being unset.

Now the question is how that happened in the first place… :thinking:

Did you comment out with #

exec-once = .local/bin/garuda-locale.sh


Please, only use the latest build. :slight_smile:

What is the command for this output?

I can’t test it for dual GPU on Notebooks, sorry.

The keyboard layout is what you set in live ISO “grub” or later in calamares for the installation on metal, and what is VC?

Maybe it’s better you open a separate thread about?

1 Like

Nope, I didn’t even realise that was a line in the config file o_o;;
Additionally, this happened right after a fresh install. I wouldn’t have tampered with the hyprland config file in any way at that point.

Literally Hyprland (capitalised H required) - the one that starts hyprland. It’s the same one in ~/.config/hypr/hyprstart, so running that gives the same results. After running it, it will then dump a crash log in ~/.hyprland.

Yeah, so I set my keyboard layout to en-AU (English, Australia). This is on my bare metal - I have Qtile and Hyprland in separate subvolumes.

The odd thing is that it was only my X11 keymap that got set to au (in other words, en-AU). VC stands for ‘virtual console’ - after I set both keymaps to us, the font size in the virtual console also changed (and so my routine squinting as a HiDPI display user began once again lol).

As for splitting this into a new topic, I’m cool with that. Maybe with the title of “Unset Keymap Preventing Login”

(Note: The solution is in the first post. I’m marking this as the solution because I can’t mark the first post as the solution)

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.