by chownchown · 5y ago · 0 comments
I kid. Now what I really wanted to ask.. Is it using Wayland?
I haven't ruled out Mutter having a framebuffer backend, but I suspect she just ran it through X, which has one.
Edit: Looks like DRI is there after all: "Sven and the #dri-devel crew helped me spin up #2, which is what I'm using now."(https://twitter.com/alyssarzg/status/1429583864679129098).
What's there is a basic KMS driver, so rather than one single framebuffer, userspace can do pageflips. Mutter can run with a display-only KMS driver + llvmpipe for rendering by now I'm pretty sure. wlroots has landed this feature recently-ish too.
This is of course a harder and more pervasive problem than one might realize. macOS Finder RAM usage can explode catastrophically and take down the whole system if you have image previews enabled and click on a very large (gigabyte) TIFF.
I've experienced (and confirmed with a quick search) that Finder won't display a preview for any file that doesn't have the resources to show.
It's quite amazing.
Sounds like a totally reasonable assumption, for 99.9% of the cases (including graphic designers).