mojira.dev
MC-8824

FPS Drop due to Smooth Lighting

In the recent snapshot (13w05a) I am experiencing a great FPS drop compared to previous versions. I am getting ~50-80 FPS (on average) compared to 90-110+ FPS in last week's snapshot.

How to reproduce:
1. Get snapshot 13w04a, and test FPS
2. Get snapshot 13w05a+, and test FPS
3. Have a slower frame rate on 13w05a+

Related issues

MC-8985 Less chunk updates, less FPS, More chunk updates, More Lag. MC-8999 13w05b Smooth lighting LAGGGGGGGGGG MC-9010 Lag MC-9077 Minecraft FPS drop MC-9118 heavy frames per second difference from 12w04a to 12w05b MC-9245 It lags much more than usual MC-9310 Extreme performance loss with Smooth Lighting in snapshot. MC-9339 FPS drop due to Smooth Lighting MC-9386 This bug is a huge framrate drop. MC-9497 lighting engine issue MC-9793 Massive FPS Lighting Bug MC-9992 Lagging in MC 13w07a MC-10596 Lighting Lag not resolved (Including smooth lighting minimum MC-10769 frame rate MC-10787 fps drops in every 20 seconds MC-10793 Loss of FPS in "minimal" smooth lighting MC-10817 Game stuttering extremely fast, The game doesn't recognize the fps drops. MC-10870 Smooth lighting causing low FPS and camera stuttering MC-10928 Major FPS Drop with smooth lighting MC-11221 Very huge fall of FPS near blinking light with smooth lighting (no matter "minimum or maximum"). MC-11257 Redstone-Pulsar (1-clock) causes massive lag MC-11273 Low FPS when loading chunks, same on far as on tiny ~30-40 FPS, game overall choppy MC-11475 Massive FPS loose in 1.5-pre MC-11762 1.5 is almost not playable because of lag MC-11810 APU recurring problem MC-11848 Extreme Framrate drop with 1.5 MC-11878 After updating to the 1.5 version, the game uses a huge amount of memory and has terrible lag MC-11958 Framerate drop between 1.4.7 and 1.5 (Not neccesarily a bug but a major problem/annoyance to players, and I am sure this was not intended to happen). MC-12092 Smooth Lighting affects Chunks and fps MC-12284 Problems in larger screen resolutions MC-12702 Less FPS in 1.5.1 on lowest settings! (With / without Optifine! in fullscreen) MC-12791 50 FPS with GTX 690/i7-3970X/64GB DDR 3 RAM

Attachments

Comments

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

Duplicate of MC-2176.

kuemmi

I don't know if this should be resolved as duplicate. There's a noticeable drop in performance from last week's snapshot to this one, which might be related to changes in the lighting engine.

The difference in fps when switching smooth lighting on and off is also way bigger than in 13w04a.

migrated

I'm pretty sure this isn't a duplicate (though it is similar to MC-2176), because my FPS was never this low, ONLY on 13w05a. Likely just a one snapshot bug.

migrated

Can confirm that 13w05a has very bad FPS performance hits. On 13w04a, on a flat-world, I had roughly around 100-125fps, now in this snapshot, I have 30-50fps. This is most likely due to the new lighting fix for stairs. (I assume so anyway.)

kuemmi

Yeah. I really hope the mods will reopen this bug. It is obviously a new issue related to smooth lighting in this snapshot.

migrated

I can confirm this, it was one of the first things i noticed after upgrading to 13w05a. The rendering is affected by micro stuttering or something similar. The smoothness of the game desn't feel anywhere near like 13w04a or 1.4.7.

migrated

Same here, I had about 60 80 fps usually at least now is about 30 40. Micro stutters all the time

migrated

This has nothing to do with (MC-2176). It happened between 13w04a and 13w05a. I have the same issue as the people above. In 13w04a I have around 100 fps and in 13w05a I only have 50 fps. So please reopen this issue.

kuemmi

This is still an issue in 13w05b. Framerate with Smooth Lighting 30-60 fps, Framerate without Smooth Lighting 70-100 fps.

Ezekiel

Reopened

migrated

very strange, this started happening for me too in the latest snapshot. 13w05a an b
probaply the new lighting jeb has started working on

kuemmi

Thanks for reopening! Could you update the affected versions too?

migrated

I attached 2 screenshot. one showing last weeks snapshot. that one worked fine for me. the next one is this weeks snapshot. the low FPS is pretty frustrating.

migrated

I have a huge fps drop in snow biome!

migrated

I've also seen this issue pop up in 13w05a/b. Setting the option for Smooth Lighting to off seems to alleviate the frame rate issues.

migrated

Here's some testing I performed (I used the same world, same exact position) for all tests (fast graphics mode, normal distance):
Smooth lighting off:
13w04a: 68FPS
13w05a: 65FPS
13w05b: 68FPS

Smooth lighting on:
13w04a: 64FPS
13w05a: 39FPS
13w05b: 39FPS

migrated

B version of snapshot helped a little. The FPS is very rough though if vsync is disabled. For example, I get 120 FPS (or so the game says), but it feels like ~30-40.

migrated

Tested 13w05b, it helped a small amount but it is still no where near what it used to be in 13w04a and below. Still around 40ish FPS with smooth lighting on, with it off, it goes up to 60fps. In 13w04a, it'd be roughly 60-100FPS with smooth lighting, and with it off, it'd usually stay above 100FPS.

megascience

I get around 122 FPS in my current Snapshot Test World. When I turn on this very simple hopper ping-ponging device I saw in a video, it drops to 70-80. I also lose 20fps just feeding a comparator into itself. While all these additions are nice, they are inherently process intensive, especially in more recent snapshots where their functionality has been improved. It seems a bit too easy to exploit, though. How can this be balanced, other than obviously making sure they work in the most optimal fashion...?

migrated

Low FPS with smooth lightning since 13w05b. FPS gets lower the more light sources are there.

migrated

on my pc it doesn't matter. even if I turn smooth lighting of it still gives me low fps

migrated

Still fps drop in 13w06a. With smooth lighting on, vsync off, balanced only 40 fps. With smooth ligthing off, vsync off, balanced 120 fps. Please fix this. My computer is an i7 2GHz 8GB RAM Nvidia 2GB and only 40 fps 😞😞.
Edit: Very strange behavior. When I'm in motion the above mentioned happens. When I'm standing still and wait sometime, the chunk display go up and down, fps on 40 and then the chunk display drops to 0 and fps is 120 (with smooth lighting on). As soon as I begin to walk the fps drops again to 40.

migrated

Still in 13w06a, nothing improved from 13w05b, I too hope this gets fixed before the 1.5 release.

migrated

I noticed this immediately when trying the 13w05a snapshot : average fps drop and micro freezes (fps are not smooth anymore).
It was on a flat world with few layers of sandstone and NOTHING else.

I suspect the work done on the lighting of stairs being the cause of it : https://twitter.com/jeb_/status/296960097509330944

migrated

okay it has changed, now I only have massive fps drop with smooth lighting, if it's turned of I have normal fps

migrated

@Maarten Thijs
This was always an issue with smooth lighting. I doubt most people who used to play max setting do not want to turn down to "fast lighting" in order to get their regular FPS.

migrated

still in 13w07a please update

migrated

Can confirm. Still happens in 13w07a.

migrated

This has actually just started happening to me as of 13w07a. My computer is vastly overpowered to run minecraft so I'm not used to seeing fps below 150, and now I sometimes tank down to 20 or 30 fps. I had no issues in any of the previous snapshots of 1.5.

migrated

Unplayable in hardcore. Happens to me in 13w05a – 13w07a.

My framerate with smooth lighting ON is 40+ but it stutters and feels like ~15 FPS.

In 1.4.7 my framerate with the same settings is 50–60 and feels very smooth.

kuemmi

This is still a problem in 13w09a, even with the new "Minimum" setting. I can live with the lower frame rate, but the stuttering makes it unplayable. I really hope that this gets some attention before the final release.

migrated

I have the same problems as well. I had no frame rate issues related to the lightning until the recent snapshots.

migrated

The issue still exists in 13w09a. Thereby it is equal if smooth lighting is on minimum or maximum. Only when I deactivate smooth lighting the frame rate is better.

migrated

Windows 7 64-bit, Java 7 64-bit, Core i7 920, 3x2GB DDR3 RAM, Geforce GTX 560 Ti, 13w09a, smooth lighting on maximum: There is stuttering and frame rate drops down to 40 and even 30 sometimes using a 128x texture pack. On the default texture pack it stays above 50 and fluctuates up to 240. This is still unacceptable as it still lags and stutters when you look in certain directions with more activity. I don't want to have to turn off smooth lighting entirely to play the game smoothly. Also, the game doesn't seem to want to fully utilize my GPU. Playing Minecraft, MSI Afterburner reports my GPU staying around 50% usage and never goes beyond that. Perhaps if Minecraft used more of the GPU this problem wouldn't be nearly as prevalent. Changing the smooth lighting on minimum produces no noticeable difference.

migrated

I noticed back in 13w05a that if you have more chunk updates you have less lag and vice-versa.

migrated

I tested the latest snapshot (13w09b) and the problem seems to have gotten better. I get 80-120 FPS (depending on chunk loading activity) and the game feels smooth. However, as soon as I start a simple 1-tick clock (2 repeaters and four redstone dust) the framerate drops by 20 and it gets very stuttery as before. Turning smooth lighting off makes everything feel fluid again. The new "minimum" option doesn't make a noticeable difference from "maximum", it stutters just as much. All other settings are set to max (Fancy graphics, Far render dist., Max FPS performance, Adv. OpenGL: OFF, VSync: OFF). My comp: 17" MacBook Pro from late 2011 (2.4GHz i7, 8GB RAM, 1GB AMD Radeon HD 6770M, OS X 10.6.8 (64 bit), Java SE 6 1.6.0_41-b02-445)

rydian

Same as the recent posts, "Minimum" lighting is still way laggier than before, gotta' have smooth lighting off to get acceptable performance.

Windows 7 Home Premium 64-bit
Core 2 Quad Q8400
Radeon HD 5770
4GB RAM

rydian

Did some testing, here's my findings: The debug screen's FPS counter cannot be trusted for certain kinds of lag, it'll still show high framerates because it appears to measure the generated frames in total, even when they're being duplicated and/or skipped. The same goes for FRAPS, it also records the total number of frames and so won't show frame duplication.

(The below is my first round of testing.)

I used FRAPS for checking the framerates of various things on my system to discern whether FRAPS actually reports a measurement of how often the window is sending out frames (for lack of a better term). I fired up VLC and played a video with a framerate of ~23.9, and for that window FRAPS indeed reports 24FPS.
http://s9.postimage.org/akzkiqou7/vlc.png
Tests with other videos using other framerates showed the same thing. VLC's screen updates only as often as needed for the video, and FRAPS picked up on that number.

I then fired up the Minecraft snapshot 13w09b with smooth lighting off.
http://s9.postimage.org/43gnz8egv/mc1.png
Displayed and recorded FPS are the same, and gameplay was smooth.

Still with smooth lighting off, I introduced a bunch of client lag by using bug MC-560.
http://s9.postimage.org/58aq4m0xr/mc2.png
Displayed and recorded FPS match once again.

(First testing round ends here.)

So FRAPS reports the same as the game, which means the game is still putting out ~60FPS. So why the hell are we experiencing visual lag with smooth lighting on? To get to the bottom of the discrepancy I recorded a little gameplay and then looked through the recording frame-by-frame. There is definitely frame duplication which causes visual lag, but all the duplicated frames are counted as having been generated, so the numerical framerate doesn't drop when it should.

Here's a sliver of a recording I made with smooth lighting on in 13w09b, 30 frames.
It's at the default minecraft resolution and encoded in IYUV so there'd be no frame blending (thus the file size).
http://www.mediafire.com/?4u3y4emy63vzb11

Counting the first frame as #1...
Frames 1 and 2 are the same.
Frames 6, 7, and 8 are the same.
Frames 10, 11, and 12 are the same.
Frames 16, 17, and 18 are the same.
Frames 21, 22, and 23 are the same.

I also made an animated GIF (for people without frame-precise video software).
http://s7.postimage.org/5qzyzn3s9/animation.gif

migrated

I can confirm that with the default textures:

Render distance: Normal
Fancy graphics.

Smooth lighting off: Stable 60-70 FPS.
Smooth lighting set to either minimum or maximum: Very stuttery 20-30 FPS.

With smooth lighting on, if I leave my player idle for a few minutes, then look around horizontally from a stationary position, frames are smooth at 60-90 FPS (170 looking up, 110 looking down). The second I move my player, the stutturing returns for several minutes.

I'm also experiencing some very extreme stuttering with my newly converted 64x texture pack, "Defscape". The pack completely overhauls pretty much every Minecraft texture and has some custom animations (water, lava, compass) which may contribute to the screen lag.

With a 64x texture pack:

Render distance: Normal
Fancy graphics.

Smooth lighting off: Very stuttery 15-20 FPS. (The framerate here tends to display inaccurately, with occasions where it jumps to 60+ but the screen is still very clearly jerky)
Smooth lighting set to either minimum or maximum: Extremely stuttery 10-15 FPS. (Again, inaccurately displayed FPS jumps)

No amount of standing still and idling fixes the jerkyness with a 64x texture pack running.

I believe the texture pack lag is also due to both the lighting updates and the new tp format.

Ezekiel (or anyone else) If you'd like to test the severity of the 64x or 32x lag and the difference between 1.5 and 1.4.x, here are the different packs:

Defscape 64x 1.5
Defscape 32x 1.5

Defscape 64x 1.4.7
Defscape 32x 1.4.7

AMD Phenom X4 64, 4GB Ram, Windows 7 64, ATI Radeon HD 7770, latest java.

migrated

I can confirm that there is no fps difference between minimum and maximum smooth lighting.
What dinnerbone stated in his tweet:
https://twitter.com/Dinnerbone/status/306474602681491456

is probabaply unintended not true. the old smooth ligthing (1.4.7 and 1.5 snapshots before new lighting) worked perfectly for me usually 60 fps but véry smooth gameplay.
Using the minimum smooth lighting what was said to be the same as in 1.4.7 I get 10/12 fps and choppy gameplay. this is probaply due to a memory leak because if his tweet was true I would have gotten my old 60fps.
What I'm trying to say is: please @jeb_ @dinnerbone @grum, don't do a pre release or an official release for 1.5 untill this is fixed.

because if I have this and a lot of other people.
I'm shure that people with weaker pc's then me will be forced to play with smooth lighting of wich would be a huge setback and gameplay ruiner 😞

my specifications are

Windows 7 Home Premium 64-bits Service Pack 1
AMD Radeon HD 6750M
AMD Radeon(TM) HD 6520G
1920 x 1080
Quad core and Radeon dual graphics
8gb RAM
latest java

kuemmi

Confirmed for 13w09c.

With smooth lighting off, I get about 65-80 fps.
With smooth lighting on, I get a lot of stuttering and (allegedly) about 35-50 fps. There's no noticeable difference between Minimum and Maximum settings.

Smooth lighting used to work without stuttering and at about 60-80 fps in 1.4 and the early snapshots.

migrated

I typically get 12-18fps on most versions of minecraft, but so far this snapshot is unplayable at 3-5fps for me. I know my computer is old and sucks, but I've been playing Minecraft since 2010... :/

migrated

I can confirm what George Gates said about even high frame rates being laggy.
On 1.4.7 I have around 200 to 300+ FPS in a certain test situation (smooth lighting on).
On 13w09c I have around 70 to 300+ FPS in that situation (smooth lighting max/min makes no difference).
The frame rate drops and the stuttering of the image, even on high frame rates, occur for me as soon as I leave the chunk I'm currently on. If I stay in one chunk the stuttering goes away after a few moments and the frame rate goes up and stays up until I leave the chunk.
The waiting time for the frame rate to restore to "normal" values seems longer when more chunks need to be loaded (fast travel/relogging).

As with the others. Smooth lighting off does the trick for a smooth image.

Windows 7 Professional 64-bit Service Pack 1
AMD Radeon HD 7950
Intel Core i7 3770
16GB RAM
Java 7u15
Snapshot 13w09c/13w10a*

*=Edit

Ezekiel

Going to do a quick check with texturepacks to see how the new format influences rates. (for Elliot).

I can confirm everything related to smooth lighting though.

1.5 x128 = 50
1.5 x16 = 180

1.4 x128 = 130
1.4 16 = 140

kuemmi

Confirmed for 13w10a, framerate and stuttering haven't changed since my last post.

rydian

Yup, there's still frame doubling in 13w10a.

migrated

So Mojang, now that 1.5 seems to be just around the corner, I'm getting concerned about you releasing a major update, without resolving this FPS-drop-issue. People were so kind to nail the first occurence of the bug between the snapshots of 13w04a and 13w05a. They did research on their own and provided enough stats for you to take care of it and face the fact, that this is not something individual or obscure, it's not caused by crappy hardware, or a virus or any other outer cause. No, it's reproducible - you can load up the 13w04a-snapshot and see everything running smooth and fine. People are getting suspicous when the new fallback-option for smooth lighting is said to be just the old engine, but remaining laggy performance states the opposite. Right now I doubt, that this issue gets the attention it deserves. So, just a reminder: please take care of it. Minecraft is a great game, and I appreciate the work that has been put into this, but if you release 1.5 without resolving the issue, you will definitly dissapoint customers. They are not into the snapshots, they are used to the performance of 1.4.7, and a good portion of them will be in for a laggy surprise. Please don't let it happen.

migrated

@andre klobke: https://twitter.com/jeb_/status/308945615478480896
Jeb said that he'll look into it and I bet they'll either fix the issue or revert the smooth lighting back to the 1.4.7 version.

migrated

fps are way better then the last snapshot. but it's still not smooth on my pc.
13w04a and 1.4.7 was 57 fps on a world (véry smooth)
snapshot 13w05a/13w10a was 12 fps on the same world (véry bad)
snapshot 13w10b gives me 32fps. (still bad but better)

so, what im saying is: it's better ! but not entirely fixed. because according to the devs tweets I should be getting my old 57pfs smooth gameplay back
ps. turning off clouds doesn't help

migrated

First off, props to Jeb for investigating the case. Performance got noticibly better, but also - to join in, what Maarten said - "better" in a sense of less unplayable. I messed with the common options: render-distance, particle-effects, turing off the clouds etc. CPU-core-usages and RAM are nowhere near from beeing maxed out. It's still lagging. Maybe the cloud-changes weren't the only thing, that contributed to the performance-drops. Still, only turning off smooth lighting at all does the trick, but I believe what Jeb said, that it has nothing to do with smooth lighting.

migrated

I agree, @jeb is there any chance something else is causing this?
If i were you I would just revert the lighting changes back to 13w04a and release 1.5
Then you and grum and dinnerbone got all time to work on the lighting in the 1.6 snapshots

migrated

So Jeb just tweeted that most of the FPS drop may be due to this bug fix: https://mojang.atlassian.net/browse/MC-997 (Source: Jeb's Twitter)

migrated

@Alex that is what already went into the 10b-snapshot, and turned out to be not the whole cure since Maarten first posted at 12:45PM about his experience with it 😉

migrated

I bet I know what is causing this.It is the stacking snow feature because the lag started for me in 13w05a.

Ezekiel

Uhh no.

migrated

@Ville thats when the new lighting also was implemented, so no.

migrated

Uhh yes

"I've confirmed that snapshot w10 has less FPS than w04, but it's NOT because of the new smooth lighting... In other words, I'm lost :/"
-Jeb's Twitter

migrated

It seems that snapshot 13w10b still has considerably lower fps than 1.4.7.

migrated

@Ville dude. if it's because of the multiple snow layers, which im sure it isn't, then why do I have this lag on a preset world that consists out of sandstone only?

migrated

I just tried the new Snapshot. Still absolutely the same issue. Smooth Lighting on -> lagging/duplicate frames, Smooth Lighting off -> smooth gameplay.
I think the question the Mojangstas need to ask themselves is "What did we change in between the snapshots, that gets treated differently by the code on smooth lighting min/max than on smooth lighting off?".

migrated

@Maarten Granted, the snow-idea from Ville was a blind shot, but let's be honest: who would have thought, that the clouds had any noticible impact on the performance? Afaik, these changes were made in order to work nicely with the beacon-beam. So, you never know. Every feature, that gets implemented needs to work with it's the environment as well. There doesn't necessarily need to be an actual snow-layer in sight, in order for some code-routine (be it hitbox-testing) to at least test if there is. So, I wouldn't throw the idea off the table so quickly. On the other hand: it's blind guessing - doesn't help the devs, doesn't even help us. I just wish they wouldn't prioritize this freaking release-date so much.

migrated

"I did the automatic snow piling thing, it looked awesome, but it just caused too much lag so I had to scrap it 😞"
-Dinnerbone's Twitter

Maybe this has something to do with the snow layers causing lag?

migrated

@Ville Selkämaa: That experiment never made it into a snapshot, and should be long gone by now anyway.

rydian

Yeah Ville, that's talking about having the snow pile up during weather, but that causes too many chunk updates since it doesn't stop at one layer.

Also I did another quick test, 13w10b still duplicates frames when smooth lighting is on.

migrated

Mojang really needs to fix as many bugs as possible, especially major ones like this, before ANY major release. A buggy game = a blob of inefficient code to me.

PS: This discussion has filled my email inbox 😛

rydian

I put a gmail filter on anything from here, so it shows up in a second category so I can still keep track of things without my inbox being flooded.

migrated

This is the typical Minecraft thingy, on every computer the fps behaves in another way. When I put the clouds on off, smooth lighting max nothing changes (40-50 fps). With clouds off, smooth lighting min, the same. With smooth off, clouds off(120fps) and now it comes with smooth lighting off and clouds on(120 fps).
So I don't know if this is really a cloud thing. My computer Dell i7 2GHz 8GB RAM Nvidia GT 540M 2GB.

migrated

Of course the FPS behaves differently on different computers, but this doesn't change the fact that this bug is causing drops in the framerate. Also, smooth lighting min/max doesn't matter, the fact that it is on impacts the preformance the same for both min and max.

Erik Broes

If we would have a pc on which we could replicate these issues we could actually find which commits introduces them. Seeing that we do not have that .... makes it a bit hard.

Also when dinnerbone/me are talking about 'lighting changes' we're purely talking about changes that would stop showing those nice known 'black' areas in overhangs etc.

When Jeb is talking about 'smooth lighting changes' he is talking about fixing the weird lines you see on stairs blocks etc.

migrated

@grum I have a hp pavilion dv6 notebook
productnumber: 2CE14420W5
AMD A6-3410MX APU with Radeon(tm) HD Graphics

it costed 800 euros when I bought it 1.5 years ago so it shouldn't be so expenive right now in Sweden, maybe you could hire one for a day?

migrated

I only want to comment, that the clouds do not affect the fps rate on my computer, because Jeb mentioned it could be the clouds. And some people wrote, when they turn the clouds off, their fps got better. Btw I use Java 64 7u17 and lwjgl2.8.4.

migrated

so I guess we will just have to play with smooth lighting off untill this bug gets fixed in 1.5.1 😞

migrated

Can't play with smooth lighting anymore, waiting for fix. =(

migrated

i get a big fps drop (about 50%) when using lots of pistons in the same time (e.g. elevator), but only with smooth lighting on

migrated

Well you happy, i go from 40 fps to 10 from only light fast blinking near... But yeah, if smooth lighting off it goes perfect. XD And I go from 100 on fast light, to 30 on smooth light. So something wrong. Now as I said, can't play with smooth lighting now, it's broken.

rydian

Just wanted to note, it's confirmed for 1.5.

migrated

Please dont use this version of smooth lighting in 1.5! 😞 Its unplayable.
Everytime a repeater goes on or off or a piston pushes something, it lags. While the debuginfo says i have about 30 fps, it still lags everytime a repeater near me changes its state.
Edit: Did forget to mention, this only happens when smooth lighting is on (if its off im way above 60 fps with no lags when piston/repeaters change their state). Also checked the snapshots, its in w05 and above, w04 and below are absolutly ok.

migrated

If anyone wants to get accurate FPS measures, I highly recommend using external software (I use Fraps), because the in-game FPS rate only updates once a second.

migrated

@Aaron: I did use Fraps. Its exactly the same fps, because its actually frameduplicating what this bug causes (according to what others said, im not that experienced in java).

migrated

I'm playing the 1.5 pre-release, and I'm still having this problem. I played 1.4.7 with 120+FPS, and even now, after they said they fixed it, I get between 40-50.

migrated

I fixed this bug by reverting to the old lightning engine:
http://www.minecraftforum.net/topic/1720059-150pre-fps-fixer-01/

migrated

Many thanks, Lukas! <3<3<3<3<3

migrated

Awesome Job, worked for me 🙂

migrated

@Lukas Great job, works like a charm! I'm curious, was it more or less copy-pasting in an earlier version of the bfz.class or did it require some noticible code-plumbing from your side?
Anyway, @Mojang this is the way to go!

migrated

@andre: I basically compared the lightning engine of 1.5 to the one in 1.4.7. I identified mojang's fixes for some lightning issues as the cause of the performance issues and simply stripped those fixes out and released the modified bfz.class.

migrated

@Lukas, so let's say some amount of profiling, editing and recompiling was involved. Besides that, you definitly demonstrated how to "revert" an engine. I think that's a contribution, that shouldn't be underestimated. Mojang really needs to adopt your approach on that issue. It would even be appropriate of them, to pay you a little money for doing their work or at least mention it in a tweet.

migrated

This issue is still present in 1.5 pre. Not sure why its showing up as "resolved" as its worse than the last snapshot. Am I seriously being forced to go from max settings (1.4.7) to minimum settings (1.5 pre) for it to be playable?

migrated

It is still present in 1.5. If Mojang rewrites the engine and that will solve this problem, then they should say that clearly and I can wait. But if they don't rewrite the engine, do something against the fps drop and don't bring new things. I don't care about new things, when I'm not able to play minecraft in a normal way..

migrated

From what I can gather, it has something to do with the way chunk updates are handled. So when I stand still for a while and the updates finish its silky smooth. Once you start moving around and it needs to be updated the stuttering and low FPS starts. It almost acts as if the GPU is not being used for the lighting, instead its running on the same core of the CPU that the loader is using.

I have no idea how this is handled in the game but that's my observation.

Im using an 8800GT 512MB. My CPU is an AMD 5600+ 64 X2 with 4GB RAM.

migrated

thanks @lukas. this solved the problem for me! I got my old smooth lighting back! this is a good temporary solution untill mojang fixes the problem

migrated

Try making a redstone clock, and then turn on smooth lighting, it'll lower your fps to a crawl.

It's still present in 1.5 Pre.

migrated

A big thank you to @Lukas, the fix you made allowed me to actually enjoy the new update. I'll be recommending it to anyone that has this problem if Mojang can't fix this eventually. 🙂

migrated

Attached my logs. Created a fresh install and upgraded to 1.5 pre. Created a new world to test the issue again. Strangely enough it is actually worse in the new world than my current 1.4.7 world.

migrated

@John Macknight There might be technical improvements in the code that the devs could benefit from in the future, but it shouldn't come at such a steep cost to the players for whom, like you say, the only tangible change has been a severe drop in perceived performance, no trade-off.

migrated

with pre 1.5, I get 22-30 FPS, and with 1.4.7 I get 60 FPS (or more, because I´m using V-Sync). Using Geforce 540, 4Gb ram (2 dedicated for minecraft/java), and 8 cores i7 processor, and windows 8 pro with java 7u17 64 bits.

migrated

There needs to be some kind of improvement to at least stabilize the FPS because right now it goes from 200 fps down to 40 and that is an unpleasant experience, VSync makes it even worse going to 10-30 fps. I have an AMD Phenome II X4 2.8Ghz and a GTX 650 ti I should not be having this problem, I can run SEUS shaders on VSync to 60 smooth fps. How is mojang not able to replicate on a machine they have.

migrated

With the fix from @Lukas (old bfz.class) I become 120 fps again. Many thanks.

migrated

Hubertus Boos where can I take this fix?

migrated
migrated

Thanks. =D It worked, now FPS is like in 1.4.7)))

