i3 / i3lock

improved screen locker
https://i3wm.org/i3lock
BSD 3-Clause "New" or "Revised" License
921 stars 404 forks source link

Cant see the lock screen with compton and xss-lock on screen saver event #246

Closed tenllado closed 5 years ago

tenllado commented 5 years ago

I'm submitting a…

[ x] Bug
[ ] Feature Request
[ ] Other (Please describe in detail)

Current Behavior

I have the following setup on my laptop: Debian buster, i3wm, xss-lock to lock on suspend and on screen saver events, autorandr to adapt the X configuration automatically to different screen setups I use and compton (default config) as a compositer.

Problem:

When i3lock is executed because of a screen server event the i3lock screen does not appear. I have to press a key to see the i3lock screen

Sometimes when I unplug different monitors and suspend (don't know the exact order) the screen is locked but the i3lock image cannot be seen (neither the animation that gives feedback of the key pressed).

May be related to "screen change during sleep not detected #148"

I have debugged it for some time and I know it is an issue between i3lock and compton. When compton is not running the i3lock screen can always be seen.

Expected Behavior

See the i3lock screen even when compton is running.

Reproduction Instructions

Environment

Output of i3lock --version:

i3lock: version 2.11.1 © 2010 Michael Stapelberg
tenllado commented 5 years ago

No more happening with the following compton configuration (my laptop has an intel UHD Graphics 620 card, managed by the i915 kernel module) :

shadow = false; backend = "xrender"; use-ewmh-active-win = true; detect-rounded-corners = true; detect-client-opacity = true; vsync = "none"; dbe = false; unredir-if-possible = false; no-fading-openclose = true paint-on-overlay = true;