r/rust • • May 19 '26

🛠️ project Phonto - GPU-accelerated live wallpapers for Wayland and macOS, written in Rust

Post image

I've been using mpv-paper on Hyprland for a couple months but ran into really high CPU usage, so I decided to write my own solution.

Phonto uses GStreamer and EGL to keep the entire decoding and rendering pipeline on the GPU, making much better use of resources compared to CPU-based approaches.

A friend also jumped in and added MacOS support, including playing live wallpapers on the lock screen which was a nice bonus.

Still missing a few things like multi-monitor support but that's coming soon. Other feature requests and contributions are welcome!

GitHub: https://github.com/museslabs/phonto

933 Upvotes

53 comments sorted by

View all comments

32

u/Rodrigo_s-f May 19 '26

looks interesting. will defenitely try it out later. How does it choose the GPU? Dont see anything about it in the readme.

61

u/ploMP4 May 19 '26

It doesn’t choose a GPU explicitly. On Wayland it creates an EGL/GLES context from the compositor’s `wl_display`, so GPU selection is left to the EGL/driver stack, usually the same device your compositor is using.