migrated

I can confirm for my set up I get from 250-80 fps running always VERY smoothly in the snapshot 12w39a. There is something horribly wrong when that was not released because it was too laggy and this 1.5 is being fully released and its fps for us at least is 30-50 fps VERY choppily! This has to be a problem that Mojang is not experiencing or it wouldn't be released. There must be a fix for us without reverting to the old engine!

migrated

I wish I could get 30 - 50. I can't seem to break 10 FPS anymore. Its usually less than 1 FPS. Anyway there is a new version of Optifine that was mentioned in that FPS fixer thread. It seems to fix the issue. It also seems to be using the new lighting update because the upside-down stair lighting glitch is not present. We will see how the official release goes tomorrow.

migrated

@Joey, you said you had average 1 fps. That is a problem which extends to not only MC but your computer, you must be running it on your calculator or something. If you want me to help me tune up your PC for an attempt at better fps, PM me on steam: aaronfranke0 or skype: aaronfranke1.

Sorry people, there are no ways to PM through Jira.

This discussion has nothing left to discuss other than confirms - _ - FIX DA BUG MOJANG!

migrated

I can assure you my PC is up to the task. My specs are posted above. In 1.4.7 I am getting 100+ FPS at all times. In 1.5 pre, its less than 20 FPS with smooth lighting. As stated, the new Optifine fixes the issue somehow. I have downloaded multiple copies of this snapshot over the past few days and noticed that each jar is slightly different in size, although it appears to be the same version. The latest download the problem is less, but still unplayable.

