Counter-Strike Global Offensive freezes in gnome-shell

Bug #1848852 reported by Linus
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
GNOME Shell
New
Unknown
gnome-shell (Ubuntu)
Triaged
High
Unassigned

Bug Description

After upgrade to ubuntu 19.10, when I launch counter strike global offensive from steam the game is frozen. I can alt-tab and close the game. Tried in fluxbox window manager where the game works, changed fullscreen to windowed fullscreen in the options and tried on gnome again, now the desktop isn't responding after launching the game and I had to ctrl-alt-f3 to reboot my machine.
Using a Radeon RX 580 video card.

Tags: eoan
Revision history for this message
Linus (linusfolke) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
summary: - Game freezes in gnome-shell
+ Counter-Strike Global Offensive freezes in gnome-shell
Changed in gnome-shell (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in gnome-shell:
status: Unknown → New
Revision history for this message
Linus (linusfolke) wrote :

Tried it again and it didn't give me a crash report, then i tried it and it launched but the game frooze, was able to open gnome activities and close the game but then the main screen in the game was still on half of the screen frozen.
However if i click to launch the game, then directly open the gnome activities and have it opened until the game has fully launched, i can play the game without a problem.

Changed in gnome-shell (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Could this be somewhat related to https://gitlab.gnome.org/GNOME/gnome-shell/issues/1788 ?

Revision history for this message
kisak (kisak) wrote :

Hello, one of the potentially related upstream bug reports was closed (gnome#1607). I've grabbed the fix and built mutter with it at https://launchpad.net/~kisak/+archive/ubuntu/lp-1848852/ , but I don't have an Ubuntu 19.10 test box deployed yet.

Can someone try it out and report back if it has an effect for this bug report?

Note: Launchpad thinks it's older than the distro package so there might need some extra manipulation to try.

Revision history for this message
uriel (urychdz) wrote :

I hope someone can fix this, is very annoying.

Revision history for this message
Ben Romer (bromer) wrote :

I can confirm both the bug with CS:GO (and several other games that go non-responsive for a short while after starting) and that the fix works.

I installed the packages from the ppa and have tested with CS:GO and a couple of others I was experiencing the problem on (Dying Light and TF2 behave similarly) and the games start correctly now and do not block the UI or crash gnome-shell, though they still display the Force Quit dialog.

I can do any further testing needed but this LGTM.

Revision history for this message
Emanuele (emanuc) wrote :

I have the same problem, I start CS: GO, after a while I see a warning window that the game is locked, so click "careful" or "force shut", but it is not clickable and nothing happens. I have to force the game to close.
I attach the logs.

GPU: NVIDIA GTX 750 ti
Driver: nvidia-driver-435 / eoan, now 435.21-0ubuntu2 amd64 [installed]

Revision history for this message
Emanuele (emanuc) wrote :
Download full text (4.5 KiB)

I noticed right now that in the logs I keep spam:

ott 29 13:16:33 emanuc gnome-shell[2708]: == Stack trace for context 0x561e054d9590 ==
ott 29 13:16:33 emanuc gnome-shell[2708]: #0 7fff70acb170 b resource:///org/gnome/shell/ui/workspace.js:695 (7f659cb72c10 @ 15)
ott 29 13:16:33 emanuc gnome-shell[2708]: #1 7fff70acb220 b self-hosted:975 (7f659ca2dee0 @ 392)
ott 29 13:16:33 emanuc gnome-shell[2708]: Object St.Button (0x561e09289ca0), has been already deallocated — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
ott 29 13:16:33 emanuc gnome-shell[2708]: == Stack trace for context 0x561e054d9590 ==
ott 29 13:16:33 emanuc gnome-shell[2708]: #0 7fff70acb170 b resource:///org/gnome/shell/ui/workspace.js:695 (7f659cb72c10 @ 15)
ott 29 13:16:33 emanuc gnome-shell[2708]: #1 7fff70acb220 b self-hosted:975 (7f659ca2dee0 @ 392)
ott 29 13:16:33 emanuc gnome-shell[2708]: Object St.Button (0x561e0c6b33d0), has been already deallocated — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
ott 29 13:16:33 emanuc gnome-shell[2708]: == Stack trace for context 0x561e054d9590 ==
ott 29 13:16:33 emanuc gnome-shell[2708]: #0 7fff70acb170 b resource:///org/gnome/shell/ui/workspace.js:695 (7f659cb72c10 @ 15)
ott 29 13:16:33 emanuc gnome-shell[2708]: #1 7fff70acb220 b self-hosted:975 (7f659ca2dee0 @ 392)
ott 29 13:16:34 emanuc gnome-shell[2708]: Object St.Button (0x561e09289ca0), has been already deallocated — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
ott 29 13:16:34 emanuc gnome-shell[2708]: == Stack trace for context 0x561e054d9590 ==
ott 29 13:16:34 emanuc gnome-shell[2708]: #0 7fff70acb170 b resource:///org/gnome/shell/ui/workspace.js:695 (7f659cb72c10 @ 15)
ott 29 13:16:34 emanuc gnome-shell[2708]: #1 7fff70acb220 b self-hosted:975 (7f659ca2dee0 @ 392)
ott 29 13:16:34 emanuc gnome-shell[2708]: Object St.Button (0x561e0c6b33d0), has been already deallocated — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
ott 29 13:16:34 emanuc gnome-shell[2708]: == Stack trace for context 0x561e054d9590 ==
ott 29 13:16:34 emanuc gnome-shell[2708]: #0 7fff70acb170 b resource:///org/gnome/shell/ui/workspace.js:695 (7f659cb72c10 @ 15)
ott 29 13:16:34 emanuc gnome-shell[2708]: #1 7fff70acb220 b self-hosted:975 (7f659ca2dee0 @ 392)
ott 29 13:16:34 emanuc gnome-shell[2708]: Object St.Button (0x561e09289ca0), has been already deallocated — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
ott 29 13:16:34 emanuc gnome-shell[2708]: == Stack trace for context 0x561e054d9590 ==
ott 29 13:16:34 emanuc gnome-shell[2708]: #0 ...

Read more...

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please comment in the upstream bug instead for now, since that's where it will be fixed:

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1673

Revision history for this message
Michal Turecki (secure-pm) wrote :

I have a similar problem after upgrading Ubuntu to have Gnome 3.34 installed.
The only difference is that Alt+Tab works until certain point when windows freeze and only Ctrl + Alt + F3 -> init 3 -> login -> init 5 cycle restores the desktop.

CS:GO clearly loads with a lag, takes longer to load waiting on a loading image with shutter fade-in.
Main CS:GO screen sometimes loads but mouse cursor after moving is resetted to previous position after around 0.1 sec. Mouse press/keyboard is unresponsive. Suggestion about mutter being stuck in the message loop seems plausible.

I tried ppa above, mutter won't update so I forced it to install yet it did not fix the problem. Steps taken:

sudo add-apt-repository ppa:kisak/lp-1848852
sudo apt install mutter=3.34.1-1ubuntu1~lp1848852

Do you have any suggestions what to do next?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.