Closed
Bug 1167681
Opened 10 years ago
Closed 9 years ago
Audio stutters while playing and persists after game ends in Dead Trigger 2
Categories
(Core :: Web Audio, defect)
Tracking
()
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
e10s | - | --- |
People
(Reporter: ssimon, Unassigned)
References
()
Details
(Whiteboard: [betabreakers-fx40])
Attachments
(2 files)
Actual Results:
When playing the game, if too much audio is playing it starts to stutter and cut out. After the game ends, some sounds (chicken clucking, zombie breathing) persist.
Expected Results:
Audio should play smoothly, audio should not persist after game ends.
Steps to Recreate:
1 Navigate to Dead Trigger 2 and start a game
2 Press 2 twice to summon 2 chicken turrets
3 Play through the game and finish
4 Listen to the audio while playing and after the game ends
Does not occur in Chrome. Does not seem to be affected by e10s.
This might be a Web Audio bug. Milan, do you know who might be able to provide instructions to debug this further?
Flags: needinfo?(milan)
Alice, would you might checking if this bug has the same regression window as bug 1167656? This might be a dupe.
Flags: needinfo?(alice0775)
Comment 4•10 years ago
|
||
I do not understand well how to play the game.
> Press 2 twice to summon 2 chicken turrets
I do not understand the str.
Flags: needinfo?(alice0775)
(In reply to Alice0775 White from comment #4)
> I do not understand well how to play the game.
> > Press 2 twice to summon 2 chicken turrets
> I do not understand the str.
I believe pressing the '2' key on your keyboard will create two chicken turrets in the game.
Pressing the '2' key, will summon a chicken turret. You get two chicken turrets, so pressing the 2 key twice will summon two of them. Chicken turrets shoot at things, and having both of them out will create a lot of sound which helps to reproduce the bug.
Comment 7•10 years ago
|
||
Sorry, I cannot understand the terms of the game.
Could you look for a regression range using mozregression ?
http://mozilla.github.io/mozregression/
Keywords: regressionwindow-wanted
Comment 8•10 years ago
|
||
STR
1. Open URL
2. Click the right [Play] button
3. (Click [Continue] if slow script warning dialog pops up)
4. Allow Fullscreen
5. Press 2 key twice
6. Play the game until death
to move with the arrow keys and mouse,
Press "q" key to weapon weapon
Click left button to pull the trigger
7. Click [End Game]
Actual Results:
Sometimes, I can reproduce the sound persistance on Google Chrome43 on Windows7.
The stutters happens when e10s.
But the sound was improved when disabled e10s.
So, I think e10s makes CPU-hogging and the sound distortion.
tracking-e10s:
--- → ?
Updated•10 years ago
|
Component: Canvas: WebGL → Video/Audio
Flags: needinfo?(milan)
Comment 9•10 years ago
|
||
Paul, this seems to effect both e10s and non-e10s but Alice says its worth with e10s. Thoughts?
Flags: needinfo?(padenot)
Comment 10•10 years ago
|
||
I'd believe it. Depending on the type of stuttering of course, it's always hard to describe audio glitches, but I believe this is simply to much work on the audio thread (which is supposed to be realtime, so if it cannot make its deadline, glitches occur).
Web Audio API is currently being optimized, so we are already doing the things we would have to do to fix this bug. I don't know why it would be worse on on e10s, there can be multiple causes, depending on the number of cores of the machine, for example.
Flags: needinfo?(padenot)
Comment 11•10 years ago
|
||
OK, it sounds like this isn't e10s specific, although on certain systems it could be worse with e10s.
Updated•9 years ago
|
Component: Audio/Video → Web Audio
Comment 12•9 years ago
|
||
WFM on Nightly.
Perhaps fixed by bug 974089.
Updated•9 years ago
|
Keywords: regressionwindow-wanted
You need to log in
before you can comment on or make changes to this bug.
Description
•