ValveSoftware / csgo-osx-linux

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

csgo crash with new steam overlay #3172

Closed dreamyukii closed 1 year ago

dreamyukii commented 1 year ago

Your system information

i don't know if i should report this issue at steam-for-linux or csgo-osx-linux repo

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 Github Gist.

Steps for reproducing this issue:

  1. opt-in to steam beta
  2. launch csgo
  3. shift + tab
  4. crash
daxcore commented 1 year ago

it is crashing at all: wayland + vulkan and the ToGL variant.

learning-thing commented 1 year ago

Also crashing for me on Arch linux, X11 KDE with nvidia GPU. Steam Overlay use to work for me in all games, tried warframe (Proton) and Portal 2 (Native), only CSGO crashes for me when trying to open the steam overlay.

af7567 commented 1 year ago

Same problem here. X11, openbox, nvidia drivers, steam beta. Overlay crashes csgo but works OK in other games.

wojgie commented 1 year ago

same problem, X11. however it works fine in windowed mode.

wojgie commented 1 year ago

this is weird, it crashed and now its working. image the game is still running in fullscreen.

af7567 commented 1 year ago

For me it crashes in fullscreen, windowed and windowed fullscreen. Safest to just disable the overlay for now so I don't accidentally open it :)

wojgie commented 1 year ago

this is weird, it crashed and now its working. image the game is still running in fullscreen.

alright, this is very weird. it again stopped working. i can't reproduce the issue consistently. cheers

Douile commented 1 year ago
Crash stacktrace on arch X11 ``` Thread 1 "csgo_linux64" received signal SIGBUS, Bus error. 0x00007ffff7f4e772 in ?? () from /home/user/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (gdb) i s #0 0x00007ffff7f4e772 in ?? () from /home/user/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so #1 0x00007ffff7f40dd5 in ?? () from /home/user/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so #2 0x00007ffff7f4a994 in ?? () from /home/user/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so #3 0x00007ffff7f4b152 in ?? () from /home/user/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so #4 0x00007ffff7f4ca6b in ?? () from /home/user/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so #5 0x00007ffff7f3d115 in glXSwapBuffers () from /home/user/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so #6 0x00007ffff42ea803 in ?? () from /home/user/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/libSDL2-2.0.so.0 #7 0x00007ffff563fbb3 in ?? () from bin/linux64/launcher_client.so #8 0x00007ffff463b0c5 in ?? () from /home/user/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/libtogl_client.so #9 0x00007ffff462d194 in IDirect3DDevice9::Present(_RECT const*, _RECT const*, void*, RGNDATA const*) () from /home/user/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/libtogl_client.so #10 0x00007fffde25c370 in ?? () from /home/user/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/shaderapidx9_client.so #11 0x00007fffe4476c3b in ?? () from /home/user/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/materialsystem_client.so #12 0x00007fffe94815cf in ?? () from /home/user/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so #13 0x00007fffe953339b in ?? () from /home/user/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so #14 0x00007fffe9680f98 in ?? () from /home/user/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so #15 0x00007fffe968343c in ?? () from /home/user/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so #16 0x00007fffe9690927 in ?? () from /home/user/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so #17 0x00007fffe9690da4 in ?? () from /home/user/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so #18 0x00007fffe9719f3a in ?? () from /home/user/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so #19 0x00007fffe9713bb2 in ?? () from /home/user/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so #20 0x00007fffe9713cd3 in ?? () from /home/user/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so #21 0x00007fffe9945be9 in ?? () from /home/user/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so #22 0x00007fffe971612c in ?? () from /home/user/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/engine_client.so #23 0x00007ffff563cc69 in ?? () from bin/linux64/launcher_client.so #24 0x00007ffff563cc69 in ?? () from bin/linux64/launcher_client.so #25 0x00007ffff5611b31 in LauncherMain () from bin/linux64/launcher_client.so #26 0x00007ffff763c790 in __libc_start_call_main (main=main@entry=0x400650
, argc=argc@entry=16, argv=argv@entry=0x7fffffffc4a8) at ../sysdeps/nptl/libc_start_call_main.h:58 #27 0x00007ffff763c84a in __libc_start_main_impl (main=0x400650
, argc=16, argv=0x7fffffffc4a8, init=, fini=, rtld_fini=, stack_end=0x7fffffffc498) at ../csu/libc-start.c:360 #28 0x00000000004006fd in _start () ```
ipaqmaster commented 1 year ago

I also experience this on XFCE4 (X11) with my PC. It has a 3900X CPU and Nvidia 2080Ti.

Was running:

Tried full system upgrade to below but still occurs:

Notes:

For the time being have opted out of Beta. Old overlay still works fine.


E: For the first time in maybe a decade I got kicked for "You cannot play on secure servers" during a competitive match. No configuration change from my previous matches this evening (My team even finished with a win but I deranked not being able to rejoin 💀) 30 minutes later after trying and failing everything I could think of - I was able to join secure servers again, tested by joining dust2 official casual. What a heart attack.

Weirdo1312 commented 1 year ago

same issue here amd+wayland+opengl crashes however vulkan works just fine

Fesiug commented 1 year ago

Same. Arch Linux, X11, KDE Plasma, OpenGL, up to date.

sparkie3 commented 1 year ago

Here on fedora 37. It crashes specifically when I Shift + Tab in game. Every time. Windowed or full screen has no effect.

ipaqmaster commented 1 year ago

Opted back into beta and added -vulkan to my many CS;GO custom launch options. Shift+Tabbing no longer crashes it with Vulkan rendering enabled.

kaythomas0 commented 1 year ago

Opted back into beta and added -vulkan to my many CS;GO custom launch options. Shift+Tabbing no longer crashes it with Vulkan rendering enabled.

this fixed the issue for me on Gentoo X11, thanks

af7567 commented 1 year ago

Adding -vulkan prevents the overlay crash for me too. Unfortunately the game is unplayable in vulkan mode though :) it keeps freezing like it is loading textures or something.

kisak-valve commented 1 year ago

SIGBUS when opening the beta in-game overlay

Issue transferred from https://github.com/ValveSoftware/steam-for-linux/issues/9461. @Ryhon0 posted on 2023-05-05T07:59:57:

Your system information

Please describe your issue in as much detail as possible:

Opening the in-game overlay in any way crashes the game with SIGBUS. Happens on the Flatpak version, steam and steam-native-runtime from Arch repos.

coredumpctl gives the following stack trace:

#0  0x00007f6ed0243772 n/a (/home/ryhon/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so + 0x27772)

Steps for reproducing this issue:

  1. Opt into the client beta
  2. Launch any game
  3. Open the in-game overlay using the key shortcut or by opening a link in a game

    @kisak-valve commented on 2023-05-05T12:58:16:

Hello @Ryhon0, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report. Also, please list some games you saw this issue with.


@Ryhon0 commented on 2023-05-05T13:42:41:

System information: https://gist.githubusercontent.com/Ryhon0/ecf1954fe4320e5050fba24a448df75e/raw/9f036b339787ca33b879e3eb98f4a967c0d65433/gistfile1.txt

This only happens with the native version of CS:GO for me. x86 native version of GMod, Chronicles of Myrtana: Archolos and Aim Lab with Proton Experimental all work fine

TTimo commented 1 year ago

Please provide uploaded minidump crash IDs if you have them. Although I'm hoping we'll be able to reproduce locally.

af7567 commented 1 year ago

I just made it crash a couple of times now, but the upload was discarded for both. The latest one with a crash ID is:

Wed May 3 22:30:00 2023 GMT: file ''/tmp/dumps/crash_20230503232958_2.dmp'', upload yes: ''CrashID=bp-ff34a97c-4327-46ef-8edf-1a6f92230503''

upbox-org commented 1 year ago

i've found out that changing X11 display configuration fixes this bug. EVEN after i restart CS:GO.

What did you change in detail?

naturwundR commented 1 year ago

Same issues on arch , X11 KDE, nvidia GPU. up2date system and client beta.

No crashes after switching the refresh rates. ( From 165hz to 144hz and back)

edit: only worked once. now again these crashes when opening the overlay. ` Stack trace of thread 9681:

0 0x00007f5d6ccc8772 n/a (/home/naturwunder/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so + 0x27772)

            ELF object binary architecture: AMD x86-64

`

PC-Heini commented 1 year ago

I have the same issue on Fedora 38, using Wayland and a AMD RX6600.

TTimo commented 1 year ago

@naturwundR @PC-Heini are you using Steam beta client can you confirm that you are seeing a crash with 1683944175 or newer? (please provide updated CrashIDs)

PC-Heini commented 1 year ago

@TTimo, that is the exact version of the Steam client I am using. After reading comments above I also tried running CS with -vulkan. That does fix the crashing issue and the new Steam overlay works great. While it gives me more FPS, the game still feels much worse because it introduces huge lagspikes that I do not have without -vulkan.

My Steam client output while starting and crashing the game with the overlay: https://pastebin.com/8VfRdEbF

