Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

[BUG-6294] llPlaySound() audio often fails in region 'Isle De Palma' #14166

Open
sl-service-account opened this issue Jun 8, 2014 · 2 comments

Comments

@sl-service-account
Copy link

Steps to Reproduce

Found an error when playing a musical object.

Actual Behavior

Periodically produces no sound through the function llPlaySound
Bug was seen after the April update servers and still in action, sim restarts do not help.

Expected Behavior

Had to produce sound, but it cannot be played correctly.

Other information

Original Jira Fields
Field Value
Issue BUG-6294
Summary llPlaySound() audio often fails in region 'Isle De Palma'
Type Bug
Priority Unset
Status Accepted
Resolution Accepted
Reporter Freealien (freealien)
Created at 2014-06-08T00:32:15Z
Updated at 2014-06-09T21:48:46Z
{
  'Business Unit': ['Platform'],
  'Date of First Response': '2014-06-07T21:30:10.262-0500',
  'Regression?': ['Issue is a Regression'],
  'System': 'SL Simulator',
  'Target Viewer Version': 'viewer-development',
  'What just happened?': 'Periodically produces no sound through the function llPlaySound\r\nBug was seen after the April update servers and still in action, sim restarts do not help.',
  'What were you doing when it happened?': 'Found an error when playing a musical object.',
  'What were you expecting to happen instead?': 'Had to produce sound, but it cannot be played correctly.',
  'Where': 'Isle de Palma #9, Isle de Palma (20, 228, 21)',
}
@sl-service-account
Copy link
Author

Whirly Fizzle commented at 2014-06-08T02:30:10Z, updated at 2014-06-08T02:30:51Z

I met with Freealien inworld and I can reproduce this on Second Life 3.7.9 (290405) May 29 2014 15:30:19 (Second Life Release) - the reporter was using Firestorm.

As far as I can tell, the problem only happens on this particular region: http://maps.secondlife.com/secondlife/Isle%20de%20Palma/17/227/22

There do not appear to be too many sound sources at this location as far as I can tell and Freealien turned off all the sound sources here and this problem still reproduced.
The problem happens with any sound playing object but annryk Resident will pass a repro object named "BUG-6294 repro object" to Alexa and Maestro which shows this problem off particularly well.

When you rez this repro object at http://maps.secondlife.com/secondlife/Isle%20de%20Palma/17/227/22, use /1 on/off to start and stop the player.
On other regions, the music plays smoothly with no breaks in sound.

On this region the music constantly stops and starts. The object plays back the music "in stereo" and on this region, the sound also cuts in and out sometimes on one speaker only, sometimes on both. On other regions the sound plays without halting from both speakers.

When testing, these were the only active sounds sources on the region:
http://i.imgur.com/CEIHEi1.png

Reproduced on:

Second Life 3.7.9 (290405) May 29 2014 15:30:19 (Second Life Release)
Release Notes

You are at 16.6, 227.0, 21.8 in Isle de Palma located at sim10087.agni.lindenlab.com (216.82.48.153:13008)
SLURL: http://maps.secondlife.com/secondlife/Isle%20de%20Palma/17/227/22
(global coordinates 130,321.0, 364,003.0, 21.8)
Second Life Server 14.06.04.290645
Release Notes

CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (3491.95 MHz)
Memory: 16268 MB
OS Version: Microsoft Windows 7 64-bit Service Pack 1 (Build 7601)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce GTX 750/PCIe/SSE2

Windows Graphics Driver Version: 9.18.0013.3788
OpenGL Version: 4.4.0

libcurl Version: libcurl/7.24.0 OpenSSL/0.9.8q zlib/1.2.5
J2C Decoder Version: KDU v7.0
Audio Driver Version: FMOD Ex 4.44.31
Qt Webkit Version: 4.7.1 (version number hard-coded)
Voice Server Version: Vivox 4.6.0009.20030

Built with MSVC version 1600
Packets Lost: 0/2 (0.0%)

@sl-service-account
Copy link
Author

Maestro Linden commented at 2014-06-09T21:47:12Z

I can reproduce this issue at http://maps.secondlife.com/secondlife/Isle%20de%20Palma/17/227/22 , but only with llPlaySound(). Here's my simple repro script, which I placed in a default box at that SLURL:

default
{
    touch_start(integer detected)
    {
        llTriggerSound("0e066f7b-8f0b-6499-8ace-6ffabb0f3b88", 1.0);
        llSetColor(<1,0,0>, ALL_SIDES);
        llSleep(1);
        llSetColor(<1,1,1>, ALL_SIDES);
    }
}

Most of the time, the sound plays when I touch it. But sometimes, I see multiple consecutive cases in which the touch registers (because the box changes color), but no audio is heard. When the sound fails to play, the viewer does not show a "Sound sources" beacon (under World -> Show -> Beacons), which may indicate that the viewer isn't receiving any information about the sound. There are about 6 other constant sound sources in view of this area, which shouldn't be enough to cause problems.

I cannot reproduce this with llLoopSound() or llTriggerSound() - in those cases, I always hear the audio from the object.

Annryk (one of the locals) told me that the issue has been around since around April of this year. If the issue was introduced by a server change, that would mean either of these two, as the region is on the main channel:
https://wiki.secondlife.com/wiki/Release_Notes/Second_Life_Server/14#14.04.16.289178
https://wiki.secondlife.com/wiki/Release_Notes/Second_Life_Server/14#14.03.12.288004
This would be a little surprising, since neither of those two versions changed that sort of messaging (I would be less surprised if either version contained interest list changes).

I'll make a backup copy of this region's simstate for later testing, just in case some other future change in the sim mysteriously fixes the problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant