mojira.dev
MC-124170

Performance issue with particles causing lag

Update:

Also affects my new pc:

CPU:  Intel(R) Core(TM) i5-4570 CPU @ 3.20 Ghz

RAM: 8 GB

GPU: GeForce GTX 1050 ti OC Edition

------------------------------------------------------------------------

 

 

Some fixed in 18w09a, but not all e.g dragon breath and rain particles.
I created a world and I went to the end to defeat enderdragon in survivalmode.
After than the dragon shot a fireball the game is stopped work well, because the area_effect_cloud partice is created many lag spikes.
After I summoned blazes and the fps decreased.
I tried it with every particles
Particle performances in 17w50a-18w11a:
In small render distance( 2 chunk), max. fps set 60, played 100 particles with a command(always active repeater command_block)
-angry_villager(100 particle) 33-35 fps
-barrier(100 particle) 33-35 fps
-bubble(100 paricles) 60 fps
-cloud(100 particles) 1-5 fps
-crit(100 particles) 49-52 fps
-damage_indicator(100 particles) 12-26 fps
-dragon_breath(100 particles) 55 fps
-effect(100 particles) 29 fps
enchant(100 particles) 60 fps
and more... Some not laggy and some very laggy
And very laggy some natural generated particles:
dragon_breath,cloud,blockcrack and smoke(blaze and fire)
So the performance with particles was way better in 1.12.2 than 1.13.2 and 1.14 snapshots.

Code analysis

See

[media]

Related issues

MC-123776 Blockcrack particles are very laggy MC-126294 Brutal FPS drop near bubble columns over ocean ravines MC-133867 1.13 TNT performs worse than 1.12.2 TNT MC-134425 Performance issue with Particles MC-134569 Falling particles cause lag MC-135529 Small amounts of TNT causing massive frame drops. MC-135991 TNT causes your FPS to drop low since 17w47b MC-136688 Fireworks Cause drops to 5 or less FPS MC-136691 The particles such as Rain splashes create so much lag in 1.13 MC-136805 Particles kill fps MC-137216 Lag with fireworks MC-137864 Fireworks with "trail" cause lag spikes MC-139117 TNT Particles Lag The Game MC-139279 Lag is created when a firework explodes.... MC-139551 Scaffoldings is bugging the game when several are destroyed at the same time. MC-139840 Particles create an unusually large amount of lag unlike in older versions MC-141838 Extreme framerate drop while being around a spawner MC-143274 Campfire particles cause extreme lag when covered MC-144021 Too many Soul sand bubble column particles MC-144803 Extreme Tick Lag MC-145504 Bubbles and bad performance MC-147915 TNT explosion causes big fps drop MC-152056 Multiple campfires cause exponential framelag MC-154676 A lot of frame loss for normal particles MC-155387 Colored dust/block particles are extremely laggy in 1.14

Attachments

Comments

migrated
[media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media]
migrated

Possible clone of MC-122324. Probably not, that is still fixed.

migrated

Agreed, VERY laggy compared to 1.12.

Just a large firework which is red and orange with trails, and fades to black/dark gray brings me from 600 fps to like 30

  • i5 6500

  • GTX 1060 3gb

  • -Xmx4G

violine1101

Confirmed. Performance with particles was way better in 1.12.2.

violine1101

Please use the preview feature (tiny blue card) to preview your changes instead of constantly editing this report, hence spamming the mail account of everyone who watches this ticket.

violine1101

Is this still an issue in 18w09a? The changelog mentions

Optimized particle rendering slightly

migrated

Some fixed in 18w09a, but not all. I cant't kill the dragon because the game is freezing. The dragon breathe is the most laggiest thing in 1.13 snapshots. And some other laggy particles: explosion, smoke, rain and blockcrack particles.

migrated

I think in 18w22a this bug fixed!

wobst.michael

Please re-check to make sure it's really fixed.

migrated

@unknown can you confirm if this is fixed in newer snapshots/pre-releases ?

migrated

I think this bug fixed in the newest snapshots and prereleases.

migrated

It is again in 1.13-pre4.

migrated

Confirmed in 1.13

migrated

XP orb is considered a particle? because I tested my lag with xp orbs and really lags... I can throw 2x more Bottle o' Enchanting in 1.12.2 than in 1.13 before lag starts

migrated

XP Orbs are considered as entities. They are another thing to render and calculate.

[MOD] Greymagic27

Firework Particles have this effect

migrated

Confirmed in 1.13.1

Asteraoth

@unknown, Minecraft 1.13.1 is already an affected version.

migrated

I'd like to just comment, and say that it even affects complete overkill hardware in 1.13.1. I've attached an image above, showing the issue with an i7-7700k and a GTX 1080 Ti displayed in the F3 screen. Sorry if this comment is unneeded. I just figured someone may have come to the false conclusion that since the original reporter has low-end hardware, that may have been a factor. 

migrated

Just want to mention that this issue persists in 1.13.2-pre2. Command used was /particle minecraft:firework ~ ~10 ~ 1 1 1 1 10000

[media]
violine1101

I might want to add that I've got this problem as well without needing to use /particle. If it rains, the game lags very much until I disable particles. (Nvidia GeForce GTX 1050 Ti)

migrated

Can confirm that some are very laggy compared to others without the particle command. Having enough blaze in one area really hurts due to the smoke even though I have a gtx 1060.

migrated

Sorry if this is spam at this point, but I'd like to comment again and show that it still exists in the full 1.13.2 release, this time even without the aforementioned particle command:

 

[media]

This is at a generic enderman farm that worked fine prior to 1.13+ versions.

migrated

I'm not certain exactly what is triggering it but when entering a cave if my particles are set any higher than minimal my game get a massive lag spike. any further in or out of the cave and it ceases. there are no mob farms or anything more advanced than 3 furnaces nearby. I'm hoping it's relevant in some way.

[media]
migrated

Am having insane lag from Blaze spawners in for a blaze farm in 1.13.2. Particles have to be turned down to minimal or I have to walk two chunks away. 

migrated

I have a insane lag with soul sand burbles underwater, and i have a decent pc, i7, 8gb and a GTX 760, my fps drops from 200-300 to only 2-3 fps! I'm using 1.13.2

migrated

Is there a chance that this gets fixed soon? Already tried to play my SP & MP maps with 1.13 but it is not reliable. The issue is quite old and the particle performance is much better in 1.12.2.

migrated

