ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
768 stars 68 forks source link

[Linux] Large FPS drops when opening scoreboard in game, operation journals and cases in main menu #195

Closed martinfischer closed 8 years ago

martinfischer commented 9 years ago

Like the title says: I get large FPS drops when opening scoreboard in game, operation journals and cases in main menu:

In game FPS is usually 150-300, when hitting TAB it goes down to ~10-20 FPS.

Main Menu FPS is ~350, then goes down to ~10-20 FPS when opening a operation journal and to ~10-20 FPS when in the "open case" view.

(I have FPS capped at 350.)

My system information: https://gist.github.com/martinfischer/ee8e2be931da11e7d9cc#file-gistfile1-txt

ghost commented 9 years ago

Confirming.

Started today. Has been working flawlessly prior to this.

ghost commented 9 years ago

I have FPS drops to 30 when checking the scoreboard too. i5, 760 on linux

CodeMonkey80s commented 9 years ago

The same here.

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

This happens even when I have fps_max=60 - the fps drops to 40 when I open scoreboard !

PC: i5-3570k @ 4.2GHZ | GTX 760 | 8GB Ram

RobinJ1995 commented 9 years ago

Reproducible on both my systems. Drops from 120-180 FPS to 2-3 FPS.

System information

Arch Linux Linux 3.17.2-1 x86_64 NVidia drivers: 343.22-4 from the Arch Linux extra repository Hardware information from Steam's hardware info dialog: https://gist.github.com/RobinJ1995/7f6832f40ced6e94c95f Hardware information from lshw: https://gist.github.com/RobinJ1995/c818bd954142b36df6e0

tpruzina commented 9 years ago

I do believe this happens on windows too (along with fps drop on opening menu via ESC).

edit: only during brief moment after pressing the key, not _wholetime while holding tab.

ikonoklazt commented 9 years ago
Processor Information:
    Vendor:  GenuineIntel
    CPU Family:  0x6
    CPU Model:  0x3a
    CPU Stepping:  0x9
    CPU Type:  0x0
    Speed:  3401 Mhz
    4 logical processors
    4 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported

Network Information:
    Network Speed:  

