-
Notifications
You must be signed in to change notification settings - Fork 15
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
Blurring cuts in and out #5
Comments
I believe that this thing might happen when used together with some other app, which tries to write to the X11 overlay window. When somebody else has this problem, then let me know. |
I noticed the same "ticking" bug with the last release on Arch. |
Are you running a composer? |
I tried disabling i3blocks since this is the only thing "ticking" (the bar is updated at some given intervals), and this bug stopped. I also observe some visual artifacts when unlocking: some parts remain blurred (e.g. tab bar of my browser, terminals etc.), which forces me to refresh them manually. All of these bugs do not happen when the blurring feature is not enabled. |
i3blocks probably just updates the screen, which causes a redraw. You can put something other to the background, for example leave a video playing. That should rule out i3blocks. I think that the problem is with compton. i3lock-blur uses the same overlay window as compton. I got some university stuff going on right now, but I will find time next week, to look into it. And test it with compton myself. |
Indeed, confirmed with a video, and killing compton solves it. You can find my compton configuration file here, and I use |
I did a little work on it, will continue tomorrow. I try to use screensaver window instead of composite overlay window. Currently the problem is, that compton is a composite manager and uses composite overlay window, and i3lock-blur tries to use the same window, which causes a conflict between them. |
Is there any news on the progress of this bug? I'm running into the same issue now? |
I have to admit, that I have been a little lazy. I guess that you also use a composite manager. Currently i3lock-blur will not work correctly when using a composite manager because they try to draw onto the same window and therefore are in conflict. |
Allright, thanks for the update. Then I'll just use different locking options for now. |
Use a wrapper script that first kills your composer, runs i3lock-blur, then starts your composer. This is probably the easiest solution. |
I think adding R. |
I've got another proposal - why do we bother to update pixmaps if we can get a blurred background once and display it? This should fix #10 as well. Is it worth working on? :) |
The whole idea of i3lock-blur is to update the blurred image when the background changes. If you want to blur only once, then you can use this -- it was the inspiration for writing i3lock-blur. For me it felt awkward that I see something on the lock screen, open the lock, and something completely different is actually on the screen. |
Well, the problem with the script is that it works so slow it's unusable. On modern, powerful PC it takes 2 seconds to lock and that's unacceptable. Unfortunately for now (even with compton turned off) the screen is weirdly flickering with i3lock-blur so I will probably create a fork and figure out how to make it single time blurring. IMO when locked screen does not change that often or you cannot really see what changed after opening it up. Maybe another switch for i3lock would be good? |
You raised a valid argument against the script. Therefore I thought I would give it a try. Check out blur-once branch and let me know if it works for you. |
I forgot to add that, when trying out blur-once branch, you should use the options: i3lock -fo. |
Thanks for taking your time to implement my suggestion! It works perfectly, even with Compton running, now I can easily use it as my lock screen! Thanks again! |
Has there been any progress on this bug at all? It looks like you removed the --once flag, as it doesn't work on my end. Without it I have horrible flickering with Compton. |
I received a "bug report".
The text was updated successfully, but these errors were encountered: