Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1-2second delay for exec directive after S3 sleep #9454

Open
3 of 6 tasks
waltmck opened this issue Feb 21, 2025 · 0 comments
Open
3 of 6 tasks

1-2second delay for exec directive after S3 sleep #9454

waltmck opened this issue Feb 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@waltmck
Copy link

waltmck commented Feb 21, 2025

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

Probably not a regression / I don't remember it happening before

System Info and Hyprland Version

System/Version info
Hyprland 0.47.2 built from branch v0.47.2-b at commit 882f7ad7d2bbfc7440d0ccaef93b1cdd78e8e3ff  (version: bump to 0.47.2).
Date: 2025-02-02
Tag: v0.47.2, commits: 882f7ad7d2bbfc7440d0ccaef93b1cdd78e8e3ff
built against:
 aquamarine 0.7.2
 hyprlang 0.6.0
 hyprutils 0.5.0
 hyprcursor 0.1.11
 hyprgraphics 0.1.1


no flags were set


System Information:
System name: Linux
Node name: walt-desktop
Release: 6.12.12
Version: #1-NixOS SMP PREEMPT_DYNAMIC Sat Feb  1 17:39:40 UTC 2025


GPU information: 
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900 GRE/7900M] [1002:744c] (rev c8) (prog-if 00 [VGA controller])
42:00.0 Non-Volatile memory controller [0108]: Intel Corporation NVMe DC SSD [3DNAND, Sentinel Rock Controller] [8086:0b60] (prog-if 02 [NVM Express])
	Subsystem: Intel Corporation NVMe Datacenter SSD [3DNAND] SE 2.5" U.2 (P5510) [8086:8008]
49:00.0 Non-Volatile memory controller [0108]: Intel Corporation NVMe DC SSD [3DNAND, Sentinel Rock Controller] [8086:0b60] (prog-if 02 [NVM Express])
	Subsystem: Intel Corporation NVMe Datacenter SSD [3DNAND] SE 2.5" U.2 (P5510) [8086:8008]


os-release: ANSI_COLOR="0;38;2;126;186;228"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="25.05.20250204.799ba5b"
CPE_NAME="cpe:/o:nixos:nixos:25.05"
DEFAULT_HOSTNAME=nixos
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
ID_LIKE=""
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 25.05 (Warbler)"
SUPPORT_URL="https://nixos.org/community.html"
VARIANT=""
VARIANT_ID=""
VENDOR_NAME=NixOS
VENDOR_URL="https://nixos.org/"
VERSION="25.05 (Warbler)"
VERSION_CODENAME=warbler
VERSION_ID="25.05"


plugins:

Description

After S3 sleeping my desktop, Hyprland binds with exec consistently have a 1-2 second delay. The delay appears to be consistent across all commands, and apply to exec directives within bind, binde, bindl, and bindle. This is most noticeable for my keybindings to mute or adjust volume, but it also delays application launch (all commands tested are immediate when ran from the terminal). Keybindings to change workspace, resizeactive, and other non-exec bindings are unaffected.

This problem does not occur in on-created-empty workspace rules; as a workaround to quickly launch terminals, I have been using workspace=1, on-created-empty:kitty, and starting kitty by switching to workspace 1, and then moving the terminal to the desired workspace (unfortunately this makes workspace 1 otherwise unusable).

The problem is fixed after restarting Hyprland (but recurs after next S3 sleep).

Additional detail: from monitoring hyprctl rollinglog -f while using a bind, it looks like during the 1-2 second delay period there are no log messages printed, and then the log messages are printed immediately as the window is launched. In short, whatever is causing the delay must be happening between when the keybind is pressed and the first log message.

How to reproduce

  1. Start Hyprland
  2. Enter (and then wake from) S3 sleep.
  3. Attempt to run a command using an exec bind.

Attach not paste

  • I understand that all text files must be attached, and not pasted directly. If not respected, this issue will likely get closed as spam

Checklist of files to include below

  • Hyprland config - hyprctl systeminfo -c (always include)
  • Crash report (always include in case of crash)
  • Video (always include in case of a visual bug)
  • Logs (might contain useful info such as errors)

Additional info & File uploads

systeminfo.txt

@waltmck waltmck added the bug Something isn't working label Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant