Legion Go (Z1 Extreme / Phoenix) - benchmark works but gameplay never loads #525

Open
opened 2026-12-04 22:08:32 +00:00 by github-bot · 10 comments
Owner

@⁠Poi159 on GitHub · 2026-12-04 22:04 UTC · original

Device:
Lenovo Legion Go

GPU:
AMD Radeon 780M (Phoenix)
device=1002:15bf

OS:
SteamOS

Environment:
Distrobox Arch Linux

Build:
b581f7e

Tests performed:

  • setup.sh
  • setup.sh fsr4
  • run.sh shaders
  • run.sh warm
  • Proton Experimental
  • USE_SYSTEM_WINE=1

Results:

  • Menu loads
  • Benchmark works (~30 FPS)
  • Ray tracing works
  • FSR4 works
  • World never loads
  • Infinite loading screen
  • No crashes

I am stumped, no clue how to progress forward.

**@⁠Poi159** on GitHub · 2026-12-04 22:04 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/525) Device: Lenovo Legion Go GPU: AMD Radeon 780M (Phoenix) device=1002:15bf OS: SteamOS Environment: Distrobox Arch Linux Build: b581f7e Tests performed: - setup.sh - setup.sh fsr4 - run.sh shaders - run.sh warm - Proton Experimental - USE_SYSTEM_WINE=1 Results: - Menu loads - Benchmark works (~30 FPS) - Ray tracing works - FSR4 works - World never loads - Infinite loading screen - No crashes I am stumped, no clue how to progress forward.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-04 22:08:33 +00:00
Author
Owner

@⁠Danneman92 on GitHub · 2026-12-05 07:27 UTC · original

Hit the same class of wall on a Z1 Extreme handheld (ROG Ally X, SteamOS) — menu and benchmarks fine, world never loaded. Two things fixed it, both worth checking on your box:

1) GPU-accessible memory (GTT) is too small.
Stock SteamOS gives the APU ~8 GiB and the title wants ~9 GB in-world, so the stream-in stalls exactly where yours does. Check what you have:

cat /proc/cmdline
cat /sys/class/drm/card0/device/mem_info_gtt_total

and dmesg | grep -i 'command submission' after a failed load. To raise it, the ESP config is the only file this boot path reads (/etc/default/grub and grub-mkconfig are ignored), and the kernel lines are indented inside steamenv_boot, so keep the anchor loose:

sudo cp /efi/EFI/steamos/grub.cfg /efi/EFI/steamos/grub.cfg.bak
sudo sed -i 's/^\([[:space:]]*steamenv_boot[[:space:]]\+linux.*\)$/\1 amdgpu.gttsize=11264 ttm.pages_limit=3145728/' /efi/EFI/steamos/grub.cfg
sudo grep -n gttsize /efi/EFI/steamos/grub.cfg   # one hit per boot entry

You are on 16 GB total, so 11264 (11 GiB) is the sane number — 16384 is for 24 GB boxes like mine. Reboot, re-check /proc/cmdline and that mem_info_gtt_total moved.

2) Make sure you are actually on series-s.
run.conf/menu.conf re-export their own values and override environment variables, so passing knobs as env silently runs the fat series-x profile — which OOMs at frame 1 on 16 GB. Knobs go after the mode as arguments:

./run.sh play CONSOLE=series-s KEEP_FREE=6144

Our version went from "never loads" to in-world (2.1M draws, 9.2 GB GTT in use) on the same Z1 Extreme silicon with those two changes alone.

Separately, if you ever launch it from a Steam library shortcut in game mode and get a black window with audio playing, that is a different wall: Steam injects ENABLE_GAMESCOPE_WSI=1 + GAMESCOPE_WAYLAND_DISPLAY, which forces the gamescope Wayland WSI and the swap chain then fails on every attempt. Write-up + example wrapper in #561 (docs/STEAMOS.md once merged).

