lvra.gitlab.io/content/docs/vrchat/performance.md

72 lines
2.8 KiB
Markdown
Raw Normal View History

2024-03-20 13:56:50 +01:00
---
weight: 60
title: Performance
---
# Performance
VRChat is notorius for not looking super great compared to modern 2D titles, while also being laggy. Here are some tips for getting a smoother experience.
2024-03-20 14:24:57 +01:00
# Recommended Settings
2024-03-20 13:56:50 +01:00
This gives a good baseline for anyone to start with. Feel free to tweak and experiment further.
- Anti-Aliasing: Off or 2x
- Greatly increases GPU load (even more so on NVidia)
- Try with off first, if the jagged edges bother you too much, try 2x.
- Pixel light count: Low
- Each pixel light adds significant CPU load.
- It's extemely common for new world creators to forget to bake lighting and upload a world with too many realtime lights, killing everyone's performance.
- Turning these completely off will make some worlds look incorrect (too dark).
- Shadow Quality: Low
- Peformance hit can be disproportionately high for visual benefit
- LOD Quality: Low-Medium
- Only makes a real difference in complex scenes, such as forests, cityscapes, etc.
- Adds GPU load based on how complex the scene is
- Particle Limiter: On
2024-03-20 14:24:57 +01:00
# CPU Bottlenecks
2024-03-20 13:56:50 +01:00
In VRC, it's very easy to hit a CPU bottleneck. Avatar material count, avatar mesh count, avatar animators, pixel lights, phys bones, particles all contribute to CPU load.
By far the biggest contributors are unoptimized avatars and unoptimized worlds.
2024-03-20 14:24:57 +01:00
## How to check if you're bottlenecked by CPU or GPU:
2024-03-20 13:56:50 +01:00
1. Check GPU usage in `nvtop` (any GPU) or `nvidia-smi` (NVidia-only).
- If it's not at 100%, you're likely CPU bottlenecked.
2. SteamVR: Lower the SteamVR render resolution.
- If your FPS doesn't increase, you're likely CPU bottlenecked.
2024-03-20 14:24:57 +01:00
## What to do when CPU bottlenecked
2024-03-20 13:56:50 +01:00
Here are some tips to ease VRChat's CPU hit on your system.
2024-03-20 14:24:57 +01:00
### Reduce Maximum Shown Avatars
2024-03-20 13:56:50 +01:00
I recommend 10-15 as a base setting, likely won't be interacting with more people than that at the same time.
2024-03-20 14:24:57 +01:00
### Block by default, utilize Show Avatar
2024-03-20 13:56:50 +01:00
1. Set up a custom Safety profile where you block Animators and Shaders for everyone (possibly even for friends).
2. Block Poorly Optimized Avatars: Very Poor
3. Manually `Show Avatar` people who you are actively interacting with.
This gives you full control on what you're seeing, and will be able to quickly identify that one person whose avatar is wrecking your FPS.
2024-03-20 14:24:57 +01:00
# Avatar Optimization
2024-03-20 13:56:50 +01:00
Are you running around in a Very Poor avatar? Consider this a read. (And also poke your friends to do the same!)
There are tools that let you do this in a few clicks, even if you are completely clueless about what to do.
2024-03-20 14:24:57 +01:00
## d4rkAvatarOptimizer
Install: `vrc-get repo add https://d4rkc0d3r.github.io/vpm-repos/main.json`
2024-03-20 13:56:50 +01:00
[Guide](https://github.com/d4rkc0d3r/d4rkAvatarOptimizer)
2024-03-20 14:24:57 +01:00
## Avatar Optimizer by Anatawa12
Install: `vrc-get repo add https://vpm.anatawa12.com/vpm.json`
2024-03-20 13:56:50 +01:00
2024-03-20 14:24:57 +01:00
[Guide](https://vpm.anatawa12.com/avatar-optimizer/en/docs/tutorial/basic-usage/)