SOLVED: RDNA 3 (RX 7900 XTX): hangs on loading screen after the last DirectStorage batch, textures stay "waiting for their memory" #127

Closed
opened 2026-12-01 23:06:51 +00:00 by github-bot · 1 comment
Owner

@⁠CreatorHubEuRB on GitHub · 2026-12-01 23:04 UTC · original

System

  • GPU: AMD Radeon RX 7900 XTX 24 GB (RDNA 3, NAVI31, 1002:744c), Resizable BAR on;
    the iGPU of the 7800X3D is also present
  • CPU: Ryzen 7 7800X3D, 30.5 GB RAM
  • OS: Bazzite (Fedora Atomic), kernel 7.3.5; build and run inside an Arch Linux distrobox
  • Wine 11.22 (system, USE_SYSTEM_WINE=1), patched wineserver built by setup.sh
    (deps/wineserver/version matches, no "system wine changed" warning)
  • Mesa 26.3.1 and vkd3d-proton 71cae091, both from setup.sh
  • d3dcompiler_47.dll copied next to victory.exe
  • Console profile: Series X (default), VICTORY_OUTPUT=2560x1440, ray tracing off
  • Earlier tried GE-Proton10-32 (unpatched wineserver) and system Wine 11.23
    (patch does not apply, system wineserver used): same hang in all three setups

Symptom
The game reaches the loading screen and stays there indefinitely. The renderer
keeps running at ~100 fps with ~11 draws per frame, CPU ~2%, GPU ~10%, VRAM stays
at ~4.4 GB. The texture queue stays at "1478 waiting for their memory".
No errors in the log. SAFE=1 makes no difference.

What the logs show

  • Startup is clean: all title DLLs bind with 0 missing imports, all 94191
    pipelines come from the cache, 25694 shaders translated (195 do not translate).
  • The title opens its archives through DirectStorage, including
    pack\core_restofworld and pack\story000. The last HLE line before the hang is
    the dstorage file open of pack\story000\data\ttdb\vfx\ttdb_vfx.ttpf.
    After that the title logs nothing more until the window is closed.
  • All dstorage requests in VICTORY_DSTORAGE_LOG complete with result 0,
    none without a done time.
  • With VICTORY_DSTORAGE_TRACE=1: 0 requests with ok=false, 0 with
    list_changed_late=true. Many page requests during loading report
    mapping_changed=true (the mapping at enqueue differs from the one at submit;
    several share at_enqueue=af63bd4c8601b7df), all with ok=true.
  • The last batch before the hang:
    "a batch queue=6 commands=42 to_pages=41 lists_filled_since_enqueued=37 lists_not_filled=0"
    Its 41 page requests have no individual trace lines, i.e. nothing abnormal
    was flagged for them. After this batch the title submits no further
    dstorage requests.
  • Renderer stats during the hang show no waits at all (unmet_waits=0, all
    wait times 0.0 ms); it only draws the loading screen.
  • Texture queue: "1478 slots, 8 of them due, 1478 waiting for their memory";
    texture_late kind="after_memory" n=1 mean_ms=19129.

So DirectStorage looks clean from start to finish, but the title stops making
progress right after the last batch and the textures it queued never get
their memory.

Related: #6 and #12 (other RDNA 3 / 7900 XTX reports, different symptoms).

Attached: ds.log (VICTORY_DSTORAGE_LOG), play-ds.log.

play-ds.log
ds.log

Happy to run VICTORY_DSTORAGE_TRACE=2 or test patches.

Issue written by Claude Opus, troubleshooting supported by Claude Opus

