hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
21.34k stars 898 forks source link

Can't use input after unlocking #8186

Open JohnMH opened 1 week ago

JohnMH commented 1 week ago

Already reported ? *

Regression?

Yes

System Info and Version

Hyprland, built from branch  at commit bc299928ad5571300180eb8edb6742ed3bbf0282  (output/xdg-output: avoid sending events to released globals).
Date: Tue Oct 8 16:26:40 2024
Tag: v0.44.0-20-gbc299928, commits: 5319
built against aquamarine 0.4.2

flags: (if any)

System Information:
System name: Linux
Node name: redacted
Release: redacted
Version: redacted

GPU information: 
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM204GL [Quadro M5000] [10de:13f0] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  560.35.03  Fri Aug 16 21:39:15 UTC 2024

os-release: NAME=Gentoo
ID=gentoo
PRETTY_NAME="Gentoo Linux"
ANSI_COLOR="1;32"
HOME_URL="https://www.gentoo.org/"
SUPPORT_URL="https://www.gentoo.org/support/"
BUG_REPORT_URL="https://bugs.gentoo.org/"
VERSION_ID="2.15"

plugins:

======Config-Start======

Config File: /home/johnmh/.config/hypr/hyprland.conf: Read Succeeded
# NVIDIA
env = LIBVA_DRIVER_NAME,nvidia
env = NVD_BACKEND,direct
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = ELECTRON_OZONE_PLATFORM_HINT,auto

# NVIDIA
#cursor {
#    no_hardware_cursors = true
#}

render {
    explicit_sync_kms = 0
}

# https://wiki.hyprland.org/Configuring/Variables/#animations
animations {
    enabled = true

    # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 80%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default
    animation = specialWorkspace, 1, 3, default, slidefadevert -60%
}

# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {
    pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = true # You probably want this
}

# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
master {
    new_status = slave
}

# https://wiki.hyprland.org/Configuring/Variables/#misc
misc { 
    force_default_wallpaper = 0
    disable_hyprland_logo = true
    disable_splash_rendering = true
    mouse_move_enables_dpms = true
    key_press_enables_dpms = true
}

#############
### INPUT ###
#############

# https://wiki.hyprland.org/Configuring/Variables/#input
input {
    kb_layout = us
    numlock_by_default = true

    follow_mouse = 1

    special_fallthrough = true
}

# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures {
    workspace_swipe = true
    workspace_swipe_fingers = 3
    workspace_swipe_invert = false
    workspace_swipe_forever = true
    workspace_swipe_min_fingers = true
}

# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
device {
    name = redacted
    natural_scroll = false
}

#####################
### KEYBINDINGSES ###
#####################

redacted

##############################
### WINDOWS AND WORKSPACES ###
##############################

# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules

# Example windowrule v1
# windowrule = float, ^(kitty)$

# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$

windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.

# KDE Connect Presentation
windowrulev2 = float,class:org.kde.kdeconnect.daemon,title:KDE Connect Daemon
windowrulev2 = size 100%,class:org.kde.kdeconnect.daemon,title:KDE Connect Daemon
windowrulev2 = noblur,class:org.kde.kdeconnect.daemon,title:KDE Connect Daemon
windowrulev2 = noborder,class:org.kde.kdeconnect.daemon,title:KDE Connect Daemon
windowrulev2 = nodim,class:org.kde.kdeconnect.daemon,title:KDE Connect Daemon
windowrulev2 = noshadow,class:org.kde.kdeconnect.daemon,title:KDE Connect Daemon
windowrulev2 = suppressevent fullscreen,class:org.kde.kdeconnect.daemon,title:KDE Connect Daemon

# Autostart

redacted

======Config-End========

Description

After unlocking hyprlock, I have no input until switching to another vty and back. This doesn't always happen, but around 90% of the time.

This doesn't happen in 0.42.

How to reproduce

Lock screen. Unlock screen. Try to input keys, open a terminal, move the mouse. No input is detected. Switch to another vty and back, input works.

Crash reports, logs, images, videos

No response

PaideiaDilemma commented 1 week ago

Please fix the formatting. Can you bisect this problem maybe?

sevos commented 1 week ago

I have the same issue. NixOS

hyprctl version
Hyprland, built from branch main at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: 2024-06-25
Tag: v0.41.2, commits: 918d8340afd652b011b937d29d5eea0be08467f5

interestingly, I have 2 monitor setup and it only affects the first monitor, the other works fine.

PaideiaDilemma commented 1 week ago

It seems like a few people currently have this problem. I have not been able to reproduce it. I use a 3 monitor setup.

Here are the things you can help with if you have this issue: