Linux/Proton (RADV): six compute pipelines that never finish (280 ms -> 53 ms a frame), heads, faces, GPU faults: all Wine-only #129

Closed
github-bot wants to merge 15 commits from github-bot/gh-129 into main AGit
Owner

@⁠Beqren on GitHub · 2026-11-26 06:02 UTC · original
Beqren:linux-proton → main · +1659 −59 · 19 files · 15 commits · closed without merging

Draft, being reworked. Please do not review the commits yet. After this was opened I audited every commit against the newest vkd3d-proton, this tracker and the sibling trees. Several claims in the first description were wrong or overstated. This is the corrected account; the branch will be replaced by a smaller one that contains only what held up.

Tested on one machine: CachyOS (kernel 7.3), Radeon RX 9070 16 GB, Mesa RADV 26.3.1, Proton Experimental 11.0-20261112 (vkd3d-proton 3.2.0), view-tree wineserver (CachyOS/wine-cachyos#50), Series X profile, the play.ps1 settings. Not tested on Windows, NVIDIA, Intel or other AMD cards.

What the audit found

Commit Verdict
One latch per loop A stopgap, not a fix. With vkd3d-proton 3.2.0 six of the title's compute pipelines are never made (17829ac71aab4e8d, 32ed072b9f845048, afeea48bbb9913ad, 559d9f0184e15fe3, a1b20bc47e3c9597, e8c962358d862e3f: 6 of 6 hang when built alone) and every frame spends its whole 500 ms pipeline-wait budget: 285 ms a frame instead of 55. That is a dxil-spirv bug fixed upstream on 2026-11-24/25 (694cc67, 3bc8276). With vkd3d-proton 71cae09 built from source, all six are made without this change, at the same 55 ms. So it only helps until Proton ships that vkd3d-proton, and VICTORY_PIPELINE_WAIT_MS=0 gives the same frame time without it. Also: it adds a byte to the shader cache key on every host, so "nothing changes on Windows" was not exact.
A compute dispatch waits for its own pipeline Holds up, but my explanation was wrong. A compute dispatch the title issues once is dropped when its pipeline is not ready; for the head blend-shape map (61e54e90adccaf6a) that means heads without skin. Reproduced with the wait off and a cold driver shader cache on vkd3d-proton 3.2.0 and on 71cae09; with a warm cache the skin was there even with the six stuck. So it is a cold-cache timing race, not a vkd3d-proton fault and probably not Wine-specific (cf. #75). It also runs against the direction of #73 / #125, which cap waits; that needs discussing, not asserting.
Early list without a pipeline library Wrong diagnosis; will be dropped. vkd3d-proton does not refuse the library: the layer asks for an empty one with a non-null pointer and length 0, which d3d12_pipeline_library_init rejects. The fix is a null blob, as in Marvisak/VIctory#347 (AugustoZFJ) and fxceless/victory-fork#885 (Filip722).
Format kind of views read through tables The same fix as #114 (still faces on Windows), so not Wine-specific and not mine to claim. Will be dropped in favour of #114.
16-bit typed loads after a group barrier read the raw view Torn faces went away with it here (vkd3d-proton 3.2.0 + RADV 26.3.1, by eye). Not tested on vkd3d-proton master or any other driver, and "a RADV behaviour" is not established. Depends on the table-slot words, so it will come back separately, after #114, with a test on master.
Texture slots wait for earlier lists (extension of VICTORY_SHOW_NEW_LATER); null views read zeros; the no-heap guard; retiring a released heap; read-back hardening No reproduction in this tree. Their evidence is device losses in another tree. The null-zeros commit also has a defect (every null UAV shares one buffer that shaders write, so a read of a null UAV can see another pass's writes). These will be left out until one of them is shown to be needed here.
VICTORY_KEYS in every build; docs/proton.md Fine; the doc is being corrected in line with the above.

Other corrections: the 53 ms median I quoted is not in any log (the sessions' medians are 40 to 78 ms; controlled runs give 55 to 57 ms). The suggestion that #61 and #70 are related was unfounded (#70's six hashes are different ones). Faces were only checked in sessions resumed from one checkpoint and only on vkd3d-proton 3.2.0.

What will be in the reworked branch

  1. An empty pipeline library asked for with a null blob (credit as above), so the library and the early list work under Proton.
  2. A compute dispatch waits for its own pipeline, with the cause stated as above and the gate open for discussion.
  3. The single-latch stopgap, labelled as such and off the cache key outside Wine, or left out if you would rather only document VICTORY_PIPELINE_WAIT_MS=0.
  4. docs/proton.md, corrected.

Each re-tested on vkd3d-proton 3.2.0 and on master before it is marked ready.

The investigation, the code and this audit were done with an AI coding assistant (Claude Code), directed and tested by me; the numbers are from this machine's logs. The first description should have been checked this way before it was posted.

**@⁠Beqren** on GitHub · 2026-11-26 06:02 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/129) `Beqren:linux-proton` → `main` · +1659 −59 · 19 files · 15 commits · closed without merging > **Draft, being reworked. Please do not review the commits yet.** After this was opened I audited every commit against the newest vkd3d-proton, this tracker and the sibling trees. Several claims in the first description were wrong or overstated. This is the corrected account; the branch will be replaced by a smaller one that contains only what held up. Tested on one machine: CachyOS (kernel 7.3), Radeon RX 9070 16 GB, Mesa RADV 26.3.1, Proton Experimental 11.0-20261112 (vkd3d-proton 3.2.0), view-tree wineserver (CachyOS/wine-cachyos#50), Series X profile, the `play.ps1` settings. Not tested on Windows, NVIDIA, Intel or other AMD cards. ## What the audit found | Commit | Verdict | |---|---| | One latch per loop | **A stopgap, not a fix.** With vkd3d-proton 3.2.0 six of the title's compute pipelines are never made (`17829ac71aab4e8d`, `32ed072b9f845048`, `afeea48bbb9913ad`, `559d9f0184e15fe3`, `a1b20bc47e3c9597`, `e8c962358d862e3f`: 6 of 6 hang when built alone) and every frame spends its whole 500 ms pipeline-wait budget: 285 ms a frame instead of 55. That is a dxil-spirv bug fixed upstream on 2026-11-24/25 (`694cc67`, `3bc8276`). With vkd3d-proton `71cae09` built from source, all six are made **without** this change, at the same 55 ms. So it only helps until Proton ships that vkd3d-proton, and `VICTORY_PIPELINE_WAIT_MS=0` gives the same frame time without it. Also: it adds a byte to the shader cache key on every host, so "nothing changes on Windows" was not exact. | | A compute dispatch waits for its own pipeline | **Holds up, but my explanation was wrong.** A compute dispatch the title issues once is dropped when its pipeline is not ready; for the head blend-shape map (`61e54e90adccaf6a`) that means heads without skin. Reproduced with the wait off and a cold driver shader cache on vkd3d-proton 3.2.0 **and** on `71cae09`; with a warm cache the skin was there even with the six stuck. So it is a cold-cache timing race, not a vkd3d-proton fault and probably not Wine-specific (cf. #75). It also runs against the direction of #73 / #125, which cap waits; that needs discussing, not asserting. | | Early list without a pipeline library | **Wrong diagnosis; will be dropped.** vkd3d-proton does not refuse the library: the layer asks for an empty one with a non-null pointer and length 0, which `d3d12_pipeline_library_init` rejects. The fix is a null blob, as in Marvisak/VIctory#347 (AugustoZFJ) and fxceless/victory-fork#885 (Filip722). | | Format kind of views read through tables | **The same fix as #114** (still faces on Windows), so not Wine-specific and not mine to claim. Will be dropped in favour of #114. | | 16-bit typed loads after a group barrier read the raw view | Torn faces went away with it here (vkd3d-proton 3.2.0 + RADV 26.3.1, by eye). **Not tested** on vkd3d-proton master or any other driver, and "a RADV behaviour" is not established. Depends on the table-slot words, so it will come back separately, after #114, with a test on master. | | Texture slots wait for earlier lists (extension of `VICTORY_SHOW_NEW_LATER`); null views read zeros; the no-heap guard; retiring a released heap; read-back hardening | **No reproduction in this tree.** Their evidence is device losses in another tree. The null-zeros commit also has a defect (every null UAV shares one buffer that shaders write, so a read of a null UAV can see another pass's writes). These will be left out until one of them is shown to be needed here. | | `VICTORY_KEYS` in every build; `docs/proton.md` | Fine; the doc is being corrected in line with the above. | Other corrections: the 53 ms median I quoted is not in any log (the sessions' medians are 40 to 78 ms; controlled runs give 55 to 57 ms). The suggestion that #61 and #70 are related was unfounded (#70's six hashes are different ones). Faces were only checked in sessions resumed from one checkpoint and only on vkd3d-proton 3.2.0. ## What will be in the reworked branch 1. An empty pipeline library asked for with a null blob (credit as above), so the library and the early list work under Proton. 2. A compute dispatch waits for its own pipeline, with the cause stated as above and the gate open for discussion. 3. The single-latch stopgap, labelled as such and off the cache key outside Wine, or left out if you would rather only document `VICTORY_PIPELINE_WAIT_MS=0`. 4. `docs/proton.md`, corrected. Each re-tested on vkd3d-proton 3.2.0 and on master before it is marked ready. The investigation, the code and this audit were done with an AI coding assistant (Claude Code), directed and tested by me; the numbers are from this machine's logs. The first description should have been checked this way before it was posted.
The scripted key presses were compiled only into diagnostics builds, so an
automated run of a release build sat at the start screen. They now work in
every build.

Inert: nothing happens unless VICTORY_KEYS is set.

Verified here: a release build under Proton (off-screen) got past the start
screen by itself with VICTORY_KEYS set. Untested on Windows and on other cards.
Under Proton (vkd3d-proton on RADV) six compute programs of the title were
translated and never got a host pipeline: 559d9f0184e15fe3,
a1b20bc47e3c9597, e8c962358d862e3f, 17829ac71aab4e8d, 32ed072b9f845048
and afeea48bbb9913ad. Every world frame showed "(6 being made)" and spent
its whole pipeline wait budget (500 ms) on them; with
VICTORY_PIPELINE_WAIT_MS=0 the same scene ran at 35-80 ms a frame.

The cause: on a loop with two back edges (a `continue`) vkd3d-proton's
DXIL to SPIR-V converter recurses without end
(`CFGNode::find_common_dominator` and `recompute_immediate_dominator`)
until the stack overflows; under Wine that ends the worker thread without
a word, and its pipeline stays "being made". DXC writes every loop with
one latch, so the converter never meets the other form from it.
`Module::one_latch` gives every loop one: the blocks that branched back
branch to a new block that joins what each brought (phis) and branches
back alone. The program does the same.

Active only under Wine (`VICTORY_ONE_LATCH`: unset, on under Wine only;
`0` never; `1` on any host). The shader cache keys on it. `on_wine` moves
into the GPU crate (`victory_gpu::wine`, with `on_under_wine` for such
switches; xmem uses it from there); the shader crate keeps its own copy of
the probe, since it cannot depend on the GPU crate.

Verified here (Proton Experimental, vkd3d-proton g2576c0b4a, RX 9070, Mesa
RADV): tools/pipes.sh (translate one program, make its host pipeline):
all six HUNG (worker idle, no pipeline) without the change; all six OK
with it. Unit test `loops_get_one_latch` passes. Untested on Windows and
on other cards (and inert there unless the switch is set).
A first use waits for its pipeline within 500 ms a frame shared by all
threads; past that a draw or dispatch is dropped. A dropped draw loses one
frame's picture; a dropped dispatch the title issues once loses its output
for the session. Under Proton the world's first frame asks for hundreds of
pipelines (vkd3d-proton keeps no pipeline library), and the one-off passes
dropped there included the head blend-shape mapping (61e54e90adccaf6a):
its maps stayed at the title's fill and the heads were never built (eyes,
teeth and hair floating without skin; issue 111, problem 1). On the
owner's tree, with dispatches waiting, the heads came back (runs blend-5
and blend-6: 679 waits, 657 ms over the run, longest 19 ms).

A compute dispatch now waits for its own pipeline until it is made, up to
20 s (inside the title's 30 s GPU watchdog), once per pipeline. One not
made in that time is given up: counted, logged ("a compute pipeline was
not made in 20 s"), and its later dispatches are dropped without any
wait, so a pipeline that never builds costs 20 s once and no frame budget
after. A second dispatch racing the first wait waits within the frame's
budget as before. The wait is on the recording thread before the dispatch
is recorded, so it keeps its place in the list.

Active only under Wine (`VICTORY_COMPUTE_WAIT`: unset, on under Wine
only; `0` never; `1` on any host); on Windows the 500 ms budget applies
as before. It does not depend on VICTORY_PIPELINE_WAIT_MS.

Verified here (Proton Experimental, RX 9070, RADV): builds (release and
diagnostics); title runs to follow. Untested on Windows and on other cards
(and inert there by default).
Title pipelines a run drew or dispatched with are listed, and the next run
starts them when the title creates them, during its load; `victory warm
--used` makes the same list ahead of a run. The list (and the slow list
beside it) was written only beside the host pipeline library.
vkd3d-proton refuses the library ("no host pipeline library: pipelines
are not kept" in every run under Proton), so the list was never written
there: every session began with "title pipelines to start early" at 0,
made every pipeline at its first draw, and `warm --used` found nothing.

Without a library the two lists are now written alone, as often as the
library would be (at most every 20 s, when they changed).

Active only under Wine (`VICTORY_EARLY_LIST`: unset, on under Wine only;
`0` never; `1` on any host), and only reached when the host has no
pipeline library, which a Windows driver has: nothing changes on Windows.

Verified here (Proton Experimental, RX 9070, RADV): see the runs' "early
pipeline list saved (no host pipeline library)" and the next run's
"title pipelines to start early" lines. Untested on Windows and on other
cards (and inert there by default).
The fork copies the ocean's shader-written height and displacement maps
back into title memory (VICTORY_TEXTURE_BACK, on), which is what boats and
swimmers float on. The owner's Proton tree hardened the same code after a
play crash review; this ports what the fork lacks:
- a mark written behind the copies (VICTORY_FETCH_MARK, =0 off): the card
  may finish a list's fence on a lost device before the loss is reported,
  and the buffer's zeros were then tiled into title memory. A landing
  without its mark writes nothing. Without ID3D12GraphicsCommandList2 the
  buffer is kept (the list names it) and has no mark.
- only the 64-byte pieces that changed are written (each through
  copy_mapped as before, which opens the piece's guards and tells the
  descriptor side), not the whole texture over a title write that lands
  between our read and our write.
- only textures of one subresource and of the title's format, in a layout
  the formats crate can tile, are taken: the other mips' card contents went
  over the title's texels.
- a line per texture taken and a 10 s line of counts (recorded, landed,
  unchanged, stale, unmarked, failed, bytes).

Form: active only under Wine (new crates/victory-gpu/src/wine.rs with
on_wine(), as in victory-hle's xmem.rs; one of the two should go). On
Windows the read-back does exactly what it did.

Verified here: release build; the off-screen Proton title run below.
Untested on Windows and on other cards.
Written from the owner's Proton tree's docs/proton.md and README, for this tree. Text only. What was measured was measured on one machine (CachyOS, RX 9070, RADV 26.3.1, Proton Experimental with the patched wineserver; frame times confirmed on mainline Wine 11.17). Switch names of fixes still being ported are as in the owner's tree.
Fixes still faces and glowing eyes. The face network (the 65
compute_graph_ops programs: MatMul, Gather, Formula ...) is bound
entirely through descriptor tables and keeps its 16-bit tensors in
R16_UINT and R16G16B16A16_UINT views. The fork's port of upstream 4243a96
(9a6c829) gives d16 typed accesses their view's integer kind only for
buffers a program picks from the heap, and the host enters no word for
the dynamic slots it copies tables into. So the network read its
integers as halves, then 0, its output (the R16_UINT buffer the head
extract 970c4fbb3b017c0e reads) stayed zero: faces did not move and the
eyes, which the rig drives too, glowed.

Now, with the switch, a d16 typed access through a table reads its view's
word too (the program binds the table by slot), and the host writes the
word of every dynamic slot it makes from a view (make_at, make_listed),
0 for constant buffers, null views and slots just taken. From the
owner's tree (fd6f41a, 514441e), where the same change made the
network's output alive; the shader half is new here, as the fork's
integer path was the heap's alone.

Form: on only under Wine by default (victory_gpu::wine::on_wine, passed
to the translator as set_host_wine); VICTORY_TABLE_SLOT_WORDS=0 turns it
off, =1 on anywhere. The choice is in host_settings, so the shader
cache's key changes with it. Untested on Windows and on cards other than
the RX 9070 (RADV).

Verified here: host tests of the shader crate (a d16 load through a table
binds the table by slot with the switch, not without it, not for a 32-bit
load), the whole-pack scan with the switch forced on, and a title run
(see the next commit, which needs this one).
VICTORY_SHOW_NEW_LATER holds a slot back until every submission begun
before its texture was made has finished: the owner's `sent` rule, with no
window between a look and the write (a submission begun later was sent
after the texture's memory existed). But it knew only textures cut from
blocks (pool::made_now): a committed or reserved host copy (over half a
block, a clear value, several samples, the swizzle the pool leaves out, a
texture the pool refused, every target) was shown at once, and a first
upload on the copy queue (VICTORY_UPLOAD_AHEAD) flipped its slot when the
copy queue's fence passed, whatever still ran on the drawing queue. On
amdgpu a memory object newer than a running submission is not valid for
it: the owner's tree lost the device so (play-va1, a fault inside a live
4096x4096 host texture made the moment the hung submission began) until
every fresh texture's slot write waited.

Now HostTexture::new and new_tiled note every host copy as new, and the
copy-queue flip waits for the submissions begun before its texture. Active
only under Wine (on_wine), off with VICTORY_PUBLISH_SAFE=0; Windows and
other systems unchanged. Counters on the meter line. Decision functions
unseen_by and ahead_after tested. Untested on Windows and on other cards.
Fixes torn faces (mouths agape, teeth under the nose) once the face
network runs (previous commit). On RADV through vkd3d-proton, a typed
(texel buffer) load after the group barrier in a compute program that
also stores to UAVs can return a value from before another wave's store
that preceded the barrier; a raw (storage buffer) load of the same bytes
sees it. In the owner's tree a replay of the network's Formula program
(0aa7934094794dbf: 1,024 threads keep a register file in an R16_UINT
view, a barrier between its 12 stages) left a CPU model of its console
code from stage 2 (1 register, 119 by stage 12) whatever the barrier's
fence bits, globally coherent views or RADV's LLVM backend; one dispatch
a stage, or raw loads, matched the model after every stage.

Now, in compute programs that store to UAVs, use s_barrier and have
typed buffer loads, a d16 typed UAV load of 1, 2 or 4 channels also
loads the element through the slot's raw view (the fork's raw twin of
the slot, or the slot itself where there are none), and the table by
slot's word picks at run time: only views marked integer with 2, 4 or 8
bytes an element (as many as loaded) take the raw value. Views read
through tables need the previous commit's words. From the owner's
8c39cb4, on the fork's slot words and raw twins.

Form: on only under Wine by default (set_host_wine);
VICTORY_RAW_TYPED_LOADS=0 turns it off, =1 on anywhere. The choice is in
host_settings, so the shader cache's key changes with it. Windows
drivers were not tested (the stale typed load is a vkd3d-proton/RADV
behaviour), nor cards other than the RX 9070.

Verified here: host tests of the shader crate (the raw load is emitted
with both switches and a barrier, not without a barrier or either
switch), the whole-pack scan, and a title run.
Null shader, constant and unordered buffer views (null_for,
null_buffer_view, null_raw_at, null_raw_uav_at) become views of a 64 MiB
buffer of zeros (unordered ones of a second, written into and never read
back). That includes every slot of the title-memory run, slot 0 among them:
pages without a copy, address 0 where ray-tracing passes run with ray
tracing off are handed a structure that is not there, read zeros there (the
owner's VICTORY_MEMORY_RUN_FIRST first slot). Root constant and shader views
the fork left unset (never set by the title, no host copy, a host address
under 1 MiB, no stride table) are bound to those zeros, each pipeline and
cause logged once.

Why: the owner's runs lost the device on amdgpu "SQC (data)" reads at GPU
addresses 0x0 to 0xc4000 (play-va2: a buffer read through a view at base 0;
grave-10, ports/run1: an unset root view): on vkd3d-proton's path a null
buffer view holds the load to no bound, an unset root view is address 0.

Active only under Wine (on_wine); Windows and other systems unchanged.
Decision functions zeros_on and root_address_ok tested. Untested on Windows
and on other cards.
Its tables are offsets into a heap the list does not have, so the shader
reads descriptors at those offsets from address 0. One device loss in the
owner's tree (reads at 0x0, 0x80000 and 0xbf000 at world entry, on the real
screen only) had this among its two candidate causes; a later build of his
guarded it. The fork lends the title's heap to draws with root views but had
nothing for table reads. Count on the meter line. Decision function
drop_for_no_heap tested. Untested on Windows and on other cards.
The fork retires what a slot stops viewing (HostHeap::keep) and objects
lists name (host::retire, by submissions, with VICTORY_BURY_LAG), but a
released heap dropped every resource its slots held at once, while lists in
flight that bound it hold only the descriptor heap object: a shader reading
a slot of it read freed memory (the owner's graveyard rule, d46d31b). And
the title-memory runs are kept by heap address and were never taken out: a
heap made later at the same address took the old one's run, slots it never
set aside and that other writers fill, so the directory's numbers named
whatever views those held (one of the two candidate causes of the owner's
unexplained reads near address 0).

Active only under Wine (on_wine); Windows and other systems unchanged.
Untested on Windows and on other cards.
The wait for compute pipelines outside the frame's budget
(`VICTORY_COMPUTE_WAIT`) was taken once per pipeline: a dispatch on a
second recording thread, made while the first thread was waiting,
waited within the frame's budget, which the world's first frame has
spent, and was dropped. In run t1 a dispatch of 91b10a73e48b2192 was
dropped that way at frame 883, 18 ms before its pipeline was made; a
dispatch the title issues once loses its output for the session.

Every dispatch of a compute pipeline not made yet now waits until it is
made, up to 20 s; a pipeline not made in 20 s is still given up (once,
counted and logged, however many threads waited for it) and its later
dispatches are dropped without a wait, so a pipeline that is never made
still costs no frame budget after that.

Active only under Wine (`VICTORY_COMPUTE_WAIT`, as before); nothing
changes on Windows. Verified here: builds (release and diagnostics); the
title run is queued. Untested on Windows and on other cards (and inert
there by default).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:12:47 +00:00
Author
Owner

@⁠zocram4cc on GitHub · 2026-11-26 08:12 UTC · original

@⁠Beqren thanks for this, it matches what we see on a similar Linux setup (Proton Experimental, RADV 26.3.1, RX 6900 XT, Ryzen 7 5800X3D, kernel 7.3). Two measured notes that may be worth a line in docs/proton.md:

  1. WINE_CPU_TOPOLOGY. Linux numbers SMT siblings n and n+8 (on an 8-core part); the title pins its threads as if siblings were adjacent (2k, 2k+1, as Windows numbers them), so here its 0-7 and 8-12 groups landed on the same five physical cores. With WINE_CPU_TOPOLOGY=16:0,8,1,9,2,10,3,11,4,12,5,13,6,14,7,15 the title's masks land as intended (0-3,8-11 = cores 0-3 with both siblings, and so on) and the busiest title thread went from 64 % to 71 % busy. Frame, median of the first 150 world seconds: 91.1 / 84.7 / 88.6 ms against 92.4 / 90.5 / 93.3 / 90.3 without (about −3 %). The list is per CPU (16 logical CPUs here); lscpu -e or /sys/devices/system/cpu/cpu*/topology/thread_siblings_list gives the pairs.
  2. Series S. On this card --console series-s was 79.7 / 79.2 ms against 87.9 / 85.1 for Series X (release build, same scenes), the slowest frame of each second 104 / 98 against 140 / 134, and in a capture the faces had their skin there while they were missing in Series X on our tree without your commits. I have not yet run your branch itself in-game (integrated it here; your 14 new tests pass under Proton), so I can't say whether that difference remains with your compute-wait fix.

Not tested on Windows. AI-assisted (Claude); measured by me on the rig above.

**@⁠zocram4cc** on GitHub · 2026-11-26 08:12 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/129#issuecomment-7186324761) @⁠Beqren thanks for this, it matches what we see on a similar Linux setup (Proton Experimental, RADV 26.3.1, RX 6900 XT, Ryzen 7 5800X3D, kernel 7.3). Two measured notes that may be worth a line in `docs/proton.md`: 1. **`WINE_CPU_TOPOLOGY`.** Linux numbers SMT siblings `n` and `n+8` (on an 8-core part); the title pins its threads as if siblings were adjacent (`2k`, `2k+1`, as Windows numbers them), so here its `0-7` and `8-12` groups landed on the same five physical cores. With `WINE_CPU_TOPOLOGY=16:0,8,1,9,2,10,3,11,4,12,5,13,6,14,7,15` the title's masks land as intended (`0-3,8-11` = cores 0-3 with both siblings, and so on) and the busiest title thread went from 64 % to 71 % busy. Frame, median of the first 150 world seconds: 91.1 / 84.7 / 88.6 ms against 92.4 / 90.5 / 93.3 / 90.3 without (about −3 %). The list is per CPU (16 logical CPUs here); `lscpu -e` or `/sys/devices/system/cpu/cpu*/topology/thread_siblings_list` gives the pairs. 2. **Series S.** On this card `--console series-s` was 79.7 / 79.2 ms against 87.9 / 85.1 for Series X (release build, same scenes), the slowest frame of each second 104 / 98 against 140 / 134, and in a capture the faces had their skin there while they were missing in Series X on our tree without your commits. I have not yet run your branch itself in-game (integrated it here; your 14 new tests pass under Proton), so I can't say whether that difference remains with your compute-wait fix. Not tested on Windows. AI-assisted (Claude); measured by me on the rig above.
Author
Owner

@⁠zocram4cc on GitHub · 2026-11-26 08:49 UTC · original

In-game on Linux (RX 6900 XT, RADV 26.3.1, Proton Experimental), your branch integrated on top of 85d5641 + our commits: the faces are fixed in Series X (skin on necks and faces in frame captures where it was missing without this PR), 211 world seconds from a cold shader cache with no crash, and the frame is unchanged (87.5 / 84.7 ms against 87.9 / 85.1; numbers in #156).

**@⁠zocram4cc** on GitHub · 2026-11-26 08:49 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/129#issuecomment-7187064233) In-game on Linux (RX 6900 XT, RADV 26.3.1, Proton Experimental), your branch integrated on top of `85d5641` + our commits: **the faces are fixed in Series X** (skin on necks and faces in frame captures where it was missing without this PR), 211 world seconds from a cold shader cache with no crash, and the frame is unchanged (87.5 / 84.7 ms against 87.9 / 85.1; numbers in #156).
github-bot closed this pull request 2026-11-26 08:59:22 +00:00
Author
Owner

@⁠Beqren on GitHub · 2026-11-26 08:54 UTC · original

Superseded by #166: the same work cut down to what survived an audit against vkd3d-proton master and this tracker (five commits, rebuilt and re-tested on current main). The description above says what was wrong with this one.

**@⁠Beqren** on GitHub · 2026-11-26 08:54 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/129#issuecomment-7187172099) Superseded by #166: the same work cut down to what survived an audit against vkd3d-proton master and this tracker (five commits, rebuilt and re-tested on current main). The description above says what was wrong with this one.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.