ValveSoftware / csgo-osx-linux

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

Counter Strike 2 NVIDIA 525 CTX SWITCH TIMEOUT Xid 109 #3290

Open tipu opened 11 months ago

tipu commented 11 months ago

Your system information

Computer Information: Manufacturer: Micro-Star International Co., Ltd. Model: B550-A PRO (MS-7C56) Form Factor: Desktop No Touch Input Detected Processor Information: CPU Vendor: AuthenticAMD CPU Brand: AMD Ryzen 7 5800X3D 8-Core Processor CPU Family: 0x19 CPU Model: 0x21 CPU Stepping: 0x2 CPU Type: 0x0 Speed: 4548 MHz 16 logical processors 8 physical processors Hyper-threading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Supported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported AVX2: Supported AVX512F: Unsupported AVX512PF: Unsupported AVX512ER: Unsupported AVX512CD: Unsupported AVX512VNNI: Unsupported SHA: Supported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported Operating System Version: KDE neon User - 5.26 (64 bit) Kernel Name: Linux Kernel Version: 6.3.13-1-liquorix-amd64 X Server Vendor: The X.Org Foundation X Server Release: 12013000 X Window Manager: KWin Steam Runtime Version: steam-runtime_0.20230801.56012 Video Card: Driver: NVIDIA Corporation NVIDIA GeForce RTX 4070 Ti/PCIe/SSE2 Driver Version: 4.6.0 NVIDIA 525.105.17 OpenGL Version: 4.6 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 239 Hz VendorID: 0x10de DeviceID: 0x2782 Revision Not Detected Number of Monitors: 3 Number of Logical Video Cards: 1 Primary Display Resolution: 1920 x 1080 Desktop Resolution: 6400 x 1440 Primary Display Size: 21.42" x 11.93" (24.49" diag), 54.4cm x 30.3cm (62.2cm diag) Primary Bus: PCI Express 16x Primary VRAM: 12282 MB Supported MSAA Modes: 2x 4x 8x 16x Sound card: Audio device: %1$s Memory: RAM: 32023 Mb VR Hardware: VR Headset: None detected Miscellaneous: UI Language: English LANG: en_US.UTF-8 Total Hard Disk Space Available: 960330 MB Largest Free Hard Disk Block: 60504 MB Storage: Number of SSDs: 2 SSD sizes: 1024G,1024G Number of HDDs: 0 Number of removable drives: 0

Please describe your issue in as much detail as possible:

edit: this is from /var/log/syslog, not dmesg cs2 crashes, i need to go into another tty to get this debug information:

Sep 27 22:22:31 tipu-neon-pc kernel: NVRM: Xid (PCI:0000:2b:00): 109, pid=388307, name=cs2, Ch 0000008e, errorString CTX SWITCH TIMEOUT, Info 0x3c059 Sep 27 22:22:31 tipu-neon-pc kernel:

this is from dmesg: Wed Sep 27 22:16:52 2023] cs2[384573]: segfault at 0 ip 00007f4b22daf887 sp 00007ffc97854290 error 4 in libSDL3.so.0[7f4b22d81000+191000] likely on CPU 4 (core 4, socket 0)

Steps for reproducing this issue:

it happened twice in a single match intermittently, nothing consistent about my behavior when it occurred.

kisak-valve commented 11 months ago

Hello @tipu, this issue should also be mentioned to your video driver vendor if it hasn't been already.

tipu commented 11 months ago

hi @kisak-valve, i am unsure how to get this information. does this help?

tipu:api/ (working✗) $ dpkg -l | grep nvid                                                                                                                                                                                                                                                                        [8:50:25]
ii  libnvidia-cfg1-525:amd64                          525.105.17-0ubuntu0.20.04.1                               amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-525                              525.105.17-0ubuntu0.20.04.1                               all          Shared files used by the NVIDIA libraries
ii  libnvidia-compute-525:amd64                       525.105.17-0ubuntu0.20.04.1                               amd64        NVIDIA libcompute package
ii  libnvidia-compute-525:i386                        525.105.17-0ubuntu0.20.04.1                               i386         NVIDIA libcompute package
ii  libnvidia-decode-525:amd64                        525.105.17-0ubuntu0.20.04.1                               amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-525:i386                         525.105.17-0ubuntu0.20.04.1                               i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-525:amd64                        525.105.17-0ubuntu0.20.04.1                               amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-525:i386                         525.105.17-0ubuntu0.20.04.1                               i386         NVENC Video Encoding runtime library
ii  libnvidia-extra-525:amd64                         525.105.17-0ubuntu0.20.04.1                               amd64        Extra libraries for the NVIDIA driver
ii  libnvidia-fbc1-525:amd64                          525.105.17-0ubuntu0.20.04.1                               amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-525:i386                           525.105.17-0ubuntu0.20.04.1                               i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-525:amd64                            525.105.17-0ubuntu0.20.04.1                               amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-525:i386                             525.105.17-0ubuntu0.20.04.1                               i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  nvidia-compute-utils-525                          525.105.17-0ubuntu0.20.04.1                               amd64        NVIDIA compute utilities
ii  nvidia-dkms-525                                   525.105.17-0ubuntu0.20.04.1                               amd64        NVIDIA DKMS package
ii  nvidia-driver-525                                 525.105.17-0ubuntu0.20.04.1                               amd64        NVIDIA driver metapackage
ii  nvidia-kernel-common-525                          525.105.17-0ubuntu0.20.04.1                               amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-525                          525.105.17-0ubuntu0.20.04.1                               amd64        NVIDIA kernel source package
ii  nvidia-prime                                      0.8.16~0.20.04.2                                          all          Tools to enable NVIDIA's Prime
ii  nvidia-settings                                   470.57.01-0ubuntu0.20.04.3                                amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-525                                  525.105.17-0ubuntu0.20.04.1                               amd64        NVIDIA driver support binaries
ii  screen-resolution-extra                           0.18build1                                                all          Extension for the nvidia-settings control panel
ii  xserver-xorg-video-nvidia-525                     525.105.17-0ubuntu0.20.04.1                               amd64        NVIDIA binary Xorg driver
Likogann commented 11 months ago

@tipu update your nvidia drivers to 535. This is an issue with nvidia-drivers:525 (which you're using).

On Ubuntu

sudo ubuntu-drivers install nvidia:535

On Debian See docs.nvidia.com. You just have to use the debian11 key as there isn't a Debian 12 key.

tipu commented 11 months ago

this seems to have resolved the problem, thanks.