Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(cs 1.6) flash light causes fps drops even on high end cards #376

Open
MaximilianKohler opened this issue Feb 19, 2013 · 10 comments
Open

(cs 1.6) flash light causes fps drops even on high end cards #376

MaximilianKohler opened this issue Feb 19, 2013 · 10 comments

Comments

@MaximilianKohler
Copy link

My specs:
ati 5870
intel q9650
win7 x64
4gig ram

An easy place to test the flashlight bug is on cs_747. Spawn as ct and go through the corridor towards the inside of the plane and as soon as you go through the first curtains with your flashlight on my fps will drop to around ~60fps.

This is a bug that's been around for years. I think it happens for most people.

@Egon-Spengler
Copy link

There seems to be some issues with dynamic lights and OpenGL.

Flashlights cause many players to drop fps, just as Dlights from third-party plugins, maps, etc.

But there's one example I remembered that is even worse: if using OpenGL, even with a high-end graphics card, if you go into a map that uses light or light_spot entities that have their "style" set to something else other than default (such as flicker, pulsing, etc.) your fps will be completely wrecked when looking at them. Oddly enough, changing to D3D would make it perfectly fine.

So basically, OpenGL just can't stand any sort of dynamic lights, for some reason.

There aren't any maps I can recall right now where it's easy to go and experience this but if needed I can try to get a way to reproduce it on a map and link it here, if this will be looked into?

@MrSchism
Copy link
Member

The FPS drop almost seems relative to how good your video device is. On my netbook, with the flashlight off, I have 16-50 (average 24) FPS. Flashlight on? 14-35 (average 19) FPS.

So basically, OpenGL just can't stand any sort of dynamic lights, for some reason.

Honestly, it seems to be how the engine handles the dynamic lighting more than openGL. I've played other games where OGL is used for the dynamic lighting and it works brilliantly (Alien Arena, for example).

@zarackar
Copy link

Oke , so here some interesting things about FPS drop...

I read all you write up there, STILL!!!
My quiestion is... I use steam cs 1.6... and if something explodes, flahsbang, he or flashlights on I get a FPS drop to 5-20 fps... My laptop is i3 2.4 GH 4GB RAM 520 MX video card!!!! I mention NEVER HAD THIS PROBLEM BEFORE...

PS: On non steam cs 1.6 everythign works PERFECT....?????? why ???????

EDIT: I noticed that in DOD that if I shoot the wall from close range it drop fps to 20....

is there any logical explanation ???

@MrSchism
Copy link
Member

On my outdated desktop (https://gist.github.com/MrSchism/45ed161ede54ebc30909), with the flashlight on while in smoke, I can only get as low as 23 FPS while firing a machine gun or AR.

I've been trying to record it, but while the game plays at a good resolution with fair enough FPS, the recording doesn't play back at correct speed. The recording shows the FPS I get while in game accurately, but that FPS doesn't sync up with the video... so I haven't bothered to upload it.

is there any logical explanation ???

That's why we have this bug tracker.

@juicell
Copy link

juicell commented Mar 2, 2013

i found out fps drops on any fps shooter game using high end card. you can test this by shooting into walls or on the flor but have to be very close. then bulletsmokes start going come out and if you take look at your video card usedage hard to belive how will increase your clock if it reach 100% your fps will drop.

@MisterRyan
Copy link

Same thing happens to me, when ever i go into opengl, and someone turns their flashlight on my fps drops insanely low. My average fps is a steady 100.5 and 95.5, and then with a flash light turned on it drops to 23 to 7 fps. But after the huge update in 2013, steam took out d3d so i have to stick with opengl (d3d makes the flashlight not lag and leaves me at 100.5 and 95.5 fps with no drops.)

@Egon-Spengler
Copy link

@MisterRyan You might be interested on #241

@MIXXXITDJ
Copy link

Has the opengl plus dynamic lights bug been fixed?

@MIXXXITDJ
Copy link

I see others have same issue with flashlight and low fps. Good example is office complex level flickering light on ceiling in hallway. Fps are all over. I used to run this game flawlessly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants
@MrSchism @Egon-Spengler @MaximilianKohler @zarackar @juicell @MisterRyan @MIXXXITDJ and others