ValveSoftware / csgo-osx-linux

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

Danger Zone crash when using tablet at 1440p but not at 1080p #1997

Open seandroms opened 5 years ago

seandroms commented 5 years ago

Your system information

Please describe your issue in as much detail as possible:

When playing Danger Zone in 1440 resolution, the game invariably crashes and coredumps some time after deployment. The crash happens when pulling out the tablet, but often not the first time pulling the tablet out. The crash has never happened during the warmup phase, no matter how many times I use the tablet. This is not the same as #1908 because it only happens some time after deployment. I have verified game files, and completely reinstalled the game.

dmesg output: csgo_linux64[941]: segfault at 20d739bd0 ip 00007eff7f1abdf1 sp 00007fffc58b8600 error 4 in vguimatsurface_client.so[7eff7f0be000+179000]

The crash has never happened when playing at 1080 resolution. The crash happens regardless of whether I use fullscreen or windowed, and regardless of whether I use steam-native or steam-runtime. It happens with both my graphics cards: an Nvidia GTX 970 and an Nvidia RTX 2070. The crash has never happened in any other game mode.

Steps for reproducing this issue:

  1. Set resolution to 1920x1080.
  2. Play several full games of Danger Zone with no trouble.
  3. Set resolution to 2560x1440.
  4. Start Danger Zone, finish warmup, deploy, and land.
  5. Switch to and from tablet four or five times until the game crashes to desktop.
  6. Open the tablet and keep it open until the first exploration bonus is earned. Just before the green text would appear on the tablet, the game crashes to desktop.

EDIT: I can now reliably reproduce the crash at a specific point. See my update below

EDIT 2: I fixed it. See my final comment.

seandroms commented 5 years ago

Tested again with Feb 25 update and the issue persists.

seandroms commented 5 years ago

Meanwhile, I've tried deleting CSGO and deleting any trace of a shader cache for my entire system, including any folders named shadercache in the steam folder, as well as the contents of /home/me/.nv.

I've tried playing with all different graphics settings, and the crash occurs even at the very lowest possible graphics settings (while still at 1440 resolution).

The only difference I've ever noticed is that sometimes I get error 5, but usually it's error 4.

Again, in the meantime, I've played many, many rounds at 1080 resolution with no trouble. But playing at 1440 causes a crash usually within 3 times of opening the tablet.

seandroms commented 5 years ago

Tested again with the March 6 update, and the issue persists. I tried with the new -d3d9ex launch option and without it, and DZ crashed both times. (No idea if d3d9ex will have any effect on linux.)

kisak-valve commented 5 years ago

Hello @mathprofessor, please open a separate issue report for the font size issue.

seandroms commented 5 years ago

Tested again after the March 11 and March 13 updates, and the issue persists.

seandroms commented 5 years ago

I finally figured out that some logs are saved in /tmp/dumps.

Here is a log from a 1440 DZ crash when using steam-native: sean_stdout-native.txt

Here is a log from a 1440 DZ crash when using steam-runtime: sean_stdout-runtime.txt

Here is a log from a 1080 DZ session where I did not experience any crash: sean_stdout-nocrash-runtime.txt

seandroms commented 5 years ago

After more experimenting, I've discovered that the crash happens whenever the tablet would be displaying the green "Exploration bonus $100" text. For example, if I deploy and land, open the tablet and hold it open, the game crashes the moment I would earn my first exploration bonus. If I keep the tablet closed until some time after the exploration bonus is earned, and open it later (after the text would have disappeared), there is no crash. I can then move to another hex, and trigger the crash by holding the tablet open while my next exploration bonus is earned, and the crash again happens the moment the green text would appear on the tablet screen.

I feel increasingly certain this is some kind of font issue, possibly related to #2006. I'm running Arch Linux with what I think is a fairly standard font setup. I tried installing steam-fonts from the AUR, but that didn't help.

seandroms commented 5 years ago

I finally fixed my issue. I removed several font packages from my Arch installation and now the crash no longer occurs. I removed a few, and I suspect the culprit was ttf-ms-win10. For posterity, though, I also removed ttf-droid, ttf-croscore, ttf-indic-otf, xorg-fonts-alias, and ttf-bitstream-vera.

I don't know whether to close this or not. Clearly something goes wrong if certain font packages are installed. I'll let someone else decide whether to close this or not.

robertswiecki commented 5 years ago

I also have problem with this, but with regular casual mode, when playing on this one particular CSGO FFA server (it uses a few custom modules) [I can give you IP:port if you'd like to give it a try]. It happens typically within 30min-1h of gameplay.

System: Ubuntu 19.10 pre Drivers: 430.14-0ubuntu0~gpu19.10.1 GFX: 1080Ti CPU: i9-9900K Resolution: 1920x1080 or 1280x720

csgo_linux64[25493]: segfault at 77ed4a030 ip 00007f914d718f41 sp 00007ffc1596ca60 error 4 in vguimatsurface_client.so[7f914d62b000+17a000]
Code: 49 83 c4 0c 41 8b 4c 24 fc 41 8b 54 24 f8 48 c1 e6 04 4c 8b 10 48 03 b7 28 0c 00 00 48 8b bd 38 fe ff ff 44 8b 8d 50 fe ff ff <0f> bf 34 7e 48 89 c7 89 1c 24 41 ff 52 70 8b 85 10 fe ff ff 83 85

I had this problem a couple of months ago, then it stopped, now it returned, since maybe 2 weeks time.

If you'd like to match my steam account with your breakpad logs (in case you use it for games too, and not only for steam), please let me know, and I'll give you my steamid.

PS: It seems I have some minidumps in /tmp/dumps. Please let me know if you'd like to have them uploaded/sent somewhere.