Skip to content

Feature/ubuntu#29

Merged
swstegall merged 5 commits into
developfrom
feature/ubuntu
Jul 5, 2026
Merged

Feature/ubuntu#29
swstegall merged 5 commits into
developfrom
feature/ubuntu

Conversation

@swstegall

Copy link
Copy Markdown
Owner

No description provided.

swstegall and others added 5 commits July 4, 2026 01:12
The login WebView subprocess built its wry WebView via WebViewBuilder::new(window), which uses the raw window handle. wry's WebKitGTK backend only supports that under X11, so under a Wayland session it failed with "the window handle kind is not supported" and Launch reported "Login failed: building wry webview: ...".

Build from the tao window's GTK vbox via WebViewBuilderExtUnix::new_gtk on Linux instead; it embeds WebKitGTK at the widget level and works under both X11 and Wayland (as wry's own docs recommend). Windows keeps the raw-handle path; macOS is unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
FFXIV 1.0 fires a storm of longjmp unwinds (RtlUnwindEx code=STATUS_LONGJUMP) once in-world. The +seh channel in the default WINEDEBUG traced a full CPU register dump per unwind into wine.log, pinning the CPU on trace I/O and dropping the game to a slideshow (GPU near-idle).

err+all still surfaces genuine crashes as err:seh; full seh tracing stays available via the verbose developer toggle (VERBOSE_WINE_DEBUG).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Wine's builtin wined3d translates the 32-bit FFXIV 1.0 client's D3D9 on a single CPU thread, starving the GPU (slideshow in-world, GPU near-idle). Add a Linux-only DXVK provisioner (src/platform/dxvk.rs): after prefix init, detect Vulkan, download a pinned DXVK release into the runtime cache, install its 32-bit d3d9/dxgi into syswow64, and merge d3d9=n,b;dxgi=n,b into WINEDLLOVERRIDES at launch.

Best-effort: no Vulkan / offline / GARLEMALD_DISABLE_DXVK=1 falls back to wined3d, so the launch never breaks. Also logs the resolved wine binary + version. macOS is untouched — its CrossOver engine already provides the accelerated D3D path.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Lets Ubuntu testing point the launcher at a specific Wine build (an
older/patched engine or a self-managed one) without touching PATH. A
set-but-invalid path fails loudly instead of falling through to the
PATH lookup, and the no-wine error now mentions the override.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EchKYpba7cMDD5B6g86Z2Q
@swstegall
swstegall merged commit 084dedb into develop Jul 5, 2026
6 checks passed
@swstegall
swstegall deleted the feature/ubuntu branch July 5, 2026 06:00
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.

1 participant