Operating System Version:
    Ubuntu 14.04.1 LTS (64 bit)
    Kernel Name:  Linux
    Kernel Version:  3.13.0-36-generic
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11501000
    X Window Manager:  Compiz
    Steam Runtime Version:  steam-runtime-release_2014-08-20

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 560 Ti/PCIe/SSE2

    Driver Version:  4.4.0 NVIDIA 331.38
    OpenGL Version: 4.4
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 59 Hz
    VendorID:  0x10de
    DeviceID:  0x1200
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1680 x 1050
    Desktop Resolution: 1680 x 1050
    Primary Display Size: 18,66" x 11,65"  (21,97" diag)
                                            47,4cm x 29,6cm  (55,8cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 1024 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: Realtek ALC887-VD

Memory:
    RAM:  7941 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  27369 Mb
    Largest Free Hard Disk Block:  7346 Mb

Installed software:

Recent Failure Reports:

Reproducing on my system since last update hit me yesterday.

ghost commented 9 years ago

Fixed for me in todays update.

martinfischer commented 9 years ago

Not fixed for me, still large FPS drops when checking scoreboard etc.

ikonoklazt commented 9 years ago

Still reproducing, even though I just got the latest patch.

ghost commented 9 years ago

I only checked offline, my mistake. Offline I don't get FPS drops any more checking the scoreboard but online I still do.

RobinJ1995 commented 9 years ago

Still happens to me.

EXiTiUM1 commented 9 years ago

Same issue here. Hardware info

immortal-tofu commented 9 years ago

Same issue here. Config: https://gist.github.com/birdy-/1145bc4f4a49b4cedfb4 Video card is nVidia 760M (using bumblebee)

uldall commented 9 years ago

I have the same problem on a new Mint 17 MATE installation.

Card: Nvidia GTX 770 Driver: 331.38

ramma commented 9 years ago

This bug seems to contain similar performance issues as a few other bugs. Notably, bugs #152, #141, and #85 (reviewed).

I've seen lag in all the parts listed above. As I linked in bug #152, here's a video showing gun preview lag.

More recently Operation Vanguard journal lag has been a larger issue, running at 2-5 FPS on the mission pages which can be seen in this video. It only happens on the mission selection pages.

EXiTiUM1 commented 9 years ago

Hey guys, try this: Go to the folder steamapps\common\Counter-Strike Global Offensive\csgo\resource\flash Delete or rename background.swf

Worked for me, the journals now load without any fps drops. Kudos to my friend chroniX who told me about this.

RobinJ1995 commented 9 years ago

.swf... Flash?! Seriously?!

Le mercredi 19 novembre 2014 à 21:07 -0800, EXiTiUM1 a écrit :

Hey guys, try this: Go to the folder steamapps\common\Counter-Strike Global Offensive\csgo \resource\flash Delete or rename background.swf

Worked for me, the journals now load without any fps drops. Kudos to my friend chroniX who told me about this.

— Reply to this email directly or view it on GitHub.

ghost commented 9 years ago

If you play a game with 9 bots, you get very little FPS loss. If you play with other people the scoreboard causes FPS drops. It seems worse the more players you play with. Strangely the scoreboard that appears when the match ends does not cause FPS drops.

ChrisLuck commented 9 years ago

I can confirm the scoreboard problem. From ~150fps down to ~20fps. But it wasnt always like that, this is a rather new bug.

Furthermore i want to tell you that 'EXiTiUM1's trick with deleting background.swf no longer works. One year ago you could boost your windows fps with this trick but they 'fixed' it. Now you will get an error message like "game file missing ... validation ... not allowed to join vac protected server".

Ur0s commented 9 years ago

Having the same scoreboard issues for a while now.

steam sysinfo 2014-11-24

RobinJ1995 commented 9 years ago

Just saying, this can be seriously abused. If I hold down tab in a competitive match I start to teleport all over the place according to my teammates. I can see how this would make it difficult for someone to get hit.

ikonoklazt commented 9 years ago

The FPS do not drop when displaying the scoreboard playing against bots, only when I play against other players on the Internet.

alois-git commented 9 years ago

I have the same issue 80fps drop and even if I am still at 110 - 120fps I feel a big "lag"

Nvidia gtx750 ti and 343.22 Nvidia drivers

spychodelics commented 9 years ago

same probleme here, unplayable if you used to open scoreboard every 10 sek.

martinfischer commented 9 years ago

I made a video that shows what happens: https://www.youtube.com/watch?v=KqZqBk7zVAU

It's been a while now, I hope this gets addressed soon.

mshade commented 9 years ago

Just wanted to chime in that I see the same thing on Arch Linux and nvidia proprietary drivers.

ramma commented 9 years ago

@martinfischer Interestingly your FPS drops in those clips, besides the scoreboard one (which I've not experienced myself), don't seem as severe as the ones I've recorded and posted above. Yet we have pretty similar computers, though I'm using an intel processor.

I recorded another video to add to the pile. Unlike most times, the page which comes up after pressing open in your inventory only periodically caused FPS issues that I couldn't consistently repeat with the case I was opening. I did however open a case just before hand where the entire process never reported greater than 1 FPS, and after 5 minutes I ultimately had to force close the game as the ticker had simply started moving so slow it was nearly motionless. Sadly though, OBS was not running for that case, but you can obviously see the performance drop to below 3 FPS in the video above when the sticker preview appears. This is about the same performance I get in journals as well.

mrmaffen commented 9 years ago

Same scoreboard issue for me as well :/

spychodelics commented 9 years ago

[code] Processor Information: Vendor: GenuineIntel CPU Family: 0x6 CPU Model: 0x3a CPU Stepping: 0x9 CPU Type: 0x0 Speed: 3900 Mhz 8 logical processors 4 physical processors HyperThreading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported

Network Information: Network Speed:

Operating System Version: "Arch Linux" (64 bit) Kernel Name: Linux Kernel Version: 3.17.6-1-ARCH X Server Vendor: The X.Org Foundation X Server Release: 11602901 X Window Manager: Xfwm4 Steam Runtime Version: steam-runtime-release_2014-11-14

Video Card: Driver: NVIDIA Corporation GeForce GTX 770/PCIe/SSE2

Driver Version:  4.4.0 NVIDIA 343.36
OpenGL Version: 4.4
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID:  0x10de
DeviceID:  0x1184
Number of Monitors:  1
Number of Logical Video Cards:  1
Primary Display Resolution:  1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 20,87" x 11,81"  (23,98" diag)
                                        53,0cm x 30,0cm  (60,9cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 2048 MB
Supported MSAA Modes:  2x 4x 8x 16x 

Sound card: Audio device: Intel PantherPoint HDMI

Memory: RAM: 15942 Mb

Miscellaneous: UI Language: English LANG: de_DE.UTF-8 Microphone: Not set Total Hard Disk Space Available: 67273 Mb Largest Free Hard Disk Block: 16123 Mb

Installed software:

Recent Failure Reports: [/code]

sandikata commented 9 years ago

game is unplayable. I use opensource radeon driver which get stable 125 fps on CS GO (is possible and more fps) but game is choppy. No framedrops.

AMD FX 8320 Radeon HD 5770 16GB RAM

glxinfo| egrep "direct|OpenGL" direct rendering: Yes OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD JUNIPER OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.5.0-devel (git-934e41c) OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 10.5.0-devel (git-934e41c) OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.5.0-devel (git-934e41c) OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00 OpenGL ES profile extensions:

Gentoo Linux amd64

ragnos commented 9 years ago

Confirming FPS issues in Scoreboard

Processor Information:
    Vendor:  GenuineIntel
    CPU Family:  0x6
    CPU Model:  0x3c
    CPU Stepping:  0x3
    CPU Type:  0x0
    Speed:  3600 Mhz
    4 logical processors
    4 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported

Network Information:
    Network Speed:  

Operating System Version:
    "Arch Linux" (64 bit)
    Kernel Name:  Linux
    Kernel Version:  3.17.6-1-ARCH
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11603000
    X Window Manager:  KWin
    Steam Runtime Version:  steam-runtime-release_2014-08-20

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 770/PCIe/SSE2

    Driver Version:  4.4.0 NVIDIA 343.36
    OpenGL Version: 4.4
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x10de
    DeviceID:  0x1184
    Number of Monitors:  3
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 5520 x 1080
    Primary Display Size: 20,51" x 11,54"  (23,50" diag)
                                            52,1cm x 29,3cm  (59,7cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 2048 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: Realtek ALC892

Memory:
    RAM:  7897 Mb

Miscellaneous:
    UI Language:  English
    LANG:  de_DE.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  117238 Mb
    Largest Free Hard Disk Block:  84296 Mb

Installed software:

Recent Failure Reports:
ramma commented 9 years ago

I've started experiencing the lag in the tab menu as well now (previously only had operation journal issues). The game just suddenly went from fine while in a match, to very sporadic FPS wise and many things making it entirely unplayable now. On top of that I've got some other FPS issues on spawn, death, and some hard to identify situations in game which I reported at #255.

One thing I'm noticing is a lot of us with these issues have GTX 770 (or 700 series).

gabrielrg commented 9 years ago

I have the same problem here. Usually, the fps on CS:GO is 150~250, but when I hit TAB (open scoreboard), it drops to 10~20. This is very annoying ;x I have hybrid video card with Geforce 740M Series using nvidia-prime with nvidia-346 driver. My CPU is a Core i7@2.0 and i'm running Ubuntu 14.04.

sandikata commented 9 years ago

so a little change on my rig. game is still worse for playing. Now with HD 7870. fps is up to 300 but game is choppy and laggy

System: Host: Gentoo-KDE Kernel: 3.18.3 x86_64 (64 bit) Desktop: KDE 4.14.3 Distro: Gentoo Base System release 2.2 Machine: System: Gigabyte product: N/A Mobo: Gigabyte model: 990FXA-UD3 Bios: American Megatrends v: F3i date: 10/07/2014 CPU: Octa core AMD FX-8320 Eight-Core (-MCP-) speed: 4300 MHz (max) Graphics: Card: Advanced Micro Devices [AMD/ATI] Pitcairn XT [Radeon HD 7870 GHz Edition] Display Server: X.Org 1.16.3 driver: fglrx Resolution: 1680x1050@59.88hz GLX Renderer: AMD Radeon HD 7800 Series GLX Version: 4.4.13283 - CPC 14.20 Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169 Drives: HDD Total Size: 1628.3GB (26.9% used) Info: Processes: 234 Uptime: 20:37 Memory: 2789.8/16024.1MB Client: Shell (zsh) inxi: 2.2.18

nvlbg commented 9 years ago

+1

Does anyone have a solution?

sandikata commented 9 years ago

Maybe Valve team

ml- commented 9 years ago

If you have decent FPS but game is still choppy and laggy.

Try killing the Composite Manager before starting the game.

JoshuaMurphynz commented 9 years ago

How do we do this? On 12 Feb 2015 05:42, "Matthias Lisin" notifications@github.com wrote:

If you have decent FPS but game is still choppy and laggy.

Try killing the Composite Manager before starting the game.

— Reply to this email directly or view it on GitHub https://github.com/ValveSoftware/Counter-Strike-Global-Offensive/issues/195#issuecomment-73914692 .

tpruzina commented 9 years ago

Lowering resolution doesn't really change fps on my box unless I also set lower resolution in my Xorg, that's why I have created separate Xorg for steam only (no window, desktop manager) and staticly set lower resolution (I suppose that previously some kind of upscaling on cpu was done).

This way when I play on my optimus laptop I get 100+ fps instead of shaky 50fps (lowest setting, regardless of resolution used on external monitor).

ramma commented 9 years ago

I managed to fix my tab menu lag by deleting and reinstalling the game (be sure the remove the game folder completely as well). I'm still not sure exactly what it fixed, since in theory defragmenting the game files should have achieved the same effect as reinstalling. My next best guess is there's some rogue config setting causing this which we haven't spotted yet that a full reinstall of the game wipes. So if you're bandwidth limited perhaps backing up, then moving your configs out of the install folder could fix it.

sandikata commented 9 years ago

i tried with low effects of game low resolution. case is same up to 300 fps with hard framedrops and very choppy gameplay

tgbugs commented 9 years ago

Also an issue on gentoo with the latest steam runtime on top 3.20 kernel with steam runtime and the following libs: -- games-util/steam-games-meta-0-r20141109 ~amd64 -- x11-drivers/ati-drivers-14.4_p1 (<x11-drivers/ati-drivers-14.9-r1) amd64 [multilib] -- x11-drivers/ati-drivers-14.12-r3 (>=x11-drivers/ati-drivers-14.9-r1) [~amd64 keyword] [abi_x86_32] -- x11-drivers/nvidia-drivers-346.35 (x11-drivers/nvidia-drivers) amd64 [multilib] -- dev-lang/mono-2.10.9-r2 (dev-lang/mono) amd64 -- media-libs/mesa-10.3.5 (media-libs/mesa) ~amd64 [-bindist] -- media-libs/libtxc_dxtn-1.0.1-r1 (>=media-libs/libtxc_dxtn-1.0.1-r1) amd64 [abi_x86_32] -- media-libs/libtxc_dxtn-1.0.1 (<media-libs/libtxc_dxtn-1.0.1-r1) amd64 [multilib] -- media-libs/libexif-0.6.21-r1 (media-libs/libexif) amd64 -- media-libs/jasper-1.900.1-r9 (media-libs/jasper) amd64 -- media-libs/openal-1.15.1-r2 (media-libs/openal) amd64 [abi_x86_32] -- media-libs/sdl2-image-2.0.0-r1 (media-libs/sdl2-image) [~amd64 keyword] [abi_x86_32] -- media-libs/sdl2-mixer-2.0.0-r1 (media-libs/sdl2-mixer) [~amd64 keyword] [abi_x86_32] -- media-libs/steam-runtime-glew-1.6.0 (media-libs/steam-runtime-glew) [~amd64 keyword] [abi_x86_32] -- media-libs/libpng-1.2.52 (media-libs/libpng) amd64 -- x11-apps/xwininfo-1.1.3 (x11-apps/xwininfo) amd64 -- media-gfx/nvidia-cg-toolkit-3.1.0013-r3 (media-gfx/nvidia-cg-toolkit) amd64 -- media-libs/libogg-1.3.1 (media-libs/libogg) amd64 -- media-libs/libvorbis-1.3.4 (media-libs/libvorbis) amd64 -- x11-libs/libXxf86vm-1.1.3 (x11-libs/libXxf86vm) amd64 -- dev-util/adobe-air-runtime-2.6 (dev-util/adobe-air-runtime) [~amd64 keyword] -- media-libs/libsdl2-2.0.3-r200 (media-libs/libsdl2) amd64 [haptic]

Hardware is i7 4770k and a gtx 770. Dual monitor setup using TwinView. Hopefully someone can spot a pattern if people with the issue post what libraries are running under the steam runtime. It seems like some people don't have this bug.

RobinJ1995 commented 9 years ago

I recently got a bigger SSD, and moved the game from my HDD to my SSD. THis made an enormeous difference in both loading times and framrate on the main menu screen. Looks like the problem may be I/O related :)

ragnos commented 9 years ago

Both my Windows- and Linux-SteamLibary are stored on the same NTFS-Filesystem. If it was a I/O-Issue both installations would be affected, but only Linux got these Issues. I know the NTFS-3g got not the performance like a native Windows, but even then, thats not the reason only the ScoreBoard is dropping frames.

But i made a interesting observation: On a empty server i get full framerates, even while opening the scoreboard. To verify this observation i joined a deathmatch server, which was empty thanks to a mapchange. Still full frames. As the server became crowded again, the frames started dropping, player by player.

Could it be that the scoreboard (or other UI elements) has issues while displaying steam avatars?

RobinJ1995 commented 9 years ago

Not really. Windows and Linux handle things differently, so this may very well be related. All I can say is that moving the game from my HDD (NTFS, mounted on /data) to my SSD (EXT4, mounted on /home) made a huge difference in framerate. Framerate is still worse than it should be, but it's now safe for me to look at the scoreboard without teleporting all over the place in game.

ghost commented 9 years ago

I'm still not convinced it's an I/O issue. When I first submitted my report (2014-11-12) I had CS:GO installed on an SSD in my home directory. I think it's ext4, but it might be ext3.

In fact, I don't have a regular HDD, I only have one 1TB SSD.

sandikata commented 9 years ago

Its not composite releated. its valve releated. I tryied all thinks that here.

tgbugs commented 9 years ago

So I recently moved my game folder from a fuse ntfs3g drive to a dedicated ext4 drive, the problem is now gone. Extremely weird.

RobinJ1995 commented 9 years ago

@tgbugs I think you just hit jackpot :) My SSD is indeed EXT4-formatted, while on my HDD the game was on an NTFS partition.

martinfischer commented 9 years ago

It's not the filesystem that is the main problem here:

I used to have my csgo installation on a normal ext-4 formated hdd and FPS went down to ~10 when opening the scoredboard.

I then reinstalled csgo on my ssd also with ext-4 and now FPS still goes down a bit, just not as much as before. It drops from about 200 to ~80 now, which is OK.

So, moving to a sdd helps.