**@⁠Danneman92** on GitHub · 2026-12-05 07:27 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/525#issuecomment-7434154057) Hit the same class of wall on a Z1 Extreme handheld (ROG Ally X, SteamOS) — menu and benchmarks fine, world never loaded. Two things fixed it, both worth checking on your box: **1) GPU-accessible memory (GTT) is too small.** Stock SteamOS gives the APU ~8 GiB and the title wants ~9 GB in-world, so the stream-in stalls exactly where yours does. Check what you have: ```sh cat /proc/cmdline cat /sys/class/drm/card0/device/mem_info_gtt_total ``` and `dmesg | grep -i 'command submission'` after a failed load. To raise it, the ESP config is the only file this boot path reads (`/etc/default/grub` and `grub-mkconfig` are ignored), and the kernel lines are indented inside `steamenv_boot`, so keep the anchor loose: ```sh sudo cp /efi/EFI/steamos/grub.cfg /efi/EFI/steamos/grub.cfg.bak sudo sed -i 's/^\([[:space:]]*steamenv_boot[[:space:]]\+linux.*\)$/\1 amdgpu.gttsize=11264 ttm.pages_limit=3145728/' /efi/EFI/steamos/grub.cfg sudo grep -n gttsize /efi/EFI/steamos/grub.cfg # one hit per boot entry ``` You are on 16 GB total, so 11264 (11 GiB) is the sane number — 16384 is for 24 GB boxes like mine. Reboot, re-check `/proc/cmdline` and that `mem_info_gtt_total` moved. **2) Make sure you are actually on series-s.** `run.conf`/`menu.conf` re-export their own values and override environment variables, so passing knobs as env silently runs the fat series-x profile — which OOMs at frame 1 on 16 GB. Knobs go after the mode as arguments: ```sh ./run.sh play CONSOLE=series-s KEEP_FREE=6144 ``` Our version went from "never loads" to in-world (2.1M draws, 9.2 GB GTT in use) on the same Z1 Extreme silicon with those two changes alone. Separately, if you ever launch it from a Steam library shortcut in game mode and get a **black window with audio playing**, that is a different wall: Steam injects `ENABLE_GAMESCOPE_WSI=1` + `GAMESCOPE_WAYLAND_DISPLAY`, which forces the gamescope Wayland WSI and the swap chain then fails on every attempt. Write-up + example wrapper in #561 (docs/STEAMOS.md once merged).
Author
Owner

@⁠Poi159 on GitHub · 2026-12-05 10:21 UTC · original

I applied amdgpu.gttsize=11264 ttm.pages_limit=3145728. The active GTT total changed from 16,444,403,712 bytes to 11,811,160,064 bytes. With CONSOLE=series-s KEEP_FREE=6144, the previous black-screen freeze no longer occurs, but the game stays indefinitely on the loading screen. The log confirms Series S and 1920×1080 were applied. There are no GPU resets, fatal errors, timeouts, or OOM messages.

**@⁠Poi159** on GitHub · 2026-12-05 10:21 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/525#issuecomment-7436386115) I applied amdgpu.gttsize=11264 ttm.pages_limit=3145728. The active GTT total changed from 16,444,403,712 bytes to 11,811,160,064 bytes. With CONSOLE=series-s KEEP_FREE=6144, the previous black-screen freeze no longer occurs, but the game stays indefinitely on the loading screen. The log confirms Series S and 1920×1080 were applied. There are no GPU resets, fatal errors, timeouts, or OOM messages.
Author
Owner

@⁠Poi159 on GitHub · 2026-12-05 10:22 UTC · original

Additional testing:

  • Pulled latest upstream changes:
    git pull
  • Current head:
    b581f7e
  • Rebuilt from a fresh clone
  • Re-ran shaders and warm

Memory test:

Added:
amdgpu.gttsize=11264
ttm.pages_limit=3145728

Before:
mem_info_gtt_total = 16444403712 (~16.4 GB)

After:
mem_info_gtt_total = 11811160064 (~11.8 GB)

Results:

Before patch:

  • Infinite loading screen

After a2c8b12:

  • Loading screen progresses to black screen
  • Texture streaming starts
  • CPU remains active
  • VRAM reaches about 2.16/2.17 GB
  • Freeze/crash

After GTT changes:

  • No crash
  • Returns to infinite loading screen
  • World still never loads

