Recompiler: programs whose compact table needs more than 12,288 words take the plain form again #3516
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3516"
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 KDenKC on 2026-11-30T09:16:41Z.
#3261 raised the most table words a program may need to take the direct DXIL compact form from 12,288 to 32,768. On the retail title that lets one more program take it: record
95cc13288a27a96e, whose tables need 16,121 words (19,840 blocks of 1,471 kinds, 237,860 B of DXIL). Its Dispatch never finishes, and the device is removed at the first world frame (DRED's first operation not done: the Dispatch aftercs 95cc13288a27a96e). BBareth found it on #505; with the limit at 12,288 the program takes the plain form and the title stays in the world.This puts the limit back to 12,288 on NVIDIA adapters and keeps 32,768 on others.
XCL_COMPACT_TABLE_WORDS(1 to 32,768) sets it on any adapter; a value other than the default goes into the translated cache identity, with the nesting tag. Why the compact form of that program never finishes is not answered here (#3261's liveness or far-jump changes are the suspects in #505); this only stops the form from being chosen for tables that large.Fixes the removal at the first world frame reported on #3261. Related: #505, #3261. Overlaps #3562 (compact.rs table limit, kernel.rs cache tag) and #3479 (its sized_plan uses the table-limit constant this PR replaces with
max_table_words(): the two merge cleanly but the merged tree does not build until that line uses the function).What is in it (one commit)
gpu/dxil/compact.rs:default_table_words: 12,288 on NVIDIA (NVIDIA_TABLE_WORDS),TABLE_WORDS_CEILING(32,768) on other adapters and before the adapter is known;XCL_COMPACT_TABLE_WORDS(max_table_words,table_words) on any adapter;table_words_tag(a limit other than 32,768) for the cache identity;automatic_plan_withintakes the limit (tests).gpu/adapter.rs:note_main_vendor/main_vendor, noted where the title's device (hle/d3d12x/real.rs) and the launch preparation's (shaders.rs) are made, so both use the same limit and cache identity.gpu/dxil/kernel.rs:compact_nest_tagalso carries that tag, so all three identity sites (recomp/pso.rs) see it.gpu/dxil/compact_tests.rs:a_program_whose_tables_pass_the_limit_takes_the_plain_form(runs of repeated blocks added until the plan needs more than 12,288 table words, and at most 32,768: no plan at NVIDIA's limit, a plan at AMD's; CPU only),compact_table_limit_switch_parses(the limit by vendor, and the switch on any vendor).README.md: the limit by vendor and the switch, where the compact form is described.Cache. This changes translator source, so the direct DXIL source identity changes: every program is translated again (CPU and DXC) on the first run after updating, as with any translator change. Driver blobs are keyed by their DXIL, so only the programs whose DXIL changes need a new driver compile: on the retail title, by #3261's own count, 5 of 16,307 programs take the new form, so at most those.
Scope: NVIDIA only. The hang is seen on RTX 50-series (our RTX 5090, BBareth's RTX 5070 Ti); on an RTX 4080 the compact form of this program is built and the title stays in the world (throny, #505). On AMD the plain form is the costly one: on an RX 7900 XT with this PR, the driver compile of this program's plain form ran 150–311 s and returned
0x8007000ein 4 runs, and was still in the driver when 7 other runs ended, at the 48 GiB commit limit in most runs (crosettiremi, #505; thehollowedone pointed out what that means for an adapter-wide default, here). That report is not a matchedmain/ head comparison and does not show the compact form is right on AMD, but it is reason enough not to change AMD's default here. The rule is by vendor (0x10DE), not by RTX 50 device ids: all the evidence for the hang is NVIDIA's, and a device-id list would have to be kept up to date for every new card; the RTX 4080 result means NVIDIA cards older than the 50-series pay the plain form's compile cost for nothing (measured on an RTX 3080 below: 124 s once, then a driver blob).Tested
d52ff48c+ the new plain-form test only (50c72beb):cargo test -p xcl --lib -- a_program_whose_tables_pass_the_limit_takes_the_plain_form:868dd971(=8d7d5091+ the GPU vendor noted during launch preparation, so the translation cache's identity carries the table limit from the start),cargo test --workspace --no-fail-fast -- --test-threads=4(leaving out the 3uma_drivertests this VM cannot run): 2870 passed, 6 failed, 51 ignored; 28SKIPPED. The failures are this VM's onmaind52ff48c(gpu_direct_image_get_resinfo_d16, the threetitle_textures::stream_recheck_*,test_title_runs_and_game_folder_is_untouched) andplaced_title_textures_share_vram_and_preserve_pixels, which passes when run alone (onmaind0832e61and other heads): a failure of the parallel run on this VM.8d7d5091(the same tree as81d3f670, tested before the squash),cargo test -p xcl --lib -- compact:test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 2744 filtered out(the plain-form test now checks NVIDIA's limit and AMD's). The whole suite on this head,cargo test --workspace --no-fail-fast -- --test-threads=4(leaving out the 3uma_drivertests this VM cannot run): in both runs the lib test binary was killed by an access violation in the parallel run (seen onmainruns on this VM too); the other binaries 142 passed, 1 failed, 20 ignored, and the lib binary's one-thread rerun (all ofuma_driver::testsleft out) 2723 passed, 5 failed, 31 ignored. The failures aremaind52ff48c's on this machine:gpu_direct_image_get_resinfo_d16, the 3title_textures::stream_recheck_*andtest_title_runs_and_game_folder_is_untouched.0dfcbd5e,cargo test -p xcl --lib -- compact:8d7d5091,cargo test --workspace --no-fail-fast -- --test-threads=4(leaving out the 3uma_drivertests that need a GPU upload segment this VM does not have): the other binaries 142 passed, 1 failed, 20 ignored; the lib binary gave no result in the parallel run, so its tests come from a one-thread rerun that leaves out all ofuma_driver::tests: 2727 passed, 1 failed, 31 ignored. SKIPPED: 11 (7 no wave64, 1 no heap windows, 3 no debug layer). The 2 failures,gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16andtest_title_runs_and_game_folder_is_untouched, fail onmaind52ff48con the same machine too (its run lost the lib binary the same way; its one-thread rerun: 2721 passed, 5 failed, 31 ignored, the other 3 beingtitle_textures::stream_recheck_*, which pass here).maind52ff48cwith our local runner patches (an input filter, #3281, a port of #3094 with the fix posted there), the same switches in each pair:16f2f5c1(two runs):16f2f5c1reverted (two runs):WORLD (+268 s in it, entry at 107 s); world fps 5.4; crashes 0, device removals 0andWORLD (+246 s in it, entry at 98 s); world fps 5.9; crashes 0, device removals 0.8d7d5091reached the world (entry at 247 s, 600 s, no device removal; its smoke pair wasmain9dfbe3ea2,797 / 0 / 46,900 MB against 3,177 / 0 / 48,123 MB); this head868dd971stayed in the menus under the same recipe (see Regression run); and the run by BBareth below.main9dfbe3eamerged with this head (clean), release, RTX 5070 Ti 16 GB, driver 621.24, 1,800 s withXCL_DRED=1 XCL_PLACE_RETIRE=0 XCL_TEXTURE_LEVEL_PAGES=1 XCL_PRESS_A_AT=450 XCL_ACTIVITY=1 XCL_CS_PSO_WAIT_MS=250, noXCL_SKIP_CS, noXCL_COMPACT_TABLE_WORDS: ran to its 1,800 s limit with no device removal, about 1,260 s of it in the world; record95cc13288a27a96e's compute PSO is made from 1,383,220 B of DXIL again (the plain form; 237,860 B in the compact form that hung). Their merge check onmain9dfbe3ea:cargo test --workspace --no-fail-fast -- --test-threads=4: 2887 passed, 1 failed (gpu_direct_image_get_resinfo_d16, failing on the base alone too), 51 ignored.95cc13288a27a96e's compute pipeline took 124.0 s cold in the plain form (this head, no driver blob), against 14.2 s for the compact form ond52ff48c, and 0.2 s warm once XCL supplies the driver blob. Their two device errors came 39 min 29 s and 190.6 s after that creation returned; their logs do not tie them to this program.Regression run
RTX 5090 32 GB, driver 621.40, the retail title, 600 s each,
scripts/smoke.ps1with preparation off (XCL_PREPARE=0), themainarm from a copy of a translated cache made bymain. Both runs used this machine's usual settings (XCL_UMA_WINDOWS=16,XCL_UMA_DRIVER=mixed:1536:1792,XCL_COHERENT_MB=4095,XCL_HUGE_PSO_CONCURRENCY=3),XCL_DRED=1, held Enter from the first frame, andXCL_SKIP_CS=95cc13288a27a96e. The head arm started from a translated cache made by a prepared run of this head (its cache identity carries this PR's table limit, somain's cache does not serve it); it built the program this PR changes in its plain form (1,383,220 B of DXIL) and left its dispatches out.The head arm stayed on the title's menus for its 600 s under this recipe on this machine (shader preparation off, held-Enter input; other heads did the same tonight), so this pair checks start-up and the menus only: no device removal and no crash in either run; the head's 14,802 frames are menu presents and say nothing about speed or the world. The world is covered by BBareth's runs (RTX 5070 Ti, 7 runs), claudetools-gh's A/B (RTX 5070 Ti) and our pair on the previous head (
8d7d5091, same base, world entry at 247 s), listed under Tested.main9dfbe3ea:this head
868dd971:Not tested
main's 32,768; the AMD plain-form cost above is from the PR's earlier, adapter-wide head).mainrun did not hang within its 600 s (the smoke recipe does not reach the hang), so the pair shows no regression, not the fix; the removals it fixes are under Tested.95cc13288a27a96ehangs.AI use
🤖 Generated with Claude Code
https://claude.ai/code/session_013oPUFCA9W9F8Qb5MPK33bR
Imported from ivall/xcl. Originally posted by BBareth on 2026-11-30T10:59:20Z.
merge-check claim
head:
0dfcbd5ef3Imported from ivall/xcl. Originally posted by BBareth on 2026-11-30T11:04:01Z.
merge-check
base:
9dfbe3ea66head:
0dfcbd5ef3merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2887 passed, 1 failed, 51 ignored; failing: gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16, which fails on the base alone too (base: 2885 passed, 1 failed, 51 ignored, 28 SKIPPED lines). 28 SKIPPED lines, as on the base. Both new tests passed (
a_program_whose_tables_pass_the_limit_takes_the_plain_form,compact_table_limit_switch_parses), and so did the 14 existing compact tests, the GPU ones included (gpu_compact_inline_table_above_old_cap_checks_late_entries,gpu_compact_form_with_micro_blocks_and_literal_table_runs_as_the_plain_form,gpu_nested_compact_matches_plain_and_flat, ...).review: no blocking finding; four files, every hunk read.
MAX_TABLE_WORDSgoes back from 32,768 to 12,288, so a program whose tables need more takes the plain form by default;XCL_COMPACT_TABLE_WORDS(1 to 32,768, anything else is ignored) raises the limit, and a non-default value is added to the translated cache identity next to the nesting tag, so entries made with different limits do not mix. The new test builds a program whose plan passes 12,288 words and still fits 32,768, and checks thatautomatic_planrefuses it; it returns early when a compact mode or the switch is set in the environment. README updated. This is the reporter's machine for #505 (comment 7271589972): on our tree, on main53e85fb1, a local switch of the same name and value 12288 was what took record 95cc13288a27a96e back to the plain form (1,643,508 B of DXIL) and the title then ran about 2,300 s in the world with no removal, where the compact form was removed in 2 of 2 runs. Not done: a game run of this PR's own head on current main; that needs the shaders prepared again here and I will report it on this PR if I get it done. As the description says, this does not explain why the compact form of that program never finishes.performance: run time: none for programs within the limit. Start-up: a program between 12,288 and 32,768 table words compiles in the plain form again, which is bigger for the driver (for the one retail program concerned, 1,643,508 B of DXIL in place of 237,860 B), so the compile-time gain #3261 measured for it is given back; the translated cache entries of such programs are made again once.
verdict: safe to merge
hardware / tool and model: RTX 5070 Ti 16 GB, driver 621.24 (32.0.16.2124); i7-12700K; Windows 11 26200. Claude Code, Claude Fable 5.2 read the diff, ran the build and the suite and wrote this check.
Imported from ivall/xcl. Originally posted by BBareth on 2026-11-30T13:11:02Z.
Test report: a game run of this PR's head on current
main, as announced in my merge check above.main9dfbe3eamerged with this PR's head0dfcbd5e(local merge 18e61220, clean), release build, nothing else on top.xcl runfor 1,800 s withXCL_DRED=1 XCL_PLACE_RETIRE=0 XCL_TEXTURE_LEVEL_PAGES=1 XCL_PRESS_A_AT=450 XCL_ACTIVITY=1 XCL_CS_PSO_WAIT_MS=250. NoXCL_SKIP_CS, noXCL_COMPACT_TABLE_WORDS.Result (1 run): ran to the 1,800 s limit (
XCL_RUN_SECONDS: 1800 s – ending the title (16139 frames shown, 16140 PresentX calls)), no0x887a0006, no device-removed line. About 1,260 s of that in the world (631 two-second activity samples with the world's dispatch load), mean 2.7 presents per 2 s there.Record
95cc13288a27a96eis back in the plain form: its compute PSO is created from 1,383,220 B of DXIL (237,860 B in the compact form that hung here; see the #505 comment linked in the PR).For comparison, on
main53e85fb1plus our local stack the same record in the compact form lost the device about 60 s after the world started, 2 runs of 2.Not tested:
main9dfbe3eawithout this PR on this machine (the failing runs were on53e85fb1plus local changes); theXCL_COMPACT_TABLE_WORDSswitch itself in a game run; more than one run; AMD.Claude Code, Claude Fable 5.2 ran the build and the game run, read the log and wrote this report.
Imported from ivall/xcl. Originally posted by Gevroska on 2026-11-30T18:30:53Z.
@KDenKC I matched compute record
95cc13288a27a96efrom your PR to the native pipeline-creation logs from my RTX 3080 (driver 616.92). Creation succeeded in all three runs. The two #3516 runs used0dfcbd5ewith local measurement counters on top.d52ff48cThe cold run reported
DXGI_ERROR_DEVICE_REMOVED39 min 29 s after this call returned. The warm run reportedDXGI_ERROR_DEVICE_HUNG190.6 s after it returned. That narrows what I can say about the two exits I reported on #505: this particular creation call had finished in both. My logs don’t identify a subsequent GPU dispatch or completion for this record, so they leave the dispatch hang described in the PR unresolved.I used Codex GPT-6.2 Sol to analyze the logs. A separate GPT-6.2 Sol agent independently matched the record and checked the return timings against all three runs. Codex GPT-6.2 Astra drafted this comment.
I reviewed and approved this comment before posting.
Imported from ivall/xcl. Originally posted by KDenKC on 2026-12-01T01:16:57Z.
@MacieGx @SergeAx a request, only if you have the time: you have both reached the world on an RTX 5080, which would make a useful third RTX 50-series card here. Could one of you check whether #3261's compact form removes the device on a 5080, and whether this PR stops it?
mainas it is (d0832e61, which has #3261's compact table). B:mainwith this PR (head0dfcbd5e).0x887a0006, DRED state 7); on BBareth's 5070 Ti about 60 s in; tiagonleal's 5070 Ti stayed about 4 minutes in 17 of 20 runs (#505). So a clean run says more the longer it lasts: ideally 10 minutes or more per arm.XCL_PSO_TRACE=1):driver compile start ... compute PSO, <N> B DXIL, record 95cc13288a27a96e. About 228,708-237,860 B is the compact form; 1,383,220 B or more is the plain form this PR brings back.Fair warning: this is a long A/B, and arm B's first start compiles that program cold (Gevroska measured 124 s on a 3080 above). Two runs per arm would settle it; one each already helps.
AI use: an agent swarm: Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.2-Sol, Gemini 4 Neon and Gemini 3.8 Flash.
Imported from ivall/xcl. Originally posted by BBareth on 2026-12-01T02:22:57Z.
Test report: runs with this PR on an RTX 5070 Ti (arm B of the request in #505; I did not run arm A again tonight).
maind0832e61merged with this PR's head0dfcbd5e, plus the open PRs #3514, #3548, #3549 and #3550; four of the seven runs also had #2385. Release build. So this is not this PR alone onmain.driver compile start ... compute PSO, 1383220 B DXIL, record 95cc13288a27a96e, driver blob supplied, the plain form.XCL_TEXTURE_LEVEL_PAGES=1 XCL_PLACE_RETIRE=0 XCL_CS_PSO_WAIT_MS=250 XCL_DRED=1.0x887a0006cs 1f2c0a6e62bc5346bound (132 of 1,529 operations done,cs 87b7403562ba17e7dispatches before it); the graphics list was inms 05fca5429fa919c6 ps 9ba3a7801435f7d6.95cc13288a27a96eis not in the breadcrumbs. After the removal the process did not exit and could not be killed (one thread left in a kernel wait).main9dfbe3ea+ this PR (two of the four runs with one more local change): four runs of about 690 s in the world each, no device removal.main53e85fb1without this PR lost the device about 60 s after the start prompt in both runs I made on this card, with a Dispatch ofcs 95cc13288a27a96ein the breadcrumbs.Hardware: NVIDIA GeForce RTX 5070 Ti 16 GB, driver 621.24 (32.0.16.2124), i7-12700K, 32 GB RAM, Windows 11 Pro 26200.
AI use: Claude Code, Claude Fable 5.2 made the runs and wrote this report.
Imported from ivall/xcl. Originally posted by KDenKC on 2026-12-01T02:26:08Z.
@BBareth thank you, and that's more than enough from you on this one 😄 Your 30-minute run earlier plus these seven (six clean, and run 7 a different removal: a page fault at VA 0x0 with
95cc13288a27a96enot in the breadcrumbs) cover the 5070 Ti side well. Please don't spend more evenings on it!AI use: an agent swarm: Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.2-Sol, Gemini 4 Neon and Gemini 3.8 Flash.
Imported from ivall/xcl. Originally posted by thehollowedone on 2026-12-01T04:44:41Z.
Cross-linking an AMD result relevant to this PR's adapter-wide default: the RX 7900 XT report in #505 tested
d52ff48cplus #3516. The affected compute program took the 1,383,220-byte plain form. In four runs, its driver compile lasted 150–311 seconds and returned0x8007000e; in seven more, it was still in the driver when the runs ended. Process commit reached the report's 48 GiB limit in most runs.That report's faster comparison tree differs in more than this PR and had a different cache history. It does not establish that #3516 regresses AMD against a matched current-
maincontrol, nor that the compact form is correct there. It does establish that the new plain-form path is costly on this AMD setup; the PR's current “AMD not tested” line misses that evidence.Before treating the 12,288-word default as an adapter-wide resolution, I suggest a matched AMD
main/head comparison with the same driver, inputs, and cache state, recording compile outcome, peak commit, and in-world behavior. If that comparison favors compact on AMD, the narrower RTX 50-series fallback already discussed in the PR description would preserve AMD's path while addressing the observed NVIDIA hang. The separate compact-table fixes in #3473 and #3475 should be assessed on their own heads.AI use: OpenAI Codex (GPT-6.2 Sol) checked the linked report, this PR's current head, and the source-level selection change. I did not run an AMD test.
Imported from ivall/xcl. Originally posted by KDenKC on 2026-12-01T04:53:15Z.
@thehollowedone thank you, agreed: crosettiremi's RX 7900 XT result shows the plain form of that program is the costly one on AMD, and an adapter-wide 12,288 default was not justified by evidence that is all NVIDIA's.
Narrowed in
8d7d5091(squashed): the limit is 12,288 only when the main adapter's vendor is NVIDIA (0x10DE) and stays 32,768 on every other adapter, as onmain;XCL_COMPACT_TABLE_WORDSstill sets it on any adapter. The vendor is noted where the title's device and the launch preparation's are made, so both pick the same limit and the same translated cache identity. Vendor-level rather than RTX 50 device ids, because all the hang evidence is NVIDIA's and a device-id list would have to follow every new card; on older NVIDIA cards that only costs the plain form's one-time compile (Gevroska measured 124 s cold on an RTX 3080, then a driver blob).The tests now check both: the plain-form test builds a program over 12,288 table words and checks that it gets no compact plan at NVIDIA's limit and keeps it at AMD's, and the switch test covers the limit by vendor. A matched AMD
main/ head comparison is still open, as you say; with this change AMD keepsmain's behaviour, so it is no longer needed for this PR.AI use: an agent swarm: Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.2-Sol, Gemini 4 Neon and Gemini 3.8 Flash.
Imported from ivall/xcl. Originally posted by SergeAx on 2026-12-01T05:10:47Z.
@KDenKC sorry, I can't take this one. I've switched to VIctory for this title and can't keep both set up: on my RTX 5080, XCL only stays in the world with the 2 GiB shader-heap profile (#2403, #2590), which I've removed, and my XCL shader cache is gone too, so both arms would start cold.
Imported from ivall/xcl. Originally posted by KDenKC on 2026-12-01T05:12:37Z.
@SergeAx no problem at all, thanks for letting us know. BBareth's and claudetools-gh's runs on RTX 5070 Ti cards since then cover what we asked for.
AI use: an agent swarm: Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.2-Sol, Gemini 4 Neon and Gemini 3.8 Flash.
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:33:49Z.
merge-check
base:
7d86c5d2b7head:
8d7d509179merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2898 passed, 0 failed, 51 ignored; SKIPPED: 28 (20 no wave64, 2 no d3d12SDKLayers.dll, 1 no D3D12 debug layer, 1 no heap windows, 1 cannot disable the driver cache, 3 others; the same set as on main); failing: none
review: read the whole diff. On NVIDIA, programs needing 12,289-32,768 compact-table words take the plain form again (the limit #3261 /
16f2f5c1raised to 32,768 goes back to 12,288 there), and every vendor's translated cache is rebuilt once after updating. Findings: (1) the limit is read on every translation (max_table_words()) from a vendor recorded only when a device is created, while the cache tag that marks it is fixed once intranslated::identity()/direct_output()(pso.rs~361, ~674, OnceLock).prepare_for_launch(shaders.rs~3279) callswarm_library::reuse->compatibility()->translation_cache_identity()(warm_library.rs~74 / ~91) before any device exists, so in that process the identity is the untagged one while later NVIDIA translations use 12,288: plain forms are cached under the identity other vendors use, and the host and its prepare workers (which create a device first) can disagree. Taking the vendor from the DXGI adapter before the identity is first computed (aspreparation_driver_identity_for_adapteralready selects it), or fixing the limit together with the tag, would avoid it. The PR's runs all usedXCL_PREPARE=0, as does the smoke run here, so this path is untested. (2) Nit: inadapter.rs~118 the new items sit under the doc comment ofname(), which now documentsNVIDIA. Fine: parsing and clamping ofXCL_COMPACT_TABLE_WORDS, the tag reaching all three identity sites throughcompact_nest_tag, and the CPU test checking both vendors' limits.performance: 60 s smoke of a retail title, main
7d86c5d2vs this merge (65c22e76): 1663 -> 1682 frames shown (101 %; last presents per 2 s: 61 60 60), peak commit 17153 -> 17493 MB, 0 device removals, 0 crashes.verdict: not yet: the cache identity is fixed before any device exists during preparation, so on NVIDIA plain forms can be cached under the untagged identity other vendors use (finding 1); fix the ordering, or say why preparation can't reach it
hardware / tool and model: RTX 5070 Ti (driver 621.14), Ryzen 7 7800X3D, Windows 11 26300 / Claude Code with Claude Opus 5.5
AI-written and posted by Foniass without a human check of each point.
Imported from ivall/xcl. Originally posted by Aniseto on 2026-12-01T08:37:12Z.
Ran the
compacttests at8d7d5091on an NVIDIA Blackwell desktop part with 16 GB of VRAM.Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, 16 GB, mesh shaders) driver 32.0.16.2140 (621.40), Intel Core i5-12400F, 64 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09), MSVC 14.44.35207, DXC 1.9.2609.5, debug build,
XCL_ADAPTER=NVIDIA, detached worktree at the exact PR head, no local patches.All 23
compacttests pass here, including the two named tests of the description. This adapter is NVIDIA, so it is the vendor whose default limit this PR changes; the CPU-only tests check the 12,288-word plain-form case and the switch parsing. No title run was done here.Not tested: the full workspace suite, a retail title in the world, the
95cc13288a27a96eprogram's Dispatch on this adapter,XCL_COMPACT_TABLE_WORDSwith a non-default value, AMD adapters, Wine, wave64 hosts, release profile, game data.AI-assisted (OpenCode), model: MiMo-V2.6-Flash Free - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used.
Imported from ivall/xcl. Originally posted by KDenKC on 2026-12-01T08:59:48Z.
@Foniass thanks for catching the preparation ordering: fixed in
868dd971(squashed). Launch preparation now records the selected adapter's vendor before computing its driver identity, sowarm_library::compatibility()sees the NVIDIA table limit when it first creates the translation cache identity. The adapter-name documentation is back onname().Validation on the RTX 3090:
build exit 0 (45 s); the compact-table test passed. The workspace suite is red:The failures are the same set this VM shows on the base without the PR (your run of main had none, so they are this machine's): D16 resinfo, placed-title-texture plus its three poisoned follow-on tests, and the end-to-end title test (
Invalid bitcode signature). I did not add a separate ordering test: the vendor state and translation identity are process-global/once-cached, so a unit test that resets them would race the parallel suite. The existingadapter_identity_matches_the_device_identitytest passed.A new regression pair for this head is running on the RTX 5090 and goes into the description when it lands.
AI use: an agent swarm: Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.2-Sol, Gemini 4 Neon and Gemini 4 Hydrogen.
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T09:04:23Z.
Re-review (head
868dd971, the 3-line change from8d7d5091read; not a merge-check, sincePR descriptionis red until the smoke pair is rerun on this head). Follow-up to my merge-check of8d7d5091.preparation_driver_identity_for_adapter(real.rs~9409) now notes the vendor of the adapter it selects.warm_library::reuseevaluates it as the argument ofcompatibility()(warm_library.rs~91), so the vendor is known beforetranslation_cache_identity()first fixes the identity. The selector is the one the device is made from later, so both agree. Nothing tests this ordering; a test that resets the vendor and checks the identity afterreusewould keep it from regressing.name(): fixed.Nothing else changed: the rest of the diff is identical to the head I merge-checked (suite 2898 passed / 0 failed, smoke 1663 -> 1682 frames). With the smoke pair rerun on this head it looks ready to me.
AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
Imported from ivall/xcl. Originally posted by Aniseto on 2026-12-01T09:07:30Z.
This is a new response on the same thread as my report at
8d7d5091(https://github.com/xcl-dev/xcl/pull/3516#issuecomment-7305558816); the head moved to868dd971(the preparation-ordering fix), so I am not editing that comment.Ran the
compacttests at868dd971on an NVIDIA Blackwell desktop part with 16 GB of VRAM.Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, 16 GB, mesh shaders) driver 32.0.16.2140 (621.40), Intel Core i5-12400F, 64 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09), MSVC 14.44.35207, DXC 1.9.2609.5, debug build,
XCL_ADAPTER=NVIDIA, detached worktree at the exact PR head, no local patches.The same 23
compacttests and the two named tests pass at the squashed head; the translation-ordering change did not alter these results here. No title run was done.Not tested: the full workspace suite, a retail title in the world, the
95cc13288a27a96eDispatch on this adapter,XCL_COMPACT_TABLE_WORDSwith a non-default value, AMD adapters, Wine, wave64 hosts, release profile, game data.AI-assisted (OpenCode), model: MiMo-V2.6-Flash Free - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used.
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T10:07:37Z.
Triage (#1607) – head
868dd97No other open PR changes the compact table limit this way (#3562 and #3479 touch the same
MAX_TABLE_WORDScheck for other purposes and will conflict). Main raised the limit from 12,288 to 32,768 in16f2f5c1; this PR puts NVIDIA back at 12,288.Possible problem:
compact.rs:max_table_wordsreadsadapter::main_vendor()each time, so any translation or cache identity computed beforenote_main_vendorruns (0 = unknown -> 32,768, no tag) would use a different limit and cache tag than later ones on NVIDIA. The PR notes the vendor at the title device, at the preparation device and inpreparation_driver_identity_for_adapter; worth checking that no other path (e.g.xcl cache status, offlinexcl shaders) computes the identity first.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
Imported from ivall/xcl. Originally posted by KDenKC on 2026-12-01T10:11:28Z.
@Foniass checked the other paths you named:
translation_cache_identity()has two callers,warm_library::compatibilityandwarm_replay::native_key. The runtime'sexpected()/expected_for_adapterevaluatepreparation_driver_identity*first,xcl cache statusgoes throughexpected_for_adapter(auto)(which notes the vendor beforecompatibility), warm replay'snative_keytakes the device's driver identity before the translation identity, and the offline shader / recompiler CLI paths don't compute it at all. So no other path fixes the identity before the vendor is known; no further change.AI use: an agent swarm: Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.2-Sol, Gemini 4 Neon and Gemini 4 Hydrogen.
Imported from ivall/xcl. Originally posted by AAsobu on 2026-12-01T14:31:48Z.
merge-check
base:
df0cfef638head:
ab04eaed37merge: clean
build: cargo build --workspace -> ok (release)
tests: cargo test --release --workspace --no-fail-fast -- --test-threads=4 -> 2915 passed, 0 failed, 51 ignored; SKIPPED: 28 (22 no wave64, 2 no heap windows, 3 no D3D12 debug layer / d3d12SDKLayers.dll, 1 no GPU_UPLOAD heaps); failing: none. The PR's 4 tests ran and pass (
a_program_whose_tables_pass_the_limit_takes_the_plain_form,compact_table_limit_switch_parses,compact_table_policy_freezes_vendor_with_its_cache_tag,offline_precompile_resolves_vendor_before_freezing_identity).review: the finding of my earlier check (
868dd971) is fixed on this machine. Read the whole diff (+245/-5:compact.rs,compact_tests.rs,kernel.rs,adapter.rs,real.rs,shaders.rs, README).-Pipelinesis reused by the title again.xcl shaders --precompilenow resolves the adapter and notes its vendor before the translation identity is taken, and the table limit is frozen with that identity. Same check as before: the same 14 compute programs of the pack (XCL_PRECOMPILE_SLICE=0/200 --only cs), the title's environment (XCL_DIRECT_DXIL=1, the sameXCL_DXC_DIR), each into an emptyXCL_DXIL_CACHE. Translated cache folder written:868dd971(earlier): prefill without--pipelines43c56ebc6f9ed0c7, titlee3241590f3eb508b: different.--pipelinesb5ed3d1b67da23d3, title (60 s, env below)b5ed3d1b67da23d3: the same.--precompilenow exits 2 when it finds no hardware adapter, so a translation-only prefill on a machine without a GPU stops instead of running.d3d12_adapterfromxcl.toml).performance: the in-world A/B of my earlier check was on
868dd971(mainb2b1f109vs that merge, 2 runs each of 420 s: no frame-time or memory change, 0 device removals). This head changes when the limit and the cache identity are fixed, not the limit itself: on NVIDIA it is still 12,288 words. I did not repeat the in-world runs; one 60 s run of this merge with an empty cache ended without a device removal.verdict: safe to merge: the prefill issue I reported is fixed and reproduced as fixed, the suite passes, and NVIDIA still gets the 12,288-word limit; the multi-adapter cases are untested here. The required
PR descriptioncheck is red on this head, which the author has to fix before it can be merged.hardware / tool and model: NVIDIA GeForce RTX 3090 24 GB (driver 621.24, wave32 only), Intel Core i5-10600K, 32 GB, Windows 11 Home build 26300, rustc 1.100.0 / Claude Code (Claude Opus 5.5), results checked by me
Imported from ivall/xcl. Originally posted by cj-tomlin on 2026-12-01T20:20:47Z.
merge-check claim
head:
868dd97145Imported from ivall/xcl. Originally posted by cj-tomlin on 2026-12-01T20:28:16Z.
merge-check
base:
f07e426dadhead:
868dd97145merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2905 passed, 1 failed, 51 ignored; SKIPPED: 27 (22 no wave64, 2 no heap windows, 3 no D3D12 debug layer / d3d12SDKLayers.dll); failing:
gpu_two_pass_cache_e2e::two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs, which fails on the base too: run alone 4 times each, 4 of 4 failed onmainf07e426dand 4 of 4 on the merge, same machine; this PR does not touch that path. The PR's two tests (a_program_whose_tables_pass_the_limit_takes_the_plain_form,compact_table_limit_switch_parses) ran and pass.review: none blocking, after reading the whole diff (+125/-5:
compact.rs,compact_tests.rs,kernel.rs,adapter.rs,real.rs,shaders.rs, README). The compact form's table limit is 12,288 words when the main adapter is NVIDIA and 32,768 otherwise or before the vendor is known;XCL_COMPACT_TABLE_WORDS(1..=32,768, else the vendor default) overrides it on any adapter, and a limit other than 32,768 goes into the translated cache identity throughcompact_nest_tag, so the two limits never share translations. The vendor is noted where the title's device and the preparation device are made and inpreparation_driver_identity_for_adapter. The new limit test is CPU-only and checks the plan choice at both vendors' limits; it is slow in a debug build. On NVIDIA, which this machine is, the change is in force: translations get the new tag and are made again once after updating. I did not run a title.performance: no measured run here. By default on NVIDIA, programs whose compact tables need 12,289 to 32,768 words take the plain form again, as before #3261; other adapters are unchanged. AAsobu's world runs above cover the title-level comparison.
verdict: safe to merge
hardware / tool and model: NVIDIA GeForce RTX 3080 10 GB, driver 621.40, AMD Ryzen 7 7800X3D, Windows 11 build 26300, debug build / Claude Code (Claude Opus 5.5) merged, built, ran the suite, read the diff and drafted this; I checked it.
Imported from ivall/xcl. Originally posted by KDenKC on 2026-12-01T21:38:06Z.
Heads-up on overlaps, found by trial merges on
main6bfb5c51:compact.rsandkernel.rs: this one replaces the constantMAX_TABLE_WORDSwithmax_table_words()(12,288 on NVIDIA) and changes the same cache-tag function. Whichever lands second takesmax_table_words()and joins the two tags.sized_plancheckp.words() <= MAX_TABLE_WORDS(compact.rs~337 merged) uses the constant this PR removes. The fix is one line (max_table_words()) in whichever lands second; we're happy to do it on our side if #3479 goes first.AI use: an agent swarm: Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.2-Sol, Gemini 4 Neon and Gemini 4 Hydrogen.
Imported from ivall/xcl. Originally posted by bmjask on 2026-12-02T10:46:53Z.
Review: COMMENTED
Review of
868dd971: 2 finding(s). These are on lines outside the diff:crates/xcl/src/shaders.rs:4072: On NVIDIA, the documented DXIL cache prefill (precompile-shaders.ps1 -Packagewithout-Pipelines, i.e.xcl shaders --precompile, README ~274) never creates a device, sonote_main_vendornever runs. It translates with the 32,768 limit and stores everything under the identity without the table tag, which the NVIDIA title never reads. Withpipelines=false,precompilemakes no Pipelines,main_vendor()is None,table_words_tag()is None, andtranslated::identity()is fixed without the tag. All ~16k programs, including95cc13288a27a96ein compact form, are written under that identity. At title start the device records 0x10DE, the identity getsxcl-compact-table-12288, every lookup misses, and every program is translated again at launch. Passing the vendor (or the limit) explicitly to the prefill, or not making the limit vendor-dependent, would keep the prefill useful.crates/xcl/src/gpu/recomp/pso.rs:362: Not certain about this one:translated::identity()anddirect_output()are computed once (OnceLock), butmax_table_words()reads MAIN_VENDOR live on everyautomatic_plan. A process that fixes the identity before the vendor is recorded, or whose vendor changes, stores translations made with one limit under the other limit's identity. Launch preparation callspreparation_driver_identity_for_adapter, which records the first candidate's vendor and fixes the identity with that tag.init_with_remapcan then fall through to another adapter and overwrite MAIN_VENDOR, so later translations use the new limit under the fixed identity. In the direction where the identity is fixed without the tag, translations at 32,768 are later served from cache on NVIDIA, and the compact form of95cc13288a27a96e(the hang this PR fixes) comes back. Resolving the limit once with the identity, or passing it with the translation request, would keep them consistent.These findings come from an AI-assisted review (Claude Code) and focus on correctness. Each is a candidate; please check it before acting on it.
Imported from ivall/xcl. Originally posted by KDenKC on 2026-12-02T11:50:20Z.
@bmjask thanks for the review. Both cache-ordering issues are fixed in
ab04eaed: offlinexcl shaders --precompileresolves the selected DXGI adapter and records its vendor before the translation identity is requested; if the vendor cannot be resolved, precompile stops before translating. Compact planning and both cache-identity tags now share one frozen table-policy snapshot. Calls made before a vendor is known use the portable 32,768-word ceiling without freezing it; the first known vendor (or valid explicit table limit) freezes the shared limit and tag.The focused tests cover the policy snapshot (
compact_table_policy_freezes_vendor_with_its_cache_tag) and the precompile ordering/failure path (offline_precompile_resolves_vendor_before_freezing_identity). Both pass. Isolated four-thread lib runs on the rebased head and its main base completed without a process crash. The head's four failures are the same fourtitle_texturesfailures on main; main had one additional intermittentpso_async::used_tests::retained_failed_demand_observes_another_binds_successful_retryfailure.The earlier whole-workspace run was on the pre-rebase head and its lib process was killed by an access violation while the VM lane was busy; I have not counted that as a clean result. The rebase removes the old-base D16 failure. A new smoke arm for
ab04eaedremains pending.AI use: an agent swarm: Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.2-Sol, Gemini 4 Neon and Gemini 4 Hydrogen.
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-02T11:53:10Z.
Follow-up review (head
ab04eaed, since868dd97, diff read, not a merge-check; checks red):preparation_driver_identity_for_adapternotes the vendor before it returns (real.rs~9442),warm_library::reuseandstatusevaluate it beforecompatibility()readstranslation_cache_identity()(warm_library.rs~91, ~153), and once a vendor is known the limit is frozen (compact.rs~257).name(): fixed (adapter.rs~134).xcl cache status, offlinexcl shaders): fixed.--precompileresolves the adapter first (shaders.rs~1233),xcl cache statusgoes throughexpected_for_adapter, and the other offline commands never note a vendor, so they key everything consistently at 32,768 with no tag.reuse: partly fixed.offline_precompile_resolves_vendor_before_freezing_identity(shaders.rs~4823) checks only thatprecompile_identity_after_vendorcalls its two closures in order; nothing checks thatrunorwarm_library::reusenotes the vendor first.868dd971block (the reasonPR descriptionis red).New:
Recompiler: freeze the compact table limit with its cache identity, a subject that does not say NVIDIA goes back to 12,288; the description still saysshaders.rsonly notes the vendor and does not mentionTablePolicy/table_policy_in, the vendor step and exit 2 in--precompile, or the two new tests, and Tested is for868dd971.xcl shaders --precompilenow refuses to run without a matching hardware adapter. It returns 2 whenpreparation_driver_identity_for_adapter("auto")finds none (shaders.rs~1233-1243,real.rs~9437), where before it translated and compiled with DXC without a device. That affectsscripts/precompile-shaders.ps1on a machine without a GPU, or with anXCL_ADAPTERthat matches nothing (the title itself falls back toauto,real.rs~988); since an unknown vendor already gives a consistent 32,768 with no tag, a warning would do.table_policy_indeliberately does not freeze while the vendor is unknown (compact.rs~267) whiletranslated::identity()anddirect_output()freeze on first use (pso.rs~360, ~673); agreement still depends on every caller noting the vendor first. The current callers do, but nothing enforces it.Fine: the tag reaches every key that depends on the limit through
compact_nest_tag(kernel.rs~107): the translated identity,direct_output,compute_policy_keyand the legacy migration identity; the warm library keys on the translation identity and the pipeline library is gated on its receipt.AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
Imported from ivall/xcl. Originally posted by bmjask on 2026-12-02T12:15:07Z.
Review: COMMENTED
Review of
ab04eaed: 4 finding(s).Re-review at
ab04eaed. Precompile now records the vendor before the identity freezes, and the limit is frozen with the identity, which addresses both points from my earlier review in the normal case. The vendor-freezing approach has some new edge cases: 4 are inline.These findings come from an AI-assisted review (Claude Code) and focus on correctness. Each is a candidate; please check it before acting on it.
Imported from ivall/xcl. Originally posted by bmjask on 2026-12-02T12:15:07Z.
Code review location:
crates/xcl/src/shaders.rs; line 1233xcl shaders --precompilenow exits 2 wheneverpreparation_driver_identity_for_adapter("auto")can't find a hardware DXGI adapter, so translation-only precompile (no--pipelines) no longer runs on a machine without a GPU. On a CI box or headless VM with no hardware adapter (theCIcheck runs on Windows with no GPU),candidates()is empty, the function returns beforenote_main_vendor, and the command prints "could not resolve the selected DXGI adapter vendor" and exits 2. Before this PR it translated and filled the DXIL cache. WithXCL_ADAPTER=<typo>, the title falls back to Auto (real.rs:990), but precompile now hard-fails instead. Falling back to the non-NVIDIA limit (or an explicit--vendor) when no adapter is found would keep it working.Imported from ivall/xcl. Originally posted by bmjask on 2026-12-02T12:15:07Z.
Code review location:
crates/xcl/src/hle/d3d12x/real.rs; line 9442preparation_driver_identity_for_adapterrecords the vendor of the first candidate, but the title's device creation (real.rs:991-1001) moves on to the next candidate whencreate_devicefails and falls back to Auto. Whichever vendor is recorded first freezes the policy for the process. If launch preparation (warm_library::reuse->expected_for_adapter) records vendor A and freezestable_policy, andinit_with_remapthen can't create a device on A and falls through to adapter B from another vendor,note_main_vendor(B)is ignored. The title runs on B with A's limit and cache tag, e.g. NVIDIA's 12,288 on an AMD device, where the PR says the plain form takes minutes to compile and runs out of memory.Imported from ivall/xcl. Originally posted by bmjask on 2026-12-02T12:15:07Z.
Code review location:
crates/xcl/src/shaders.rs; line 1235Offline precompile records the first
auto/XCL_ADAPTERcandidate's vendor and ignores thed3d12_adaptersetting in xcl.toml. Since the translated identity is now vendor-dependent, a mixed-vendor multi-GPU machine can build a cache the title never looks up. On a laptop with an NVIDIA dGPU (first in high-performance order) and an AMD/Intel GPU chosen in xcl.toml,xcl pso-precompile <game>without XCL_ADAPTER freezes at NVIDIA 12,288 and tags the identityxcl-compact-table-12288. The title's AMD device has no tag, so every precompiled translation misses. Resolving the adapter through the sameSelector::from_env_or(cfg.d3d12_adapter)the title uses would match them.Imported from ivall/xcl. Originally posted by bmjask on 2026-12-02T12:15:07Z.
Code review location:
crates/xcl/src/gpu/dxil/compact.rs; line 275Not certain about this one: the limit and tag still come from a process-global vendor set as a side effect at a few sites, and paths that never record it use 32,768 with no tag.
xcl shaders --export-hlsland--direct(export_hlslat shaders.rs:1325,direct_sweepat shaders.rs:5337) never create a Pipelines or callnote_main_vendor. On an RTX 5090 they translate95cc13288a27a96ewith limit 32,768, the compact form that hangs, so developers export or validate DXIL the NVIDIA runtime never produces. Resolving the vendor lazily insidetable_policy(), or passing the limit with KernelOptions, would remove the call-order dependence.Imported from ivall/xcl. Originally posted by bmjask on 2026-12-02T14:12:13Z.
@Prime1997 could you take a look at this one for review and merge? My automated review notes are above, if any.
Imported from ivall/xcl. Originally posted by TripyFox on 2026-12-02T20:27:27Z.
merge-check
base:
c53e969602head:
ab04eaed37merge: conflicts (one hunk:
crates/xcl/src/gpu/dxil/kernel.rs,compact_nest_tag:mainnow also adds theXCL_WAVE64_IDIOMS=0tag there; resolved locally by puttingcompact::table_words_tag()intomain's tag list, all three tags joined with-)build: cargo build --workspace -> ok; cargo build --release --workspace -> ok (on the locally resolved merge)
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 3008 passed, 0 failed, 52 ignored; SKIPPED: 26 (22 no wave64, 2 no heap windows, 2 no xgameruntime.dll); failing: none (the first pass had 2
e2efailures because the debug test title was not built yet; aftercargo build --workspace,cargo test -p xcl --test e2e-> 5 passed, 0 failed)review: read the whole diff. Besides the conflict above, nothing found: the 12,288-word limit applies only when the adapter vendor is NVIDIA, the policy freezes only once a vendor (or an explicit
XCL_COMPACT_TABLE_WORDS) is known, and the limit goes into the translated cache identity, so the first run after updating translates again (here 1,621 used shaders in 17.4 s, 0 errors). On the retail title the change does what it says: see the world-load runs below.performance: by default only on NVIDIA. Record 95cc13288a27a96e becomes a 1,588,320-byte DXIL program; with a supplied driver blob its compute PSO took 772 ms. Not measured with
smoke.ps1.verdict: not yet: conflicts with current main in kernel.rs (needs a rebase). On an RTX 5090 it removes the GPU exception that ended the world load on
main, but the title still loses the device later in the load (below), which looks like a separate problem.hardware / tool and model: NVIDIA GeForce RTX 5090 32 GB, driver 621.40, AMD Ryzen 7 9800X3D, 64 GB, Windows 11 build 26200.9974, Rust 1.100.0, release build for the title runs / Claude Code (Claude Opus 5.5) ran the build, tests and title runs, read the diff and drafted this
World load on the retail title 1.0.2.1 (Series X profile, 4K swap chain, no Gaming Services installed, same data and DXIL cache folders across the runs):
nvlddmkmeventmainc53e96960x887a0006(device hung) at frame 3,400, after ~3,000 frames at 30 fpsGraphics Exception: SKEDCHECK23_CONSTANT_BUFFER_SIZE failedmainc53e9696,XCL_DRED=10x887a0006at frame 1,248. DRED: list on the direct queue with 93 of 393 operations done, the pipeline bound therecs 95cc13288a27a96e, the next dispatch not done; page fault VA 0x0SKEDCHECK23_CONSTANT_BUFFER_SIZE failedXCL_DRED=10x887a0005at frame ~1,314 (226 s). DRED device state 0, no list in flight, page fault VA 0x095cc13288a27a96etakes the plain form (1,588,320 B DXIL) and runs; it is not in the DRED output.Not tested: AMD and other NVIDIA generations;
scripts/smoke.ps1onmainvs this PR; a run with a warm driver cache for the graphics pipelines of the world load.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.