ProjectScarlett, --graphics-profile series-s on an RX 6600: the 3D world stays black while 2D layers draw; packaged renders it on the same build #663
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?
Imported from brcly/TuxBox. Originally posted by 1093i3511 on 2026-12-02T20:58:41Z.
Summary
With the Series S profile, ProjectScarlett reaches the world (the crash reports name the mission) but the 3D scene is black for the whole run. 2D layers are drawn: menus, loading-screen illustrations, intro credits and, in an earlier run, the HUD (vehicle notice, minimap). The packaged profile on the same build, the same shader caches and the same card draws the night scene: characters, street, car, palms, lights. In the world, Series S keeps the card about a quarter as busy as packaged.
Setup
1002:73ff), RADV / Mesa 26.3.1, GE-Proton11-15, host profilesection-import=substituted descriptor-bytes=64/16.6d4f1cd7+ #647 (0bde5bb3). Current main (1b4ed472,c1139ab2) stops at the start menu on this card (#533 issuecomment-7354129812), so I used the tree that others report reaching the world with.tuxbox.py run --graphics-profile series-s. The<prefix>-series-sthe profile uses is a Series S prefix I made earlier from a copy of the packaged one (the profile then setsConsoleMode=96as usual; crash reports sayConole Type: Lockhart). It has run Series S many times, so the title's Series S pipeline set is built. Packaged: the same packaged prefix without the profile. Both share onetuxbox_shader_cacheand RADV cache; defaults otherwise, warm caches,MESA_SHADER_CACHE_MAX_SIZE=8G.What differs (runs of 8 to 15 minutes, same build)
gpu_busy_percent, 10 s samples)Per-pipeline GPU time in the world (
TUXBOX_GPU_TIMING=1)One 8-minute run per profile, back to back,
TUXBOX_OVERLAY=1. "World" starts at the first timing window with more than 500 pipelines. Values are GPU time per world second, summed over each window's top 20 with a small helper script.CS 440f6eec1.61 vs 0.47 ms/s,CS 715c944b1.17 vs 0.25,CS 8ae931bd0.82 vs 0.29). That is about the 2560x1440 to 1280x720 pixel ratio (4x).CS 59903446599034461240d93b21766c0aa0b23bae88a6e120e1b2413fe3ece06ac1ff9ef7, 110,084 bytesPS 89f6b548+MS 5f6ec27eCS 3e1c765c3e1c765c4c47ea15173a621250cb6d757330fb354d0f63e9093afb499a119614, 76,996 bytesCS aedd1c0eaedd1c0eb7fcc59fe5ddf44be45b05dc3c2598ff95ef45b45063d141e889878c, 54,264 bytesCS 825f5638825f56381cacdb13c9624b2608b34ff87a26de200ebc48a83de6f0983e9ca282, 55,168 bytesCS 20b744d520b744d5141f1a041047d052f62c8ecf1e4c9acb658dceacbcd10a98ff7e3a02, 329,444 bytesThe title builds a separate pipeline set in Series S mode (#618), so these are presumably that set's equivalents of packaged passes. Because they translate and run without errors but only Series S draws black, they are where I'd look first: a program that compiles and runs but computes wrong values (for example zero exposure or zero lighting) would give exactly this picture.
How both profiles were prepared (possibly the cause)
I found no efficient way to test Series X (the packaged settings) and Series S side by side on one host.
--graphics-profile series-scopies the whole prefix (about 24 GiB here), and each prefix needs its own preparation, which takes 40–90 minutes here after a translator ord3d12_xschange.So I prepare once and share the result:
--no-shader-prep.tuxbox_shader_cache,tuxbox_pipeline_recipesand RADV cache.The title builds a separate pipeline set in Series S mode. A preparation and pipeline records that serve both targets may be exactly what goes wrong for one of them. If there is a supported way to keep both targets apart, or a check that tells whether a cache entry belongs to the other console model, I'll rerun Series S on a clean, separately prepared prefix.
Ruled out so far
fb17e160the 64 unsupported programs were also identical between the two profiles.settings.xml: the title ignoresresolutionFullscreen(it still presents 3840x2160).rtDynamicShadows=falsedoesn't change the black world.TUXBOX_FRAME_LOG) of both profiles look alike: median ~31 ms, the slow frames in submits while GPU queues are held at title memory waits. Series S is not slower. It just does much less GPU work in the world.Earlier, on
fb17e160, the Series S intro scene was drawn once but overexposed (almost white); packaged was correctly dark there.Questions
TUXBOX_SKIP_SHADERSon one of them to see whether the picture changes)? I can run Series S and packaged back to back with whatever logging helps.I can provide logs, the frame and GPU load samples, and the timing output privately if they help.
Packaged artefacts, for completeness: floating dark rectangles in the sky and on facades, flat boxy buildings that fill in later, and the glare of one light changing between blue and red from one shot to the next.
Imported from brcly/TuxBox. Originally posted by brcly on 2026-12-02T21:35:38Z.
Thanks, this is a thorough comparison. The Series S-only compute programs you list (
CS 59903446,3e1c765c,aedd1c0e,825f5638and the rest) are a good lead for the black 3D scene. Current main stopping at the start menu on your card is #656 (queue page mappings refused on hosts withsection-import=substituted). We're fixing that now. Once it's in, could you repeat the Series S vs packaged comparison on main? That tells us whether the black world is still there on the current renderer.Imported from brcly/TuxBox. Originally posted by 1093i3511 on 2026-12-02T21:51:41Z.
Thanks, will do. Once the fix is in main, I'll run Series S through
--graphics-profile series-sand packaged on the same build, back to back, 8 minutes each, with the sameTUXBOX_GPU_TIMING=1comparison. The earliest I can do it is tomorrow (3 Dec) from 15:00 CET.For reference, the line my
1b4ed472andc1139ab2runs stopped on wascannot order buffer and texture accesses: HRESULT(0x80004001)(thehandoffs::planrefusal from #661). Earlier in the same log the provider saysgame memory is copied for the GPU: this host cannot import it directly, so it may share the cause with #656. I'll report which line, if any, the new build stops on.Imported from brcly/TuxBox. Originally posted by turboheadcrab on 2026-12-02T22:49:46Z.
Written with a coding agent (Claude Code), which read the logs of my runs and compared the shader hashes against TuxBox's own evidence files. I played the runs.
Reproduced on current main with RDNA4: with
--graphics-profile series-s, the 3D world is black and 2D draws (a tip hint appeared once in the world). The log points at the FidelityFX 4 upscaler: one of its shaders fails to translate and runs as a null pipeline.Setup
RX 9070 XT (16 GB, RDNA4), RADV / Mesa 26.3.1, kernel 7.3.5, GE-Proton11-15. TuxBox
9494fdb8. The Series S prefix is a fresh copy of my packaged prefix, made by--graphics-profile series-s; caches are warm from packaged runs, and the run compiled 35 new programs.TUXBOX_GPU_TIMING=1, offline as usual.What the log shows (measured)
The planes are presented in the expected order:
present plane 0 of 2 1920x1080(the scene) andpresent plane 1 of 2 3840x2160(the interface).present/compose.rsdraws layer 0 opaque and blends layer 1 over it, so the black world isn't a composition problem.The Series S-only programs from the table above are the FidelityFX 4 upscaler. All five compile and run in the world here (
CS 599034463.7 ms per call,3e1c765c1.2,825f56380.9,20b744d50.9,aedd1c0e0.8). Three of them are in this repo's evidence:59903446isfirst_compute_pipeline.dxbc_sha256inevidence/providers/scarlett-fidelityfx-runtime.json, a full match.3e1c765cand20b744d5aresource_sha256entries inevidence/providers/fidelityfx-tensors.json.One upscaler shader doesn't translate and is replaced by a null pipeline:
The title's upscaler code logs
DeserializeComputePipelineStateX FAILED hr=0x80004001 … falling back to NewBEfor all 29 of its passes (FFX_FSR4_PASS_0to_26,FFX_FSR4_RCAS_PASS,FFX_FSR4_SPD_AUTOEXPOSURE_PASS). For 28 of them the fallback works.3727a000's DXBC is insideamd_fidelityfx_upscaler_xbox.dllat offset0x9fe90(its container hash,ca8c8cf4…, sits at0x9fe94). That's the shaderdocs/SHADERS.mdnames as the one the translator can't resolve yet ("shader0x9fe90read lane 31 of registerv1"). Today it fails earlier, on the register layout. It's created right next to theFFX_FSR4_SPD_AUTOEXPOSURE_PASSline.Theory (not yet tested)
3727a000is the upscaler's auto-exposure pass (SPD). With it as a null pipeline, the exposure it writes stays zero, and the upscaled 1920x1080 scene comes out black, while the interface plane, which doesn't go through the upscaler, still draws. That fits the black world, the 2D layers, and the "zero exposure" idea in the report. It's the 29th shader thatdocs/SHADERS.mdsays doesn't translate yet, so translating it may be all Series S needs.Two things would confirm it:
0x9fe90is. From its position next to the log line it's probably the SPD auto-exposure pass, but that's only an inference from the log order.Why only Series S
On this build the title's upscaler picker chooses AMD FidelityFX only on Series S, and its own upscaler otherwise. That's documented by another project (VIctory-xmem, the picker at
+0x7e93f0). So the normal profile never runs these passes. On the same PC, VIctory-xmem shows the same black Series S world, and renders it once the picker is forced to the title's own upscaler or AMD's PC FSR 4 DLL serves the calls. That fits the upscaler being where Series S breaks.Frame rate
The world presents 1–2 frames every 12–14 s on this card (~1,480 pipelines, 3.6–6.8 ms of timed GPU work per second), the same as packaged runs here. The black picture isn't from the run stalling.
I can rerun Series S with any extra tracing that helps identify
3727a000or check the exposure value.Imported from brcly/TuxBox. Originally posted by 1093i3511 on 2026-12-03T14:53:45Z.
@turboheadcrab Thanks, this is a big step. The FidelityFX 4 auto-exposure pass as a null pipeline explains the black world, and it may also explain the overexposed Series S scene I saw on an earlier build.
I'm building
106120ca+ #667 now and will run the Series S vs packaged pair from above on it. In the Series S log I'll check for the sameDeserializeComputePipelineStateX FAILEDlines forFFX_FSR4_*and for shader3727a000, so we know whether RDNA2 shows the same pattern. I'll also look at how VIctory-xmem forces the upscaler picker, as a cross-check of the theory.