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)

x86_64
Windows 8.1
defect
Not set
normal

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.
Whiteboard: [betabreakers-fx40]
Attached file Surface_DxDiag.txt
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)
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.
Sorry, I cannot understand the terms of the game. Could you look for a regression range using mozregression ? http://mozilla.github.io/mozregression/
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: --- → ?
Component: Canvas: WebGL → Video/Audio
Flags: needinfo?(milan)
Paul, this seems to effect both e10s and non-e10s but Alice says its worth with e10s. Thoughts?
Flags: needinfo?(padenot)
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)
OK, it sounds like this isn't e10s specific, although on certain systems it could be worse with e10s.
Component: Audio/Video → Web Audio
WFM on Nightly. Perhaps fixed by bug 974089.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Depends on: 974089
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: