[MC-46] Rain sound causes stuttering Created: 24/Oct/12  Updated: 19/Sep/18  Resolved: 11/Jul/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.1, Minecraft 1.4.4, Minecraft 1.4.5, Minecraft 1.4.6, Minecraft 1.4.7, Minecraft 1.5
Fix Version/s: None

Type: Bug
Reporter: DarkWolff Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 34
Labels: lag, rain, sound

Attachments: PNG File 2012-11-15_16.05.36.png     PNG File 2012-11-15_16.05.38.png     PNG File 2012-11-15_16.05.41.png     PNG File 2012-11-15_16.07.00.png     PNG File 2012-11-15_16.07.03.png     PNG File 2012-11-15_16.07.06.png     PNG File 2012-11-15_16.07.14.png     JPEG File cow sound lag.jpg    
Issue Links:
Duplicate
is duplicated by MC-8891 Rain Causes tons of lag Resolved
is duplicated by MC-9592 Rain lags the client Resolved
is duplicated by MC-16730 extreme fps decrease when weather is ... Resolved
is duplicated by MC-1095 1.4.2 Sound Lag from Running Water in... Resolved
is duplicated by MC-3195 Lagging between Chunks after rain Resolved
is duplicated by MC-3364 Massive FPS loss near large pools of ... Resolved
CHK:
Confirmation Status: Confirmed

 Description   

The sound of rain causes the game to stutter when moving at high speeds (such as in a minecart or a speed potion). Moving far enough away so you don't hear the rain (example: going underground or entering the nether) causes a big frame drop for a few seconds and then the game returns to normal.



 Comments   
Comment by Fabian Röling [ 19/Sep/18 ]

Can you make a video? This was resolved as "cannot reproduce" over 5 years ago.

Comment by Dranitsin Roman [ 18/Sep/18 ]

Can confirm for 1.13.1

Comment by [Mod] Ezekiel (ezfe) [ 11/Jul/13 ]

Cannot reproduce in the latest version of minecraft

Comment by Jou [ 18/Jun/13 ]

The sound of the lava causes more lag

Comment by Sarah Santitoro [ 26/May/13 ]

