protonscr

Getting low fps at full screen mode in Counter-Strike (Beta)

steamclosed reviewedMOVED: Counter‐Strike
ValveSoftware/steam-for-linux#998 · opened 2013-01-28 by guihkx · updated 2013-02-01 · 11 comments · github
Gguihkx 2013-01-28 github

The fps is low only when I enter in full screen mode (1440x900):

2013-01-28-182247_1440x900_scrot

windowed mode at the same resolution:

2013-01-28-182633_1440x900_scrot

System

Processor Information:
    Vendor:  AuthenticAMD
    Speed: 2300 Mhz
    2 logical processors
    2 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Unsupported
    SSE42:  Unsupported

Network Information:
    Network Speed:  

Operating System Version:
    "Arch Linux" (32 bit)
    Kernel Name:  Linux
    Kernel Version:  3.7.4-1-ARCH
    X Server vendor:  The X.Org Foundation
    X Server release:  11302000

Video Card:
    Driver:  NVIDIA Corporation GeForce 6150SE nForce 430/integrated/SSE2/3DNOW!

    Driver Version:  2.1.2 NVIDIA 304.64
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 59 Hz
    VendorID:  0x10de
    DeviceID:  0x3d0
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1440 x 900
    Desktop Resolution: 1440 x 900
    Primary Display Size: 16,06" x 10,04"  (18,94" diag)
                                            40,8cm x 25,5cm  (48,1cm diag)
    Primary Bus: Integrated
    Primary VRAM Not Detected
    Supported MSAA Modes:  2x 4x 16x 

Sound card:
    Audio device: Realtek ALC888

Memory:
    RAM:  1955 Mb

Miscellaneous:
    UI Language:  English
    LANG:  pt_BR.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  117022 Mb
    Largest Free Hard Disk Block:  89391 Mb

Installed software:

Recent Failure Reports:
    Sat Jan 26 20:36:47 2013 GMT: file ''/tmp/dumps/assert_20130126183644_1.dmp'', upload yes: ''CrashID=bp-c04b4108-8e4e-45b1-b7ee-0da2a2130126''
    Sat Jan 26 20:37:12 2013 GMT: file ''/tmp/dumps/assert_20130126183707_2.dmp'', upload yes: ''CrashID=bp-b82a0fb2-3cbb-42d5-b06b-6f60a2130126''

Also, when I hit ' (keyboard layout is latin, it's the same key in Windows) the console window doesn't show up, so to use it I have to run with the '-console' parameter.

I'm sorry for my english.

ZZeXx86 2013-01-28 github

Try to disable in your nvidia x server settings Sync to VBlank option and start the game again.
Do you use some composition manager? What is your desktop environment?
Thanks

Your console problem is already known bug related with keyboard layout.

Gguihkx 2013-01-28 github

It was already disabled. But to increase the fps, I have to run in Counter-Strike console: gl_vsync 0, then the fps increases by 4 but it's still too slow.

I use Awesome Window Manager, no DE.

Aalfred-valve maintainer 2013-01-29 github

When we run in fullscreen we turn on MSAA (anti-aliasing), your video card is pretty underpowered and can't do this at a reasonable speed. Either lower your resolution or run in windowed mode for now. I will investigate adding a convar to optionally disable this.

Gguihkx 2013-01-29 github

But in Windows is fast, even if I'm recording it with Fraps...

ZZeXx86 2013-01-29 github

I am not sure but windows version is probably running without MSAA. I think it is enabled by default because gpus are much faster today. Original game does not allow to change these settings, ported version shoud'nt too I guess so it is hardcoded. Convar is good idea.

Aalfred-valve maintainer 2013-01-31 github

The next update will contain a "-nomsaa" and "-nofbo" option that will let you disable this newer behavior, this should help you get back some framerate on these lower spec GPU's.

Gguihkx 2013-01-31 github

That's great news! Thanks Valve team!

Gguihkx 2013-02-01 github

Ok, I've tried both parameters (-nomsaa and -nofbo) and my CS ran smoothly at full screen mode and with high fps in my native resolution (1440x900), but in lower resolutions like 640x480 or 800x600 there is a bug. I tried to make a video and also took a screenshot, but for some reason unknown to me, the bug wasn't being displayed exactly in the way that I saw it! I don't know if I'm able to explain properly because of my poor english.

The CS window is actually being displayed in 640x480 (which in the screenshot will show the opposite, by the reasons I've already mentioned), but if I move my cursor to the top-right, I'm "pushed out" of the CS window and I go to a empty black screen. Looks like the window is disproportional, because I can't even click on the menu items, it's like the mouse cursor is somewhere else. I took a screenshot to make easier to understand what I'm saying:

cs

And if the screenshot didn't help, the recording:

https://dl.dropbox.com/u/5370275/steam.mkv

Again: I'm my native resolution the game run smoothly! And this bug only occurs at full screen mode.

Thank you.

ZZeXx86 2013-02-01 github

I found CS and HL use something like virtual resolution which is one you set in game, but in reality game use your native resolution you are using in OS while in game "pixel scale" is multiplied to fit it. In your case pixels are not scaled what is wrong.

Gguihkx 2013-02-01 github

Interesting... for now I'll use my native resolution, but in Windows I was used to play in lower resolutions because I think it increases the accuracy of the shot. :+1: Thanks.

ZZeXx86 2013-02-01 github

OK, please fill a new issue describing this problem since issue #998 is different and resolved.
Thanks

Nothing extracted yet.