Linux/Proton, Strix Halo (Radeon 8060S): every frame black from the first one (intro video included); texture uploads stop after ~20 s #19
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#19
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?
@metric-vac on GitHub · 2026-11-25 12:09 UTC · original
Setup
71652a2,x86_64-pc-windows-gnu, release and--profile diagbuilds; onlyVICTORY_HAIR=1set (noVICTORY_PRESENT_TARGET), Series X defaultWhat happens
From the first frame the window is black. The intro video's audio plays. No errors in the log, no device removal, no GPU fault in the kernel log. Same with the release and diag builds.
VICTORY_CAPTURE(diag): all 14 saved frames (1, 2, 4 … 8192) are pure black and byte-identical, so the presented texture is black on the GPU side, not lost on the way to the screen.One number stands out. The host's per-frame texture uploads during the intro:
940d32f(same machine and Proton)I haven't found the cause. A guess, not checked: the write-watch now guards only
MEM_MAPPEDviews (viaQueryVirtualMemoryInformation), and under Wine it may stop seeing the title's writes. That wouldn't explain why the first frames are black too, though, so there may be more than one thing.Different from #6 (Linux, RX 7600 XT), where menus rendered and the world was black. Here nothing renders at all.
Logs and captures available. Happy to test a patch or a switch.
AI-assisted (Claude Code).
@sil-kong on GitHub · 2026-11-25 12:45 UTC · original
Same symptom here on Linux (RX 7900 XT, RADV, GE-Proton10-34's Wine with vkd3d-proton from Proton Experimental,
x86_64-pc-windows-gnurelease): black from the first frame, the intro video's audio plays, and the title never gets past it (it never openscore_restofworld*.rpf).I bisected it (first-parent,
8e79c80good,71652a2bad). The test for each step: does the run opencore_restofworldwithin 150 s?8e79c80(upstream base)e4e4904440589eGPU: title memory used in place by the host GPU71652a2withVICTORY_COPY_MEMORY=1So the first bad commit is
440589e. Under Wine the in-place windows are made without any error (title memory in place count=1 start=... len=193986560, thencount=2 ... len=1021313024), but the GPU apparently does not see what the title writes there afterwards. I have not looked further into why (vkd3d-proton'sOpenExistingHeapFromAddresson Wine's mapped views is my guess).Workaround:
VICTORY_COPY_MEMORY=1. Maybe it could default to on when running under Wine (wine_get_versionexported by ntdll)?@GustawMatuszewski on GitHub · 2026-11-26 17:30 UTC · original
A third machine on this stack, and the ladder past the black screen:
RX 9060 XT 16 GB, RADV (Mesa), GE-Proton 11.14 (wine 11.0 + vkd3d-proton), Series X profile.
VICTORY_COPY_MEMORY=1(sil-kong's finding) takes the run from black-at-frame-1 to a rendered loading screen — confirmed here, PNG captures go from max RGB 0 to 249/252/255. Thank you for writing that down.Past that, the next wall is not memory: every built-in pipeline fails to build under Wine, so the world's indirect dispatches are dropped (0 groups asked per frame, from the first frame on) and the world stays black while 2D and text render. In order, each one hit after the last was fixed:
E5005: Method 'InterlockedAdd' is not defined on type 'RWByteAddressBuffer'— the ambient's diagnostic stats.E5005: Method 'InterlockedOr' / 'InterlockedMax' / 'InterlockedCompareExchange'— the argument clamp's budget.E5005: Function "isnan" / "isinf"— the ambient's NaN guard.E5017: Unhandled attribute 'allow_uav_condition'— a hint attribute the compiler rejects.CreateRootSignature(<the whole compiled blob>)returnsE_FAIL— the host rejects wine's embedded root signature. Serializing the signature from the source's own#define RS "…"withD3D12SerializeRootSignature(what the title's own signatures already do) fixes all 12 built-in sites at once.After 1-5:
no argument clampandno stand-in for the indirect lightboth 0, and indirect mesh dispatches 7 219 – 14 393 groups per frame (0 in every earlier run). The world renders, lit, with its interface, on Linux. Still ~0.5-1 fps here — the frame is dominated by host-side copies (85-108 MB/frame) and pipeline compiles (median 10 ms, p99 436 ms, max 3.5 s) — but the picture is there.I opened the ladder as a PR against the fork that has it as built-in sources (avatarmanz/VIctory-7900XTX#338); the same five constructs are in this tree's
ambient.rs,indirect.rsandcompose.rsif you want them here too. Happy to send them as a PR to this repo on request.No game data in any of it; numbers and code only.
@mmmoxya-tech on GitHub · 2026-11-27 01:09 UTC · original
For another data point on the Linux bring-up: on an RTX 5060 Laptop (8 GB) + 15 GB RAM, Arch, Proton (cachyos 11.0 and Experimental, vkd3d-proton 3.1), the same title reaches the loading screen, presents ~32 frames, then hits a Game Init assert (int3 at game+0x1dac734); the same happens with no working host device at all, and with a working device on both NVIDIA and the Intel iGPU (ANV). Upstream 940d32f shows it too, so it is not a fork regression. The check behind the assert looks up two baked hashes (0xc1fa30c2, 0x02e801f9) in a title-side state registry; at fault time the first is registered and the second never appears (registered keys: 9f62d512 aee74b7d a137ced5 c1fa30c2, all within ~110 ms of title start). Full analysis: #408. Since your RADV run gets intro and menus: could you paste the first ~2 s of its victory log (or the lines between the first frame and +2 s), so we can see which init step registers the object that a vkd3d/ANV/NVIDIA host seems to skip? Build id and env of that working run would help too.
@metric-vac on GitHub · 2026-11-27 05:36 UTC · original
@mmmoxya-tech here's a RADV run that gets through the intro, the menus and into the world, for comparison.
AI use: Claude Code pulled this excerpt out of my run log. Own copy of 1.0.2.1.
Setup: Strix Halo (Ryzen AI MAX+ 395, Radeon 8060S), 32 GB unified, Fedora 44, kernel 7.3.4, Mesa 26.2.7 RADV. Proton Experimental
experimental-bleeding-edge-11.0-20261112(Wine only). vkd3d-proton master71cae09(dxil-spirvb540c8a2) copied into the prefix,WINEDLLOVERRIDES=d3d12,d3d12core,dxgi,d3d11,d3d10core=n,b. Series X profile.Build: this fork at
cd8dfc0(a-publier) with VIctory-7900XTX PR #338 merged on top (local merge commit9310954).--profile diag --features diagnostics, cross-built tox86_64-pc-windows-gnu. The log'sbuildline shows the title image hashb99f876b….Env: the
scripts/play.ps1settings, plus a few for memory on 32 GB:(
VICTORY_COPY_MEMORYisn't set; this rebased fork no longer has440589e.)What happens: the first frame is presented 0.8 s after start. Frame 32 comes at +2.1 s and frame 64 at +7.2 s, and the run carries on past that with no assert. In other runs on this build I've been in the world for up to 14 min. I searched the whole log for
c1fa30c2,02e801f9and1dac734and found none of them. That's expected, since VIctory doesn't log the title's registry.Below: everything from the start up to the first frame +2 s (348 lines). Lines over 260 characters are cut (marked
…[cut]) to fit the comment size limit, and my home folder name is replaced with<user>. Nothing else is removed. I'm happy to send the full lines, or any other part of the log.victory log, start to first frame +2 s