High on Life (PPSA15388): occlusion-query results hide walls and props in view (all fine when every query reports visible) #5488

Closed
opened 2026-10-13 21:02:15 +00:00 by Tamalero · 12 comments
Tamalero commented 2026-10-13 21:02:15 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-13T21:02:15Z.


High on Life (PPSA15388) now renders its home base fully lit on main 18c438b10 (plus #4487, #5156, #5003 and the closed #3202). But its occlusion culling hides things that are in view. Walls disappear on the stairs, so the sky outside shows through where the wall should be, and furniture and props pop in and out as the camera moves. The scene looks like the PC version except for these gaps.

It's the occlusion-query results. For a test I made every query answer "visible". Locally, DumpSamplesOnGpu declines, and the CPU path (Driver::dumpSampleCounters) writes a total that grows by 1 << 24 at every EVENT_WRITE ZPASS_DONE, so each query's end-minus-begin is nonzero. With that, nothing vanishes. A 25-minute run through the living room, stairs, hallway and upstairs showed no gaps and exited normally. Without it, the same route shows the gaps within seconds.

So somewhere the pass counts the title reads for some queries are zero, or smaller than they should be. I haven't found where. The two paths are:

  • the GPU path, VulkanDevice::DumpSamplesOnGpu → Recorder::DumpSamples, which is normally taken;
  • the CPU path, Driver::dumpSampleCounters, which writes SamplesTotal() into DB 0's slot with the ready bit and zeros into the other 15.

Next, I'll compare the CPU path with real counts against the GPU path, then log per-query begin/end values for one occluder that vanishes. If either path is already known to be approximate for begin/end pairs across draws, or across EVENT_WRITEs on different queues, a pointer would help.

Setup

Linux, RTX 4090 (NVIDIA 615.78, occlusionQueryPrecise available), GCC 16, Release. The local test switch is APS5_OCCLUSION_ALL_VISIBLE: DumpSamplesOnGpu returns false, and dumpSampleCounters writes (++step) << 24 as the total. Related: #4736 (the same scenes, which were black before #4551).

Tested and written by Claude (AI assistant) on a contributor's machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5837676179 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/5488). Originally posted by [Tamalero](https://github.com/Tamalero) on 2026-10-13T21:02:15Z. --- High on Life (PPSA15388) now renders its home base fully lit on `main` `18c438b10` (plus #4487, #5156, #5003 and the closed #3202). But its occlusion culling hides things that are in view. Walls disappear on the stairs, so the sky outside shows through where the wall should be, and furniture and props pop in and out as the camera moves. The scene looks like the PC version except for these gaps. **It's the occlusion-query results.** For a test I made every query answer "visible". Locally, `DumpSamplesOnGpu` declines, and the CPU path (`Driver::dumpSampleCounters`) writes a total that grows by `1 << 24` at every `EVENT_WRITE` `ZPASS_DONE`, so each query's end-minus-begin is nonzero. With that, nothing vanishes. A 25-minute run through the living room, stairs, hallway and upstairs showed no gaps and exited normally. Without it, the same route shows the gaps within seconds. So somewhere the pass counts the title reads for some queries are zero, or smaller than they should be. I haven't found where. The two paths are: - the GPU path, `VulkanDevice::DumpSamplesOnGpu` → `Recorder::DumpSamples`, which is normally taken; - the CPU path, `Driver::dumpSampleCounters`, which writes `SamplesTotal()` into DB 0's slot with the ready bit and zeros into the other 15. Next, I'll compare the CPU path with real counts against the GPU path, then log per-query begin/end values for one occluder that vanishes. If either path is already known to be approximate for begin/end pairs across draws, or across `EVENT_WRITE`s on different queues, a pointer would help. <details><summary>Setup</summary> Linux, RTX 4090 (NVIDIA 615.78, `occlusionQueryPrecise` available), GCC 16, Release. The local test switch is `APS5_OCCLUSION_ALL_VISIBLE`: `DumpSamplesOnGpu` returns false, and `dumpSampleCounters` writes `(++step) << 24` as the total. Related: #4736 (the same scenes, which were black before #4551). </details> *Tested and written by Claude (AI assistant) on a contributor's machine.*
Tamalero commented 2026-10-13 21:38:56 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-13T21:38:56Z.


BEFORE:
https://youtu.be/IcGY8xYMRY0

Image Image

AFTER:
https://youtu.be/ehP87kT4OEg

Image
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6155751022 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/5488#issuecomment-6155751022). Originally posted by [Tamalero](https://github.com/Tamalero) on 2026-10-13T21:38:56Z. --- **BEFORE**: https://youtu.be/IcGY8xYMRY0 <img width="3307" height="1907" alt="Image" src="https://github.com/user-attachments/assets/eeb4d740-afac-425f-8bcd-23bb936e72bb" /> <img width="3307" height="1907" alt="Image" src="https://github.com/user-attachments/assets/3ddf3d4a-e929-414c-9c5f-f561d08b79d9" /> **AFTER**: https://youtu.be/ehP87kT4OEg <img width="3288" height="1900" alt="Image" src="https://github.com/user-attachments/assets/5bd5ea8c-b846-427b-94cc-ebe376b8bae5" />
MarcZX10 commented 2026-10-13 21:47:35 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-13T21:47:35Z.


Thanks, the before/after captures make the symptom and the all-visible workaround clear. The next useful discriminator is the per-query begin/end values you mentioned: could you capture one occluder that disappears on the normal GPU path, then compare those same values on the CPU path with real counts? Please include the query slot/index and the corresponding begin/end EVENT_WRITE values (and queue/submission if they differ). That should tell us whether the error is in query association/order or in how the GPU dump reports the count.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6155890626 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/5488#issuecomment-6155890626). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-13T21:47:35Z. --- Thanks, the before/after captures make the symptom and the all-visible workaround clear. The next useful discriminator is the per-query begin/end values you mentioned: could you capture one occluder that disappears on the normal GPU path, then compare those same values on the CPU path with real counts? Please include the query slot/index and the corresponding begin/end EVENT_WRITE values (and queue/submission if they differ). That should tell us whether the error is in query association/order or in how the GPU dump reports the count.
Tamalero commented 2026-10-13 22:49:11 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-13T22:49:11Z.


The begin/end values you asked for, from both paths, standing at the same upstairs window in the home base.

Setup. A local trace records every EVENT_WRITE ZPASS_DONE dump (address, queue, which path wrote it). At each flip it waits for the GPU and reads back both dumps of every query. The begin dump is at A and the end dump at A + 8, and the total is the sum of the 16 DB slots (ready bits were set on all of them). All dumps come from queue 0, and every query's begin and end are consecutive dumps (#k, #k+1). So pairing and ordering look straightforward.

Normal GPU path (DumpSamplesOnGpu): the window flickers frame to frame between its frame, nothing (sky showing through) and its blinds.

  • Per frame, 24–42 queries, of which about 75 % read exactly 0.

  • Over 19 traced frames, 14 of 40 query slots flip between zero and nonzero. The clearest one is a slot that reads about 10,400 samples almost every frame and 0 in 3 of them:

    0x11810a1200: 10416 10536 0 10441 10518 10398 10478 10525 10416 10536 10439 10441 0 10398 10478 10525 0 10536 10439
    0x118133bd00: 0 26348 21926 26191 0 16104 0 34387 16063 34128 26327 0 11167 16104 16087 16207 11028 16087 16145
    

    A steadily visible object is reported fully occluded in some frames, which matches the flicker. Since association is simple, the samples between those two dumps seem to get lost in how the GPU path counts or folds them, not in which query they belong to.

  • Within one frame, about 20 consecutive queries often share one unchanged total:

    begin #233 gpu q0 = 220228763759  end #234 gpu q0 = 220228763759 -> 0
    ... (same total through #254)
    

CPU path with real counts (DumpSamplesOnGpu declined, dumpSampleCounters writing SamplesTotal()): no flicker at all. Windows and doors are stable in the same spots, even though the per-query numbers are wrong in a different way.

  • The total only moves when finished work is counted. 23 consecutive queries (#335–#380) read the same 206680877518, then one query gets +1,287,948. About 38 of 42 queries per frame read 0, and only 6 of 44 slots flip.
  • It is also much faster. The main menu goes from about 20 fps to 45–60 fps, and the home base from about 2 to 6–9 fps. So the GPU path's per-dump segment handling seems to cost most of the frame here.

So both paths are wrong per query. The GPU path is close but drops a visible object's samples in some frames, which makes this title flicker. The CPU path lags behind, which in this title happens not to flicker. A per-query count tied to the draws between each begin/end pair would fix both. Doing that without the GPU path's cost looks like the useful direction.

Trace details
  • Linux, RTX 4090, main 18c438b10 plus #4487, #5156, #5003, #5494 and local diagnostics.
  • Run A: normal path, 16 frames traced. Run B: DumpSamplesOnGpu returns false, so every dump takes dumpSampleCounters with real SamplesTotal(); 12 frames traced. The trace adds a WaitIdle per flip only while armed; the FPS numbers above are with it disarmed.
  • One thing I haven't checked: whether the samples counted at all are complete. The trace only compares begin/end totals.

Tested and written by Claude (AI assistant) on a contributor's machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6156859114 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/5488#issuecomment-6156859114). Originally posted by [Tamalero](https://github.com/Tamalero) on 2026-10-13T22:49:11Z. --- The begin/end values you asked for, from both paths, standing at the same upstairs window in the home base. **Setup.** A local trace records every `EVENT_WRITE` ZPASS_DONE dump (address, queue, which path wrote it). At each flip it waits for the GPU and reads back both dumps of every query. The begin dump is at `A` and the end dump at `A + 8`, and the total is the sum of the 16 DB slots (ready bits were set on all of them). All dumps come from queue 0, and every query's begin and end are consecutive dumps (#k, #k+1). So pairing and ordering look straightforward. **Normal GPU path (`DumpSamplesOnGpu`): the window flickers frame to frame** between its frame, nothing (sky showing through) and its blinds. - Per frame, 24–42 queries, of which about 75 % read exactly 0. - Over 19 traced frames, **14 of 40 query slots flip between zero and nonzero**. The clearest one is a slot that reads about 10,400 samples almost every frame and **0** in 3 of them: ``` 0x11810a1200: 10416 10536 0 10441 10518 10398 10478 10525 10416 10536 10439 10441 0 10398 10478 10525 0 10536 10439 0x118133bd00: 0 26348 21926 26191 0 16104 0 34387 16063 34128 26327 0 11167 16104 16087 16207 11028 16087 16145 ``` A steadily visible object is reported fully occluded in some frames, which matches the flicker. Since association is simple, the samples between those two dumps seem to get lost in how the GPU path counts or folds them, not in which query they belong to. - Within one frame, about 20 consecutive queries often share one unchanged total: ``` begin #233 gpu q0 = 220228763759 end #234 gpu q0 = 220228763759 -> 0 ... (same total through #254) ``` **CPU path with real counts (`DumpSamplesOnGpu` declined, `dumpSampleCounters` writing `SamplesTotal()`): no flicker at all.** Windows and doors are stable in the same spots, even though the per-query numbers are wrong in a different way. - The total only moves when finished work is counted. 23 consecutive queries (#335–#380) read the same 206680877518, then one query gets +1,287,948. About 38 of 42 queries per frame read 0, and only 6 of 44 slots flip. - **It is also much faster.** The main menu goes from about 20 fps to 45–60 fps, and the home base from about 2 to 6–9 fps. So the GPU path's per-dump segment handling seems to cost most of the frame here. So both paths are wrong per query. The GPU path is close but drops a visible object's samples in some frames, which makes this title flicker. The CPU path lags behind, which in this title happens not to flicker. A per-query count tied to the draws between each begin/end pair would fix both. Doing that without the GPU path's cost looks like the useful direction. <details><summary>Trace details</summary> - Linux, RTX 4090, `main` `18c438b10` plus #4487, #5156, #5003, #5494 and local diagnostics. - Run A: normal path, 16 frames traced. Run B: `DumpSamplesOnGpu` returns false, so every dump takes `dumpSampleCounters` with real `SamplesTotal()`; 12 frames traced. The trace adds a `WaitIdle` per flip only while armed; the FPS numbers above are with it disarmed. - One thing I haven't checked: whether the samples counted at all are complete. The trace only compares begin/end totals. </details> *Tested and written by Claude (AI assistant) on a contributor's machine.*
MarcZX10 commented 2026-10-13 23:12:23 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-13T23:12:23Z.


Thanks, these traces answer the association question. Consecutive begin/end dumps on queue 0 make a pairing/order mix-up much less likely; the slot that usually reads about 10.4k and intermittently reads zero points toward the GPU dump/counting path. The CPU path’s repeated total across many queries also shows it is not a per-query reference, even though it removes the flicker and runs faster in this title. Since you have not verified whether the counted samples are complete, I would treat this as a strong localization of the measurement problem rather than a confirmed per-draw fix. The trace is useful evidence for separating query association, counter accumulation, and dump cost.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6157166904 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/5488#issuecomment-6157166904). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-13T23:12:23Z. --- Thanks, these traces answer the association question. Consecutive begin/end dumps on queue 0 make a pairing/order mix-up much less likely; the slot that usually reads about 10.4k and intermittently reads zero points toward the GPU dump/counting path. The CPU path’s repeated total across many queries also shows it is not a per-query reference, even though it removes the flicker and runs faster in this title. Since you have not verified whether the counted samples are complete, I would treat this as a strong localization of the measurement problem rather than a confirmed per-draw fix. The trace is useful evidence for separating query association, counter accumulation, and dump cost.
oneandonlydean commented 2026-10-14 00:09:44 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-14T00:09:44Z.


Could you try #5232 on the same route? It fixes queued occlusion dumps landing after the label the title polls (#5215, the same flicker in PPSA15657).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6157882871 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/5488#issuecomment-6157882871). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-14T00:09:44Z. --- Could you try #5232 on the same route? It fixes queued occlusion dumps landing after the label the title polls (#5215, the same flicker in PPSA15657).
MarcZX10 commented 2026-10-14 00:15:48 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-14T00:15:48Z.


I can’t run PPSA15388 on the reported Windows/GPU route from this Linux workspace, so I can’t provide a same-title before/after result for #5232. The patch’s local tests can check the queue-order behavior, but the title run would need the existing Windows setup. If you can run it, please keep the shader cache and route settings fixed and compare the occlusion result with and without #5232.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6157959634 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/5488#issuecomment-6157959634). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-14T00:15:48Z. --- I can’t run PPSA15388 on the reported Windows/GPU route from this Linux workspace, so I can’t provide a same-title before/after result for #5232. The patch’s local tests can check the queue-order behavior, but the title run would need the existing Windows setup. If you can run it, please keep the shader cache and route settings fixed and compare the occlusion result with and without #5232.
Tamalero commented 2026-10-14 03:23:47 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-14T03:23:47Z.


The same symptom on AMD, so it doesn't depend on the GPU vendor. I ran High on Life (PPSA15388) with the same build, the same save and the same spot, on an AMD Radeon Pro V620 (RDNA2) with RADV:

Occlusion handling Doors and props in the home base
CPU path (dumpSampleCounters with real SamplesTotal()) Vanish, more often than on NVIDIA
Every query reported visible Nothing vanishes

The CPU path doing worse here fits the earlier trace. Its totals only count work that has already finished, and this machine runs at about 1 FPS, so more queries are read before their draws complete and come back as 0. The CPU path's result depends on timing, so it isn't a fix on any vendor.

One more data point from NVIDIA, for whoever picks this up: a local variant that waits for the GPU to go idle before each count (exact totals, slow) still left a few items behind windows popping in and out. Those may be the same white blinds that also pop in with every query reported visible, so they may not be occlusion at all. I haven't separated the two.

@oneandonlydean, thanks for the pointer. I'll run #5232 at the same window and report back. (My setup is Linux, not Windows.)

Details
  • AMD run: Radeon Pro V620 (Navi 21) in a VM, RADV from Mesa 25.2.8, Ubuntu 24.04, EPYC 7452 host CPU. The window is headless (Xorg dummy + Mesa's software WSI path, since there is no DRI3), and it is driven over a stream.
  • NVIDIA run (earlier traces): Linux, RTX 4090, driver 615.78.08.
  • Build on both: main 18c438b10 plus #4487, #5156, #5003, #5494 and local diagnostics, the same stack as my trace above.
  • AMD frame rate is about 1 FPS in the home base, bound by the queue-0 worker on the slower CPU (see #5485). The GPU is nearly idle.

Tested and written by Claude (AI assistant) on a contributor's machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6160166834 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/5488#issuecomment-6160166834). Originally posted by [Tamalero](https://github.com/Tamalero) on 2026-10-14T03:23:47Z. --- The same symptom on AMD, so it doesn't depend on the GPU vendor. I ran High on Life (PPSA15388) with the same build, the same save and the same spot, on an AMD Radeon Pro V620 (RDNA2) with RADV: | Occlusion handling | Doors and props in the home base | | --- | --- | | CPU path (`dumpSampleCounters` with real `SamplesTotal()`) | **Vanish**, more often than on NVIDIA | | Every query reported visible | **Nothing vanishes** | The CPU path doing worse here fits the earlier trace. Its totals only count work that has already finished, and this machine runs at about 1 FPS, so more queries are read before their draws complete and come back as 0. The CPU path's result depends on timing, so it isn't a fix on any vendor. One more data point from NVIDIA, for whoever picks this up: a local variant that waits for the GPU to go idle before each count (exact totals, slow) still left a few items behind windows popping in and out. Those may be the same white blinds that also pop in with every query reported visible, so they may not be occlusion at all. I haven't separated the two. @oneandonlydean, thanks for the pointer. I'll run #5232 at the same window and report back. (My setup is Linux, not Windows.) <details><summary>Details</summary> - AMD run: Radeon Pro V620 (Navi 21) in a VM, RADV from Mesa 25.2.8, Ubuntu 24.04, EPYC 7452 host CPU. The window is headless (Xorg dummy + Mesa's software WSI path, since there is no DRI3), and it is driven over a stream. - NVIDIA run (earlier traces): Linux, RTX 4090, driver 615.78.08. - Build on both: `main` `18c438b10` plus #4487, #5156, #5003, #5494 and local diagnostics, the same stack as my trace above. - AMD frame rate is about 1 FPS in the home base, bound by the queue-0 worker on the slower CPU (see #5485). The GPU is nearly idle. </details> *Tested and written by Claude (AI assistant) on a contributor's machine.*
oneandonlydean commented 2026-10-14 07:02:26 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-14T07:02:26Z.


#5232 is on main now. Could you run the home base route on current main and say whether walls and props still vanish?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6162830133 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/5488#issuecomment-6162830133). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-14T07:02:26Z. --- #5232 is on main now. Could you run the home base route on current main and say whether walls and props still vanish?
MarcZX10 commented 2026-10-17 01:27:37 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-17T01:27:37Z.


Following up on the current-main check requested after #5232: did the walls or props still vanish on the same High on Life route? If the symptom remains, please share the exact main SHA and whether the all-visible control still removes it so the remaining path can be isolated. I cannot run this title from my Linux workspace, so I do not have a local A/B result to report.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6227949465 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/5488#issuecomment-6227949465). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-17T01:27:37Z. --- Following up on the current-main check requested after #5232: did the walls or props still vanish on the same High on Life route? If the symptom remains, please share the exact main SHA and whether the all-visible control still removes it so the remaining path can be isolated. I cannot run this title from my Linux workspace, so I do not have a local A/B result to report.
Tamalero commented 2026-10-17 03:52:05 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-17T03:52:05Z.


A second title where scene objects blink from one frame to the next, but here reporting every occlusion query as visible doesn't make it go away, so it's probably not (only) this issue.

Title: LEGO Batman: Legacy of the Dark Knight (PPSA16833 v01.010.000), first level (Wayne Manor garden) and the title-screen flyover.
Build: main 5d9dcc42d (has #5213 and #5232) + #6694 + #6699 + the sceWebBrowserDialogOpenForPredeterminedContent hunk of #6447, plus two input-only changes. Linux, RTX 4090.

Occlusion queries Garden, camera still (~6.8 FPS) Title-screen flyover
normal background objects (a stone balustrade, a planter base, the interiors behind the mansion windows, which then show the sky) are missing in one frame and back in the next; a different subset is missing each frame objects behind things that pass in front of them (a swarm of bats) disappear
every query reported visible (the same local experiment as in my earlier comment here) blinking is less frequent, but still clearly there objects no longer disappear behind the swarm; distant buildings still blink in and out

Screenshots (the frame number is in the window title):

So in this title occlusion queries look like part of it at most. I don't have the cause of the rest yet. If someone recognises the pattern (a different subset of objects every frame, with a still camera, on a build with #5213 and #5232), I'm happy to run a branch.

Details
  • The "visible" experiment adds a large step to the dumped sample total at every dump and sends dumps through the CPU path; it's a local diagnostic, not a proposal.
  • The title runs between 0.2 and 7 FPS here, so comparisons were made at the same spot and at a similar frame rate (~6.8 FPS); frames at very low frame rate also show fade-in dithering and streaming, which I've left out.
  • For the High on Life route asked about above: I haven't rerun the home base on current main yet; that run is next.

Tested and written by Claude (AI assistant) on a contributor's machine.

Image Image Image Image Image
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6229284555 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/5488#issuecomment-6229284555). Originally posted by [Tamalero](https://github.com/Tamalero) on 2026-10-17T03:52:05Z. --- A second title where scene objects blink from one frame to the next, but here reporting every occlusion query as visible doesn't make it go away, so it's probably not (only) this issue. **Title:** LEGO Batman: Legacy of the Dark Knight (PPSA16833 v01.010.000), first level (Wayne Manor garden) and the title-screen flyover. **Build:** `main` `5d9dcc42d` (has #5213 and #5232) + #6694 + #6699 + the `sceWebBrowserDialogOpenForPredeterminedContent` hunk of #6447, plus two input-only changes. Linux, RTX 4090. | Occlusion queries | Garden, camera still (~6.8 FPS) | Title-screen flyover | |---|---|---| | normal | background objects (a stone balustrade, a planter base, the interiors behind the mansion windows, which then show the sky) are missing in one frame and back in the next; a different subset is missing each frame | objects behind things that pass in front of them (a swarm of bats) disappear | | every query reported visible (the same local experiment as in my earlier comment here) | blinking is less frequent, but still clearly there | objects no longer disappear behind the swarm; distant buildings still blink in and out | **Screenshots** (the frame number is in the window title): <!-- drop images here: B pair 2126 → 2127 (normal queries, consecutive frames, still camera), then an A frame from the same spot (every query visible) --> So in this title occlusion queries look like part of it at most. I don't have the cause of the rest yet. If someone recognises the pattern (a different subset of objects every frame, with a still camera, on a build with #5213 and #5232), I'm happy to run a branch. <details><summary>Details</summary> - The "visible" experiment adds a large step to the dumped sample total at every dump and sends dumps through the CPU path; it's a local diagnostic, not a proposal. - The title runs between 0.2 and 7 FPS here, so comparisons were made at the same spot and at a similar frame rate (~6.8 FPS); frames at very low frame rate also show fade-in dithering and streaming, which I've left out. - For the High on Life route asked about above: I haven't rerun the home base on current `main` yet; that run is next. </details> *Tested and written by Claude (AI assistant) on a contributor's machine.* <img width="3300" height="1915" alt="Image" src="https://github.com/user-attachments/assets/4fee38c2-5d10-4021-98d0-3d7e692e1d29" /> <img width="3300" height="1915" alt="Image" src="https://github.com/user-attachments/assets/a26eba56-7ef0-4df4-b605-47b94974e92f" /> <img width="3309" height="1919" alt="Image" src="https://github.com/user-attachments/assets/6257f6e8-890e-43a3-ab0c-15080ca73e43" /> <img width="3321" height="1919" alt="Image" src="https://github.com/user-attachments/assets/4b73c398-8947-475c-8f5f-0085313b76ea" /> <img width="3307" height="1907" alt="Image" src="https://github.com/user-attachments/assets/3a07879d-f4df-4ec6-ab25-a7822170d619" />
Tamalero commented 2026-10-17 04:20:46 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-17T04:20:46Z.


@oneandonlydean sorry for the delay. High on Life (PPSA15388) on main f26eb67c8 (has #5213 and #5232) with APS5_PLAYGO_UNLISTED_CHUNKS=installed (#6236), home base route, Linux, RTX 4090: once the house has finished loading, nothing blinks. Standing still on the stairs facing the portal, and walking down the stairs, through the bedroom and back, everything stays in place, including the windows and doors that used to blink the most. The only blinking is during the first load, while the scene streams in with an empty shader cache. The purple light that used to leak into the house from the portal's destination map isn't there any more either. So for this title the symptom in this issue is gone on main, and I think it can be closed for PPSA15388.

The LEGO Batman case in my previous comment is a different picture (objects keep blinking with the camera still, even with every query reported visible), so it probably shouldn't keep this issue open. I can open a separate issue for it if that's easier to track.

Tested and written by Claude (AI assistant) on a contributor's machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6229567786 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/5488#issuecomment-6229567786). Originally posted by [Tamalero](https://github.com/Tamalero) on 2026-10-17T04:20:46Z. --- @oneandonlydean sorry for the delay. High on Life (PPSA15388) on `main` `f26eb67c8` (has #5213 and #5232) with `APS5_PLAYGO_UNLISTED_CHUNKS=installed` (#6236), home base route, Linux, RTX 4090: once the house has finished loading, nothing blinks. Standing still on the stairs facing the portal, and walking down the stairs, through the bedroom and back, everything stays in place, including the windows and doors that used to blink the most. The only blinking is during the first load, while the scene streams in with an empty shader cache. The purple light that used to leak into the house from the portal's destination map isn't there any more either. So for this title the symptom in this issue is gone on `main`, and I think it can be closed for PPSA15388. The LEGO Batman case in my previous comment is a different picture (objects keep blinking with the camera still, even with every query reported visible), so it probably shouldn't keep this issue open. I can open a separate issue for it if that's easier to track. *Tested and written by Claude (AI assistant) on a contributor's machine.*
oneandonlydean commented 2026-10-18 02:21:05 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-18T02:21:05Z.


Thanks for retesting. With the reporter's confirmation on main (f26eb67c8, which has #5213 and #5232), closing as fixed for High on Life. The LEGO Batman case looks like a different cause, so a separate issue for it would be welcome.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6244669441 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/5488#issuecomment-6244669441). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-18T02:21:05Z. --- Thanks for retesting. With the reporter's confirmation on main (f26eb67c8, which has #5213 and #5232), closing as fixed for High on Life. The LEGO Batman case looks like a different cause, so a separate issue for it would be welcome.
Sign in to join this conversation.
No labels
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.

Reference
boykopovar/AnyPS5#5488
No description provided.