Task switching causes FPS to drop very low and stay low.
Your system information
- System information from steam (
Steam->Help->System Information) in a [gist] https://gist.github.com/pbhj/c327b68148679f64d6df0a4d59f2ed6a - Have you checked for system updates?: [Yes/No] Y
Please describe your issue in as much detail as possible:
Describe what you expected should happen and what did happen. Please link any large pastes as a
During play if task-switching, eg by alt+tab is performed on some occasions the FPS will lock low, to 20fps down from about 60fps. The system remains sluggish and FPS remains low without returning. On closing a map the FPS returns to normal menu levels (80-ish) but when a further map is started the FPS is back to <20FPS.
There is no decrease in available memory, nor an increase in CPU use, nor really anything. Console shows nothing extraordinary. There appears to be normal amounts of resources available.
Works the same whether rendering is turned on or off on my Kubuntu desktop (KDE over SDDM).
Steps for reproducing this issue:
- Play.
- Task-switch with alt+tab (or I do alt+space which opens Yakuake to my desktop; either works).
- Experience the glory of <20fps.
I took some screenshots where GALLIUM_HUD is in use to give details for temp, cpu, memory and fps:

Note in this last image whilst the FPS is dropping low when the task switch occurs the CPU and memory use both decrease too; so the system is not out of resources.
This occurred following the September update which otherwise improved FPS. The October updates have improved FPS in generall too. I only tracked how the bug happens down just now. I thought it was to do with number of maps shown, but it turned out to be unrelated. It seems random, I can switch between my desktop app and the fullscreen CSGO_linux64 and it'll be fine. Just occasionally on return the FPS locks low forcing a restart.
I seem to have experienced this more with competitive matches, but I think that's a systematic error on my part, that it just happens I task-switch a couple of times whilst waiting for a match to start and so sometimes it starts and FPS is very low forcing me to restart my client.
Workaround: Try switching to windowed mode and then back to fullscreen. That usually fixed the issue for me.
I took your advice @xternal7 and modified the idea - so I just used the game windowed with "-noborder". Makes switching a little tiresome, but I can live with it, seems to work.
So the question I have now is whether the cut in FPS is the game or the OS: it appears to be related to focus, as if I arrange it so that the focus moves to a different window, but keep the game on top, then I see the FPS drop off (as in the bug report) but if I click the game window or alt+tab back then the FPS returns (with no visible change really). I'm guessing that this is a feature to prevent the game from using too many resources when it's not focussed; but it's breaking somewhere.
After extensive test (!) I've found that the issue does return when playing in windowed mode too.
When the issue arises, I tried switching back and forth a few times to see if focus would return but it doesn't appear to do so.
When it happens in windowed mode, seemingly after longer playing I tried switching to fullscreen mode. The game takes a while to switch over (30s or so), but the FPS returned to normal levels. Great! However, if I then switch back to windowed mode - without changing focus away from the game window - the low FPS returns. This says to me it's some internal game mechanism.
FWIW the low FPS is accompanied by really mushy control, it's like every gun moves like SSG; it might not just be a display issue.
If the error hasn't happened as I have the game window displayed without borders and "keep above others" I can switch focus to another window and still have the game on top; this drops the FPS to ~20, but before the bug event occurs then FPS returns when focus moves back.
Yeah happen to me ! I play one game then the next one drop top low fps/slow control. I have torestart to fix this. And if i play on community server just go on one then switching to another one give me this.
I am seeing the same behavior. @pbhj's fix of changing video modes seems to have worked for me too. Normally getting around 120FPS against bots and 70-100FPS in online games.
CS:GO is current as of 2019-03-15 21:30 Chicago timezone OS: Linux Mint 19 Kernel: 4.15.0-45-generic #48-Ubuntu SMP Video card: Nvidia GeForce GT 1030 2GB CPU: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz RAM: 64GB
Some additional notes:
- Restarting the game doesn't seem to fix it.
- I have noticed in the past that at some point, the performance returns to normal. It usually takes more than an hour
- I thought it might be a periodic process or backups running in the background, but I haven't seen anything unusual using 'htop' to monitor system performance. (not scientific, sorry)
- It seems to happen more frequently now than in the past.
- I don't seem to have this trouble with War Thunder.
- I may have seen something similar while playing Half-Life:Source and Half-Life 2, but can't be certain of that memory right now.