Skip to content

FPS/Performance Updates

RiotRiot JxE··136 votes·39,532 views

Hey all!

Riot JxE, Product Manager of our Render Team, here to talk with you all about the FPS issues in late-game teamfights you've been bringing up for the last few months. We've been digging into it for a few months now and tl;dr is it's been a pain in the ass to track down. We had been using Avg FPS to track how performance is doing and that wasn't enough data to track down this issue. We've been putting in better tracking code and using that data to help better understand what's causing the issues. (note that the numbers you see in this image are on a developer debug build and not indicative of every machine)

All of that being said, we've found some good culprits and have started optimizing the code. We believe some CPU operations have been stalling the GPU which has been causing the FPS issues you've all been seeing in late game teamfights. Specifically, we've optimized a function called UpdatePerceptionBubbles() that is used to build the Fog of War and have done some optimizations to audio during our particle simulate phase that we believe were the culprits. We're also going to be looking into other areas of optimization (like GameWorldLoop) now that we have better data.

I can't promise anything yet, but just wanted to let you all know that we're actively looking into the issue and hope to have a fix soon. Thanks for bearing with us while we figure out what's going on.

152 Comments

LostFr0st74 votes

Thank you for the update and for all of your team's hard work.

RiotRiot JxE53 votes

<3

Guster Posey4 votes

Thank you for looking into this! It's been a steady decline in FPS since essentially Season 5 for me. I have a 144hz monitor, and lately I've been running it at 120hz because that seems to be all the FPS I'm able to get (I've been running a 4790k with a GTX 1070, just recently upgraded to a Ryzen 7 1700 with the same GPU) and it's amazing if I'm able to keep over 120 throughout the course of the game past around 5 minutes in.

So please have a look at the entirety of the game, not just late game!

rtbf2256182419 votes

Below 120 is bad for you? Dude, i'm happy if it stays at 60 and used to play on 15 on my previous computer.

Just saying..

Bhagswag5 votes

Yeah but you didn't pay as much as he did for his PC lol. He should be getting far more FPS at that price point.

rtbf2256182414 votes

Fair enough then but it's still totally playable without issues.

Hi Im Myst2 votes

The problem isn't that the game is unplayable at that 120 fps, because it is way more than playable. The problem is he isn't getting the performance from his machine that he should be getting due to faulty code. Being unable to have the most enjoyable experience due to faulty code is an issue that should be high on priority for things to fix.

rtbf2256182412 votes

I get that. I'm just saying that it doesn't actually impact the experience at all until it reaches a severe low point. Ofcourse it has to be looked at.

Deez Crits1 votes

No one said anything about how his gameplay (I'm assuming that's what you are implying by "experience") was affected. He just wants his full dollars worth for the setup he has performance-wise. You're continuously making a point that is irrelevant to the subject that was originally mentioned.

rtbf2256182412 votes

It's not irrelevant given he didn't specify why he was complaining. If you want to haystring grammar because i didn't assume he was a needy player, then go fucking ahead. I don't care. You're just being annoying at this point.

I also replied to others saying i'm totally fine with that. I just pointed out at least his fps drop isn't visible to the eye yet so it would take some time untill this becomes a serious problem.

Deez Crits1 votes

What was the original issue here if you're "totally fine with it"? You seem to understand his concerns; I'm just saying that you're really up in arms about nothing. But go ahead and have another heated reply. I made the original comment because I was annoyed reading the same thing over and over.

rtbf2256182411 votes

Why do you think i have an issue with the original comment? I just said at least it isn't that bad yet. Some people like to exaggerate, like you.

Deez Crits1 votes

Below 120 is bad for you? Dude, i'm happy if it stays at 60 and used to play on 15 on my previous computer.

Just saying..

I'm done here, I rest my case mate.

And also

Fair enough then but it's still totally playable without issues.

When it was never a matter of playability in the first place.

Deez Crits1 votes

What was the point of mentioning playability then? The topic is related to playability but playability is not within the current context.

And also "Just saying" doesn't necessarily make a message light in tone. Look at how defensive you are when you respond; your attitude doesn't help you. Have you heard of the disclaimer "No offense"?

ahri thighs1 votes

[deleted]

rtbf2256182414 votes

My point was that it's not an issue or anything that you have less than 120. Beneath 60 is where visible lag comes in.

This has nothing to do with your SJW point you just made.

pinkbunnyhunter1 votes

Hmm. I used to play league on an

ATI x800pro Amd Athlon 3200+ 64 bit Windows XP 64 bit 4Gb ram with SOLID 75fps and I liked the older graphics much better.

I even managed to stream it at 35 fps. Competitive games are meant to be smooth and non-graphically intensive.

The loading time was a pita, i can't tell why they can't just load the game once in client and not have to reload each time. Usually i would read a page during a load, or make myself a coffee. People were hating on me for having a potato, but i bought that potato in 2003 and it just never broke.

rtbf2256182411 votes

Your processor made up for your computer's age and i don't think you know how loading works because it's different every time. No game is the same and it has to synchronize between all the people so everyone sees the same thing.

Mysticman8912 votes

I'll be thrilled if I take off the fps cap and can crack 1k FPS for the sheer silliness of it.

PaladinNO3 votes

1004 FPS on screenshot already.

[slayer-pantheon-thumbs]

https://1drv.ms/i/s!AuFMZD__7mN2gUhncGyQlydw755o Highest graphics settings, but otherwise the equivalent of a laboratory test, I will have to admit.

Firestorm3 votes

On what kind of a processor was that achieved? inb4 6GHz 7700k under liquid nitrogen

Evil Yasuo9 votes

Nice! I've been getting really bad frame issues (20fps and it drops to 4fps in teamfights) and really bad ping (which might actually be bad internet connection) I'm from phoenix, az so a computer heating up in this 120 degree weather isn't the best thing.

RiotRiot JxE18 votes

You should team up with the buttered potato and pizza cooking players down below

Evil Yasuo2 votes

I'm too good for those scrubs. Did you not know i'm the #1 Talon player in the world?

The Ender Cobra6 votes

Did you know that Talon is responsible for 25% of first bloods?

Yadid4 votes

Smell that boys? That's some good meme smell.

PaladinNO4 votes

120 degree weather

Presuming that's a Fahrenheit measurement. :P

On a serious note, if you're on a desktop PC, changing the fans (if you use the ones that came pre-installed in the case - which are usually mediocre) with high-quality ones should help.

Personally, I'm very partial to the Noctua IPPC fans. http://noctua.at/en/products/product-line-industrial

Corsair Premium/Pro is another type of fans I'd be looking at, if I were in the market. My own setup is ~27dB fans with a manual, rheostat fan controller (Sunbeam Rheobus Extreme). Gives for (cooling)power when I need it, and quiet when I want it.

Also, the fan setup is important. In terms of thermodynamics 101, you want intake fans in the bottom front, and exhaust fans at the top rear end of the case (cold air drops; warm air rises). And more fans, in the right setup, equals better.

Noise-wise, a maximum of 25 dB (Decibel) - personal preference; may be individual (lower is better, but sub ~19 dB, and the fans will be start to get too weak to do the job properly) - and your ears will be kept pleased.

A negative pressure inside the case provides the best cooling (more air being pushed out of the case than the amount entering it), but it'll be filled with dust in no time (filters or not, trust me). A positive pressure makes the PC (component cores) a bit hotter, up to ~5°C (~41°F, if I'm reading it right) based on own tests, but keeps most of the dust out.

Keeping the PC raised off the ground by 20-30 cm (put on a stand or something) and above the floor where most of the dust is at, and with a negative pressure inside it, should give for the best combination. You should also strive to keep your PC (fans/cooling fins) free of dust. Using short burts of canned air to give it a "good blow" once in a while (2-4 times a year) is a good thing. No vacuum cleaner, as it brings static electricity, which may fry your PC components! And use a compressor only if you know what you're doing.

aspects19 votes

riot's actually trying to fix a problem http://imgur.com/gallery/WrKPhfd

LyingOnLine8 votes

Thanks very much guys. Now I won't have to butter my potato when it overheats anymore!

rework trundle7 votes

I cooked pizza on mine

PaladinNO3 votes

I once tried roasting a duck on mine: The duck stayed alive...and asked for a warm blanket. :/

Spice POWAH6 votes

I see a thumbnail In the post but I can't see the actual picture in the post. Not too important, but i'm curious now D:

KennysDreamGirl5 votes

I wish the balance team could do as good a job as you guys do

RiotRiot JxE17 votes

It's not that simple. Similar to the balance team, this is going to be an iterative approach. The things we've found might fix the issues or it might not, but we'll keep at it until we fix it.

KennysDreamGirl5 votes

atleast what you guys do works and is healty. (sorry for the saltiness but I'm not happy with the recent patches and lack of changes to things that need changed)

4th3t0s10 votes

Not being happy with something doesn't automatically make it wrong

KennysDreamGirl2 votes

well when someone like kha and vayne can get up 300 free damage 3 an auto( and able to et that free damage 3-6 times) just by going invis for 1 sec with no cd on that bonus damage I would say is a little wrong.

and that's just one thing here

4th3t0s6 votes

Ok, season 2 metagolem, release xin/yorick, feral flare, devourer warwick, league of item 3071s, 7.2 lethality buffs, AP MasterYi, cinderhulk Sejuani, AP Poppy, AP Tristana, permabanned Kassadin. The list is endless if you cherrypick every balance problem the game has had over the years; it's theoretically impossible to make a perfectly balanced game, let alone trying to define perfection. Be happy with what you have; I'm personally amazed the game has maintained the level of current balance, considering the chamption roster has more than doubled(?) since then.

Pika3101 votes

What we mean is: you're trying to fix problems.

The balance team intentionally creates a state of imbalance, Ghostcrawler himself just stated this directly to us not more than 3 days ago. They intentionally create "bronze champions," either by way of rework, failed design or nerfs. They intentionally create a game where specific champions (balance team favorites) can flourish, whilst actively hammering down others (balance team's hated.)

This is truer for none more-so than Meddler especially, who's been especially active in gutting champions he hates. Which just also happen to all be female champions... I'm not calling Meddler a misogynist, but... actually that's exactly what I'm calling him.

Jonxx3 votes

Thanks, love the transparency.

PaladinNO3 votes

My i7 3770K, 32 GB RAM, 3 dedicated SSDs and GTX 1080 FTW is ready to take some more FPS home!

http://i.imgur.com/R6MXnMI.jpg

And when that happens, I'll trade you some FPS for that ping.

https://1drv.ms/i/s!AuFMZD__7mN2gUhncGyQlydw755o

[slayer-pantheon-thumbs]

developer debug build

"[RELEASEDBG_WITH_CHEATS]" item 3682

Lovin' it! xD

Linna Excel1 votes

Does the tracking code produce any noticeable performance hits by itself?

RiotRiot JxE6 votes

The code in the image I showed does have a slight impact but we only run it on our debug builds. The data we get from live games has a trivial impact. It's just an extra line of code logging stuff.

AkhriPasta1 votes

I also get Packet loss in teamfights....

House x331 votes

You might want to take a look into minions spawn as well. My game starts with 200+ FPS but drops to below 80 as soon as minions spawn. Also GPU is being forced to run at only 15% power.

PaladinNO1 votes

Why is your GPU forced to run at only 15% power? That sounds like a heating issue to me.

Do a temp check with RealTemp: https://www.techpowerup.com/realtemp/

VasilisGreen1 votes

Or a severe CPU bottleneck... Thermal throttling isn't that easy to trigger, especialy on a Graphics Card, he'd have to lower the fan curve and overclock it to actualy hit a thermal throttle...

For example, if he paired an old pentium 3 with a GTX 1080ti, he should have expected this, you can't just do that.

PaladinNO1 votes

Aye, under normal circumstances, thermal throttling shouldn't happen...unless the fans are clogged with dust, or barely runs at all due to dried up lubrications (that has happened to me and my previous Asus GTX 780 OC - 1 fan ran at ~20%, the other at 100% to try to compensate).

Also, if it's laptop, the GPU can be denied to run on full power due to restrictions in the Power Settings. Ofc., only 15% sounds a bit...off, even with a manual override.

As for GPU fan profile, I've been dabbling a bit with that myself, and set up a rather aggressive profile on my GTX 1080 (using MSI Afterburner): 0-45°C = 0 % 45-60°C = 40 % 60-70°C = 60 % 70-100°C = 100 %

Don't even reach 70°C on the GPU if not playing Doom 4 (max for this session - 41 days - has been 68°C). And when the PC idles, the GPU fans don't even turn.

I am a little paranoid when it comes to heat, so I have even reduced TJ Max from 105 to 95 on my CPU - so should it ever get to that, for whatever reason, the PC will cut its own power before any component damage occur.

Not that I am actually worried that will ever happen - did a 7+ hour burn-test on my CPU, and the highest it got was 78°C (air cooled, 2 fan push/pull setup).

Well, we'll see what House x33 says, and if he's interested in listing his/her hardware specifications.

VasilisGreen1 votes

{quoted}

barely runs at all due to dried up lubrications

About that, have you tried the new ML fans from corsair? they're supposed to not have ball bearings and stuff, and i wanted an actual user opinion.

Anyway, yeah, like, how could he manage a 15% under load? what kind of throttle would do that? Thermal throttle can go all the way down to single digits but still, 15% it's an odd number. If you throttle that hard, you can't play for more than 5 mins before the GPU starts smoking, you'll brick the card... And since he's saying he's playing like that, that's an extended period of time, so, how does he do that without having the card explode? It can't be thermal, it would destroy the card, although the card might actualy shut down.

So, something's really off.

More from Gameplay

More by Riot JxE