Other notes:

  • Benchmark works
  • Menu works
  • RT tested on and off
  • FSR4 installed
  • Proton tested
  • System Wine tested
  • No AMDGPU hangs, VM faults, or GPU reset messages in dmesg
**@⁠Poi159** on GitHub · 2026-12-05 10:22 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/525#issuecomment-7436403110) Additional testing: - Pulled latest upstream changes: git pull - Current head: b581f7e - Rebuilt from a fresh clone - Re-ran shaders and warm Memory test: Added: amdgpu.gttsize=11264 ttm.pages_limit=3145728 Before: mem_info_gtt_total = 16444403712 (~16.4 GB) After: mem_info_gtt_total = 11811160064 (~11.8 GB) Results: Before patch: - Infinite loading screen After a2c8b12: - Loading screen progresses to black screen - Texture streaming starts - CPU remains active - VRAM reaches about 2.16/2.17 GB - Freeze/crash After GTT changes: - No crash - Returns to infinite loading screen - World still never loads Other notes: - Benchmark works - Menu works - RT tested on and off - FSR4 installed - Proton tested - System Wine tested - No AMDGPU hangs, VM faults, or GPU reset messages in dmesg
Author
Owner

@⁠Danneman92 on GitHub · 2026-12-05 11:28 UTC · original

Thanks for testing all of that so thoroughly — and first, a correction from me: put your GTT back to 16384. I sized those numbers for a stock SteamOS box (8 GiB) without asking what yours was, and yours was already 16.4 GB, so my suggestion actually made your budget smaller. Revert that kernel arg and re-check mem_info_gtt_total (~16444403712) before going further. Sorry for the detour — series-s looking clean is real progress either way.

With the OOM cliff gone, what you describe (infinite loading, no dmesg errors, VRAM plateauing early) matches the pipeline-library sweep more than a hang. On our Ally X (same Z1E silicon) a cold library revalidates before the first world frame: ~84,000 entries at 75–100/s ≈ 15–20 minutes parked on the loading screen with no visible change. Three things distinguish the sweep from a real stall:

  1. How long did you let it sit? If under ~25 minutes, try once and don't touch anything.
  2. Does the progress counter in the run log keep climbing? Ours prints validation counts; a steadily-climbing counter = it's the sweep and it will finish. Completely frozen = different bug, and worth saying so.
  3. Which compatibility tool, exactly? This is the big one: GE-Proton 11-16. With GE-Proton 10-26 the prepared pipeline blobs get silently rejected and it falls back to compiling at ~3/s — that's 6–9 hours of "infinite loading" that looks exactly like your symptom. If the runs above were Proton Experimental or system Wine, try GE-Proton 11-16 before anything else.

If you can paste the last ~20 lines of local/run/direct-*.log from the stall plus dmesg | grep -iE 'command submission|gtt|ring', I can tell you which of those it is.

**@⁠Danneman92** on GitHub · 2026-12-05 11:28 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/525#issuecomment-7437211540) Thanks for testing all of that so thoroughly — and first, a correction from me: **put your GTT back to 16384.** I sized those numbers for a stock SteamOS box (8 GiB) without asking what yours was, and yours was already 16.4 GB, so my suggestion actually made your budget smaller. Revert that kernel arg and re-check `mem_info_gtt_total` (~16444403712) before going further. Sorry for the detour — series-s looking clean is real progress either way. With the OOM cliff gone, what you describe (infinite loading, no dmesg errors, VRAM plateauing early) matches the **pipeline-library sweep** more than a hang. On our Ally X (same Z1E silicon) a cold library revalidates before the first world frame: ~84,000 entries at 75–100/s ≈ **15–20 minutes parked on the loading screen** with no visible change. Three things distinguish the sweep from a real stall: 1. **How long did you let it sit?** If under ~25 minutes, try once and don't touch anything. 2. **Does the progress counter in the run log keep climbing?** Ours prints validation counts; a steadily-climbing counter = it's the sweep and it will finish. Completely frozen = different bug, and worth saying so. 3. **Which compatibility tool, exactly?** This is the big one: **GE-Proton 11-16**. With GE-Proton 10-26 the prepared pipeline blobs get silently rejected and it falls back to compiling at ~3/s — that's 6–9 hours of "infinite loading" that looks exactly like your symptom. If the runs above were Proton Experimental or system Wine, try GE-Proton 11-16 before anything else. If you can paste the last ~20 lines of `local/run/direct-*.log` from the stall plus `dmesg | grep -iE 'command submission|gtt|ring'`, I can tell you which of those it is.
Author
Owner