The crashdump file it mentiones: https://we.tl/t-NEx6bjSMQV

(Sorry if that is not the CrashID you asked for, I am new to this)

af7567 commented 1 year ago

Still crashing for me with Steam Beta 1683944175. All uploaded crash dumps are getting discarded though so no new crashIDs. I am able to take screenshots without it crashing, but the notification saying it took a screenshot just shows as an empty grey box. The screenshots can't be viewed in the steam client, only on disk.

Adding -vulkan fixes the overlay but makes the game unplayable with the lag spikes.

Testing different refresh rates has made no difference for me.

gileri commented 1 year ago

Not sure if relevant, but I started having crashes right around when OP had them, and just verified the files and it works now.

Fesiug commented 1 year ago

I've found if I open the overlay when I see the hint that tells you to "press Shift+Tab to open the overlay", it won't crash.

af7567 commented 1 year ago

I was able to get a new CrashID with Steam 1684200926 CrashID = bp-941f0ee2-20a4-4ce2-b018-cad4c2230516

edit: Just wondering if this is a problem for AMD CPU's only? I have AMD Ryzen, I see from the crash dump that @PC-Heini has and AMD Ryzen and someone else mentioned AMD CPU too. It is crashing at the same place and we are all getting SIGBUS when it tries to use the LOCK instruction.

bastosvinicius commented 1 year ago

AMD too. CPU and GPU

Fesiug commented 1 year ago

I use an AMD CPU (Ryzen 5 3600) and an NVIDIA GPU (GeForce GTX 1650 SUPER)

RyanBlakeIT commented 1 year ago

For those reporting issues with -vulkan stability and performance issues, I would encourage you to download dxvk-native-2.2-steamrt-sniper.tar.gz from https://github.com/doitsujin/dxvk/releases. Copy libdxvk_d3d9.so from extracted lib folder to ~/.steam/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64 (rename existing file if you'd like). Stutters will be nearly non-existent after this. Hopefully Valve will release this bundled in the future.

While I realize this doesn't solve the submitted issue, I am hopeful that it will make CSGO usable for playing as I know it's frustrating when you can't play and you want to.

Nyamiou commented 1 year ago

This is still unsolved as of Steam 1684372665. It always crash whether the overlay is brought up by the Shift+Tab shortcut or by other actions in game (like looking up the price of something on the market from the inventory). On ArchLinux with KDE X11 and NVidia GPU. I have tested other games, native or not (100% Orange Juice, Blaze Rush, Blush Blush), and the overlay doesn't crash those games.

After verifying game file it did reacquire 2 files but the issue remains. And the notification that @Fesiug is mentioning in his post doesn't show up for me.

                Stack trace of thread 309440:
                #0  0x00007f07c3b98772 n/a (/home/nyamiou/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so + 0x27772)
                ELF object binary architecture: AMD x86-64

The game is launched with "-nojoy -novid -trusted".

Fesiug commented 1 year ago

Replying to https://github.com/ValveSoftware/csgo-osx-linux/issues/3172#issuecomment-1555369801

The notification may not always show up for me either, idk.

af7567 commented 1 year ago

@Nyamiou do you also have an AMD Ryzen CPU?

Nyamiou commented 1 year ago

@Nyamiou do you also have an AMD Ryzen CPU?

No, I have an Intel i5 8600K.

dreamyukii commented 1 year ago

with latest steam beta update csgo is no longer crash with new steam overlay nvm it crash again *edit i'm using AMD RX 580 2048sp

af7567 commented 1 year ago

Still crashing here on X11 with steam client 1684885503 in normal mode. The crash occurs in exactly the same location in gameoverlayrenderer.so. In big picture mode the overlay seems to work OK though.

wojgie commented 1 year ago

For those reporting issues with -vulkan stability and performance issues, I would encourage you to download dxvk-native-2.2-steamrt-sniper.tar.gz from https://github.com/doitsujin/dxvk/releases. Copy libdxvk_d3d9.so from extracted lib folder to ~/.steam/steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64 (rename existing file if you'd like). Stutters will be nearly non-existent after this. Hopefully Valve will release this bundled in the future.

While I realize this doesn't solve the submitted issue, I am hopeful that it will make CSGO usable for playing as I know it's frustrating when you can't play and you want to.

this could probably result in a vac ban right?

RyanBlakeIT commented 1 year ago

Replying to https://github.com/ValveSoftware/csgo-osx-linux/issues/3172#issuecomment-1567219386

No, I checked with Steam Support and they said as long as it doesn't give you an unfair competitive advantage, it's fine. And since it's not giving you wallhacks, you're good to use it. I've been using it for a while now and not had any issues.

