-
-
Notifications
You must be signed in to change notification settings - Fork 692
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
Make background drawing faster, most notably image decoding #4826
Comments
caching it seems reasonable, how big is one of these when they're parsed? but i wonder: can we just not re-paint the background if it's the same after the screens are reconfigured? |
Yeah that is a good point. I could look at this, now we generate a whole new surface/buffer |
@tych0 I don't think this is urgent for the next release. If wayland is now working on wlroots 0.17, we should do a release now. |
Yeah it's not, this has always been here |
ok! I will go ahead and start the process :) |
Merci! I merged some last minute fixes, so good to go from my end |
https://github.com/qtile/qtile/releases/tag/v0.26.0 everything is grinding away, I will keep an eye on it and make sure it all goes green. |
Green! Woohoo! Thanks |
Issue description
Currently background drawing is very slow (obviously depends on the image). The main culprit is the decoding of the wallpaper using
cairocffi.pixbuf.decode_to_image_surface
. This is really problematic as we have to re-render the wallpaper every time the screen layout changes. On wayland this can even result in short freezes when you disable/enable monitors. Possible approaches:ideas?
Version
git
Backend
Wayland (experimental)
Config
No response
Logs
No response
Required
The text was updated successfully, but these errors were encountered: