Raymo111 / i3lock-color

The world's most popular non-default computer lockscreen.
Other
1.09k stars 137 forks source link

Extreme Lag With xcompmgr #294

Open sashokbg opened 9 months ago

sashokbg commented 9 months ago

This issue is a....

[x] Bug
[ ] Other kind of issue (Please describe in detail)

Current Behavior

When running i3lock with --compositor and having xcompmgr running on my system the i3lock experiences extreme lag. Typing letters registers after 10 or so seconds and everything becomes unusable.

If I disable xcompmgr - everything works fine. Also if I have xcompmgr running and i3lock without --composite - things work, but the i3lock does not get rendered until I press a key.

Expected Behavior

i3lock should work with no lag

Reproduction Instructions

  1. Run xcompmgr -c &
  2. Run xss-lock ~/.local/bin/lock.sh
  3. Test with xset s 4 2

lock.sh

#!/bin/sh

BLANK='#000000'
CLEAR='#000000'
DEFAULT='#eebe00'
TEXT='#eebe00'
WRONG='#880000'
VERIFYING='#eebe00'

i3lock \
  -n \
  --composite \
  --insidever-color=$CLEAR     \
  --ringver-color=$VERIFYING   \
  \
  --insidewrong-color=$CLEAR   \
  --ringwrong-color=$WRONG     \
  \
  --inside-color=$BLANK        \
  --ring-color=$DEFAULT        \
  --line-color=$BLANK          \
  --separator-color=$DEFAULT   \
  \
  --verif-color=$TEXT          \
  --wrong-color=$TEXT          \
  --time-color=$TEXT           \
  --date-color=$TEXT           \
  --layout-color=$TEXT         \
  --keyhl-color=$WRONG         \
  --bshl-color=$WRONG          \
  \
  --screen 1                   \
  --blur 5                     \
  --clock                      \
  --indicator                  \
  --time-str="%H:%M"           \
  --date-str="%A, %Y-%m-%d"       \
  --keylayout 1                \

Environment

Output of i3lock --version:

i3lock: version 2.13.c.5 © 2010 Michael Stapelberg, © 2015 Cassandra Fox, © 2021 Raymond Li
xcompmgr v1.1.9

Where'd you get i3lock-color from?

[x] AUR package (which one?) -> https://aur.archlinux.org/packages/i3lock-color
[ ] Built from source yourself
[ ] Other (Please describe in detail)
wideaperture commented 6 months ago

Confirming this bug. I'm experiencing it as well.