secondlife / secondlife/viewer
Improve texture streaming to reduce stutter
Open
Nobody has claimed this yet.
CannyUpvoted
enhancement
maint-pe
performance
team:viewer
- Dominant language
- C++
- Stars
- 299
- Forks
- 146
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 88
Description
Texture streaming can be pretty brutal in terms of performance. Here are some examples:
- Microstutters can occur when VRAM is low but overall frame rate can be high
- Memory usage can be higher compared to older viewers, for example. 6.6.17. This is usually going to be due to texture usage.
- There can be some thread contention between loading threads and the main thread with textures
Generally these issues have been difficult to nail down.
Test Plan
TBD.
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.
Research direction
Start by reproducing the reported microstutters, elevated texture-related memory usage, and contention between loading threads and the main thread under low-VRAM conditions. Trace the texture streaming path and compare behavior with viewer 6.6.17. Done means reduced stutter and memory usage without harmful thread contention, with a completed test plan.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100