Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-08-12 11:46:27



Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Sounds delay 
Author Message

Joined: 2011-09-27 11:18:31
Posts: 244
Reply with quote
Hallo Henri and everyone!

I'm having a small issue with Cool VL Viewer ever since I moved to Arch Linux from Debian/Ubuntu, but only now do I have the opportunity to report it. My issue is that there is slight delay of 2-3 seconds from the moment I click on a button or a gesture with sound is triggered, to the point when I actually hear it. I'm using a 64bit Linux, but I have all 32bit compatibility libraries installed. Other viewers don't have this issue, in any case.

It's mostly a nuisance to me, as I don't use voice, but still I think it's something that can be fixed. It's low priority to me, in any case.

My Help>About says:
Code:
Cool VL Viewer 1.26.2 (9) Dec 10 2011 09:56:51 (Cool VL Viewer)
Release Notes

CPU: Intel(R) Celeron(R) CPU        E3400  @ 2.60GHz (2592.84 MHz)
Memory: 1878 MB
OS Version: Linux 3.1.4-1-ARCH #1 SMP PREEMPT Tue Nov 29 08:55:45 CET 2011 x86_64
Graphics Card Vendor: Tungsten Graphics, Inc
Graphics Card: Mesa DRI Intel(R) G41 x86/MMX/SSE2
OpenGL Version: 2.1 Mesa 7.11.2

libcurl Version: libcurl/7.20.1 OpenSSL/0.9.7c zlib/1.2.3.3 c-ares/1.7.1
J2C Decoder Version: KDU
Audio Driver Version: FMOD version 3.750000
Qt Webkit Version: 4.7.1 (version number hard-coded)


I attach my SecondLife.log file. I also ran the viewer through gdb and, though it had no stack trace since it didn't crash, I got
Code:
[Thread 0xf5ea1b70 (LWP 13558) exited]
[Thread 0xe7e8bb70 (LWP 13567) exited]
[Thread 0xe868cb70 (LWP 13566) exited]
[Thread 0xe8e8db70 (LWP 13565) exited]
[Inferior 1 (process 13554) exited normally]


Thanks!


Attachments:
SecondLife.log [47.84 KiB]
Downloaded 186 times
2011-12-11 17:48:48
Profile

Joined: 2009-03-17 18:42:51
Posts: 6030
Reply with quote
It is absolutely normal for a sound to play after a delay (the time it gets downloaded) when it is not cached already... Once cached however, it plays instantly.

In any case, the Cool VL Viewer works just fine in this respect (if you see a difference with other viewers, it's most probably simply because the sound is already in their cache) and I cannot reproduce this issue here.

The log you provide also doesn't contain any line dealing with any sound playing (it looks like you just logged in and then immediately out), so it's impossible to tell if anything is wrong.


2011-12-11 20:20:43
Profile WWW

Joined: 2011-09-27 11:18:31
Posts: 244
Reply with quote
Henri Beauchamp wrote:
It is absolutely normal for a sound to play after a delay (the time it gets downloaded) when it is not cached already... Once cached however, it plays instantly. In any case, the Cool VL Viewer works just fine in this respect (if you see a difference with other viewers, it's most probably simply because the sound is already in their cache) and I cannot reproduce this issue here.


I'm sorry, but this is not the case. This is the newest SecondLife.log. The last sound I triggered was my front door opening. I opened and let it close on its own. From the moment I opened the door to the moment I heard the sound I honesty counted 15 seconds. Before that I tried it a few times and waited at least five minutes as I was looking for that post where you explained the process to download the sounds locally (I'm afraid I didn't find it, btw). The same thing happens with the UI sounds (that click sound).

Note: The log was too big for the forum engine and I didn't know where to cut it, so I uploaded it in my Dropbox. I suggest reading it bottom-up.


2011-12-12 14:47:40
Profile

Joined: 2009-03-17 18:42:51
Posts: 6030
Reply with quote
Your link points to a log of the Phoenix viewer... Only the Cool VL Viewer is supported here !

Note also that if you switch back and forth between viewers while using the same cache directory for all of them, the cache gets cleared each time you switch to the Cool VL Viewer (because it uses a newer cache structure, matching v2.2 viewers') and it is therefore normal that the sound gets re-downloaded each time, leading to the delay you experience.


2011-12-12 18:52:28
Profile WWW

Joined: 2011-09-27 11:18:31
Posts: 244
Reply with quote
Arg! I'm sorry, I was checking out the new mesh Phoenix (yours, actually) and forgot to erase the log, so it wrote on top of it. Fine, I'll erase the whole .secondlife directory, start over and report back.


2011-12-12 19:16:36
Profile

Joined: 2011-09-27 11:18:31
Posts: 244
Reply with quote
…And here's the new log.


2011-12-12 19:55:12
Profile

Joined: 2009-03-17 18:42:51
Posts: 6030
Reply with quote
Code:
2011-12-12T19:22:08Z INFO: initCache: Headers: 139810 Textures size: 320 MB
2011-12-12T19:22:08Z INFO: purgeAllTextures: Deleting files in directory: /home/nikos/.secondlife/cache/texturecache/0
2011-12-12T19:22:08Z INFO: purgeAllTextures: Deleting files in directory: /home/nikos/.secondlife/cache/texturecache/1
2011-12-12T19:22:08Z INFO: purgeAllTextures: Deleting files in directory: /home/nikos/.secondlife/cache/texturecache/2
2011-12-12T19:22:08Z INFO: purgeAllTextures: Deleting files in directory: /home/nikos/.secondlife/cache/texturecache/3
2011-12-12T19:22:08Z INFO: purgeAllTextures: Deleting files in directory: /home/nikos/.secondlife/cache/texturecache/4
2011-12-12T19:22:08Z INFO: purgeAllTextures: Deleting files in directory: /home/nikos/.secondlife/cache/texturecache/5
2011-12-12T19:22:08Z INFO: purgeAllTextures: Deleting files in directory: /home/nikos/.secondlife/cache/texturecache/6
2011-12-12T19:22:08Z INFO: purgeAllTextures: Deleting files in directory: /home/nikos/.secondlife/cache/texturecache/7
2011-12-12T19:22:08Z INFO: purgeAllTextures: Deleting files in directory: /home/nikos/.secondlife/cache/texturecache/8
2011-12-12T19:22:08Z INFO: purgeAllTextures: Deleting files in directory: /home/nikos/.secondlife/cache/texturecache/9
2011-12-12T19:22:08Z INFO: purgeAllTextures: Deleting files in directory: /home/nikos/.secondlife/cache/texturecache/a
2011-12-12T19:22:08Z INFO: purgeAllTextures: Deleting files in directory: /home/nikos/.secondlife/cache/texturecache/b
2011-12-12T19:22:08Z INFO: purgeAllTextures: Deleting files in directory: /home/nikos/.secondlife/cache/texturecache/c
2011-12-12T19:22:08Z INFO: purgeAllTextures: Deleting files in directory: /home/nikos/.secondlife/cache/texturecache/d
2011-12-12T19:22:08Z INFO: purgeAllTextures: Deleting files in directory: /home/nikos/.secondlife/cache/texturecache/e
2011-12-12T19:22:08Z INFO: purgeAllTextures: Deleting files in directory: /home/nikos/.secondlife/cache/texturecache/f
2011-12-12T19:22:08Z WARNING: ll_apr_warn_status: APR: No such file or directory
2011-12-12T19:22:08Z WARNING: writeEx:  while attempting to open file "/home/nikos/.secondlife/cache/texturecache/texture.entries"
2011-12-12T19:22:08Z INFO: purgeAllTextures: The entire texture cache is cleared.
2011-12-12T19:22:08Z INFO: initCache: VFS CACHE SIZE: 100 MB
2011-12-12T19:22:08Z WARNING: initCache: Bad or missing vfx index file /home/nikos/.secondlife/cache/index.db2.x.1
2011-12-12T19:22:08Z WARNING: initCache: Removing old vfs data file /home/nikos/.secondlife/cache/data.db2.x.1
2011-12-12T19:22:08Z INFO: presizeDataFile: Pre-sized VFS data file to 104857600 bytes
2011-12-12T19:22:08Z INFO: LLVFS: Using index file /home/nikos/.secondlife/cache/index.db2.x.1136229711
2011-12-12T19:22:08Z INFO: LLVFS: Using data file /home/nikos/.secondlife/cache/data.db2.x.1136229711
2011-12-12T19:22:08Z INFO: LLVFS: Using index file /home/nikos/CoolVLViewer-1.26.2/app_settings/static_index.db2
2011-12-12T19:22:08Z INFO: LLVFS: Using data file /home/nikos/CoolVLViewer-1.26.2/app_settings/static_data.db2


It means the cache was cleared, so it's totally normal that any sound must be downloaded from the asset server (cache empty), which incurs a normal delay.


2011-12-12 21:32:54
Profile WWW

Joined: 2011-09-27 11:18:31
Posts: 244
Reply with quote
…And my sounds issue remains even after today's update. More than 30 seconds delay the first time the sound is downloaded, about 16 seconds all the rest. *sighs* It is clearly not an issue of downloading, but something within the viewer's engine for playing sounds. Anyway, just saying.


2011-12-17 14:12:59
Profile

Joined: 2009-03-17 18:42:51
Posts: 6030
Reply with quote
I would seek a cause for your problem elsewhere... It's definitely not viewer-related (you are the only person to report such an issue since the 4+ years the Cool VL Viewer has been around)... Your sound daemon/driver, perhaps ?... Try enabling OpenAL instead of FMOD in the cool_vl_viewer wrapper script and see what happens...


2011-12-17 14:30:02
Profile WWW

Joined: 2011-09-27 11:18:31
Posts: 244
Reply with quote
Henri Beauchamp wrote:
Try enabling OpenAL instead of FMOD in the cool_vl_viewer wrapper script and see what happens...

Right! That did the trick (no delay whatsoever, even at the beginning) and I thank you immensely :) It couldn't be my daemons or drivers, simply because other 32-bit viewers (and 64-bit, for that matter, but this is irrelevant) don't have it. So it had to be something specific to Cool Viewer, and apparently it was the use of FMOD.

Great! Thanks again!


2011-12-17 18:16:16
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 49 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.