@⁠Danneman92 on GitHub · 2026-12-05 13:56 UTC · original

One more angle, from an earlier session on this port (different box, system Wine): loading screen draws, the 3D world never does was for us a DLL-provenance wall inside the Wine prefix, not memory or the GPU.

  • The prefix must be win64 (WINEARCH=win64, rebuilt if it was ever created 32-bit) — the title's exe is x64 and a 32-bit prefix fails in odd, late places.
  • d3d12.dll + d3d12core.dll must be vkd3d-proton's (files/lib64/wine/vkd3d-proton/), and dxgi.dll + d3d11.dll DXVK's (files/lib64/wine/dxvk/), copied into drive_c/windows/system32/. The dxgi.dll one directory up in that tree is Wine's own — it imports wined3d and presents black frames forever (no crash, no dmesg lines).
  • Overrides with semicolons, not commas: WINEDLLOVERRIDES="d3d12=n,b;d3d12core=n,b;dxgi=n,b;d3d11=n,b". A comma-joined list applies the mode to the first name only and the rest stay builtin.
  • Prove it instead of assuming: WINEDEBUG=+loaddll wine victory.exe --version 2>&1 | grep -iE 'dxgi|d3d12|d3d11' — every line must end in native. Quick size tell: Wine's dxgi ~1.5 MB, DXVK's ~2.6 MB.
  • Related symptom when vkd3d-proton is missing entirely: the layer logs no host D3D12 device; command lists will not run and presents black frames indefinitely.

Your report lists System Wine tested — that is precisely the lane where this bites, because system Wine ships its own dxgi/d3d12 and the menu/loading screen (2D path) still draws fine. If you can paste the +loaddll grep or ls -l of those four DLLs in the prefix's system32, it is a one-look confirmation.

**@⁠Danneman92** on GitHub · 2026-12-05 13:56 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/525#issuecomment-7439154026) One more angle, from an earlier session on this port (different box, system Wine): **loading screen draws, the 3D world never does** was for us a DLL-provenance wall inside the Wine prefix, not memory or the GPU. - The prefix must be **win64** (`WINEARCH=win64`, rebuilt if it was ever created 32-bit) — the title's exe is x64 and a 32-bit prefix fails in odd, late places. - `d3d12.dll` + `d3d12core.dll` must be **vkd3d-proton**'s (`files/lib64/wine/vkd3d-proton/`), and `dxgi.dll` + `d3d11.dll` **DXVK**'s (`files/lib64/wine/dxvk/`), copied into `drive_c/windows/system32/`. The `dxgi.dll` one directory up in that tree is Wine's own — it imports `wined3d` and presents black frames forever (no crash, no dmesg lines). - Overrides with **semicolons**, not commas: `WINEDLLOVERRIDES="d3d12=n,b;d3d12core=n,b;dxgi=n,b;d3d11=n,b"`. A comma-joined list applies the mode to the first name only and the rest stay builtin. - Prove it instead of assuming: `WINEDEBUG=+loaddll wine victory.exe --version 2>&1 | grep -iE 'dxgi|d3d12|d3d11'` — every line must end in `native`. Quick size tell: Wine's dxgi ~1.5 MB, DXVK's ~2.6 MB. - Related symptom when vkd3d-proton is missing entirely: the layer logs `no host D3D12 device; command lists will not run` and presents black frames indefinitely. Your report lists **System Wine tested** — that is precisely the lane where this bites, because system Wine ships its own `dxgi`/`d3d12` and the menu/loading screen (2D path) still draws fine. If you can paste the `+loaddll` grep or `ls -l` of those four DLLs in the prefix's `system32`, it is a one-look confirmation.
Author
Owner