Edit: Here's the comment where I posted their reply: https://github.com/ValveSoftware/csgo-osx-linux/issues/3123#issuecomment-1403114590

Nyamiou commented 1 year ago

It's still crashing on 1686779606.

Process 78066 (csgo_linux64) of user 1000 dumped core.

                Stack trace of thread 78066:
                #0  0x00007f1b0a6f9772 n/a (/home/nyamiou/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so + 0x27772)
                ELF object binary architecture: AMD x86-64
k37x commented 1 year ago

New steam client update and it still suffers from this issue. I’m amazed Valve actually pushed this out. Will try the vulkan fix and see if that helps. Running Ubuntu 22.04.2. Ryzen 5 5500/RX5700XT

dangodai commented 1 year ago

Now that the new overlay is out of beta (I was not opted in to beta) I have the same issue, exactly as others have described here. Using -vulkan launch option fixes the overlay, but makes the game unplayable from stuttering. Additionally, the Big Picture overlay works fine.

My friend running an almost identical setup as I have listed below, only with a different CPU, is also experiencing the same problem.

This problem seems to also be noted in the following steam-for-linux issues https://github.com/ValveSoftware/steam-for-linux/issues/9504 https://github.com/ValveSoftware/steam-for-linux/issues/9534 https://github.com/ValveSoftware/steam-for-linux/issues/9586

Your system information

eiglow commented 1 year ago

To fix the stuttering, you can try the following, which worked for me:

  1. Download the latest -steamrt-sniper.tar.gz version of DXVK (https://github.com/doitsujin/dxvk/releases)
  2. Go to your CSGO directory and navigate to bin/linux64
  3. Replace the libdxvk_d3d9.so with the newly downloaded one
Sarthak001 commented 1 year ago

To fix the stuttering, you can try the following, which worked for me:

  1. Download the latest -steamrt-sniper.tar.gz version of DXVK (https://github.com/doitsujin/dxvk/releases)
  2. Go to your CSGO directory and navigate to bin/linux64
  3. Replace the libdxvk_d3d9.so with the newly downloaded one

and get a vac ban ??

zivkovic commented 1 year ago

Same problem here on latest Manjaro.

CPU: AMD Ryzen 9 7950X3D GPU: AMD Radeon RX 6800XT

 Process 255480 (csgo_linux64) of user 1000 dumped core.

                                                      Stack trace of thread 255480:
                                                      #0  0x00007ffa9ed0e772 n/a (/home/jan/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so + 0x27772)
                                                      ELF object binary architecture: AMD x86-64

Disabling ingame overlay seems to be the easiest and quickest solution.

RyanBlakeIT commented 1 year ago

Replying to https://github.com/ValveSoftware/csgo-osx-linux/issues/3172#issuecomment-1593037392

If you look up a few comments, you'll see my note where I spoke with Steam Support and it won't get you banned. I've been using this for a while without any issues. I'm not cheating (nor have I ever in Counter-Strike), it's a newer version of the software. https://github.com/ValveSoftware/csgo-osx-linux/issues/3172#issuecomment-1567227943

Replying to https://github.com/ValveSoftware/csgo-osx-linux/issues/3172#issuecomment-1593197316

I've had the same thing happen as well, disabling the overlay is a solution as you mentioned.

DolphinStKom commented 1 year ago

x11, nvidia rtx 40 after today's update, the game also crashes when opening the overlay and the start of the game has become longer(for example team fortress works by default), the -vulkan repairs the overlay, but it's impossible to play it, playing the lottery with updating libraries seems expensive to me in terms of inventory(

DolphinStKom commented 1 year ago

does anyone have access to the beta of the new cs? maybe the problem is already fixed

dangodai commented 1 year ago

does anyone have access to the beta of the new cs? maybe the problem is already fixed

The CS2 beta is currently Windows only.

eiglow commented 1 year ago

@Sarthak001

and get a vac ban ??

You won't get a vac ban.

WOLFYGM commented 1 year ago

OS: Arch Linux, X11 Steam flatpak version GPU: Nvidia 1060 3GB, driver version 530.41.03 DE: Gnome 44 CPU: Intel i78700

Steam version: 1686779606 Fecha de compilación del cliente de Steam: mié., 14 jun. 22:18 UTC -08:00 Fecha de compilación de la web de Steam: mié., 14 jun. 23:41 UTC -08:00 Versión de la API de Steam: SteamClient020

I have the same issue, the game crashed when i open the new steam interface