secondlife / secondlife/viewer
FPS drops intermittently
@cosmic-linden is already working on this.
Since Apr 20, 2026.
- Dominant language
- C++
- Stars
- 299
- Forks
- 146
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 88
Description
Environment
Lightly modified fork of develop from April 13, branched from commit 3ca4bf1ac0a3b26e961579a86869181104c11b5f
Visual Studio Release build with Tracy, asserts, and tests enabled
Reproduces both in an agni region with prim media, and an aditi region without prim media.
Description
I see the FPS drop intermittently in the statistics floater. It has high FPS intervals and low FPS intervals. The low FPS intervals are shorter and occur after some number of seconds. My chat floater is open the whole time, but I'm not sure if that's relevant.
Performance issues also show up in tracy when the statistics floater has been closed. The low FPS intervals appear to coincide with a long-lived call to doMediaTexUpdate.
Debugging indicates the calls to doMediaTexUpdate are for web pages not loaded on a prim (marketplace, Second Life search, grid guide page. Examples from aditi (agni has a different guide page):
data_width: 718, data_height: 720
mMediaURL: (truncated by Visual Studio) https://search.secondlife.com/viewer/?query_term=&search_type=standard&collection_chosen=destinations&collection_chosen=events&collection_chosen=groups&collection_chosen=people&collection_chosen=place...
data_width: 550, data_height: 200
mMediaURL: https://lecs-viewer-web-components.s3.amazonaws.com/v3.0/aditi/guide.html
data_width: 882, data_height: 836
mMediaURL: https://marketplace.secondlife.com/
These web pages do not need to update repeatedly when closed. Presumably these are the cached pages, and only need to load once until their respective floaters are opened.
Reproduction steps
I logged into a region, opened the statistics floater, and waited. I'm not sure yet how long it takes for this bug to start occurring.
This repo is using Opire - what does it mean? 👇
💵 Everyone can add rewards for this issue commenting
/reward 100 (replace 100 with the amount).🕵️♂️ If someone starts working on this issue to earn the rewards, they can comment
/try to let everyone know!🙌 And when they open the PR, they can comment
/claim #5672 either in the PR description or in a PR's comment.🪙 Also, everyone can tip any user commenting
/tip 20 @cosmic-linden (replace 20 with the amount, and @cosmic-linden with the user to tip).📖 If you want to learn more, check out our documentation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.