@⁠Danneman92 on GitHub · 2026-12-05 14:33 UTC · original

Two exact log lines make the "sweep or genuine stall?" question answerable in one grep. On a healthy cold run the log prints, from these modules:

INFO victory_gpu::pipeline::known: title pipelines known from earlier runs pipelines=89256 shaders=25761
89256 pipelines known, 89247 made before (da49f38300c7ec3d), 0 bad, 0 refused by the host; 9 to make, 5 processes
89256 of 89256 native pipelines on disk (0 skipped as bad/hung, 0 refused by the host)
INFO victory_gpu::pipeline::library: title pipelines to start early pipelines=3210
INFO victory_gpu::pipeline::make: pipeline workers workers=10

So while it sits on the loading screen, run:

grep -aE 'pipeline::(known|library|make)' local/run/direct-*.log | tail -20

How to read it:

  • pipelines= climbing toward ~89k = the validation sweep; leave it alone. 75-100/s finishes in 15-20 min; ~3/s means hours and points at the wrong compatibility tool (GE-Proton 10-26 silently rejects the prepared blobs - GE-Proton 11-16 is the one that keeps them).
  • made before far smaller than known (especially 0 made before) = the prepared pipeline cache is being thrown away on every launch; that is the wrong-Proton signature, not a hang.
  • The lines never appear, or the number is frozen between launches = not the sweep, and the loading stall is something else (in which case the DLL-provenance check from my previous comment is the next thing to rule out).
**@⁠Danneman92** on GitHub · 2026-12-05 14:33 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/525#issuecomment-7439672191) Two exact log lines make the "sweep or genuine stall?" question answerable in one grep. On a healthy cold run the log prints, from these modules: ``` INFO victory_gpu::pipeline::known: title pipelines known from earlier runs pipelines=89256 shaders=25761 89256 pipelines known, 89247 made before (da49f38300c7ec3d), 0 bad, 0 refused by the host; 9 to make, 5 processes 89256 of 89256 native pipelines on disk (0 skipped as bad/hung, 0 refused by the host) INFO victory_gpu::pipeline::library: title pipelines to start early pipelines=3210 INFO victory_gpu::pipeline::make: pipeline workers workers=10 ``` So while it sits on the loading screen, run: ```sh grep -aE 'pipeline::(known|library|make)' local/run/direct-*.log | tail -20 ``` How to read it: - **`pipelines=` climbing toward ~89k** = the validation sweep; leave it alone. 75-100/s finishes in 15-20 min; ~3/s means hours and points at the wrong compatibility tool (GE-Proton 10-26 silently rejects the prepared blobs - GE-Proton 11-16 is the one that keeps them). - **`made before` far smaller than `known`** (especially `0 made before`) = the prepared pipeline cache is being thrown away on every launch; that is the wrong-Proton signature, not a hang. - **The lines never appear, or the number is frozen between launches** = not the sweep, and the loading stall is something else (in which case the DLL-provenance check from my previous comment is the next thing to rule out).
Author
Owner

@⁠Pasherdmx on GitHub · 2026-12-05 16:01 UTC · original

Same exact issue on GPD Win 5 (AMD Ryzen AI Max+ 395 / Radeon 8060S, Strix Halo, device=0x1586) running Bazzite + Arch Distrobox, commit 8bf4878:

System & Setup:

  • Total RAM: 32 GB (8 GB UMA Frame Buffer in BIOS -> ~23.1 GB usable system RAM)
  • GTT Total: 17179869184 (16 GiB)
  • Profile tested: CONSOLE=series-s KEEP_FREE=4096, 1920x1080 fullscreen (VICTORY_BVH_BUILDER=0)
  • Compatibility tools tested: Proton - Experimental, GE-Proton11-7, and latest GE-Proton (verified vkd3d-proton d3d12core.dll 6.4 MB and DXVK dxgi.dll 5.2 MB are in system32)
  • Pipeline cache: All 94,189 pipelines are already built on disk (94189 pipelines known, 94189 made before), so it is not stuck on a cold shader sweep.
  • Kernel / dmesg: Clean (no AMDGPU hangs, ring timeouts, or VM faults).

Behavior & Log Excerpt (local/run/last.log):

Menu and loading screen run smoothly at 30 FPS (Draws 9/4), lazy pages slowly keeps reading (5722 MiB -> 5754 MiB read), but 3D gameplay never loads — it stalls indefinitely on the loading screen with 1,477 textures stuck waiting (0 due):

INFO victory_gpu::pipeline::library: host pipeline library saved bytes=0 early=24 made=0 loaded=2707 started_early=2707
INFO victory_gpu::host: textures picked by index, the queue: 1477 slots, 0 of them due (the oldest written 0 frames ago), 0 waiting for their memory, 0 uploaded in part ... full_upload_rechecks=1477 max_overdue_frames=0 peak_overdue_frames=0
INFO victory_gpu::host: draws without a host pipeline: 0 being made; texture slots written so far: 17965 placed, 4243 of objects; textures picked by index: 1623 uploaded so far (243 MB), 1477 waiting, 371 passed over unmapped, 38 uploaded from memory that read all zeros (0 of them filled later)
INFO victory_gpu::um: lazy pages: 108060 mapped in the table, 6864 of them at the title's address; 8129 of the mapped shown to the card ... 5754 MiB read and 0 MiB written through pool windows, 7 copies stopped at an unmapped page; 4679 MiB of windows touched ahead
**@⁠Pasherdmx** on GitHub · 2026-12-05 16:01 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/525#issuecomment-7440947870) Same exact issue on **GPD Win 5 (AMD Ryzen AI Max+ 395 / Radeon 8060S, Strix Halo, `device=0x1586`)** running **Bazzite + Arch Distrobox**, commit `8bf4878`: ### System & Setup: - **Total RAM:** 32 GB (8 GB UMA Frame Buffer in BIOS -> `~23.1 GB` usable system RAM) - **GTT Total:** `17179869184` (16 GiB) - **Profile tested:** `CONSOLE=series-s KEEP_FREE=4096`, `1920x1080` fullscreen (`VICTORY_BVH_BUILDER=0`) - **Compatibility tools tested:** `Proton - Experimental`, `GE-Proton11-7`, and latest `GE-Proton` (verified `vkd3d-proton` `d3d12core.dll` 6.4 MB and `DXVK` `dxgi.dll` 5.2 MB are in `system32`) - **Pipeline cache:** All `94,189` pipelines are already built on disk (`94189 pipelines known, 94189 made before`), so it is not stuck on a cold shader sweep. - **Kernel / dmesg:** Clean (no AMDGPU hangs, ring timeouts, or VM faults). ### Behavior & Log Excerpt (`local/run/last.log`): Menu and loading screen run smoothly at 30 FPS (`Draws 9/4`), `lazy pages` slowly keeps reading (`5722 MiB -> 5754 MiB read`), but 3D gameplay never loads — it stalls indefinitely on the loading screen with **1,477 textures stuck waiting** (`0 due`): ```text INFO victory_gpu::pipeline::library: host pipeline library saved bytes=0 early=24 made=0 loaded=2707 started_early=2707 INFO victory_gpu::host: textures picked by index, the queue: 1477 slots, 0 of them due (the oldest written 0 frames ago), 0 waiting for their memory, 0 uploaded in part ... full_upload_rechecks=1477 max_overdue_frames=0 peak_overdue_frames=0 INFO victory_gpu::host: draws without a host pipeline: 0 being made; texture slots written so far: 17965 placed, 4243 of objects; textures picked by index: 1623 uploaded so far (243 MB), 1477 waiting, 371 passed over unmapped, 38 uploaded from memory that read all zeros (0 of them filled later) INFO victory_gpu::um: lazy pages: 108060 mapped in the table, 6864 of them at the title's address; 8129 of the mapped shown to the card ... 5754 MiB read and 0 MiB written through pool windows, 7 copies stopped at an unmapped page; 4679 MiB of windows touched ahead ```
Author
Owner

@⁠Danneman92 on GitHub · 2026-12-05 17:00 UTC · original

