halflife icon indicating copy to clipboard operation
halflife copied to clipboard

[CS 1.6] 4-7 fps in menu, OpenGL

Open m3x opened this issue 13 years ago • 58 comments

First of all I have tried every solution I could find: gl_vsync, gl_ansio, fps_max, nofbo, nomsaa, nohd, soft etc. Before update everything was ok (~80 fps). Now I can't play because of low fps in menu and game itself. I think it may be a problem with video card GeForce FX 5200 as it's not the newest one ;) but I never had a problem with it. Here's what I've got:

Nvidia drivers - I use version 175.19 as they are recommended for this card by nvidia.com. They are not the newest but I never have a problem in any game I want to run.

CS version from console: Protocol version 48 Exe version 1.1.2.7/Stdio (cstrike) Exe build: 15:00:41 Feb 13 2013 (5956)

And OS info: http://pastebin.com/a8hi0Xpm

It's almost fresh install of WinXP and I also reinstalled Steam and CS.

m3x avatar Feb 18 '13 15:02 m3x

Put "-nofbo -w 640 -h 480" into the games launch options (in the Steam Library list) and try running, see how that helps.

alfred-valve avatar Feb 18 '13 17:02 alfred-valve

It didn't. Now it's 5 fps.

m3x avatar Feb 18 '13 17:02 m3x

Try: "-soft -w 640 -h 480"

alfred-valve avatar Feb 18 '13 17:02 alfred-valve

@m3x Did you use to play in D3D?

Egon-Spengler avatar Feb 18 '13 17:02 Egon-Spengler

@alfred-valve It helps, at least in game menu, but cs in unplayable in software mode - low fps (net_graph doesn't work?) I guess around 20-30 fps, weird textures, black bar on bottom of the screen. Not normal cursor clicks - I mean I need to click under element (i.e options' tabs) to actually click it.

@Egon-Spengler No. I always play in OpenGL.

m3x avatar Feb 18 '13 17:02 m3x

i think cl_showfps 1 should work in software mode

r3n4m3 avatar Feb 18 '13 18:02 r3n4m3

Okay, launch with: -nofbo -w 640 -h 480

and then when the game is running type this into the console: gl_texturemode GL_NEAREST_MIPMAP_NEAREST

and see how that helps.

alfred-valve avatar Feb 18 '13 18:02 alfred-valve

In game it's fine now. But in menu still 4 fps.

m3x avatar Feb 18 '13 18:02 m3x

@m3x, so to be clear for me, if you launch with: -nofbo -w 640 -h 480

and then run: gl_texturemode GL_NEAREST_MIPMAP_NEAREST

You see your original 80fps or so when in a map? But then if you hit esc you drop to 4fps? But if you hit esc again (to dismiss the menu) you go back to 80fps right?

alfred-valve avatar Feb 18 '13 18:02 alfred-valve

Yes, when in a map. And if I hit esc, it's still fine, I can go to options etc, without lag. But when I disconnect from server and go back to default menu I got 4 fps back.

m3x avatar Feb 18 '13 18:02 m3x

Oh, its only 4fps if you aren't in a map, okay. Well, then you are mostly fixed by the above cvar changes, I'll work on adding some UI around those options so less technical users can access them. I will also keep looking for way to speed up your out of map fps.

alfred-valve avatar Feb 18 '13 18:02 alfred-valve

Thanks for help. At least I can play after I break through the menu and connect to server

m3x avatar Feb 18 '13 18:02 m3x

Okay, next release will have a "low video quality" check box in the Video tab of options. It will set the above options for you, and this mode also improves the rendering speed at the main menu.

alfred-valve avatar Feb 18 '13 19:02 alfred-valve

@alfred-valve what exactly doing that "low video quality" checkmark?

r3n4m3 avatar Feb 18 '13 22:02 r3n4m3

+1 i would also like to know EXACTLY what it does =)

idderf avatar Feb 18 '13 22:02 idderf

It does the things discussed in this thread. So "-nofbo" on the command line, setting gl_ansio to 4 and gl_texturemode to GL_LINEAR_GL_NEAREST and also causing the big background picture to not be filtered as much.

alfred-valve avatar Feb 18 '13 23:02 alfred-valve

To be clear, you could just manually do the above and get all the benefits except for the main menu change, the check box is just to help users that don't want to micro-manage their config.

alfred-valve avatar Feb 18 '13 23:02 alfred-valve

i think that this GL_LINEAR_MIPMAP_NEAREST is default

r3n4m3 avatar Feb 18 '13 23:02 r3n4m3

GL_LINEAR_MIPMAP_LINEAR is the default now.

alfred-valve avatar Feb 18 '13 23:02 alfred-valve

I'm not quite understand. If we activate the checkmark, from what value and to what value gl_texturemod will change?

r3n4m3 avatar Feb 18 '13 23:02 r3n4m3