Skip to content

Feature: Use the native Wayland host by default on Linux - #186

Merged
MemerGamer merged 7 commits into
mainfrom
linux/wl-default
Oct 14, 2026
Merged

MemerGamer merged 7 commits into
mainfrom
linux/wl-default

Conversation

@MemerGamer

Copy link
Copy Markdown
Owner

Resolved / Related Issues

Draft until the Uno fork release is published. CI here downloads uno-wayland-6.7.135-wayland.4 from MemerGamer/uno and verifies it against the pins in build/uno-wayland-packages.sha256; that release does not exist yet, so CI will fail until it is published with exactly the pinned files.

What changes

  • Linux builds use the forked Uno 6.7.135-wayland.4 packages with the native Wayland host; X11 stays the runtime fallback (UNO_SKIA_HOST=auto|x11|wayland, or no Wayland compositor). Opt out with -p:UseUnoWayland=false or publish.sh --x11.
  • Packages are fetched from the fork release and checked against SHA-256 pins committed here (build/fetch-uno-wayland.sh); the release's own SHA256SUMS is only a cross-check. --import <dir> verifies locally built packages.
  • CI clears fork package IDs from the restored NuGet cache; the source AUR recipe declares the eight nupkgs with pinned checksums; Flatpak and Nix use pinned inputs.
  • The package switch only applies to Linux desktop targets (keeps a future macOS target on stock Uno).

Steps used to test these changes

  1. Built the eight packages from MemerGamer/uno wayland/host at 673f549eb0 (bridge backport reviewed by Codex over 4 rounds; 6/6 projects build, 101 + 64 unit tests pass, Wayland sample smoke runs at a steady 60 fps on GL, software and client-side decorations, idle CPU 0%).
  2. build/fetch-uno-wayland.sh --import verified them against the pins; python3 build/tests/test-fetch-uno-wayland.py passes.
  3. Built Files.App (Debug, net10.0-desktop) against them: 0 errors; the shipped Wayland host DLL is byte-identical to the pinned package.
  4. Earlier round (same branch, previous wayland.4 build): default and UseUnoWayland=false builds, platform tests 1389 passed / 0 failed, app launched on a private KWin (Wayland) and a private Xvfb (UNO_SKIA_HOST=x11), both closed cleanly.

AI disclosure: written by Codex and Claude agents under my direction, cross-reviewed between models.

🤖 Generated with Claude Code

https://claude.ai/code/session_01BTZhMsNyJ6k4VC68CNb5WU

Kovács Bálint Hunor and others added 6 commits October 13, 2026 04:13
-p:UseUnoWayland=true restores the forked Uno packages (6.7.135-wayland.N) from a local
feed via nuget.wayland.config, references Uno.WinUI.Runtime.Skia.Wayland and registers
UseWayland() before UseX11(), so WAYLAND_DISPLAY/UNO_SKIA_HOST select the host at runtime.
The default build keeps the released 6.7.135 X11 packages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
ActivateWithBackdropAsync awaited CompositionTarget.Rendered, which Uno Skia never raises,
so the main page was never constructed and the window stayed blank. On desktop, wait for
the root frame to load instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
With -p:UseUnoWayland=true the tab strip now extends into the title bar on
the Wayland host too: the empty tab-strip space is an InputNonClientPointerSource
caption region (move and double-click maximize handled by Uno), and the caption
buttons maximize/restore through the overlapped presenter. X11 is unchanged.
Requires the 6.7.135-wayland.2 packages built from the current Wayland host.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
The Wayland host now preloads libHarfBuzzSharp with RTLD_DEEPBIND like the
X11 host, so it no longer binds to the system libharfbuzz loaded through
fontconfig and aborts with free(): invalid pointer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
Linux builds now use the forked Uno 6.7.135-wayland.4 packages with the
native Wayland host and keep X11 as the runtime fallback (UNO_SKIA_HOST,
or no Wayland compositor). Build with -p:UseUnoWayland=false or publish
with --x11 to opt out. The packages come from a MemerGamer/uno release and
are verified against SHA-256 pins committed in this repository; CI, AUR,
Flatpak and Nix use the same pins. The fork package switch only applies
to Linux desktop targets.

Co-Authored-By: GPT-6.1-sol (OpenAI Codex) <noreply@openai.com>
Reviewed-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BTZhMsNyJ6k4VC68CNb5WU
@MemerGamer
MemerGamer marked this pull request as ready for review October 14, 2026 07:10
@MemerGamer
MemerGamer merged commit 751deea into main Oct 14, 2026
3 checks passed
@MemerGamer
MemerGamer deleted the linux/wl-default branch October 14, 2026 07:20
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

Successfully merging this pull request may close these issues.

Fix: Pixelated text and glitching icons (top-left icon)

1 participant