• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: VWR-8147
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: WorkingOnIt Linden
Reporter: maffi lu
Votes: 66
Watchers: 7
Operations

If you were logged in you would be able to see more operations.
1. Second Life Viewer - VWR

RC13 deletes sound cache after quit

Created: 11/Jul/08 02:07 PM   Updated: 27/Jul/09 01:21 PM
Return to search "1.21 Issues"
Component/s: Sound
Affects Version/s: 1.20 Release Candidate
Fix Version/s: None

Environment:
CPU: Intel Core 2 Series Processor (3599 MHz)
Memory: 4094 MB
OS Version: Microsoft Windows Vista Service Pack 1 (Build 6001)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce 8800 GTX/PCI/SSE2
OpenGL Version: 2.1.2
Issue Links:
Relates
 

Last Triaged: 28/Oct/08 10:11 AM
Linden Lab Issue ID: DEV-22957


 Description  « Hide
After i close the RC13 client its deleting every cached sound file (*.dsf).

No matter if normal quit, crash or ping time-out. the files are gone.
Usually that wouldnt bother me as much but im on a 384kbit connection and its annoying to wait until every sound has loaded. it also worked before and does not help the network-performance if stuff has to load unnecessarily.

Attempts of expanding the cache size didnt success.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Hastur Pierterson added a comment - 20/Oct/08 08:25 PM
This client behavior appears to be a band-aid attempt at a resolution to re-download the aborted sound asset transfers that have "silence" put in their place. (VWR-291)

Dumping the sound assets on every exit is not the way to go. This causes a huge amount of extra downloads, database queries, and client side issues that are completely unnecessary.

Sound assets should remain in cache and be managed by the client side cache settings. The priority of this issue should be raised to the same urgency as VWR-291 as this is not an acceptable client behavior or quasi-fix for the main issue that has not been resolved since May 2007.


Dizzy Banjo added a comment - 21/Oct/08 09:24 PM
I agree with Hastur 100%. Whilst this work around may make this functional ( just ) the impact on performance and user experience isn't satisfactory and surely delivers a performance hit on the rezzing of all the environment, not just sounds, as it forces the consumption of unnecessary bandwidth. Really hope the sound system can get looked at with urgency soon, its a critical aspect of immersion.

Danger359 Nightfire added a comment - 21/Oct/08 10:20 PM
In the environments I create, with many sounds, this introduces a very disagreeable delay. Please up the priority for a real fix!

Chalice Yao added a comment - 22/Oct/08 12:50 AM - edited
The section of code handling this in the viewer is in

bool LLAppViewer::cleanup()

in llappviewer.cpp.

It specifically deletes these filetypes on cleanup:


// delete some of the files left around in the cache.
removeCacheFiles("*.wav");
removeCacheFiles("*.tmp");
removeCacheFiles("*.lso");
removeCacheFiles("*.out");
removeCacheFiles("*.dsf");
removeCacheFiles("*.bodypart");
removeCacheFiles("*.clothing");


However, this is important: According to http://jira.secondlife.com/browse/VWR-2876, the sounds actually do not get removed from the actual cache. The above applies to the VFS cache. i.e. the virtual filesystem where the real cache files are unpacked. The actual, encrypted cache files for the sounds stay.

The viewer just has to place the encrypted .ogg files from the cache into the VFS cache on relog, and convert them into .ogg once more, which is what's causing the delay in sounds initially.

On further note, perhaps the switch to OpenAL can make use of .wav files directly, removing one of the most HDD intensive and time consuming steps here?

(P.S. sorry for the many edits, I'm out of it today. Also fancy markup!)


Ricky Yates added a comment - 22/Oct/08 12:51 AM
The waiting time is a nuisance, but the increased downloads are costing real money for people who are metered by GB on their broadband connection. This even may cause people to leave SL!

Arielyn Docherty added a comment - 22/Oct/08 05:57 AM
Ditto on all of the above. The delay is something that most casual users won't understand and/or tolerate before moving on. We depend on the spontanaeity of being able to hear the sounds in our products immediately. Come on Linden guru--let's make this a critical issue that needs immediate attention!

Chalice Yao added a comment - 22/Oct/08 06:03 AM - edited
By the way, I removed the deletion of .wav, .lso and .dsf according to Henri Beauchamp's patch in VWR-2876, and sounds play immediately on login (often before the progress bar even finishes).

However, the result is an increased disk space usage, naturally.

Let me explain:

The uncompressed sounds already can and will take more space combined with a filled cache than what you specify as cachespace in the viewer (I run my cache in a 1gb ramdisk, with cache set to 512mb). This is necessary, as there is just additional space needed to decompress/convert those things and keep em alive during the viewer session. Before, my cache usage + vfs used to go to about 700mb in a couple of weeks in the ramdisk.

However, with the patch applied, as a result the disk space used with a 512mb cache (in my case) will easily blow 1gb in one or two days. Expect to have lots of hdd space ready if the sounds are kept.


geofrank taurog added a comment - 29/Oct/08 08:06 AM
Annoying to wait for reload.

nelofar Zanzibar added a comment - 04/Nov/08 01:35 AM
i hope it will be fixed soon

Kajira Zipper added a comment - 05/Nov/08 07:52 AM
i live in a bubble and 2L is my only life.

Shion Chandrayaan added a comment - 19/Nov/08 10:54 PM
I use sounds a fair amount in my building. I need them to be reliable.

Crubo Carver added a comment - 02/Dec/08 06:08 PM
I realize there are plenty of things to be fixed but a patchy and unwieldy fix that requires waits and workarounds is not customer-oriented.

Minuete Noel added a comment - 16/Feb/09 06:42 AM
I would like this bug to be fixed immediately. It's inconceivable that the creators of Second Life could be satisfied without complete auditory access and fulfillment.
Thank you

Bazzle Firecaster added a comment - 15/Mar/09 05:11 PM
When are we going to see some action here? Sound is such an integral part of the world I would think it would be a priority.

Micio Supermarine added a comment - 22/Mar/09 07:08 AM
...bbbooooooooo...òò
is really impossible that after a long time nobody of linden's take care about this problem

Murdock Beningborough added a comment - 29/Mar/09 03:45 PM
The full homestead sim that I've created uses sounds to complete the aural picture. Please take care of these issues soon.

Zena Juran added a comment - 27/Jul/09 01:21 PM
How about a status update? This still needs fixed!