RX 7600 XT (RDNA3, 8 GB): world at 2-3 fps with ~300 ms of list recording a frame, then a quiet EXIT 1 #106

Open
opened 2026-12-01 14:13:35 +00:00 by github-bot · 4 comments
Owner

@⁠YaBulochka on GitHub · 2026-12-01 14:11 UTC · original

RX 7600 XT (RDNA3, 8 GB): the world reaches ~7000 draws at 2-3 fps, ~300 ms a frame is our own list recording, then the run exits with no message

Reported on the build the README now calls supported (RDNA2 or newer), in case the numbers help. Nothing from the title is included: counters and log fragments only.

Environment. RX 7600 XT 8 GB (RDNA3), Ryzen 5 9600X (6 cores / 12 threads), 30 GB RAM, RADV 26.3.1 (Mesa from the distro), GE-Proton11-16, KWin on Wayland with the desktop on the integrated GPU. Build f104060 (85 commits after 73ee0ab), tools/build.sh clean, series-x, VICTORY_OUTPUT unset (1080p window). Shader store warm: 2584 shaders, all already translated.

What happens. The run reaches the world, ~6950-7150 draws a frame, and then:

2.0 fps, 503.2 ms/frame (349.3 preparing: vkback recording and submitting; 383.4 on the GPU), 6954 draws
2.8 fps, 357.2 ms/frame (278.4 preparing: vkback recording and submitting; 342.4 on the GPU), 7147 draws

So 280-350 ms a frame is the recording and submitting of the lists, and the card is busy a similar 340-380 ms. At 7000 draws that is about 50 µs a draw on this CPU. On the reference 9070 XT the README says 22-23 fps, so either the card or the CPU path diverges by an order of magnitude here.

Each run also translates ~1600 shaders in-game even though the store is warm, so part of the first minutes is translation. But the 300 ms of recording is there after that too.

Then the run ends by itself. Both runs so far: EXIT 1 after one to two minutes, with no panic, no exception, no device loss and no out-of-memory line in log.txt or vk.log; the last frame line before it is a normal one. loud.txt has only the known rule32 lane-branch counter (10 hits). If there is a path that exits 1 quietly, this is it.

Textures: the same "last fill kept" story as the 8 GB issue #103.

texture refill put off: none of its memory is mapped (streamed out; the last fill kept, tried again later)  +50 851 this window
texture title memory partly unmapped (hole: zeros there, or the last fill kept)                                +52 255 this window
texture refilled after refusals (its memory is all there again)                                                 +2 609 this window

On screen that is blocky tiles of another texture on roads and clothes, and a character that goes fully white or fully black for a moment. Which is what #103 describes from the other 8 GB card.

Memory at the first 3D frames, in case it is the same cause. From the log:

umem: on (title GPU memory placed by umem by its attributes, VRAM title memory at most 3584 MiB)
umem: vram 17 blocks 2294 MB, gtt 5 blocks 2381 MB
memory: images own memory 0 (~0 MB), in the arena 1677 (~4205 MB; GPU-written 1178 ~4014 MB, texture copies 498 ~191 MB)

So the arena already holds ~4.2 GB of images (4.0 GB of them GPU-written) beside 2.3 GB of VRAM and 2.4 GB of GTT placed title memory, on an 8 GB card. It looked like a lot for the first frames.

Questions.

  1. Is ~50 µs per draw in recording what you see on the reference system at this draw count, or is this CPU path something specific to RDNA3/Wine?
  2. Should the arena's 4 GB of GPU-written images be that big this early, or is that a leak-ish growth that #103's refill thrash then makes worse?
  3. Is there a switch to make a quiet EXIT 1 say why? I can re-run with any diagnostics you name and post the result.

Method notes: frame lines are parsed from log.txt; I can re-run any probe on this machine and post deltas. No screenshots, captures or game content included.

**@⁠YaBulochka** on GitHub · 2026-12-01 14:11 UTC · [original](https://github.com/vktory6/VKtory/issues/106) # RX 7600 XT (RDNA3, 8 GB): the world reaches ~7000 draws at 2-3 fps, ~300 ms a frame is our own list recording, then the run exits with no message Reported on the build the README now calls supported (RDNA2 or newer), in case the numbers help. Nothing from the title is included: counters and log fragments only. **Environment.** RX 7600 XT 8 GB (RDNA3), Ryzen 5 9600X (6 cores / 12 threads), 30 GB RAM, RADV 26.3.1 (Mesa from the distro), GE-Proton11-16, KWin on Wayland with the desktop on the integrated GPU. Build `f104060` (85 commits after `73ee0ab`), `tools/build.sh` clean, `series-x`, `VICTORY_OUTPUT` unset (1080p window). Shader store warm: 2584 shaders, all already translated. **What happens.** The run reaches the world, ~6950-7150 draws a frame, and then: ``` 2.0 fps, 503.2 ms/frame (349.3 preparing: vkback recording and submitting; 383.4 on the GPU), 6954 draws 2.8 fps, 357.2 ms/frame (278.4 preparing: vkback recording and submitting; 342.4 on the GPU), 7147 draws ``` So **280-350 ms a frame is the recording and submitting of the lists**, and the card is busy a similar 340-380 ms. At 7000 draws that is about 50 µs a draw on this CPU. On the reference 9070 XT the README says 22-23 fps, so either the card or the CPU path diverges by an order of magnitude here. Each run also translates ~1600 shaders in-game even though the store is warm, so part of the first minutes is translation. But the 300 ms of recording is there after that too. **Then the run ends by itself.** Both runs so far: `EXIT 1` after one to two minutes, with no panic, no exception, no device loss and no out-of-memory line in `log.txt` or `vk.log`; the last frame line before it is a normal one. `loud.txt` has only the known `rule32` lane-branch counter (10 hits). If there is a path that exits 1 quietly, this is it. **Textures: the same "last fill kept" story as the 8 GB issue #103.** ``` texture refill put off: none of its memory is mapped (streamed out; the last fill kept, tried again later) +50 851 this window texture title memory partly unmapped (hole: zeros there, or the last fill kept) +52 255 this window texture refilled after refusals (its memory is all there again) +2 609 this window ``` On screen that is blocky tiles of another texture on roads and clothes, and a character that goes fully white or fully black for a moment. Which is what #103 describes from the other 8 GB card. **Memory at the first 3D frames, in case it is the same cause.** From the log: ``` umem: on (title GPU memory placed by umem by its attributes, VRAM title memory at most 3584 MiB) umem: vram 17 blocks 2294 MB, gtt 5 blocks 2381 MB memory: images own memory 0 (~0 MB), in the arena 1677 (~4205 MB; GPU-written 1178 ~4014 MB, texture copies 498 ~191 MB) ``` So the arena already holds ~4.2 GB of images (4.0 GB of them GPU-written) beside 2.3 GB of VRAM and 2.4 GB of GTT placed title memory, on an 8 GB card. It looked like a lot for the first frames. **Questions.** 1. Is ~50 µs per draw in recording what you see on the reference system at this draw count, or is this CPU path something specific to RDNA3/Wine? 2. Should the arena's 4 GB of GPU-written images be that big this early, or is that a leak-ish growth that #103's refill thrash then makes worse? 3. Is there a switch to make a quiet `EXIT 1` say why? I can re-run with any diagnostics you name and post the result. Method notes: frame lines are parsed from `log.txt`; I can re-run any probe on this machine and post deltas. No screenshots, captures or game content included.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 14:13:35 +00:00
Author
Owner

@⁠vktory6 on GitHub · 2026-12-01 14:14 UTC · original

Thank you, a very clear report, and the numbers help a lot. I created a task based on your report: github.com/vktory6/VKtory@43581cf (it's in the 8 GB item from #103 and the exit-1 item). Your three questions:

  1. No, ~50 µs a draw is not normal. On the reference system the renderer thread spends ~33 ms of CPU a present at a similar draw count, so 280-350 ms is ten times that. My guess is that it's waiting for memory rather than working: on 8 GB, image memory and arena blocks have to wait for the GPU to finish with older work. That's unproven, so the most useful next data: the vkback live: stats lines from vk.log over a minute in the world, and the "issues quiet this window" line, especially any image memory ... waited for counts. If you can, also a short latency trace: EXTRA_ENV="VKB_LAT=/tmp/lat.txt", read with greenfield/tools/frec/frames.py.
  2. The 4 GB of GPU-written images is expected. The reference card shows the same ~4.0 GB (about 1,200 images) in the same scene. Those are the title's render targets at its own resolution, not the window's, so it isn't a leak. On 8 GB it is simply half the card before any texture, which is why the texture refusals and refills from #103 kick in. Fitting 8 GB is about what happens next (evicting or placing textures elsewhere instead of refusing them), which is that task.
  3. The quiet EXIT 1 is a known open problem, also seen on the reference card (#16): the process ends without passing through any of our exit paths, and the best repro so far is a burst of new pipelines and translations when new geometry comes into view. No switch makes it talk yet. The ~1,600 translations per run you see are that burst. Your two runs are now listed there; if you get one more, the last ~200 lines of log.txt before the exit would help, to compare with #16.

The Series S version would be the natural fit for an 8 GB card, but it currently crashes within seconds on every card (#75); work on that starts today.

**@⁠vktory6** on GitHub · 2026-12-01 14:14 UTC · [original](https://github.com/vktory6/VKtory/issues/106#issuecomment-7313916280) Thank you, a very clear report, and the numbers help a lot. I created a task based on your report: https://github.com/vktory6/VKtory/commit/43581cf (it's in the 8 GB item from #103 and the exit-1 item). Your three questions: 1. **No, ~50 µs a draw is not normal.** On the reference system the renderer thread spends ~33 ms of CPU a present at a similar draw count, so 280-350 ms is ten times that. My guess is that it's waiting for memory rather than working: on 8 GB, image memory and arena blocks have to wait for the GPU to finish with older work. That's unproven, so the most useful next data: the `vkback live:` stats lines from `vk.log` over a minute in the world, and the "issues quiet this window" line, especially any `image memory ... waited for` counts. If you can, also a short latency trace: `EXTRA_ENV="VKB_LAT=/tmp/lat.txt"`, read with `greenfield/tools/frec/frames.py`. 2. **The 4 GB of GPU-written images is expected.** The reference card shows the same ~4.0 GB (about 1,200 images) in the same scene. Those are the title's render targets at its own resolution, not the window's, so it isn't a leak. On 8 GB it is simply half the card before any texture, which is why the texture refusals and refills from #103 kick in. Fitting 8 GB is about what happens next (evicting or placing textures elsewhere instead of refusing them), which is that task. 3. **The quiet `EXIT 1` is a known open problem**, also seen on the reference card (#16): the process ends without passing through any of our exit paths, and the best repro so far is a burst of new pipelines and translations when new geometry comes into view. No switch makes it talk yet. The ~1,600 translations per run you see are that burst. Your two runs are now listed there; if you get one more, the last ~200 lines of `log.txt` before the exit would help, to compare with #16. The Series S version would be the natural fit for an 8 GB card, but it currently crashes within seconds on every card (#75); work on that starts today.
Author
Owner

@⁠vktory6 on GitHub · 2026-12-01 15:04 UTC · original

Possibly relevant here: #111 (merged as 1325b2f) fixes a case where texture refusals became permanent. Once system memory (GTT) crossed its line it never came back under, because free space inside its blocks counted as used, so every texture after that stayed black for the rest of the session. Your stats show the same refusal counters, so a recheck on current main would tell us how much of this it explains. The same stats lines as before are perfect, if you get the chance.

**@⁠vktory6** on GitHub · 2026-12-01 15:04 UTC · [original](https://github.com/vktory6/VKtory/issues/106#issuecomment-7315298912) Possibly relevant here: #111 (merged as 1325b2f) fixes a case where texture refusals became permanent. Once system memory (GTT) crossed its line it never came back under, because free space inside its blocks counted as used, so every texture after that stayed black for the rest of the session. Your stats show the same refusal counters, so a recheck on current main would tell us how much of this it explains. The same stats lines as before are perfect, if you get the chance.
Author
Owner

@⁠firefloc on GitHub · 2026-12-01 20:28 UTC · original

We reproduced a similar square-pattern artifact on an RX 7900 XTX (24 GB), RADV, GE-Proton 11-14, Series X mode. The local build was f0929d9 on VKtory 5930321, with the same local Wine stack guard patch in both runs.

We replayed copies of the same checkpoint with identical binaries and the same starting shader cache. When VICTORY_BCPACK_TABLES pointed to a readable tables file, the face and wall in an early indoor cutscene and the wall around a window in the following room rendered cleanly. When it pointed to a missing file, the BCPack table load failed, DirectStorage rejected BCPack reads, and the same cutscene shot and window showed square-grained corruption again. This agrees with the BCPack result in #51.

This comparison covers the face and walls. The exact clothing and road views from this issue were outside the comparison. Confirming that the tables load successfully would help interpret a rerun of the reported scene alongside the texture refusal and mapping counters.

**@⁠firefloc** on GitHub · 2026-12-01 20:28 UTC · [original](https://github.com/vktory6/VKtory/issues/106#issuecomment-7324760070) We reproduced a similar square-pattern artifact on an RX 7900 XTX (24 GB), RADV, GE-Proton 11-14, Series X mode. The local build was `f0929d9` on VKtory `5930321`, with the same local Wine stack guard patch in both runs. We replayed copies of the same checkpoint with identical binaries and the same starting shader cache. When `VICTORY_BCPACK_TABLES` pointed to a readable tables file, the face and wall in an early indoor cutscene and the wall around a window in the following room rendered cleanly. When it pointed to a missing file, the BCPack table load failed, DirectStorage rejected BCPack reads, and the same cutscene shot and window showed square-grained corruption again. This agrees with the BCPack result in #51. This comparison covers the face and walls. The exact clothing and road views from this issue were outside the comparison. Confirming that the tables load successfully would help interpret a rerun of the reported scene alongside the texture refusal and mapping counters.
Author
Owner

@⁠vktory6 on GitHub · 2026-12-01 20:32 UTC · original

Thanks, that's a clean A/B. Same binaries and cache, only the BCPack tables changed, and the face/wall corruption and the square grain came and went with them. I added it to the TASKS item "8 GB cards: textures refused and refill thrash" (github.com/vktory6/VKtory@ab7b4e6), so a retest of the 8 GB symptoms first checks that the tables loaded, and only then reads the refusal and mapping counters. (Same note covers your comment on #103.)

**@⁠vktory6** on GitHub · 2026-12-01 20:32 UTC · [original](https://github.com/vktory6/VKtory/issues/106#issuecomment-7324863473) Thanks, that's a clean A/B. Same binaries and cache, only the BCPack tables changed, and the face/wall corruption and the square grain came and went with them. I added it to the TASKS item "8 GB cards: textures refused and refill thrash" (https://github.com/vktory6/VKtory/commit/ab7b4e6), so a retest of the 8 GB symptoms first checks that the tables loaded, and only then reads the refusal and mapping counters. (Same note covers your comment on #103.)
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/vktory6--VKtory#106
No description provided.