**@⁠CreatorHubEuRB** on GitHub · 2026-12-01 23:04 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/127) System - GPU: AMD Radeon RX 7900 XTX 24 GB (RDNA 3, NAVI31, 1002:744c), Resizable BAR on; the iGPU of the 7800X3D is also present - CPU: Ryzen 7 7800X3D, 30.5 GB RAM - OS: Bazzite (Fedora Atomic), kernel 7.3.5; build and run inside an Arch Linux distrobox - Wine 11.22 (system, USE_SYSTEM_WINE=1), patched wineserver built by setup.sh (deps/wineserver/version matches, no "system wine changed" warning) - Mesa 26.3.1 and vkd3d-proton 71cae091, both from setup.sh - d3dcompiler_47.dll copied next to victory.exe - Console profile: Series X (default), VICTORY_OUTPUT=2560x1440, ray tracing off - Earlier tried GE-Proton10-32 (unpatched wineserver) and system Wine 11.23 (patch does not apply, system wineserver used): same hang in all three setups Symptom The game reaches the loading screen and stays there indefinitely. The renderer keeps running at ~100 fps with ~11 draws per frame, CPU ~2%, GPU ~10%, VRAM stays at ~4.4 GB. The texture queue stays at "1478 waiting for their memory". No errors in the log. SAFE=1 makes no difference. What the logs show - Startup is clean: all title DLLs bind with 0 missing imports, all 94191 pipelines come from the cache, 25694 shaders translated (195 do not translate). - The title opens its archives through DirectStorage, including pack\core_restofworld and pack\story000. The last HLE line before the hang is the dstorage file open of pack\story000\data\ttdb\vfx\ttdb_vfx.ttpf. After that the title logs nothing more until the window is closed. - All dstorage requests in VICTORY_DSTORAGE_LOG complete with result 0, none without a done time. - With VICTORY_DSTORAGE_TRACE=1: 0 requests with ok=false, 0 with list_changed_late=true. Many page requests during loading report mapping_changed=true (the mapping at enqueue differs from the one at submit; several share at_enqueue=af63bd4c8601b7df), all with ok=true. - The last batch before the hang: "a batch queue=6 commands=42 to_pages=41 lists_filled_since_enqueued=37 lists_not_filled=0" Its 41 page requests have no individual trace lines, i.e. nothing abnormal was flagged for them. After this batch the title submits no further dstorage requests. - Renderer stats during the hang show no waits at all (unmet_waits=0, all wait times 0.0 ms); it only draws the loading screen. - Texture queue: "1478 slots, 8 of them due, 1478 waiting for their memory"; texture_late kind="after_memory" n=1 mean_ms=19129. So DirectStorage looks clean from start to finish, but the title stops making progress right after the last batch and the textures it queued never get their memory. Related: #6 and #12 (other RDNA 3 / 7900 XTX reports, different symptoms). Attached: ds.log (VICTORY_DSTORAGE_LOG), play-ds.log. [play-ds.log](https://github.com/user-attachments/files/35712442/play-ds.log) [ds.log](https://github.com/user-attachments/files/35712443/ds.log) Happy to run VICTORY_DSTORAGE_TRACE=2 or test patches. Issue written by Claude Opus, troubleshooting supported by Claude Opus
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 23:06:51 +00:00
github-bot changed title from RDNA 3 (RX 7900 XTX): hangs on loading screen after the last DirectStorage batch, textures stay "waiting for their memory" to SOLVED: RDNA 3 (RX 7900 XTX): hangs on loading screen after the last DirectStorage batch, textures stay "waiting for their memory" 2026-12-02 09:36:56 +00:00
Author
Owner

@⁠CreatorHubEuRB on GitHub · 2026-12-02 09:36 UTC · original

Solved, and it was not RDNA3 at all.

Root cause: my Arch distrobox had no libpulse. tools/mute.sh failed with
"pactl: command not found", which pointed to it. Without libpulse, Wine's
winepulse.drv cannot load, so the title's XAudio2 (passed through to Wine's
xaudio2_9) had no working audio device. The menu still worked, but the game
hung forever while loading the story (right after the dstorage opens of
pack\story000...), with an idle CPU and the texture queue stuck at
"~1478 waiting for their memory". Nothing in the log pointed to audio,
because Wine's own error output is off by default (WINEDEBUG=-all).

Fix, inside the container:
sudo pacman -S --needed libpulse alsa-lib alsa-plugins gst-plugins-base-libs gst-plugins-good

After that pactl info reaches the host's PipeWire, the game has sound,
gets past the loading screen and plays fine on the RX 7900 XTX
(7800X3D, Bazzite + Arch distrobox, Wine 11.22 with the patched wineserver).
The same hang happened with GE-Proton10-32, since both runtimes use the
container's libraries.

On Arch, libpulse and the GStreamer plugins are only optional dependencies
of wine, so a fresh container or a minimal install will not have them.

Suggestions:

  • setup.sh could check for libpulse (or a working pactl info) and name it
    like the other missing tools.
  • MUTE=1 silently does nothing when pactl is missing; a warning would help.
  • A warning when the title's XAudio2 cannot create its mastering voice
    would have made this obvious.

Everything else I tested earlier (iGPU, kernel 6.19/7.3.5, IOMMU, ray tracing,
paging, RADV_LAZY_L2_WRITEBACK=0, commit 109cdb5) was not related.

**@⁠CreatorHubEuRB** on GitHub · 2026-12-02 09:36 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/127#issuecomment-7341182572) Solved, and it was not RDNA3 at all. Root cause: my Arch distrobox had no libpulse. `tools/mute.sh` failed with "pactl: command not found", which pointed to it. Without libpulse, Wine's winepulse.drv cannot load, so the title's XAudio2 (passed through to Wine's xaudio2_9) had no working audio device. The menu still worked, but the game hung forever while loading the story (right after the dstorage opens of pack\story000\...), with an idle CPU and the texture queue stuck at "~1478 waiting for their memory". Nothing in the log pointed to audio, because Wine's own error output is off by default (WINEDEBUG=-all). Fix, inside the container: sudo pacman -S --needed libpulse alsa-lib alsa-plugins gst-plugins-base-libs gst-plugins-good After that `pactl info` reaches the host's PipeWire, the game has sound, gets past the loading screen and plays fine on the RX 7900 XTX (7800X3D, Bazzite + Arch distrobox, Wine 11.22 with the patched wineserver). The same hang happened with GE-Proton10-32, since both runtimes use the container's libraries. On Arch, libpulse and the GStreamer plugins are only optional dependencies of wine, so a fresh container or a minimal install will not have them. Suggestions: - setup.sh could check for libpulse (or a working `pactl info`) and name it like the other missing tools. - MUTE=1 silently does nothing when pactl is missing; a warning would help. - A warning when the title's XAudio2 cannot create its mastering voice would have made this obvious. Everything else I tested earlier (iGPU, kernel 6.19/7.3.5, IOMMU, ray tracing, paging, RADV_LAZY_L2_WRITEBACK=0, commit 109cdb5) was not related.
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/lobomfz--VIctory-xmem#127
No description provided.