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]

Linked issues

MC-123776 Blockcrack particles are very laggy Resolved MC-126294 Brutal FPS drop near bubble columns over ocean ravines Resolved MC-133867 1.13 TNT performs worse than 1.12.2 TNT Resolved MC-134425 Performance issue with Particles Resolved MC-134569 Falling particles cause lag Resolved

Attachments

Comments 66

[Mod] redstonehelper

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

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

Confirmed. Performance with particles was way better in 1.12.2.

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.

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

Optimized particle rendering slightly

56 more comments

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

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.

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.

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

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.

Nagy Richárd

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