Skip to content

Fix RTX 3080 black screen: OOM pipeline retry + Wave32 LDS last resort - #1

Open
FizedCodes wants to merge 12 commits into
mainfrom
cursor/fix-pipeline-oom-retry-1b0d
Open

FizedCodes wants to merge 12 commits into
mainfrom
cursor/fix-pipeline-oom-retry-1b0d

Conversation

@FizedCodes

@FizedCodes FizedCodes commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

Summary

Black screen on Wave32 NVIDIA (RTX 3080 10GB) after v2026.11.29.01 / still on stock v2026.11.29.02 (~2 fps / 0 draws; WAVE_FOLDED-off alone does not fix it).

  1. Create* OOM permanent refuse: 0x8007000E settled as Some(None) while screen waits burned 10 s. Treat driver OOM like memguard deferral; exit waits when retry_waits is set; serialize near the commit floor; optional VICTORY_SUBMIT_PCORE=1.

  2. Wave32 LDS convert drops: F3 “DRAWS SKIPPED…CANNOT BE CONVERTED” / 0 draws. Stock .02 still has last-resort allowlist-only (e63d22c4…). This PR restores write-only last resort on by default (unset/empty/1); builder covers RT builder + GPU: narrow placed-copy, enhanced-group, buffer and pipeline-sync barriers (VICTORY_NARROW_BARRIERS) trustno1-coder/VIctory-NVIDIA#799/[Profiling / 12GB VRAM] Breakdown of ~70ms SUBMIT BUSY on RTX 4070 Super + Ryzen 7 5700X (commit 63b902f) trustno1-coder/VIctory-NVIDIA#833/#43 (static Wave32 LDS alias): 8 compute shaders no longer translate on 32-lane hosts ("no wave32 lowering for this wave64 program") trustno1-coder/VIctory-NVIDIA#1435; victory play SETTINGS sets =1. Keeps .02’s WAVE_FOLDED default off.

Rebased onto upstream v2026.11.29.02 (1082df39). Stock .02 without this PR: victory play --set VICTORY_LDS_LAST_RESORT=1 (and turn DLSS upscaling on if using FSR 3 FG).

Test plan

  • MainFrameX: rebuild this branch; copy target\release\victory.exe → D:\test\gta 6\
  • victory play with no manual LAST_RESORT; F3: draws > 0; play log lists VICTORY_LDS_LAST_RESORT=1
  • Optional stock .02 A/B: --set VICTORY_LDS_LAST_RESORT=1 only
  • CI green

Diagnosis: /cursor/stores/self/internal/victory-rtx3080-black-screen.md

Open in Web Open in Cursor 