Same boat as the Legion Go report above, but the line you pasted points somewhere specific — and it is not the pipeline cache (you ruled that out correctly) or the DLLs (you verified those too).

For comparison, here is the same queue line from an in-world run on a Z1 Extreme (24 GB, series-s, 1280x720, frame 131072, ~12 h of play):

textures picked by index, the queue: 27202 slots, 360 of them due (the oldest written 16 frames ago), 2266 waiting for their memory, 101 uploaded in part

Yours reads:

textures picked by index, the queue: 1477 slots, 0 of them due (the oldest written 0 frames ago), 0 waiting for their memory, 0 uploaded in part; full_upload_rechecks=1477

The difference that matters is 0 due with the oldest written 0 frames ago. Slots go due some frames after their table write; if your oldest queued slot was written zero frames ago, the whole queue is being re-written every single frame and the due timer restarts before anything can upload. That is why 1623 textures uploaded early (243 MB) and then it froze at 1477 waiting with 0 due — it is a livelock in the texture-by-index path, not a slow load. full_upload_rechecks=1477 (every slot re-checked, never due) says the same thing.

Three things that would pin it down:

  1. Is the frame counter advancing while it sits? grep -a 'frame presented' local/run/last.log | tail -5 — if frame= climbs while it's stuck on the loading screen, the title is looping; if it is frozen, it is blocked.
  2. The rest of that queue line and the lazy pages line in full (yours is cut off at peak_), plus mem_info_vram_used / mem_info_gtt_used while stuck.
  3. Drop VICTORY_BVH_BUILDER=0 (not part of any recipe I have seen) and try once more; also worth trying BIOS UMA frame buffer at auto/16 GB instead of 8 GB — the title wants ~9 GB of GPU-visible memory in-world and an 8 GB carve plus 16 GiB GTT is the tightest combination of anyone reporting this.

Honest caveat: your symptom is not identical to the Legion Go one (his had no texture queue evidence), so this is worth its own issue with the full log attached — the 0 due / oldest 0 frames ago pair is a much stronger signal than "infinite loading".

**@⁠Danneman92** on GitHub · 2026-12-05 17:00 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/525#issuecomment-7441777085) Same boat as the Legion Go report above, but the line you pasted points somewhere specific — and it is not the pipeline cache (you ruled that out correctly) or the DLLs (you verified those too). For comparison, here is the same queue line from an in-world run on a Z1 Extreme (24 GB, series-s, 1280x720, frame 131072, ~12 h of play): ``` textures picked by index, the queue: 27202 slots, 360 of them due (the oldest written 16 frames ago), 2266 waiting for their memory, 101 uploaded in part ``` Yours reads: ``` textures picked by index, the queue: 1477 slots, 0 of them due (the oldest written 0 frames ago), 0 waiting for their memory, 0 uploaded in part; full_upload_rechecks=1477 ``` The difference that matters is **`0 due` with `the oldest written 0 frames ago`**. Slots go due some frames *after* their table write; if your oldest queued slot was written zero frames ago, the whole queue is being re-written every single frame and the due timer restarts before anything can upload. That is why 1623 textures uploaded early (243 MB) and then it froze at 1477 waiting with 0 due — it is a livelock in the texture-by-index path, not a slow load. `full_upload_rechecks=1477` (every slot re-checked, never due) says the same thing. Three things that would pin it down: 1. **Is the frame counter advancing while it sits?** `grep -a 'frame presented' local/run/last.log | tail -5` — if `frame=` climbs while it's stuck on the loading screen, the title is looping; if it is frozen, it is blocked. 2. **The rest of that queue line and the `lazy pages` line in full** (yours is cut off at `peak_`), plus `mem_info_vram_used` / `mem_info_gtt_used` while stuck. 3. **Drop `VICTORY_BVH_BUILDER=0`** (not part of any recipe I have seen) and try once more; also worth trying BIOS UMA frame buffer at auto/16 GB instead of 8 GB — the title wants ~9 GB of GPU-visible memory in-world and an 8 GB carve plus 16 GiB GTT is the tightest combination of anyone reporting this. Honest caveat: your symptom is not identical to the Legion Go one (his had no texture queue evidence), so this is worth its own issue with the full log attached — the `0 due / oldest 0 frames ago` pair is a much stronger signal than "infinite loading".
Author
Owner

