victory system: this machine for test reports; the commit built from in --version and crash reports #104
No reviewers
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!104
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-104"
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?
@ySKELLETONX on GitHub · 2026-11-25 14:14 UTC · original
ySKELLETONX:feat/system-report→main· +567 −9 · 12 files · 2 commits · openWhy
Most issues here are test reports, and each one collects the machine by hand. They often leave out what decides how far the title gets:
Until now, most of this was only logged during a run of the title, so a tester without a working setup couldn't get it at all.
What
victory systemprints all of it without a title:On a host with problems, it ends with a list instead, for example:
runpicks them (EnumAdapterByGpuPreference, high performance), with the UMD driver version fromCheckInterfaceSupport. The software adapter every Windows lists is left out unless it is the one used. This helps on laptops with two GPUs (#59).host::create.HostHeap::newasks for (VIEW_SLOTS), then the capped one it falls back to (PORTABLE_VIEWS). The "fit" number is the one the capped path keeps for the title (PORTABLE_VIEWS - DYNAMIC_CAPPED - memory::SLOTS), which gives 933,440, the start of the dynamic run seen in #74.wine_get_versionexport.The commit the executable was built from:
build.rsputs the short hash of HEAD inVICTORY_COMMIT(unknown commitwithout git), and it is rebuilt when HEAD or the branch ref moves.--version,victory systemand the host line of everycrashes.logreport now name it:Small supporting changes:
victory_loaderexports thecpu_nameandwindows_versionthat crash reports already used, anddescriptor::host'sPORTABLE_VIEWS,DYNAMICandDYNAMIC_CAPPEDbecomepub(crate). The README lists the command.Testing
RX 7600 XT 16 GB, Windows 11 Pro build 26300, Rust 1.98.1:
victory systemoutput above. The driver version matches what Windows reports for the adapter.--versionprinted01aadd1before the commit and7a0ccd3after it, withoutcargo clean.cargo test -p victory -p victory-gpu -p victory-loader: all pass.-D warningsstops in victory-shader first, see #3).Not tested: an NVIDIA or Intel host, a capped heap on real hardware, and Wine. A run on one of those would be welcome.
If #79 (
VICTORY_ADAPTER) is merged first,report()should take the same override so it describes the adapterrunwould use.@KernelSmoker on GitHub · 2026-11-25 17:28 UTC · original
Tested PR commit
7a0ccd3on Bazzite Linux 45 using GE-Proton 10-34 / Wine 10.0 and vkd3d-proton 3.0.0, on an NVIDIA GeForce RTX 3090 (24 GB; host NVIDIA driver 620.73.04). No title files were needed forvictory system.victory systemran successfully and reported:Wine reports the Windows GPU driver as
32.0.65535.65535; the actual Linux host driver is 620.73.04. The report also labels the environmentWindows 10.0.19045 (Wine 10.0).I cross-built the
victory,victory-gpu, andvictory-loadertest targets forx86_64-pc-windows-gnu(--no-runsucceeded). Running the PR'svictory_gputest binary serially under GE-Proton gave 102 passed, 9 failed, 4 ignored. The failures were in D3D12 pipeline/descriptor tests plus two pipeline-library file-permission tests under Wine; this is a Proton/Wine run, not native Windows. Thevictory systemreport itself worked and correctly identified the GPU and Wine environment.@ -0,0 +124,4 @@if !d.mesh_shaders {problems.push("no mesh shaders at shader model 6.6: the world is not drawn".to_owned());}match d.wave_lanes {@gut0to on GitHub · 2026-11-25 14:53 UTC · original
Could we add a fixed-wave64 case with wave_lanes = Some((64, 64))? The current positive test uses (32, 64), while the negative test uses (32, 32); this boundary would confirm that a device reporting only 64-lane waves passes the contains(&64) capability check. AI-assisted review.
@gut0to on GitHub · 2026-11-25 14:53 UTC · original · reviewed
AI-assisted review: I checked the wave-lane capability decision and existing boundary cases.
7a0ccd3c71toca11979fc9@ySKELLETONX on GitHub · 2026-11-26 15:10 UTC · original
Thanks for testing it under Proton, @KernelSmoker. Pushed
435f8a7: with Wine detected, a driver version ending in65535.65535is now printed as32.0.65535.65535 (Wine's placeholder, not the host driver), so a report doesn't pass it off as the real driver. Anything else is printed as before; covered bywines_placeholder_driver_version_is_named. The host's own driver (620.73.04 in your case) isn't visible from inside Wine, so a Linux report still needs it by hand.@ySKELLETONX on GitHub · 2026-11-26 16:17 UTC · original
@Belobug the default branch is now
rx9070xt, which has diverged a lot frommain(421 commits on one side, 550 on the other). My open PRs (#104, #115, #140, #253, #258, #264, #266) all targetmain. Ismainretired? If so, I'll retarget them torx9070xt. I checked withgit merge-tree: #140 and #264 apply cleanly; #104, #115, #253 and #258 need small conflict fixes; #266 (clippy) would need to be redone against the new tree. #268 implements the same feature as this PR againstrx9070xt; I commented there.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.