Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Belobug--VIctory-Belobug-AMD#304
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?
@WellyngtonSantos on GitHub · 2026-11-26 19:33 UTC · original
First pre-RDNA run: RX 580 (Polaris / GCN4), AMD legacy driver. Workspace test results, and one descriptor test that fails on every run
Machine: Intel i5-9400F, 16 GB RAM, AMD Radeon RX 580 2048SP (8 GB), driver 31.0.21925.1001 (AMD's legacy Polaris branch), Windows 11 26200. The device reports shader model 6.7, waves of 64 to 64 lanes, no mesh shaders, binding tier 3 (
victory system, #268). The title was not run: we don't have it.Built from
cd8dfc0plus #290 (06d6465) with the pinned 1.98.1 toolchain, cross-compiled withcargo xwin test --workspace --release --target x86_64-pc-windows-msvc --no-run. Each test binary was run from its crate's directory with--test-threads=1.Results
Without #290,
victory_shaderhas 4 failures on this card (theWaveSize(32)pipelines a 64-lane-only GPU can't make). #290 makes them skip.Note:
load_proberunscargoto build a probe DLL, andno_dll_plantinggoes back to the build-timeCARGO_MANIFEST_DIRfrom another drive. Neither works with a binary cross-compiled elsewhere, so their failures here say nothing about the card.The failure:
descriptor::host::tests::views_are_made_beside_the_heap_and_copied_in5 runs of 5, alone and in the full run:
The pattern is the same in every run:
right) they are two 64-bit values 0x40000 apart that look like addresses in this process (0x217_7884_01e0,0x217_7888_01e0). After the copy (left) they become two others (0x217_0801_0080,0x217_1001_0080). None of them is a buffer's GPU address.So on this driver a CPU-only descriptor of a raw buffer view seems to hold driver pointers rather than the buffer's GPU address, the AMD layout
move_rawexpects.CopyDescriptorsSimpleturns it into another form when it lands in the shader-visible heap. The test assumes a copy keeps the bytes, which holds where descriptors are the AMD layout and not here.The code itself looks safe on this driver.
move_rawalready checks that the first 8 bytes are the view's GPU address before it changes anything, anda_raw_view_is_moved_only_where_its_descriptor_says_where_it_ispasses here. One consequence to keep in mind: on this drivermove_rawnever moves a twin, so every misaligned raw twin would count as "could not be moved" inTWINS.A possible fix for the test: compare the bytes only when the staged descriptor starts with the buffer's GPU address (the layout
move_rawrelies on), and otherwise check only that the slot changed from the null view. I can open a PR for that if you want it, and rerun anything on this card.Also available
A second machine without the title: i7-2600 (no AVX2) with a GTX 1050 Ti (Pascal, no mesh shaders) on Debian 13.
victory systemunder Wine 10 there is in #268, and the missing AVX2 blocker is noted there. Both machines are free for anything that doesn't need the game files.@infektas1-star on GitHub · 2026-11-26 19:44 UTC · original
Are there any plans to implement a mode without mesh shaders?
@WellyngtonSantos on GitHub · 2026-11-26 19:54 UTC · original
#288 (lerapeurdu62280-debug) fixes this test, and I checked it on this RX 580: it passes 3 of 3 and the whole
victory_gpuis 387/0. The proposal at the end of this issue isn't needed.@yesntOG on GitHub · 2026-11-27 01:31 UTC · original
Second RX 580 data point, on current
main(cloned Nov 26) with a newer driver:cargo test --workspace --no-fail-fast -- --test-threads=4, no game files:1064 passed, 0 failed, 45 ignored, no crashes
(or equivalent fixes) are in main now, but I haven't checked which commit.
One gotcha: my first run failed
repository_passes_policyonly because I'd savedtest-output.txt inside the repo; moved out,
cargo xtask policyreports 271 files ok.Re the question about a mode without mesh shaders: I wrote a vertex-shader fallback for the
same problem in XCL (xcl-dev/xcl#529, tested on this RX 580 and on a GTX 1050 Ti). If the
maintainer is open to it, I'd be glad to help with a version for VIctory's pipeline.
AI use: Claude (Claude Opus 5.5) helped run and summarize these; results are from my machine.
@WellyngtonSantos on GitHub · 2026-11-27 13:08 UTC · original
Closing: #288 is merged and fixes the one failure in this report. @yesntOG's second RX 580 run on current
main, with a newer driver, has the whole workspace at 1064/0. Thanks both.