getting xcl to support net shares #2787
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2797"
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 Wolf1098 on 2026-11-26T13:49:28Z.
tested and working... I have the //server/share also bound to a letter X: if that matters
What is in it
Tested
launches a game okay.
Regression run
main:
PR:
Not tested
AI use
Imported from ivall/xcl. Originally posted by Wolf1098 on 2026-11-26T13:57:34Z.
One thing I still have to do... there was one other instance of std:fs:canonical I saw in my search of the repo... waiting on a certain game to finish its shader comp
Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-27T06:54:52Z.
Review: COMMENTED
Can the launcher keep resolving junctions when finding the package root? With this change, a shortcut or script that points to an executable through a junction to the binary directory only searches the junction's lexical parents. It misses the actual package's
MicrosoftGame.configand uses the junction as the game root. That also changes the title ID used to select the data directory.I compiled the exact launcher resolution and config-parsing functions from upstream
83b00818and this head into a Windows CPU harness. The fixture had a normal package manifest forPackage\Binaries\XSX\Game.exeand a siblingLaunchAliasjunction pointing toBinaries\XSX. WithLaunchAlias\Game.exeas the target, main returned rootPackageand identitySynthetic.Package. This head returned root and identityLaunchAlias. Using the direct executable path on this head returned the correct root and identity.Can the UNC fix preserve the canonical server/share prefix while keeping junction resolution for package discovery?
Executable resolution · Data directory and boot root
AI-assisted review (GPT-6.2 Sol).
Imported from ivall/xcl. Originally posted by Wolf1098 on 2026-11-27T08:33:19Z.
'''absolute''' only walks lexical parents, so an exe reached through a junction never sees the real package's MicrosoftGame.config. The fix is to try the path as given first, which keeps your drive letter, and fall back to the resolved path only if that finds no config. When the fallback fires, the root and the exe both have to switch to the resolved form. Otherwise exe.strip_prefix(&root) in run() fails and the VFS and boot.json disagree about where the exe lives. -- from the same conversation excerpted...
--claude
working on a review... might also be dealing with regressions(from syncing the fork (DID std out logging change) or is that my launcher mangling the log file path)
Imported from ivall/xcl. Originally posted by Wolf1098 on 2026-11-27T12:14:48Z.
I would note, I am unable to do the smoke test... without #1919 . at least with a clean unit test... forgoing fuzz I could
Imported from ivall/xcl. Originally posted by cindertheblue on 2026-11-27T22:19:29Z.
Smoke pair for Regression run, head
27c18eb6andmain6089122a, the same title, 60 s each: no device removals or crashes, 93 % ofmain's frames (1,264 vs 1,353), 103 % of its peak commit (14,591 vs 14,188 MB). With both blocks pasted under Regression run,main'sscripts/pr_check.pyreportsdescription okfor this head and the current description.main6089122a:This PR's head
27c18eb6:Tested
cargo build --release -p xcl) of both commits from clean worktrees.scripts\smoke.ps1 -Seconds 60 -StartupTimeoutSeconds 1800, withXCL_ADAPTER=7600andXCL_PREPARE=0(both logs:Shader preparation left out (XCL_PREPARE=0)).xcl.exe, so AMD's per-app driver cache was cold for both.Not tested
XCL_PREPARE=0), longer play, the test suite on this head.AI use
Imported from ivall/xcl. Originally posted by cindertheblue on 2026-11-28T03:37:05Z.
Smoke pair for Regression run at the new head
039bac42(my earlier pair was for27c18eb6), withmain753e8b1a, the same title, 60 s each: no device removals or crashes, 109 % ofmain's frames (1,412 vs 1,294), 100 % of its peak commit (14,197 vs 14,224 MB). With both blocks pasted under Regression run,main'sscripts/pr_check.pyreportsdescription okfor this head and the current description.main753e8b1a:This PR's head
039bac42:Tested
cargo build --release -p xcl) of both commits from clean worktrees.scripts\smoke.ps1 -Seconds 60 -StartupTimeoutSeconds 1800, withXCL_ADAPTER=7600andXCL_PREPARE=0. On these treespreparation.rs:46returns before preparing without logging a line; neither log has preparation output beyondgraphics pipelines are recorded at their first use for the next run's preparation.xcl.exe, so AMD's per-app driver cache was cold for both.Not tested
XCL_PREPARE=0), longer play, the test suite on this head.AI use
Imported from ivall/xcl. Originally posted by cindertheblue on 2026-11-28T05:29:14Z.
Smoke pair for Regression run at the new head
4136c0f4(my earlier pairs were for27c18eb6and039bac42), withmaine429936c, themaincommit this head merges. The same title, 60 s each: no device removals or crashes, 115 % ofmain's frames (1,261 vs 1,095), 100 % of its peak commit (14,293 vs 14,257 MB).The
PR descriptioncheck on this head fails because Regression run in the description has no blocks yet (onlymain:andPR:). With the two blocks below pasted there,main'sscripts/pr_check.py --localreportsdescription okfor this head; with the description as it is now, it reports the same two problems as the check.maine429936c:This PR's head
4136c0f4:Tested
cargo build --release -p xcl) of both commits from clean worktrees.scripts\smoke.ps1 -Seconds 60 -StartupTimeoutSeconds 1800, withXCL_ADAPTER=7600andXCL_PREPARE=0. On both treespresent/preparation.rs:46returns before preparing without logging a line; neither log has preparation output beyondgraphics pipelines are recorded at their first use for the next run's preparation.xcl.exe, so AMD's per-app driver cache was cold for both.Not tested
XCL_PREPARE=0), longer play, the test suite on this head.AI use
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:58:42Z.
Triage (#1607) – head
bd0017fThe VFS part overlaps #1077 (D201, #961). #1077 classifies UNC paths under the game, data and XCL folders and has a test. This PR instead drops the UNC early return in
Vfs::classify_with, leaving it as commented-out code, and that has the same effect for the game folder. The launcher part is not in #1077.resolve_location/config_rootchange fromcanonicalizetopath::absolute: on main,canonicalizegives\\?\UNC\..., and thetrim_start_matches("\\\\?\\")turns that intoUNC\..., which breaks launching from a share. Problems in the diff:vfs.rsandlauncher.rs.\\?\unc\lowercase branches have speculative WARNING comments.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.