In 1.13.2 the fps drops to 3- on my computer when lots of mobs are falling down and dying (killing them by hand won't cause the fps drop), which is unimaginable in 1.12.2. Turning particles to minimal seems to be the only solution now.

migrated

Well, it seems that sp614x (the OptiFine creator) discovered what was causing the issue. He explained what it was in his Discord server, so I simply took a screenshot of it. I'm not certain if I can link an invite to the Discord here. Although, here's what he said: https://i.imgur.com/9a9l1yo.png

 

[media]

 

Asteraoth

Thanks, @unknown.

migrated

I was having trouble with fireworks on a server. The only way to stop it was to turn off firework particles with optifine.

Makzevu

Optifine E5 pre5, released three days ago, has an applied fixed for particle lag. Is there a way to implement that into the current snapshots?

migrated

Some particles are inherently laggy based on durtion, physics, etc..

Jack McKalling

I was able to get some weird behaviour with piston-pushed blocks above campfires, which influenced performance related to particles in MC-143274.

It was marked as duplicate of this issue but others apparently couldn't reproduce it there.

Jack McKalling

Confirmed for 19w05a

Jack McKalling

Confirmed for 19w06a

Jack McKalling

Confirmed for 19w07a

Jack McKalling

Confirmed for 19w09a

Jack McKalling

Confirmed for 19w11a

Jack McKalling

Confirmed for 19w11b

Jack McKalling

Confirmed for 19w12a

Jack McKalling

Confirmed for 19w12b

Jack McKalling

Confirmed for 19w13a

Jack McKalling

Confirmed for 19w13b

Jack McKalling

Confirmed for 19w14a

Jack McKalling

Confirmed for 19w14b

Jack McKalling

Confirmed for 1.14 pre-1

Jack McKalling

Confirmed for 1.14 pre-2

Jack McKalling

Confirmed for 1.14 pre-3

Jack McKalling

Confirmed for 1.14 pre-4

Jack McKalling

Confirmed for 1.14 pre-5

Jack McKalling

Confirmed for 1.14

LogicalGeekBoy

As others have said the particle lag is incredible. I'm testing out a "World Eater" (https://drive.google.com/drive/folders/1Qbeydk87OdmJV3nkVHzN0_XGxnCc5Sr_ from this YouTube video: https://www.youtube.com/watch?v=I7BOA5Hl6yE) in 1.14 to see how it handles it. The good news is that it works but if I'm within render range of the TNT explosion particles then my frames drop to 1 FPS. 1.12 never had these issues, please spend some time on a 1.14.x release focused just on performance and please include a fix for this issue. Thanks <3

Jack McKalling

Confirmed for 1.14.1 pre-1

migrated

Very much confirmed in 1.14.1. The game is currently unplayable. How has this issue not been fixed at all? A single tree on fire will drop me 100+FPS even down to 23FPS sometimes when walking around the tree on fire. Lighting the ground on fire causes stutter every time, a single piece of TNT causes a lag spike, and the same for any entities that have particles. It is terrible. I am running on a GTX 1070 with 5960X. Many players have this issue.

 

This doesn't happen on windows I am running Ubuntu 19.04 with the latest nvidia drivers. The same happens on my identicle system, and my other ryzen 3 1200 GTX 760 system. Anyone without a $1000+ cannot even play the game.

 

 

This has all started since the 1.14 release for me. 1.13 was much better, and 1.12 was the best performance. Optifine seems like a standard now. Looking like hytale really will be the replacement everyone can play.

Jack McKalling

Confirmed for 1.14.1 pre-2

Jack McKalling

Confirmed for 1.14.1

ZeNico13

Can also confirm in 1.14.1 Release

LogicalGeekBoy

Confirmed in 1.13.2 and 1.14.2-pre1. If you run Optifine (1.13.2) with explosion animations turned off then this World Eater runs at normal FPS. It would be really good to fix the particle lag in general without the need for a client-side mod. Maybe at least an option to turn off particles all together rather than just the Minimal option that we currently have.

[media]
ZeNico13

Still in 1.14.2 Pre-Release 2

migrated

The dust and smoke particles has also become significantly more laggier than when it was in 1.12, in 1.12 you could have 1000+ on a repeating command block and only have minor issues, in 1.13 with that many particles fps drops to 1. Extreme case, but only mentioning it because that is what my testing did

In my testing it also appeared that in 1.12 when a large amount of particles were displayed, their lifetime appeared to be shortened. Not sure if this is from lag or if it was intended, but I could not see this happening in 1.13. This may be contributing to the issue, but the main reason has been found above.

Jack McKalling

Confirmed fixed for 1.14.3-pre2. For at least my example instance of the issue (campfire particles)

migrated

how did you get the lagometer? did you use a mod like optifine? try removing the lagometer.

Makzevu

Pressing Alt + F3 enables the FPS and TPS chart in standard (vanilla) Minecraft. Optifine is not required to see that.

Also this bug is fixed.

migrated

Not sure if this is the same issue described here, but Blazes cause an extreme amount of lag in 1.14.4 when suffocating inside a wall (e.g. by a crusher trap) - 24 blazes cause very little lag by themselves, but once I start crushing them my framerate drops to 1-2fps. Other sources of damage (e.g. water) cause no issues.

NickNackGus

That sounds like it should be a new bug report, assuming other particles aren't causing issues.

migrated

Turns out it wasn't from them suffocating, but from being next to an extended East-facing piston (yes, it's THAT specific), and it happens with campfires too (and possibly any other rising particles) - see MC-158037.

migrated

Fry

Confirmed

Particles, Performance

lag, particles

Minecraft 18w02a, Minecraft 18w03b, Minecraft 18w05a, Minecraft 18w06a, Minecraft 18w07b, ..., Minecraft 1.14.2 Pre-Release 1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2 Pre-Release 3, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 1

Minecraft 1.14.3 Pre-Release 2

Retrieved