Legion Go (Z1 Extreme / Phoenix) - benchmark works but gameplay never loads #525
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem#525
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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:
b581f7eTests performed:
Results:
I am stumped, no clue how to progress forward.
@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:
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/grubandgrub-mkconfigare ignored), and the kernel lines are indented insidesteamenv_boot, so keep the anchor loose: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/cmdlineand thatmem_info_gtt_totalmoved.2) Make sure you are actually on series-s.
run.conf/menu.confre-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: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).@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:22 UTC · original
Additional testing:
git pull
b581f7eMemory 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:
After
a2c8b12:After GTT changes:
Other notes:
@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:
If you can paste the last ~20 lines of
local/run/direct-*.logfrom the stall plusdmesg | grep -iE 'command submission|gtt|ring', I can tell you which of those it is.@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.
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.dllmust be vkd3d-proton's (files/lib64/wine/vkd3d-proton/), anddxgi.dll+d3d11.dllDXVK's (files/lib64/wine/dxvk/), copied intodrive_c/windows/system32/. Thedxgi.dllone directory up in that tree is Wine's own — it importswined3dand presents black frames forever (no crash, no dmesg lines).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.WINEDEBUG=+loaddll wine victory.exe --version 2>&1 | grep -iE 'dxgi|d3d12|d3d11'— every line must end innative. Quick size tell: Wine's dxgi ~1.5 MB, DXVK's ~2.6 MB.no host D3D12 device; command lists will not runand 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/d3d12and the menu/loading screen (2D path) still draws fine. If you can paste the+loaddllgrep orls -lof those four DLLs in the prefix'ssystem32, it is a one-look confirmation.@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:
So while it sits on the loading screen, run:
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 beforefar smaller thanknown(especially0 made before) = the prepared pipeline cache is being thrown away on every launch; that is the wrong-Proton signature, not a hang.@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, commit8bf4878:System & Setup:
~23.1 GBusable system RAM)17179869184(16 GiB)CONSOLE=series-s KEEP_FREE=4096,1920x1080fullscreen (VICTORY_BVH_BUILDER=0)Proton - Experimental,GE-Proton11-7, and latestGE-Proton(verifiedvkd3d-protond3d12core.dll6.4 MB andDXVKdxgi.dll5.2 MB are insystem32)94,189pipelines are already built on disk (94189 pipelines known, 94189 made before), so it is not stuck on a cold shader sweep.Behavior & Log Excerpt (
local/run/last.log):Menu and loading screen run smoothly at 30 FPS (
Draws 9/4),lazy pagesslowly 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):@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):
Yours reads:
The difference that matters is
0 duewiththe 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:
grep -a 'frame presented' local/run/last.log | tail -5— ifframe=climbs while it's stuck on the loading screen, the title is looping; if it is frozen, it is blocked.lazy pagesline in full (yours is cut off atpeak_), plusmem_info_vram_used/mem_info_gtt_usedwhile stuck.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 agopair is a much stronger signal than "infinite loading".@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.
amdgpu.gttsize=16384(16 GiB) -> fits, works in-world with ~9.2 GB GTT in use.Could you tell me:
free -m(total RAM) andcat /sys/class/drm/card0/device/mem_info_gtt_totalright now.mem_info_gtt_usedandmem_info_vram_usedsampled 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=6144on top of that leaves the title a realistic working set.@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. :)