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

Script is slow #5

Open
JuanRdBO opened this issue Feb 27, 2018 · 3 comments
Open

Script is slow #5

JuanRdBO opened this issue Feb 27, 2018 · 3 comments

Comments

@JuanRdBO
Copy link

I saw in various demo images that the blur script works like a contiuous bur when the current workspace window is closed, but mine works slow. What can I do?

@felipecustodio
Copy link

Hey Juan, what is the image size/format that you're using? I've been using the script for a few weeks now, and never had this problem, until I set a PNG wallpaper. Then blurring became slow (even though it's cached?)

@ghost
Copy link

ghost commented Jan 21, 2019

jpg, 384ko, still slow for me

@lsma
Copy link

lsma commented Jul 13, 2020

Similar problem for me. I put a bunch of time calls in the script to see how long things were taking. With an 8MP background image, it was taking feh around 0.08s to switch the background image on my system. With 10 transition images, this was taking almost a full second.

The two things which worked for me were:

  • Reduce the number of transition frames. I changed the script to only use 6 transition frames, and this brought down total time from ~0.9s to ~0.6s for me.

  • Scale down the image. I scaled mine from 8MP to 1080p, and it shortened individual feh calls from 0.08s to 0.04s (which brought the total transition time down to ~0.25s.)

I also tried adding -quality 25 to the convert calls, but compression doesn't seem to have a significant impact on how fast feh can change the background image.

Frustrating that I can't get it to transition faster 0.25s, but I'm guessing I'm running up against feh's limitations on my hardware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants