Windows on ARM (Snapdragon X Elite, Adreno X1-85): "Loading pipelines" takes ~42 min on every start, pipeline cache is not reused #1551
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot#1551
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?
Longshot version
v3.0.0-rc.7
Channel
Release candidate
What kind of problem
Something else
What happened
The game now renders and plays after updating the Adreno driver (see below), but the start-up "Loading pipelines" step takes about 42 minutes on EVERY launch. The saved pipeline cache is read but not reused.
Run 1 (empty cache): "Preparing shaders" (38,809 shaders) ~16 min. Precompile: 37,899 noted pipelines + 9,367 compute pipelines built in 2485.1 s. Cache saved (1024.3 MB). The game ran and exited normally.
Run 2 (next start):
longshot_vk_pipelines.bin (1048893 KB)is read, but the log says "its pipelines took 2518 s (compiled, not found in the caches)". About 42 minutes again.Run 3: same behaviour (about 44 min left at 20%).
Every start logs
vk: driver shader cache at the start: 0 MB (no folder found).Questions:
RX_VK_PRECOMPILEin longshot_vk.dll but found no documentation.Also (for the tested-configurations catalogue): with the older Adreno driver 31.0.152.0 (Vulkan 1.3, "host memory import no") the window stayed black:
vk: no VK_EXT_external_memory_host: the guest memory cannot be imported->renderer startup failed->display: no renderer. Updating to 31.0.178.0 fixed it (host memory import yes). Log of that run: attached as run0 (old driver, black window).Gameplay after loading: no crashes or device loss, some stutter (worst frames 56 ms and 216 ms in
vk: statuslines), consistent with pipelines built on the spot.Environment: Longshot Launcher v1.0.0-rc.10 (x64 build under Windows x64 emulation; there is no ARM64 build). Mesh shaders: no (compute fallback).
Possibly related: #1156 (same effect with a missing driver shader cache on NVIDIA). I found no existing issue for Adreno / Windows on ARM.
Note: not tested on a nightly build; rc.7 is the newest release candidate I could test.
Where in the game
Start-up "Loading pipelines" screen, before reaching the game
How often
Every time
Graphics card and driver version
Qualcomm Adreno X1-85 (integrated), driver 2026.10.1 (v31.0.178.0), Vulkan 1.4
CPU, RAM and operating system
Snapdragon X Elite X1E78100 (12 cores), 16 GB, Windows 11 Home ARM64 build 26300
Changes from the defaults
No Insert-menu changes, no overlays or injectors. A longshot_env.txt with RX_VK_DEVICE=1 was tried once; it had no effect (the native Adreno device was still used).
longshot_log.txt
Logs attached below as files:
Screenshots or video
No response
Before you send it
Possibly related, for context:
Thanks for the links. Data from my logs (rc.7, Adreno X1-85, driver 31.0.178.0):