I consistently get this error, too. It also appears to interrupt with being able to catch fish when fishing underwater (to escape annoying rain noise & increase #fish coming.) I will often hear the fish, but as I go to get it, it will not come. I am convinced this is due to the HUGE drop in FPS that comes with rain. I think this error is a kind of 'stuttering' – of fish catching rather than sound (though I get that, too).
I hope this additional info helps you in debugging this issue.

Comment by Dawn Verzwyvelt [ 09/May/13 ]

I too have been having same issue. I bought a new sound card, updated all drivers and Java. Nothing seams to fix this issue. As GerbilCrab475 said it happens with all continuous sound sources, Mine cart, lava, flowing water, etc. Please fix.

Comment by GerbilCrab475 [ 20/Apr/13 ]

Happens with other continuous sound sources such as flowing water, lava, and splashing. The sound system really needs fixed.

Comment by Joshua Smith [ 22/Mar/13 ]

@Chad Anderson, it still happens since I'm getting lag with the lava on a 1.5 server map. Haven't checked about 1.5.1

I've posted a pic of another way that this lag can happen and it's been happning since at least 1.2 or 1.3 maybe.

How to reproduce:

1. Make a 2x2x2 hole.

2. Fill with cows (pigs and sheep should also reproduce it) to at least 100+

3. Walk away from the cow pit and you'll have sudden lag.

It happens when the sound is set to on an doesn't happen when it's off. Also doesn't happen when approaching it.

Comment by Chloe Idun Anderson [ 04/Mar/13 ]

Can we get a confirmation of whether this happens in 13w10a and an update to the affected versions?

Comment by otherhand [ 02/Mar/13 ]

This same issue is caused by moving around large quantities of lava, like in the Nether or some custom maps, etc. It seriously hampers the usefulness of lava.

Comment by DarkWolff [ 11/Feb/13 ]

It's more the sound card than the system in general. I got a new sound card last week and the problem has diminished, though still noticeable. My game doesn't grind to a halt anymore, but it does stutter somewhat.

Comment by Makov Denric [ 17/Jan/13 ]

Confirmed for 1.4.7 AND that the fixes suggested in the comments in MC-560 solve the problem.

Lag/stutter is more noticeable on weaker systems.

Mojang please review this as a priority as it hinders game-play significantly on some systems.

Comment by Kumasasa [ 27/Dec/12 ]

Confirmed for 1.4.6

Comment by Dan Keller [ 17/Dec/12 ]

I've noticed the issue in two places around my main residence. The first is as I approach my front door - next to it is a pen with many cows and sheep. Just inside is a large room with many torches. Sound stutters with a severe drop in FPS which eventually resolves after a few seconds.

The second place is very nearby my residence in a woods I planted. In this case, there aren't as many animals (other than perhaps a few chickens).

The issue seems to have started recently - not associated with any release but coinciding more with perhaps my chicken farm or the enlargement of my main room in my main residence (from 2 blocks to 5 blocks high and larger depth/width).

The issue is tightly tied to the two locations and occurs every time I approach them. I'd love to try the OpenAL fix, however, the link provided in the mincraft forum (http://connect.creativelabs.com/openal/Downloads/Forms/AllItems.aspx) now apparently leads to a broken page. If anyone has a suggestion of where to obtain the 64-bit OpenAL drivers, I'd appreciate it. Google seems to always lead me back to this broken page. Oh, and attempting to report the broken link using the "Contact" page on Creative Labs' web site results in... a 404 error. Jeez.

In the meantime, I may try slaying my chickens and cattle to see if the issue is indeed resolved with a reduction in noise.

EDIT
I slaughtered all my chickens but left my cattle. The issue was resolved completely. I then introduced a few chickens to my coop again and, wouldn't you know it, the issue came back. It also seems proportional to how many chickens I have, giving weight to the idea that at some point more sounds == more stuttering.

Suggestion - add an option to "clip" the number of concurrent sounds so that those of us with under-performing audio devices might be able to mitigate this issue.

Comment by DarkWolff [ 16/Nov/12 ]

I've noticed something similar, but the sound percentage goes up as well; the tick just goes up faster.

Comment by MisterSanderson [ 15/Nov/12 ]

Sorry, I didn't read any of the previous comments... I read them now. My screenshot shows that most of the processing capabilities were occupied by the tick, not by the sound. But if turning off the sound stops the problem, so the sound is jamming the tick...?

Comment by DarkWolff [ 15/Nov/12 ]

Can you state your reasoning for this? Turning off the sound causes the issue to disappear, so it's likely a part of the sound engine causing it from my point of view.

Comment by MisterSanderson [ 15/Nov/12 ]

Doesn't appears to be caused by the sound.

Comment by DarkWolff [ 15/Nov/12 ]

Updated to add 1.4.4 to the list.

Comment by TnT (Trinitro Toluene) [ 10/Nov/12 ]

Is this still a concern on Minecraft 1.4.4 Pre-Release (without any modded client)? If so, please update the version affected.

Comment by Anon Ymous [ 10/Nov/12 ]

Thanks Sopa, your fix worked, minecraft is running great again!! Reposting link here:

http://www.minecraftforum.net/topic/892045-sound-lagstutter-fix/

Comment by Jeroen van S [ 08/Nov/12 ]

From the looks of it this is the same problem as MC-560. I've posted a fix in the forms of a mod in that bug report, as well as a description for Mojang about how to fix it. Maybe someone can verify that it's caused by the same bug by installing it?

Comment by GerbilCrab475 [ 04/Nov/12 ]

It's not just rain. When ever the play move away from any continuous sound source (such as lava, flowing water, rain, etc), minecraft will have some sort of heart attack. I hate it.

Comment by DarkWolff [ 01/Nov/12 ]

This seems fairly likely as the issue isn't as bad if I'm in a minecart above ground. The issue also intensifies when I move far enough away for the indoor rain sound to stop.

Finally, I recently had a similar issue with a few enderman growl sounds playing at once effectively freezing my game up long enough for them to kill me. It was an isolated incident, but still notable in that it matches your hypothesis.

Comment by Charlie Hurrell [ 31/Oct/12 ]

I've investigated this issue in the past. It appears to be caused when the indoor-rain sound effect stops playing. So going in to a house starts the indoor sound effect and then going down into a mine stops the sound from being heard, that's when the major stutter happens.

Since the game uses the same actual sound effect for both indoor and outdoor rain, looks like the problem might be in the pitch-adjustment code. (Making a quick mod to make all rain sound the same fixed the stutter, but at the cost having the same noise inside and out).

Hope that's at least slightly helpful.

Comment by sopapaya [ 31/Oct/12 ]

This is a notorious issue with rain, but it's also caused ocassionally by other sounds. I worked around it by deleting the OpenAL files in bin/natives and installing them in my OS. Never had sound lag problems again.

I followed the steps from here: http://www.minecraftforum.net/topic/892045-sound-lagstutter-fix/

Comment by DarkWolff [ 30/Oct/12 ]

When it's raining and I'm moving at a normal speed it's basically the same as when it's not raining. When moving really fast (full speed minecarts or running + jumping), at the same time the stuttering starts both the sound and ticks increase in percentage a lot in between stutters. The tick seems to be going up faster however.

Comment by [Mojang] Jeb (Jens Bergensten) [ 30/Oct/12 ]

DarkWolff: Can you check the performance graph (Shift+F3) and tell us if you see a big difference on the "Sound" section when it's raining?

Comment by DarkWolff [ 25/Oct/12 ]

Confirmed it is the sound.

1. Gave around 200 villages potion effects and rode around in a minecart. No stuttering.
2. Rode a minecart in the rain with sound @ 0%. No stuttering.
3. Rose the same minecart in the same direction in the rain with sound. Game stutters.

Comment by DarkWolff [ 24/Oct/12 ]

Now that you mention it, no I'm not. Disabling the particles probably would help, but only because (unless something has changed) the sound is tied to particles.

The indoor rain sound causes more stuttering than the outdoor sound, but the difference isn't that noticeable. I've also been high up on a monorail and still had the issue.

However to try to narrow down if it's the particles or the sound, tonight I will try to create a control by creating a situation with a comparable number of particles and seeing if running around causes stuttering.

Comment by Caleb Coleman [ 24/Oct/12 ]

Are you sure its not all the rain particles causing the lag?

Generated at Sun Jan 12 11:49:37 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.