As an example, sometimes I can get up to 60 FPS if I derp around long enough. However it is not smooth. It appears as if the FPS is actually in the sub 20 range with constant stuttering and obvious to the human eye chugging causing eye strain, but the FPS meter doesn't pick this up. Two days ago I started a new world to test again. We all know it takes a bit for terrain to generate. Over 30 minutes later it is still at 0 - 5 FPS looking straight up at the sky from a hole in the ground.

According to GPU-Z my 8800GT is only being loaded to about 6% by Minecraft 1.5pre. With the new Optifine installed it increases the utilization to around 30%. 1.4.7 puts it at 30% max. 1.4.7 with optifine give me 41% max.

Evidence that the game isn't properly using my GPU.

migrated

I would reccomend allow minecraft to use more memory with magic launcher but i dont believe you as i had bout 60fps on the old smooth lighting but i have a small fps decrease of 15fps

migrated

Ok then, sorry Joey, you just said 1 fps and that's extreme.

Anyway, you gave a pretty good report, and Mojang should probably check out how it affects different GPU's, they said they could not reproduce it, and since this is a GPU problem, maybe they have some weird setup with their GPU?

rydian

Mojang was also unable to reproduce the line issue easily, so they're probably mostly using GeForce GPUs opposed to the past few Radeon HD lines.

migrated

Great. So Mojang pushed this update without bothering about this bug. Cant play any maps with redstone anymore, and survival is playable but choppy.
Before 1.5 everything went fine. Also i think it doesnt matter if its Radeon or GeForce, i have a GeForce 9600GT with 2gb vram.
And why does Optifine have the solution but Mojang doesnt?

migrated

Can confirm low fps in Minecraft 1.5 Java 1.7u17 64 bit
OS: Windows 8 professional 64 bit + latest updates
CPU: Intel Core 2 Quad Q6600 OC@3Ghz
GPU: 8800GT 512MB driver:314.07
RAM: 4GB

Is that enough to reproduce?

migrated

For once I would like to see a comment on who is getting a smooth FPS similar to 1.4.7 maybe even with minimum lighting. So I might be able to get my PC working like their's. I see a lot of laptop specs being posted but anyone else with a decent desktop getting this? I know this is a bug with my PC because a previous update that fixed the lighting errors and added directional lighting is by far faster for me than 1.5 and 13w11a with ALL their settings to lowest except lighting.

migrated

http://www.minecraftforum.net/topic/1720059-15-fps-fixer-01/page__st__40#entry21399548

I asked the person on the Minecraft Forums topic who was not getting lag from 1.5 to post his specs - maybe we will have better luck then.

rydian

John Macknight, the thread Aaron posted and the Optifine 1.5 preview both return me to smooth framerates in 1.5.

migrated

I decided to have a look at this bug myself. After running 1.5, I took some measurements to try and help pin-point what is wrong. I have a redstone timer built on the corner of four chunks.

With smooth lighting off:

  • FPS 210 (agv)

  • Levels for root.gameRenderer.level

    1. terrain @ 56.78% / 47.12%

    2. updatechunks @ 19.67% / 16.33%

      1. sort 92.20% / 14.83%

      2. rebuild 6.24% / 1.00%

    3. entities 9.23% / 7.66%

With smooth lighting on:

  • FPS 20 (agv)

  • Levels for root.gameRenderer.level

    1. updatechunks @ 85.60% / 78.42%

    2. terrain @ 8.62% / 7.90%

      1. sort 76.38% / 58.70%

      2. rebuild 22.30% / 17.14%

    3. entities 1.56% / 1.43%

Game settings:

  • Graphics: Fancy

  • Advanced OpenGL: ON

  • Render Distance: Far

Running a GTX 550TI on Linux x86_64. I hope this info helps Mojang to some extent.

migrated

@John, I have a very nice desktop computer, on a test I conducted with 1.5, I have 155 fps with smooth lighting off and 89 with smooth lighting on.

You can find my specs here: http://www.sevenforums.com/members/aaronfranke.html

migrated

~80 FPS before (down to 40-50 during heavy chunk loading)
~30 FPS now (down to 5-10 even during regular chunk loading)

Settings:

Graphics: Fancy
Advanced OpenGL: ON
Render Distance: Normal

Results don’t vary if smooth lightning is on or off.

Specs:
$ uname -rms
Linux 3.7.10-1-ARCH x86_64

$ java -version
java version "1.7.0_17"
OpenJDK Runtime Environment (IcedTea7 2.3.8) (ArchLinux build 7.u17_2.3.8-1-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

$ xrandr | grep ' connected'
DVI-I-3 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm

$ lspci -s 01:00.00
01:00.0 VGA compatible controller: NVIDIA Corporation G94 [GeForce 9600 GT] (rev a1)

$ cat /proc/cpuinfo | grep model\ name | uniq
model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz

migrated

confirmed in Snapshot 13w11a

migrated

I also experienced a fps drop because of the smooth lighting on the 1.5.

Tested on the same scene (no redstone construction, some mobs like cows, chicken and sheeps in daylight), I have :

  • 1.5 - smooth lighting at max or min (no difference) : ~60 fps

  • 1.5 - smooth lighting off : ~110 fps

  • 1.4.7 - smooth lighting on : ~110 fps

Render distance : far

Graphics: Fancy
Advanced OpenGL: ON

here is my configuration :
PC desktop
proc: Intel DualCore E8400
graphic: nvidia GeForce 8800 GT, driver v306.97

windows 7 pro SP1 64bits
java version 1.7.0_10-b18 64bits
playing fullscreen at resolution 1680x1050

hope this helps

migrated

I feel like listing my computer specifications here is pointless. Having done some research, it seems to be an issue regardless of Minecraft settings, graphic settings, and anything in between. I cannot tell much of a difference in the new lighting system that was deployed in 1.5. What I can tell is that 1.5 cut my FPS and (even when it says I'm getting 100+) it is very jerky/stuttery/glitchy whatever you want to call it, when I'm playing now. It doesn't break the game, but my God is it a HUGE difference from 1.4.7. I would hate to have to get used to it but it looks like I might have to. Even with smooth lighting turned to minimal or off, my client is definitely NOT as response as it used to be. I've done countless tests so please don't suggest it is any settings I may have on my end. The new update is great but I would pick performance over a few new features any day of the week. Just my "confirm" of this bug and my opinion.

migrated

The minimum smooth lighting ISN'T the old smooth lighting as Dinnerbone said, it still have the stair lighting bug fixed!
There's almost no difference between the minimum and maximum in the actual smooth lighting.
The lag persists at actual versions because they didn't removed the stair lighting fix from the minimum option (should be the old one, without the lighting fix).
I'm uploading two screenshots of the same place. The fist one is when there was NO stair lighting fix (smooth lighting on) and the second with the fix but in minimum smooth lightning.
My place have a lot of stairs, it explains the lag I have with the smooth lighting (minimum and maximum). To fix they should remove the stair lighting fix from the minimum option as was the old one

migrated

WITHOUT stair lighting bug fix

migrated

WITH stair lighting bug fixed even with minimum smooth lighting

migrated

I'm also seeing horrendous performance with smooth lighting on maximum (which it defaults to if it was on) and obvious frame duplication when on minimum. It is jumpy as heck when on minimum and becomes smooth when off.

migrated

Now that I look closely at the people that report this problem, they all seem to have old videocards, DX10, OpenGL 3.3 or older. I'm not sure if all the people that have this hardware have the issue but as far as I can tell that's what they have in common. Does the new lightning engine use a feature that was problematic in that version of OpenGL?

migrated

Darth Revan it happens with almost anyone, old or new videocard, no matter. I have GTX 560 and it goes on 40 fps, but it like freezes or lags, even with 40 fps, in 1.4.7 it was perfect... remember 30 fps is enough to play more or less, 60 fps is comfortable, more is better. XD And without smooth lighting 100+ fps. So they did something wrong...

migrated

Darth Revan – I have a AMD Radeon HD 7970m. Sorry but that kinda throws your theory out the window.

migrated

I have a GTX 680, i5 3.3 Ghz and with smooth set to "maximum" I'm around 30-40 fps without moving much. If I just look around, this goes down around 20 fps.
I have a few friends and colleagues, various configurations, all are affected.

migrated

Darth Revan - I have a Geforce 540 (1.5 year) with directx 11 hardware and my FPS drops from 80 to 25.

migrated

@Darth: I wouldn't call the HD6870 an old card, maybe outdated for a bit by now, but it still has OpenGL 4.1 support, and despite of that the issue still affects me badly.

migrated

Now, old, outdated or whatever you want to call a video card: I think we all agree on heavy FPS drop with 1.5 update. Instead of bashing each others video cards we should try to find a solution for that bug that seems to be in the new lighting engine or stairs lighting fix.

Anyways: What in the lighting fix can cause 70-80 percent performance loss? Isn’t the fix just making stars and slabs solid blocks (and if not, why not simply make them solid)?

rydian

Radeon HD 5770 here, released in October 2009, OpenGL 4.2 support (according to Wikipedia, GLview, and Minecraft's snooper data).

When windowed at the default resolution I can easily pull 95FPS on a flat world, except for this issue where any sort of lighting calculation causes frame duplication (as per my report and recordings earlier in the comment list).

migrated

I can confirm that I have the same problem in Windows 8 AND in Ubuntu 12.10, both 64 bits. So, its not driver/SO problem... its a Minecraft code/implementation problem

migrated

I have a Phenom II x4 2.8Ghz, 8GB of RAM, BarracudaXT 2TB 64MB Cache 7200RPM, GTX 650 ti Over-clocked, Nvidia control panel set to let the 3D application decide, Windows Home Premium 64 bit. I get 200 FPS while looking into the sky and 30 FPS while looking below the horizon with maximum lighting and all the graphics settings low with a render distance medium. When my FPS is said to be 200 it looks no different than when it was 30 but if I stand still for a minute then the game goes really smooth. Even with smooth lighting off the fps seems a bit off...

migrated

Can confirm what John said. FPS value raises when looking in the sky and drops when blocks ave visible – No matter what hardware or settings are used.

migrated

If anything I would say the lighting system is probably too CPU intensive, then again that old lighting system that fixed the lighting should have been too but isn't for me. This new lighting system makes no sense at all! for me at least when I update more chunks my FPS goes up to 100 but when I move around a little bit in one small area the FPS goes from 20-35.

migrated

When they first made new lighting system that was interesting, but when I saw how many bugs in new system... >< Give us 1.7.3 beta lighting back, no black spots, no black torches, no lags. V_V It was perfect, expect little day night change white spots, but they dissapears, not like this black spots now... >> They only appears, more and more... So, make us old system back, or make new lighting system, this what is now is no good.

migrated

Jeb has tweeted evidence of his raise in FPS with 1.5. https://twitter.com/jeb_/status/313695176579223554 HHmmm I wish I knew how my pc needs to be configured to run like that! Note that he is at 0 chunk updates.

migrated

It's because his world don't have stairs!
The problem with the smooth lighting is that the minimum option still have the stair lighting bug fixed when it should be the same of 1.4.7...

migrated

#Gabriel Salla: thats not the problem. If I start a fresh new world, without ANY stair... the problem continues!

migrated

@Franco Pellegrini
I don't have a huge fps drop at a new world (with smooth lighting at minimum), but at my place I have a lot!
I get about 40fps in a new world and when I'm moving, it never drops to less than 30fps, but at my place, I usually have 30fps and drops to about 15 when I move or use simple redstone :/

@John Macknight
If I stop, wait for 0 chunck updates and don't change the view I have high fps too... The problem happens when I'm moving

migrated

I got it... No matter what you see it's not the videocard. I can look at the sky and to the ground, nothing changes. (GTX 560) So when in pause (World still displayimg in back) it goes to 0 chunk updates, I got 110 FPS, but when I get out of pause chunk updates starts, and then more chunks updates, then lower I got FPS. (Chunk updates = CU >>> 0 CU = 90-120 FPS <> 10 CU = 70-90 FPS <> 20 CU = 40-70 FPS <> 30-40 CU = 20-40 FPS <<< *Usually CU=30-40) (Right to the 20-35 FPS, in 1.4.7 I got 60-80 FPS) So it is not graphic problem, it's something about light code and processor, it is just doing something heavy when updating light. Like this...

That's explains about smooth lighting off, because it uses old model of lighting, there's no such heavy code in old system, that's not because it's simple, because in normal condition it change only +10-20 FPS, now it gives +50 FPS. =D

My conclusion: It's not about VideoCard at all, it's about processor can't take it. And I wanted to say, that chunk updates inverse proportion to the FPS. And another thing light changes makes more chunk updates, that explains too about redstone circles. Hope I'm right. Just stay (You can look, but don't move) and wait for 0 chunk updates (FPS become good =D) and after that place torch, becomes laggy for a few moments isn't it? Now try to move... Looks at least very plausible. Better to say something horrible happens when any light updates... For some evidence added two screenshots (Smooth lighting maximum, distance tiny. Stay for 0 chunks, got 232 FPS, moving got 38 FPS, there's totally not videocard, right?)

P.S. Sorry for my bad English (I'm Russian 😃) and for too much emotions)))

migrated

My notebook specs to help:
Intel i5 560M 2.67GHz
4Gb RAM
NVIDIA GeForce GT 420M (There's the integrated video card too, but I always play with the NVIDIA)
Windows 7 64bits
Java 7 with the last update

My minecraft settings:
Graphics: Fancy
Smooth lighting: Minimum at 13w11a and ON at 1.4.7
Particles: Decreased
Render distance: Normal
Performance: Balanced
Advanced OpenGL: ON
VSync: ON

With 1.4.7: ~67 while moving
With 13w11a: ~40fps while moving
I get huge lag spikes when I use simple redstone

migrated

I can't seem to find which snapshot the current lighting engine was added to but this bug report is accurate. Between those two snapshots something horrible happened every time I load up 13w04a I am amazed by how smooth and fast the chunks are loading, the FPS is so smooth and 150% of what the new FPS is.

migrated

Seems to be affected by amount of mobs. In peaceful frames are higher (but still worse than before). Superflat, also.

migrated

@Jeps twitter: I have one problem with your test. I don't stand somewhere and look around. I'm in motion or I'm building.
But I've tested it and stand there and wait, but my chunck update never goes to 0. I don't know why, but after 4 or 5 minitues I give up.
The most time when I'm moving I got around 50 fps, befor the update I got 120 fps. When I deactivate smooth lighting I have again 120 fps. Between smooth max and smooth mini there is no difference.
Oh and by the way, I have no redstone devices, there is only a nether portal. Another thing is, I have a lot of light sources, to light up the area.

My specs again:
Dell Laptop i7 2,0 GHz, 8GB RAM
Nvidia Geforce GT540M 2GB

Win7 64 (fully updated)
Java7u17 64

minecraft 13w11a, lwjgl2.8.4, graphics: fancy, distance: far, smooth: max, performance: max fps, open gl: on, clouds: on, particles: all, vsync: off

Jens Bergensten

I've attempted a number of optimizations and created a temporary snapshot. You can get it here:

http://assets.minecraft.net/13w12_/minecraft.jar

Please compare this to both 1.5 and 1.4.7. The snapshot should be compatible with 1.5 servers.

migrated

Jeb, I can't dowload it, or link already expired? =3

migrated

Downloadlink is broken. 😞

Jens Bergensten

Dranitsin, Raphael: Oups sorry, my bad, I forgot to unlock security settings. Please try again.

migrated

Thanks, I'l try it, then write what i think)))

migrated

Well, now it's much, much better, almost like in 1.4.7, I have 50-60 FPS, but still some little lag spikes on light update (to 40-50 fps), but that's become really better.

So about numbers:

In my world it's now 45-60 fps with smooth lighting (still no difference between min and max), was 25-38 fps on 1.5, my world wasn't exist in 1.4.7, but in 1.4.7 i got usually 60-70, almost there)))

With redstone clocks it's goes less for 10-20 fps (35-50), but it's goes almost smooth, less lag spikes, than in 1.5.

And as i said some light spikes on light update, some was in 1.4.7 and i used to it) Well a little more and it's gonna be perfect (already it is playable more or less =3)

Jens Bergensten

Ok thanks... I can't really understand the FPS difference. There must be something else causing it, possibly the new texture stitching (but on our computers the stitching actually improved FPS).

migrated

With the new file I get around 70 fps in motion (befor 40-50) and 120 fps when I'm standing and wait until chunk load is 0. In 1.4. or befor 13w05a I have around 90-100 fps in motion. Much better, thanks for your effort.

migrated

With the test build 13w12~ I get a reported frame rate between 30 - 100 fps (with both min and max smooth lighting)in a fairly heavy redstone area of my survival world. However when moving around and looking around it feels like I have ~5 FPS even though it is still reporting 30+

In a fresh Test world, with a rapid redstone clock going I did 5 tests, and recorded the footage.(http://youtu.be/WgR_qJpVSD4). The test involved waiting till the world fully loaded so there were no chunk updates at start of test, then starting up the clock, flying around and looking around to note how smooth it felt. I tested in 1.47, 1.5 with min and max smooth lighting settings, and this test build 13w12~ in both min and max.

In 1.4.7 I get ~150FPS and it feels smooth moving and looking around.

In 1.5 Smooth Lighting Minimum I get ~40 FPS and it feels very choppy moving and looking around

In 1.5 Smooth Lighting Maximum I get the same results as with Minimum

In 13w12~ Smooth Lighting Minimum I get ~90 FPS and it feels a little bit choppy moving and looking around.

In 13w12~ Smooth Lighting Maximum I get the same results as with Minimum.

Overall I'd say it is a vast improvement over 1.5, however not as good as it was in 1.4.7. Still don't see a difference between min and max settings and It still feels like the reported FPS doesn't relate to how smooth the game actually feels, and that there are possibly duplicate frames giving that choppy feeling even though the game reports a decent frame rate.

Specs of PC used for Test:
Windows 7 64-bit
i5-2500K 3.30GHz
8.00 GB Ram
Nvidia GT 220

[EDIT]Added Link

migrated

Quite a difference, Jeb. For me, about a 25-30% improvement in FPS between snapshot 13w11a and this optimized lighting 13w12~ (using max). It just "feels" faster, especially when moving. I've been watching the FPS in debug mode and standing still with no CU, both report the same FPS for me, around 130fps. However, when moving, the average FPS is higher. On 13w11a, it's around 60fps and on 13w12~ it's around 75fps.

kuemmi

The overall fps seem to have improved with the temporary snapshot, the stuttering however is still quite bad.

1.4.7: 60-80 fps
1.5: 35-50 fps with very noticeable lag spikes
1.5 with modified bfz.class: 60-80 fps
temporary snapshot: 40-70 fps with noticeable lag spikes

If I turn off smooth lighting in 1.5 and the temporary snapshot, the framerate goes up to about 80 fps and camera movement seems much smoother.

migrated

hello Jens

I get 60 fps in 1.4.7 (véry smooth gameplay, no lag at all. my pc has a schale of 1/60 fps so I guess the scale differs between pc's and monitors)
in 1.5 I get around 19-23 fps
and in your build you just released I get 34-40 fps (much, much, much better!) the coppy gameplay is also completely gone! 🙂

migrated

The game at least seems playable with smooth lighting on now.

migrated

if this get's just a little bittle bit better, I hope they can release a 1.6 snapshot on thursday😛

migrated

13w11a: 36 fps main screen, 1500~1700 fps world selection screen, 180~200 fps pause menu, 40~110 fps ingame (SSP), 30~45 fps and slight movement lag ingame near [these|MC-11449] clocks (suferflat CSP), 5-10 fps and heavy movement lag when you move 10 chunks away from the said clock lanes' far end

13w12~: 36 fps main screen, 1400~1600 fps world selection screen, 200~220 fps pause menu, 50~130 fps ingame (SSP), 55~70 fps and very slight movement lag ingame near clocks (CSP), game freezes completely when you move 10 chunks away from the said clock lanes' far end

13w12~ reupload: 36 fps main screen, 1500~1600 fps world selection screen, 210~220 fps pause menu, 70~140 fps ingame (SSP), 90~120 fps and still a very slight movement lag ingame near clocks (CSP), game still freezes when you move 10 chunks away from the clock (definitely should re-report this separately)

Environment: win7sp1 x64, java 1.7.0_17, Intel Q9300 @ 2,50 GHz, 4Gb RAM, Geforce GTX280 v.314.07 @ 1024x768

Ezekiel

13w12~:
Min: About 200 FPS
Max: About 190 FPS
Off: About 250 FPS

13w11a:
Min: About 150 FPS
Max: About 140 FPS
Off: About 250 FPS

1.5:
Min: About 130 FPS
Max: About 135 FPS
Off: About 240 FPS

1.4.7:
I can't test the same world with this version, but other people can provide this set of missing data.

Jens Bergensten

Thanks for the info. I've uploaded a new version of the debug snapshot that is even more optimized. Please let me know how it works.

migrated

sorry to tell this Jeb but...
YOU FIXED IT!!!!!! 😃

It's the same as before 1.5!

AAAAAAAAAAAAAAHHHHH!!!!!!

migrated

The debug snapshot fixed the performance issues for me too. 🙂

migrated

Just re-downloaded and now I'm getting around 90fps on the same world I was getting 75fps when moving on the earlier temp snapshot (and originally 60fps with 13w11a). Everything "feels smoother", like 1.4.7. Lag spikes and choppiness are seemingly-nonexistent. Hoping this gets pushed into the 1.5.1 update this week, will make alot of people very happy. Good work, Jeb!

migrated

New test build provide further increase in FPS and feels a lot smoother when moving and looking around as well. Still not matching 1.4.7 but getting close. Still getting choppiness in very heavy redstone areas even though fps are reporting 60+

Great work.

migrated

Although the FPS and smoothness of default has improved slightly with 13w12~, the core issue remains. I believe, as Jeb has mentioned, this ultimately is due to the new texture pack format:

The following results use the settings:

Distance: Normal
Graphics: Fancy
Smooth lighting: On/Maximum (there is no difference in performance between minimum/maximum)

13w12~

Default: 40-50 FPS (70 FPS looking at the sky - 75 FPS looking at the ground)
16x: 35-50 FPS (60 FPS looking at the sky - 65 FPS looking at the ground)
32x: 25-45 FPS (45 FPS looking at the sky - 50 FPS looking at the ground)
64x: 10-20 FPS (20 FPS looking at the sky - 30 FPS looking at the ground)

Note: Although slightly smoother, frames are generally stuttery and unsmooth, no matter the figure in f3.

1.5:

Default: 25-40 FPS (120 FPS looking at the sky)
16x: 20-35 FPS (70 FPS looking at the sky)
32x: 15-30 FPS (50 FPS looking at the sky)
64x: 10-20 FPS (20 FPS looking at the sky)

Note: All frames are generally stuttery and unsmooth, no matter the figure in f3.

1.4.7:

Default: 35-60 FPS (200 FPS looking at the sky)
16x: 35-60 FPS (200 FPS looking at the sky)
32x: 35-60 FPS (180 FPS looking at the sky)
64x: 35-60 FPS (180 FPS looking at the sky)

Note: All frames are smooth.

As this issue is related but not specifically focussed on here, I have raised a separate ticket dealing with FPS with both default and various HD texture pack resolutions.

migrated

GREAT JOB!!! Now i get around 80-100 FPS in my world, I think for me it's even better than was in 1.4.7. Not sure, but it's totally playable now! THANKS!!! THANKS A LOT!!! =3

About it seriously:

1.5 update (13w11a): 25-35 FPS, 10 or less fps on quick light updating (redstone clocks near).

now with this test build: 80-100 FPS very smoothly, almost no lag spikes, only when territories loading, but small amount of them (better than in 1.4.7 I think), and 60-70 fps with blinking lights. And even when i get 30 fps it runs still smoothly, and not so noticable.

Good job, you did it. But if you can make more, do it) Minecraft always needs better optimization for our happiness))) Well done! Thanks for everything, I'm so happy now that I can play with smooth lighting again. =3

migrated

I think it's resolved now, when 1.5.1 pre-release shows us smooth fps back)))

kuemmi

Yep, the second test build is definitely an improvement. There's still some occasional stuttering, but the overall framerate is back to normal.

migrated

Horay, its fixed! thx Jeb!

migrated

I would say this bug is fixed! I agree there is still some occasional studding but nothing to be worried about as long as its not amplified by anything.

migrated

I have still have 20-30 percent less FPS than before and the gameplay overall still feels “choppy”. But it’s better than in 13w11a.

rydian

1.5.1pre, smooth lighting on min, staring at a jungle with some stairs in view, settles in at ~120FPS when chunks are done loading, like it would before the lighting changes.

1.5.1pre, smooth lighting on max, staring at a jungle with some stairs in view, settles at ~110FPS when chunks are done loading.

Frame-by-frame recording shows no frame duplication due to lighting updates when blocks change (unlike my earlier tests when the issue came about).

I'd call this a success.

migrated

wow, 13w12~ is a lot better!

migrated

I get better FPS in 1.5 with this fix than in 1.4.7 now! Still some lag spikes but it isn't this bug.

migrated

btw i can confirm huge improvements with 1.5.1 in performance. great job!

migrated

Seems fixed as of 1.5.1... in the Overworld.

Nether is still giving me major stutter!!

migrated

Still happens sometimes in the overworld, might be related to light glitches.

migrated

@ Jeb: Since you care and try to deal with performance issues (as stated by Grum in MC-11875), please consider doing something about MC-8824 which is not completely fixed as a few already stated. 1.5 did not only introduce a high fps drop issue but a "stuttering" too which did not occur in previous official releases. Like the fps drop issue, the "stuttering" occurs during chunk updates (the more chunk updates, the worse the "stuttering"). 1.5.1 only fixed the low fps issue.

migrated

I can attest to the stuttering as it still exists. This issue is exemplified with redstone clocks.

migrated

Thanks AHelper. I didn't expect to have any support on this. A lot of people nowadays have high end PCs and they don't encounter stuttering. I'm sure Mojang uses i7s so they probably can't notice it either because it won't occur. I get the impression that preserving decent performance on mid range PCs is not a priority.

Any condition that causes a big increase in the indication "chunks updates" in the debug screen, makes the stuttering to occur. World loading, big amount of blocks destroyed, big amount of entities, big amount of grass being eaten by sheep, any situation that causes big fps drop or the use of "Performance: Power saver" setting in combination with any of the previous even at smaller amounts of chunk updates / cpu stress and redstone clocks as already stated.

migrated

I actually saw it pretty bad in 1.5.1. Even on my i7 3820QM w/32G ram and a 7970m I would get ~15fps when using a x128 texture pack although that may of been a different report. However on the default texture pack it was closer to the 100 area. Performance seems much more improved in 1.5.2 now with x128 texture packs giving ~130fps in many areas without mods. 1.5.1 needed the optifine mod to be playable.

migrated

(Unassigned)

Community Consensus

FPS, drop

Snapshot 13w05a, Snapshot 13w05b, Snapshot 13w06a, Snapshot 13w07a, Snapshot 13w09a, Snapshot 13w09b, Snapshot 13w09c, Snapshot 13w10b, Minecraft 1.5, Snapshot 13w11a

Minecraft 1.5.1

Retrieved