trustno1-coder and others added 2 commits November 29, 2026 06:38
…put size (trustno1-coder#2055)

The UI targets stay 2560x1440 at every output size; the pool was sized
from the output (3440x1440: 12.25 MiB more), more than 0x1FFFFF was left
over and every start stopped at the title's assert (int3 at 0x247AF2D).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On v2026.11.29.01 the folded programs cost so much card time that many
players fell from 15-20 fps to 3 or less. Off: 25.3 against 21.5 fps here
(RTX 5070, Series S). The switch keeps it for anyone who wants it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cursor Bot pushed a commit that referenced this pull request Nov 29, 2026
PR #1's Create* OOM retry was not enough: RTX 3080 retest still black
with F3 "12 DRAWS SKIPPED, THEIR SHADERS CANNOT BE CONVERTED YET" and
~723 fps / 0 draws. Between 11.28.03 and 11.29.01, trustno1-coder#43's LDS analysis
plus last-resort allowlist-only left Wave32 hosts dropping the picture.

Unset / VICTORY_LDS_LAST_RESORT=1 again retries every refused program
with the pre-trustno1-coder#43 write-only shortcut; =0 disables, =builder or a hash
list narrows. OSD TRY line names the Wave32 lever.

Co-authored-by: FizedCodes <FizedCodes@users.noreply.github.com>
@cursor cursor Bot changed the title Pipelines: retry Create* OOM (fix v2026.11.29.01 black screen) Fix RTX 3080 black screen: OOM pipeline retry + Wave32 LDS last resort Nov 29, 2026
trustno1-coder and others added 2 commits November 29, 2026 07:30
…d fetch buffer shrinking (stops tree flashing)

The revert of trustno1-coder#479 also removed these GPU-side parts; without them trees flash in daylight.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nly with CONTROLS=KEYBOARD or MOUSE AND KEYBOARD on

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kamioku

kamioku commented Nov 29, 2026

Copy link
Copy Markdown

worked for me only after VICTORY_LDS_LAST_RESORT=1 , but still awful fps

trustno1-coder and others added 8 commits November 29, 2026 09:42
…(block artifacts)

Physical-page render target aliasing (trustno1-coder#1147) and the lazily made colour twins of depth textures left blocks of stale content on screen. Aliasing now needs VICTORY_ALIAS_TARGETS=1; VICTORY_LAZY_TWINS=1 brings the lazy twins back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The bisect of the character artifacts pointed at trustno1-coder#704's bitmap allocator; the pre-trustno1-coder#704 scan (what v2026.11.28.03 shipped) is back as the default. VICTORY_SLOTS_BITMAP=1 uses the bitmap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d as an area streams in)

With 262,144 the slots for draws' fresh tables ran out while a new area streamed in: up to 1,900 draws dropped in five seconds, seen as see-through patches on the character and a ghosted picture. With 393,216 no draw was dropped on the same recorded walk, and no title slot past the 606,783 left was asked for. VICTORY_DYNAMIC_SLOTS still sets it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ttended test runs

VICTORY_INPUT_RECORD=<file> and VICTORY_INPUT_REPLAY=<file>; a 'wait' line holds the replay until <file>.go exists. Off unless set.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
v2026.11.29.01 black screen (0 draws, GPU idle): Create*PipelineState
0x8007000E was recorded as a permanent refuse while screen waits burned
10 s on deferred keys (upstream trustno1-coder#2303/trustno1-coder#2564/trustno1-coder#2182). Treat driver OOM like
a memguard deferral, leave the wait when retry_waits is set (trustno1-coder#2188),
default SCREEN_WAIT_ONCE on, serialize compiles near the commit floor
(VICTORY_COMPILE_SERIAL), and allow VICTORY_SUBMIT_PCORE=1 on hybrid CPUs.

Co-authored-by: FizedCodes <FizedCodes@users.noreply.github.com>
PR #1's Create* OOM retry was not enough: RTX 3080 retest still black
with F3 "12 DRAWS SKIPPED, THEIR SHADERS CANNOT BE CONVERTED YET" and
~723 fps / 0 draws. Between 11.28.03 and 11.29.01, trustno1-coder#43's LDS analysis
plus last-resort allowlist-only left Wave32 hosts dropping the picture.

Unset / VICTORY_LDS_LAST_RESORT=1 again retries every refused program
with the pre-trustno1-coder#43 write-only shortcut; =0 disables, =builder or a hash
list narrows. OSD TRY line names the Wave32 lever.

Co-authored-by: FizedCodes <FizedCodes@users.noreply.github.com>
Transcript extract listed the ten "no wave32 lowering" compute hashes
from trustno1-coder#1435 (eight recover with write-only; 6871d6e4 / 6b82bc7d still
refuse). Keep default last-resort=all; expand the builder allowlist so
VICTORY_LDS_LAST_RESORT=builder covers that cohort plus trustno1-coder#799/trustno1-coder#833.

Co-authored-by: FizedCodes <FizedCodes@users.noreply.github.com>
Layer already treats unset as on-for-every-refused Wave32 program, but
victory play clears surrounding VICTORY_* and only restores SETTINGS /
menu / --set. Wire LAST_RESORT=1 into SETTINGS so play always applies
what kamioku needed for a picture, and treat a blank env value as on.

Co-authored-by: FizedCodes <FizedCodes@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/fix-pipeline-oom-retry-1b0d branch from dc807b4 to b9750d6 Compare November 29, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants