Login: progress bar fills but reaching in-world takes 30-60 s #213
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream#213
Loading…
Add table
Add a link
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?
After login the progress bar reaches full, but the viewer takes another 30-60 seconds to actually get in-world. This could be the server (region handshake, inventory or appearance fetch), but it needs tracking and attributing.
To investigate
LLStartUpstate transition, especially the states after the bar fills: STATE_WORLD_WAIT, STATE_AGENT_SEND / AGENT_WAIT, STATE_INVENTORY_SEND, STATE_MISC, STATE_PRECACHE, STATE_WEARABLES_WAIT, STATE_CLEANUP. Find which one the time goes to.Info
Root cause found and mostly fixed in
4d377811f1: the bar-full wait was the Vulkan renderer compiling ~97 graphics pipelines serially on the main thread after login; on a cold driver cache (every new release) that was 25-40 s here and longer on fewer cores. Now: pipelines compile in parallel on background threads, the renderer is created at the LOGIN SCREEN so the compile overlaps login, and dynamic cull/depth state lets 40 of the 97 come from a pipeline cache (57 real compiles). Cold-cache test: renderer ready 2 s before login completed. Leaving open to confirm with testers on lower-core machines (an 8-thread CPU may still wait briefly if the user logs in very fast).Closing: not seen since world pipelines started compiling (and being cached on disk) while the login screen is up, so the post-login wait for pipeline compiles is gone. Commit
0ae81a7445(persistent pipeline cache + progress-screen hold), shipped in v1.0.0-beta.1. Reopen if the 30-60 s post-login wait comes back.