Giter Club home page Giter Club logo

Comments (19)

karulont avatar karulont commented on July 20, 2024 2

I forgot to add that, when trying out blur-once branch, you should use the options: i3lock -fo.

from i3lock-blur.

 avatar commented on July 20, 2024 1

I think adding paint-on-overlay = false; to your compton config (~/.config/compton.conf) makes it.

R.

from i3lock-blur.

megawebmaster avatar megawebmaster commented on July 20, 2024 1

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?

from i3lock-blur.

karulont avatar karulont commented on July 20, 2024 1

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.

from i3lock-blur.

karulont avatar karulont commented on July 20, 2024

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.
But for now, I close this issue.

from i3lock-blur.

bchretien avatar bchretien commented on July 20, 2024

I noticed the same "ticking" bug with the last release on Arch.

from i3lock-blur.

karulont avatar karulont commented on July 20, 2024

Are you running a composer?
What windowmanager are you using?
What Desktop environment?

from i3lock-blur.

bchretien avatar bchretien commented on July 20, 2024
  • Window manager: i3
  • Compositor: compton
  • No desktop environment
  • Things running: i3blocks (for i3bar), tmux sessions inside termite, qutebrowser
  • Setup: dualscreen

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.

from i3lock-blur.

karulont avatar karulont commented on July 20, 2024

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.

from i3lock-blur.

bchretien avatar bchretien commented on July 20, 2024

Indeed, confirmed with a video, and killing compton solves it. You can find my compton configuration file here, and I use v0.1_beta2.

from i3lock-blur.

karulont avatar karulont commented on July 20, 2024

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.

from i3lock-blur.

Tasqa avatar Tasqa commented on July 20, 2024

Is there any news on the progress of this bug? I'm running into the same issue now?

from i3lock-blur.

karulont avatar karulont commented on July 20, 2024

I have to admit, that I have been a little lazy.
I started working on it, then got into some schoolwork and forgot about it.
Unfortunately I am too busy right now to start working on it.

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.

from i3lock-blur.

Tasqa avatar Tasqa commented on July 20, 2024

Allright, thanks for the update. Then I'll just use different locking options for now.

from i3lock-blur.

karulont avatar karulont commented on July 20, 2024

Use a wrapper script that first kills your composer, runs i3lock-blur, then starts your composer. This is probably the easiest solution.

from i3lock-blur.

megawebmaster avatar megawebmaster commented on July 20, 2024

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? :)

from i3lock-blur.

karulont avatar karulont commented on July 20, 2024

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.

from i3lock-blur.

megawebmaster avatar megawebmaster commented on July 20, 2024

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!

from i3lock-blur.

TomokoK avatar TomokoK commented on July 20, 2024

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.

from i3lock-blur.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.