csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

[linux] CS:GO segfaults after ~30 minutes

Open linuxstony opened this issue 11 years ago • 52 comments

After playing a while CS:GO freezes completely and shuts down after some time. One time the whole system frozes and I had to reboot.

Specs: OS: Arch linux Processor: : AMD Phenom(tm) II X6 1090T Graphics card: GeForce GTX 960 (2GB Ram) Kernel: n 3.18.4-1-ARCH (builduser@tobias) (gcc version 4.9.2 20141224 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Jan 27 20:45:02 CET 2015 RAM: 8GB Windowmanager: Not relevant - Crahsed under openbox and kde alike

Crashdump: https://www.dropbox.com/s/e1m15k4axil3oxm/csgocrash.tar.gz?dl=0

Lowering the settings did not help (I play on high settings)

And here the complete system informations from steam: Processor Information: Vendor: AuthenticAMD CPU Family: 0x10 CPU Model: 0xa CPU Stepping: 0x0 CPU Type: 0x0 Speed: 3200 Mhz 6 logical processors 6 physical processors HyperThreading: Unsupported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Unsupported SSE4a: Supported SSE41: Unsupported SSE42: Unsupported

Network Information: Network Speed:

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

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

Driver Version:  4.5.0 NVIDIA 346.35
OpenGL Version: 4.5
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 59 Hz
VendorID:  0x10de
DeviceID:  0x1401
Number of Monitors:  2
Number of Logical Video Cards:  1
Primary Display Resolution:  1680 x 1050
Desktop Resolution: 2960 x 1050
Primary Display Size: 18,62" x 11,65"  (21,93" diag)
                                        47,3cm x 29,6cm  (55,7cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 2048 MB
Supported MSAA Modes:  2x 4x 8x 16x 

Sound card: Audio device: Realtek ALC888

Memory: RAM: 7987 Mb

Miscellaneous: UI Language: English LANG: de_DE.utf8 Microphone: Not set Total Hard Disk Space Available: 952858 Mb Largest Free Hard Disk Block: 326493 Mb

Installed software:

Recent Failure Reports: Thu Feb 5 06:42:19 2015 GMT: file ''/tmp/dumps/assert_20150205074212_46.dmp'', upload yes: ''CrashID=bp-18b1febd-4ddb-4714-bcdf-462872150204'' Thu Feb 5 07:44:27 2015 GMT: file ''/tmp/dumps/crash_20150205072723_1.dmp'', upload yes: ''CrashID=bp-1c487f91-2c55-43ed-b419-2d7402150204''

linuxstony avatar Feb 05 '15 08:02 linuxstony

Additional info: I deactivated my second monitor and this apparently helped. Had no further crash so far.

linuxstony avatar Feb 06 '15 08:02 linuxstony

This is most likely a driver issue and should also be reported to nVidia.

Tele42 avatar Feb 06 '15 15:02 Tele42

Sadly I had crashes yesterday again - so it was either only temporary or just coincidence :( I had to switch to windows yesterday and it ran with double the fps and rocksolid stable.

I will report to nvidia anyway - maybe it is some combination of problems.

If you guys need any more information from me - please let me know - i dont want to play under windows ;)

linuxstony avatar Feb 07 '15 11:02 linuxstony

Similar issue here. This is a recurring problem, and quite frustrating. I'll try to find a way to report to nVidia, but would appreciate any help pointing me in the right direction for their reporting system.

Feb 16 23:17:01 brian-desktop CRON[8608]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Feb 16 23:38:51 brian-desktop assert_20150216212254_1.dmp[8911]: Uploading dump (out-of-process)#012/tmp/dumps/assert_20150216212254_1.dmp
Feb 16 23:38:51 brian-desktop kernel: [22116.611388] csgo_linux[7147]: segfault at 0 ip 00000000f762de50 sp 00000000fff24d68 error 4 in libc-2.19.so[f7500000+1a9000]
Feb 16 23:39:21 brian-desktop assert_20150216212254_1.dmp[8911]: Finished uploading minidump (out-of-process): success = yes
Feb 16 23:39:21 brian-desktop assert_20150216212254_1.dmp[8911]: response: CrashID=bp-3c933374-926b-4b10-b19b-17ceb2150216
Feb 16 23:39:21 brian-desktop assert_20150216212254_1.dmp[8911]: file ''/tmp/dumps/assert_20150216212254_1.dmp'', upload yes: ''CrashID=bp-3c933374-926b-4b10-b19b-17ceb2150216''
Processor Information:
    Vendor:  AuthenticAMD
    CPU Family:  0x15
    CPU Model:  0x10
    CPU Stepping:  0x1
    CPU Type:  0x0
    Speed:  3799 Mhz
    4 logical processors
    4 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Supported
    SSE41:  Supported
    SSE42:  Supported

Network Information:
    Network Speed:  

Operating System Version:
    Linux Mint 17.1 Rebecca (64 bit)
    Kernel Name:  Linux
    Kernel Version:  3.13.0-37-generic
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11501000
    X Window Manager:  Mutter (Muffin)
    Steam Runtime Version:  steam-runtime-release_2015-01-06

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

    Driver Version:  4.5.0 NVIDIA 346.35
    OpenGL Version: 4.5
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 59 Hz
    VendorID:  0x10de
    DeviceID:  0x13c2
    Number of Monitors:  3
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1200
    Desktop Resolution: 5760 x 1200
    Primary Display Size: 21.50" x 13.86"  (25.55" diag)
                                            54.6cm x 35.2cm  (64.9cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 4096 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: Nvidia ID 71

Memory:
    RAM:  15945 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_CA.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  101997 Mb
    Largest Free Hard Disk Block:  23810 Mb

Installed software:

Recent Failure Reports:
    Mon Feb 16 22:36:11 2015 GMT: file ''/tmp/dumps/crash_20150216173407_1.dmp'', upload yes: ''CrashID=bp-43eb9bfb-1561-4427-9f8e-7ad432150216''
    Tue Feb 17 04:39:21 2015 GMT: file ''/tmp/dumps/assert_20150216212254_1.dmp'', upload yes: ''CrashID=bp-3c933374-926b-4b10-b19b-17ceb2150216''

bsuttonq avatar Feb 17 '15 05:02 bsuttonq

I have reported this issue to NVIDIA at the following forum post: https://devtalk.nvidia.com/default/topic/812168/linux/segfault-and-crash-with-gtx970-346-35-running-counter-strike-global-offensive-through-steam-on-mint/

You are welcome to contribute to that post if you are experiencing a similar segfault crash issue. Please adhere to their guidelines for requiring the nvidia-bug-report, etc.

(edit) apparently the nvidia devtalk forum post is hidden, for whatever reason. That's the forum where I posted about this problem/bug, though. I encourage you to do the same.

bsuttonq avatar Feb 17 '15 19:02 bsuttonq

Apparently linking to this github post was enough to trigger a flag as a spam account, which is why my previous posts on the devtalk forum were invisible. I have made a new account, not linking to this post at all, and have made the following post:

https://devtalk.nvidia.com/default/topic/813720/linux/gtx970-346-35-linux-mint-17-1-steam-csgo-segfaults-during-play-crash-the-game/

I encourage you to contribute to that post if you are experiencing similar crash issues. Please be advised that the nvidia devtalk forum has post guidelines which require some nvidia info (similar to how this github requires system info). There are sticky posts which explain, but you basically need to run nvidia-bug-report.sh and attach the report file to your post. Here is the link to the nvidia bug report requirements: https://devtalk.nvidia.com/default/topic/522835/linux/if-you-have-a-problem-please-read-this-first/

bsuttonq avatar Feb 24 '15 05:02 bsuttonq

This issue is tentatively solved via NVIDIA driver 346.47, released yesterday. I have played a few comp matches without crashing. Owner of thread should try new driver, then close thread if issue is resolved.

bsuttonq avatar Feb 25 '15 21:02 bsuttonq

Scratch that. New NVIDIA driver did not solve this issue. NVIDIA devtalk forums post updated.

bsuttonq avatar Feb 28 '15 01:02 bsuttonq

@Tele42 can you elaborate on why you think this is a driver issue?

bsuttonq avatar Mar 12 '15 04:03 bsuttonq

@bsuttonq The symptoms as I see it are:

  1. System freezes
  2. Multi-monitor vs non-multi-monitor changes the behavior.
  3. Current scope of this issue report is very limited (Maxwell-refresh/GM2xx cards)

For [1], normal user applications do not and should not have the access needed to hardlock a linux system, this is part of why running steam as root is disallowed. For [2], this is a driver-oriented detail. Lastly, for [3], this is a general indicator that there may be a misinterprited bit of errata internal to nvidia.

While not conclusive, to me, these hints are substantial enough to bring this issue report to nvidia's attention.

Tele42 avatar Mar 12 '15 14:03 Tele42

@Tele42

  1. it's not a system freeze, it's an application crash, unless I am missing something?
  2. maybe relevant, but not obvious to me
  3. I don't think it's just maxwell, as there are possible reports for GTX 970, 960, 770, 670, 570

Do these clarifications change your interpretation? I ask because the assumption that this is an NVIDIA problem has been challenged on the nvidia devtalks post:

Quaidd, Why The csgo github suggested to forward this to nvidia? I don't see game is crashing in any nvidia library . Also did you test with any other nvidia driver version ? If possible attach gdb to game process and check in which library actual crash is?

I'm not sure how to do the gnu debugger, but that is my next step, as well as attempting to cause the crash with gpu stress tests.

bsuttonq avatar Mar 12 '15 18:03 bsuttonq

@bsuttonq you asked for the logic I used at the time, that is what I provided.

The opening post referred to a system crash before you joined this issue report. I did not say to stop trying to get this resolved on valve's side, just that nvidia should be brought into the loop in hopes of increasing the odds of a favorable outcome of this issue report.

Tele42 avatar Mar 12 '15 19:03 Tele42

@Tele42 Thank you for your clarifications, I didn't mean to put you on the defensive. As you said, just trying to get this resolved with all parties in the loop.

bsuttonq avatar Mar 13 '15 02:03 bsuttonq

Can anyone instruct me on how to run CSGO with a debugger active? I've been requested to run CSGO with GDB to get a rich report during these crash instances, but the google machine is providing information for debugging CSGO servers rather than the player client.

bsuttonq avatar Mar 16 '15 14:03 bsuttonq

Given that this happens when I'm in COMPETITIVE matches, I don't want to run a debugger process if Valve might detect that as some kind of cheat and VAC Ban me for my efforts to debug this issue. Can anyone clarify how to do this, or if it can be done safely?

bsuttonq avatar Mar 20 '15 18:03 bsuttonq

@bsuttonq: can you please give me some of your "Recent failure reports"? i.e. lines like this:

Mon Feb 16 22:36:11 2015 GMT: file ''/tmp/dumps/crash_20150216173407_1.dmp'', upload yes: ''CrashID=bp-43eb9bfb-1561-4427-9f8e-7ad432150216''

I just need some more recent ones to look into your problem.

davidw-valve avatar Mar 20 '15 18:03 davidw-valve

Certainly, happy to provide those:

Recent Failure Reports:
    Wed Mar 18 20:37:37 2015 GMT: file ''/tmp/dumps/assert_20150318163712_25.dmp'', upload yes: ''CrashID=bp-6cc5d436-a64d-4564-aff2-c0a092150318''
    Thu Mar 19 00:49:59 2015 GMT: file ''/tmp/dumps/assert_20150318202734_2.dmp'', upload yes: ''CrashID=bp-ff73ac6b-2895-46cb-b386-86c672150318''
    Thu Mar 19 20:04:23 2015 GMT: file ''/tmp/dumps/assert_20150319160421_17.dmp'', upload no: ''Failure when receiving data from the peer''
    Thu Mar 19 23:22:55 2015 GMT: file ''/tmp/dumps/assert_20150319192225_25.dmp'', upload yes: ''CrashID=bp-d82c78e3-3be5-4d2d-92da-c97112150319''

I hope that helps. As you can see, I have these in plentiful supply, so I should have more in a few days. I'll happily provide those as well.

bsuttonq avatar Mar 20 '15 19:03 bsuttonq

These crashes look related to CSGO having trouble communicating with the Steam process.

Is Steam running fine on your system when this occurs? Does Steam crash before or at the same time as CSGO?

davidw-valve avatar Mar 20 '15 20:03 davidw-valve

Steam appears to run fine during these instances, if my memory serves. I usually just open my 'start menu' and type "GLOBAL" to bring up CSGO and hit enter to run the game again. Game starts up and I'm off to the races again. When it next occurs, I'll make detailed observational notes as they relate to Steam.

bsuttonq avatar Mar 20 '15 20:03 bsuttonq

Okay, thank you -- it would be good if you could note that the steam process is running when you start CS:GO and then see if the steam process is still running when it crashes and if it still has the same process ID.

davidw-valve avatar Mar 20 '15 20:03 davidw-valve