How about linux? #515
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Imported from ivall/xcl. Originally posted by fabox-os on 2026-11-24T01:14:33Z.
Do you consider implement vulkan for linux as well for the retail title run natively?
Imported from ivall/xcl. Originally posted by MJ26gaming on 2026-11-24T01:44:45Z.
I am currently running a new retail game on both my windows laptop (8945hs + 4070 mobile) and my Cachy desktop (7700 + 9070 xt) with wine and directx compat layers
Significantly worse performance on the desktop
Imported from ivall/xcl. Originally posted by ddm-j on 2026-11-24T01:49:54Z.
I think it'll be easier to get proton/wine working than native
Imported from ivall/xcl. Originally posted by pickles976 on 2026-11-24T03:14:49Z.
Concrete data point: the whole workspace builds on Linux, unmodified, as
x86_64-pc-windows-gnu, with llvm-mingw as the linker — no source changes, ~15 min on a laptop.What I used (Ubuntu 22.04, rustup stable):
.cargo/config.toml:Two linker-side adjustments, both environment-only (nothing in the repo):
-lgcc_eh -lgcc— llvm-mingw ships none. Empty stub archives on the search path satisfy the driver:llvm-ar qc stubs/libgcc.a …; libgcc_eh.a; libgcc_s.a._Unwind_*come from llvm-mingw'slibunwind.a(DWARF-personality symbols the windows-gnu prebuilt std expects):RUSTFLAGS="-C link-arg=-L<llvm-mingw>/x86_64-w64-mingw32/lib -C link-arg=-lunwind -C link-arg=-L<stubs>".So the toolchain is not the blocker for a Linux dev/test loop — the runtime blockers are what they always were: D3D12 host (vkd3d-proton under Wine, cf. #175) and a GPU. My Wine smoke of the produced
xcl.exehasn't passed yet (Wine 9 aborts at startup before any output, rc=53 — investigating separately); reporting that honestly rather than implying a full run. The value here is upstream-facing: contributors on Linux can build and run the pure-Rust unit tests natively (cargo test --workspace --target x86_64-unknown-linux-gnufor the non-Windows-crate half), and CI could cross-check the windows-gnu build cheaply.Imported from ivall/xcl. Originally posted by pickles976 on 2026-11-24T03:18:47Z.
Productive-use update on the same recipe: fixed the one real bug in my own linker flags (
-lunwindwas pickinglibunwind.dll.a→ silent startup failure; puttinglibunwind.afirst in the search path links it statically) and the cross-builtxcl.exenow runs under Wine and does real work —xcl --version,xcl --help, and a fullxcl inspect --jsonpass on the 120 MB retail exe (results posted in #627). Build → analyze loop for analyzer work no longer requires a Windows box at all.Imported from ivall/xcl. Originally posted by Fyb3roptik on 2026-11-25T20:37:35Z.
Just got this running at 1440p 30FPS no lagging on Ubuntu 26.04. I plan to push up my changes and docs