Renderer port 2 (VICTORY_PORT_DESCRIPTORS=1) leaves indirect light black on a 7900 XTX #301

Open
opened 2026-11-26 15:14:49 +00:00 by github-bot · 0 comments
Owner

@⁠iLucasRT on GitHub · 2026-11-26 15:13 UTC · original

Tested in game on an RX 7900 XTX 24 GB, Ryzen 7 5800X3D, 64 GB RAM, Windows 11. Main up to c9c932c, diagnostics build, Series X profile.

What we saw. With renderer ports 1, 2, 3, 6 and 7 on, all indirect light was black: interiors were almost black, and outdoor shadows were pitch black. Direct sunlight and lamps looked fine. The ambient stand-in (VICTORY_AMBIENT=0.8) still set up as usual, according to the log.

  • With port 2 off and the other ports on, most of the light came back. Some ground shadows stayed black.
  • With ports 2 and 3 off, the picture was right.

What port 2's own line says (late in the session, per frame): 250.5 view records that no store told of (46 of them in draws' tables). The title made 4,973 memcpy/memmove calls into the heap per frame, and 0 records were marked by them. Since the start, 2,049,841 view records were missed.

The writers it names, by the last fault on each 64 KiB block:

Writer Records
title+0x18849c 493,742
0x7ffac36bc26f (outside the title's image) 374,464
0x7ff974f70000 (outside, 0x70000 below the image base) 335,378
title+0x4e9b4e2 276,588
title+0x4d9f25f 109,835
title+0x2474afc 82,931

So the fallback catches them, but a slot can show a stale view for a while. The stand-in seems to read such a slot.

**@⁠iLucasRT** on GitHub · 2026-11-26 15:13 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/301) Tested in game on an RX 7900 XTX 24 GB, Ryzen 7 5800X3D, 64 GB RAM, Windows 11. Main up to c9c932c, diagnostics build, Series X profile. **What we saw.** With renderer ports 1, 2, 3, 6 and 7 on, all indirect light was black: interiors were almost black, and outdoor shadows were pitch black. Direct sunlight and lamps looked fine. The ambient stand-in (`VICTORY_AMBIENT=0.8`) still set up as usual, according to the log. - With port 2 off and the other ports on, most of the light came back. Some ground shadows stayed black. - With ports 2 and 3 off, the picture was right. **What port 2's own line says** (late in the session, per frame): 250.5 view records that no store told of (46 of them in draws' tables). The title made 4,973 memcpy/memmove calls into the heap per frame, and 0 records were marked by them. Since the start, 2,049,841 view records were missed. The writers it names, by the last fault on each 64 KiB block: | Writer | Records | |---|---| | title+0x18849c | 493,742 | | 0x7ffac36bc26f (outside the title's image) | 374,464 | | 0x7ff974f70000 (outside, 0x70000 below the image base) | 335,378 | | title+0x4e9b4e2 | 276,588 | | title+0x4d9f25f | 109,835 | | title+0x2474afc | 82,931 | So the fallback catches them, but a slot can show a stale view for a while. The stand-in seems to read such a slot.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 15:14:49 +00:00
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/avatarmanz--VIctory-7900XTX#301
No description provided.