Extremely excessive (25GB+) VRAM usage in PBR viewer
needs info
Goldlatias Resident
Viewer VRAM usage spikes dramatically, exceeding physical memory capacity, and does not seem to drop as expected as objects go out of view, or for any reason except teleporting to another sim. Memory use far exceeds what makes sense.
I have seen up to 25GB of VRAM allocated on a 16GB GPU. The viewer continues to run without issues, suggesting it is not actively using most of this memory and causing swap thrashing between physical and shared video memory.
Other games and tools that use video memory in meaningful amounts are incapable of running at the same time due to all physical memory being taken up; the viewer seems to have priority of some kind.
I have also seen this happen on the latest alchemy viewer release, presumably it happens in all PBR viewers. Some users with similar hardware have reported it not happening.
The viewer does not crash at any point.
Current video driver is AMD 24.7.1, OS is Windows 10 Enterprise LTS 2021. No unusual software that would interfere with video memory behavior in any way is running.
Log In
Pazako Karu
If you need test data sit on any of the mainland vehicles for a few sims and youll run out of ram and vram both. After 20 minutes, all textures will be gray and nothing is added to cache or seemingly removed from the buffers. My most recent test of this was on firstorm beta, but I can arrange a new log shortly.
Edit: Seems the LL viewer doesn't have the same issue, but it also has a terribly small cache. Is the vram cleanup triggered when disk cache need cleaning? I have nvme space for days, Id much rather a 100GB cache than the 5GB I seem to be stuck with on LL viewer. That cache was full after 5 sim crossings...
Andrey Kleshchev
Pazako Karu: > Is the vram cleanup triggered when disk cache need cleaning?
No it isn't. VRAM gets cleaned all the time, but textures are cleaned more agresively when low on VRAM
> cache than the 5GB I seem to be stuck with on LL viewer
You can extend it to 9GB in settings, but agree, it's low, especially with adition of 2K textures.
> That cache was full after 5 sim crossings...
I had only ~2GB after crossing a dozen regions. Cache limit is specifically for textures and assets, inventory, region and browser cache do not count for that limit.
Dan Linden
needs info
Dan Linden
One other question, Goldlatias. What tool are you using to measure the VRAM usage?
Dan Linden
under review
Dan Linden
Thank you for the report, Goldlatias!
The developers are requesting a bit more info:
1) Please tell us the location where you see this issue.
2) If you have time, please send us the SecondLife.log file after you have seen this issue. Log into https://support.secondlife.com/ and click the "Submit a Support Case" in the right column, then choose “Technical Questions” and “Inventory Issue”. Zip up your viewer logs folder and attach it to support ticket. There's an “Attach a file” link at the bottom.
This page tells you where to find the logs folder: http://community.secondlife.com/t5/English-Knowledge-Base/How-to-report-a-bug/ta-p/733545#Section_.3
This issue is tracked at https://github.com/secondlife/viewer/issues/3575