skel/hypr: GSK_RENDERER=cairo + wire up shell layer rules #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/gsk-renderer-black-surfaces"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the black-shell / no-blur you hit in the VM.
1.
GSK_RENDERER=cairo— GTK4 4.14+ default renderer (ngl/vulkan) paints transparent layer-shell surfaces as opaque black on wlroots; guaranteed black under a VM virtio-gpu with no real GL/Vulkan context. cairo (software) always composites transparency right, no visible cost for a flat shell, ~40% less idle memory (no Mesa driver resident).GSK_RENDERER=glin-session overrides.2.
scripts/ui/rules.lua(new) +pcall(dofile)in hyprland.lua +bread-theme layerrulesin the bootstrap. The shell-theme work shipped layer-rule generation (bread-theme writes~/.config/hypr/layerrules.jsonfrom the theme[compositor]table) but BOS never had the read side — so no blur / ignore-alpha / per-namespace motion was applied to breadbar / breadbox / breadclip. rules.lua reads the JSON and emitshl.layer_rule, with the pre-theme hardcoded set as a pcall-guarded fallback (mirrors the live reference config). Layer rules only.Both are skel changes — no pacstrap impact.
luac -pclean. Rebuild the ISO and re-test in the VM: the launcher/popups should show the wallpaper through with blur instead of black.