@⁠Danneman92 on GitHub · 2026-12-05 18:22 UTC · original

Correction to my own earlier answer, and it matters: the right GTT number depends on total RAM, and I mixed the two boxes up.

  • Ally X (ours): 24 GB RAM, amdgpu.gttsize=16384 (16 GiB) -> fits, works in-world with ~9.2 GB GTT in use.
  • Yours: if the Legion Go is the 16 GB model (please confirm - the Z1E Gen 1 is 16 GB), then 16.4 GB of GTT is more GPU-visible memory than the machine has RAM, and every page the title streams has to displace something else. That produces exactly what you describe: no OOM, no GPU reset, no dmesg errors, just a load that grinds and never arrives.
  • So for a 16 GB box the 11264 (11 GiB) you applied first was the right direction - my "put it back to 16384" was sized for my 24 GB machine and was wrong for yours. Sorry, that one was my mistake.

Could you tell me:

  1. free -m (total RAM) and cat /sys/class/drm/card0/device/mem_info_gtt_total right now.
  2. Whether you ever got past the loading screen when GTT was 11.8 GB (i.e. the state after your first comment) - you said the black-screen freeze stopped there, but did the world appear at all?
  3. mem_info_gtt_used and mem_info_vram_used sampled while it sits on the loading screen.

Rule of thumb from this end: GTT somewhere around two-thirds of total RAM on unified-memory boxes, never at or above total RAM. On your 16 GB machine that is ~10-11 GiB, and KEEP_FREE=6144 on top of that leaves the title a realistic working set.

**@⁠Danneman92** on GitHub · 2026-12-05 18:22 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/525#issuecomment-7443076318) Correction to my own earlier answer, and it matters: **the right GTT number depends on total RAM, and I mixed the two boxes up.** - Ally X (ours): **24 GB** RAM, `amdgpu.gttsize=16384` (16 GiB) -> fits, works in-world with ~9.2 GB GTT in use. - Yours: if the Legion Go is the **16 GB** model (please confirm - the Z1E Gen 1 is 16 GB), then 16.4 GB of GTT is *more GPU-visible memory than the machine has RAM*, and every page the title streams has to displace something else. That produces exactly what you describe: no OOM, no GPU reset, no dmesg errors, just a load that grinds and never arrives. - So for a 16 GB box the **11264 (11 GiB)** you applied first was the right direction - my "put it back to 16384" was sized for my 24 GB machine and was wrong for yours. Sorry, that one was my mistake. Could you tell me: 1. `free -m` (total RAM) and `cat /sys/class/drm/card0/device/mem_info_gtt_total` right now. 2. Whether you ever got past the loading screen **when GTT was 11.8 GB** (i.e. the state after your first comment) - you said the black-screen freeze stopped there, but did the world appear at all? 3. `mem_info_gtt_used` and `mem_info_vram_used` sampled while it sits on the loading screen. Rule of thumb from this end: GTT somewhere around two-thirds of total RAM on unified-memory boxes, never at or above total RAM. On your 16 GB machine that is ~10-11 GiB, and `KEEP_FREE=6144` on top of that leaves the title a realistic working set.
Author
Owner

@⁠tommiehansen on GitHub · 2026-12-05 20:58 UTC · original

The reporter in #619 had exactly this symptom on an Arch Distrobox and fixed it by installing the missing audio libraries inside the container: sudo pacman -S --needed libpulse alsa-lib alsa-plugins gst-plugins-base-libs gst-plugins-good. Worth trying before changing memory settings again. :)

**@⁠tommiehansen** on GitHub · 2026-12-05 20:58 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/525#issuecomment-7445260716) The reporter in #619 had exactly this symptom on an Arch Distrobox and fixed it by installing the missing audio libraries inside the container: `sudo pacman -S --needed libpulse alsa-lib alsa-plugins gst-plugins-base-libs gst-plugins-good`. Worth trying before changing memory settings again. :)
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#525
No description provided.