ValveSoftware / csgo-osx-linux

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

Intro video crash with SIGBUS on arch linux #2998

Open ghost opened 2 years ago

ghost commented 2 years ago

Your system information

Please describe your issue in as much detail as possible:

Game keeps crashing on arch linux whenever I try to launch csgo it crashes. Whenever I try to launch csgo without this workaround csgo crashes.

  1. I go to " /home/rounak/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/ " folder
  2. rename the videos folder to "videos.bak"
  3. In the launch options in csgo I set it to "-novid"

This is a temporary workaround for me but without this my game doesn't even launch :( Another issue I noticed is whenever I try to talk to my teammates I press k on my keyboard and then my game immediately freezes for 5 seconds I don't know why. :(

Steps for reproducing this issue:

  1. Use arch linux
  2. Click on play
  3. Fullscreens to blank opengl window
  4. The application closes ( crashes ) and I can see my steam application back.
401175 commented 2 years ago

try: -nosteamcontroller

Valve did an update on the 25/4 that had some controller amendments. Maybe that was the culprit. Worked for me anyhow.

ghost commented 2 years ago

try: -nosteamcontroller

Valve did an update on the 25/4 that had some controller amendments. Maybe that was the culprit. Worked for me anyhow.

It didn't work. I tried running csgo by typing "steam" in the command line and here is the output - https://0x0.st/oAh_.txt

ghost commented 2 years ago

AAA Games are working perfectly. I don't think there is a issue with my arch. If AAA games which require higher resources can work on my pc then csgo has to work.

kisak-valve commented 2 years ago

csgo crashing (Bus error)

Issue transferred from https://github.com/ValveSoftware/csgo-osx-linux/issues/2999. @fx8350e posted on 2022-05-07T18:10:53:

Your system information

Please describe your issue in as much detail as possible:

Black screen,5 seconds of waiting and crash Log file - https://gist.github.com/fx8350e/8d02ee49bf89b9af05503a5318d4aa0c

Steps for reproducing this issue:

  1. open steam
  2. open csgo
  3. wait

Dump https://drive.google.com/file/d/1dwPXdWQf0atXHmJKCkM_w5O5nHzO3Urs/view?usp=sharing (google drive,because cant upload to github "we dont support that file type"


@fx8350e commented on 2022-05-07T18:13:47:

This issue happens with me on any distro

ghost commented 2 years ago

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

Lol I am facing the same exact issue but another issue I am facing is when I press the "K" button on my keyboard my game freezes for like 3-4 secs and it is so annoying. I installed csgo through steam flatpak - https://wiki.archlinux.org/title/Flatpak and I have no problems with csgo at all. I think this issue is related - https://github.com/ValveSoftware/csgo-osx-linux/issues/2994

gentoocat commented 2 years ago

Replying to #2998 (comment)

Lol I am facing the same exact issue but another issue I am facing is when I press the "K" button on my keyboard my game freezes for like 3-4 secs and it is so annoying. I installed csgo through steam flatpak - https://wiki.archlinux.org/title/Flatpak and I have no problems with csgo at all. I think this issue is related - #2994

On flatpak i got crashes too

ghost commented 2 years ago

still broken as always, works on flatpak for me

TTimo commented 2 years ago

Looking at the timing of this and comments on a closed task, this may have been introduced by the libtcmalloc update (https://github.com/ValveSoftware/csgo-osx-linux/issues/2659)

ghost commented 2 years ago

Looking at the timing of this and comments on a closed task, this may have been introduced by the libtcmalloc update (#2659)

Idk but that issue is closed idk why they closed that issue. The problem still remains. I did a fresh resintall of arch today and the problem persists. :'(

Deannend commented 2 years ago

I am having the same issue on Gentoo Linux. @prorounak2005's workaround works but I have no panorama background and it's still just a workaround and is unacceptable. My system information can be found here:https://gist.github.com/ozberkcan/a9be3884adf999093a97520b872a33d0

ghost commented 2 years ago

I am having the same issue on Gentoo Linux. @prorounak2005's workaround works but I have no panorama background and it's still just a workaround and is unacceptable. My system information can be found here:https://gist.github.com/ozberkcan/a9be3884adf999093a97520b872a33d0

Gentoo users - big pp

Deannend commented 2 years ago

I am having the same issue on Gentoo Linux. @prorounak2005's workaround works but I have no panorama background and it's still just a workaround and is unacceptable. My system information can be found here:https://gist.github.com/ozberkcan/a9be3884adf999093a97520b872a33d0

Gentoo users - big pp

lol ty

Deannend commented 2 years ago

I just saw this on dmesg after reproducing the issue [ 534.249503] traps: Video Decode Th[3836] trap stack segment ip:7f2f9bfc5eb7 sp:7f2f3904e2c0 error:0 in libtcmalloc_minimal.so.0[7f2f9bfb3000+25000] I'm pretty sure this is related to #2659

ghost commented 2 years ago

I just saw this on dmesg after reproducing the issue [ 534.249503] traps: Video Decode Th[3836] trap stack segment ip:7f2f9bfc5eb7 sp:7f2f3904e2c0 error:0 in libtcmalloc_minimal.so.0[7f2f9bfb3000+25000] I'm pretty sure this is related to #2659

I have played a lot of games on linux and imo gaming on linux is trash. It is better to install a windows kvm and play games in windows virtual machine (https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF). I also found a way to play valorant and genshin too :) (Added some tweaks into the kvm which breaks the anticheat) :) . Btw I don't know what happened. I installed the "gperftools" package and csgo is working for me now.

Deannend commented 2 years ago

gaming on linux is trash

not really. it depends on what games you play,for my type of gaming most games work fine

Deannend commented 2 years ago

I just saw this on dmesg after reproducing the issue [ 534.249503] traps: Video Decode Th[3836] trap stack segment ip:7f2f9bfc5eb7 sp:7f2f3904e2c0 error:0 in libtcmalloc_minimal.so.0[7f2f9bfb3000+25000] I'm pretty sure this is related to #2659

I have played a lot of games on linux and imo gaming on linux is trash. It is better to install a windows kvm and play games in windows virtual machine (https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF). I also found a way to play valorant and genshin too :) (Added some tweaks into the kvm which breaks the anticheat) :) . Btw I don't know what happened. I installed the "gperftools" package and csgo is working for me now.

I am going to try the flatpak

ghost commented 2 years ago

gaming on linux is trash

not really. it depends on what games you play,for my type of gaming most games work fine

Linux is still a trash operating system when it comes to playing games. Valve , code weavers and other companies are trying their best to make gaming on linux possible but the game companies don't really give a shit about gaming on linux. Same goes for Nvidia and adobe.

Deannend commented 2 years ago

I can confirm that the steam flatpak works flawlessly for csgo

Deannend commented 2 years ago

gaming on linux is trash

not really. it depends on what games you play,for my type of gaming most games work fine

Linux is still a trash operating system when it comes to playing games. Valve , code weavers and other companies are trying their best to make gaming on linux possible but the game companies don't really give a shit about gaming on linux. Same goes for Nvidia and adobe.

meh. i don't really give a shit about the companies that don't neither

ghost commented 2 years ago

Replying to #2998 (comment)

Lol I am facing the same exact issue but another issue I am facing is when I press the "K" button on my keyboard my game freezes for like 3-4 secs and it is so annoying. I installed csgo through steam flatpak - https://wiki.archlinux.org/title/Flatpak and I have no problems with csgo at all. I think this issue is related - #2994

On flatpak i got crashes too

Same for me F I don't even know what they are doing. This bug still "exists" bruh.

EDIT: I am using the steam flatpak and it works like a charm for me. If u go to protondb no is having any issues when running csgo on linux. I think most of them are using steam deck which uses flatpak by default ig. Even linux desktop / laptop users are also using flatpak. So ig flatpak works but the steam native doesn't work sadly :( not on nvidia drivers at least. CSGO literally broke. It doesn't even launch now. When I lauch it from steam, I see a running status and when I try to stop csgo using steam it doesn't stop. So basically I have to use htop/bashtop to kill the process by giving it a sigterm and in the worst case scenario sigkill :'(

Munoida commented 1 year ago

Similar issue but I'm not sure if it's the same

For me it'll just launch with a black screen, and no other signs of life, doesn't even crash, I have to close it manually. Opened it with the Terminal and i couldn't pinpoint what was causing it

OS: Pop!_OS 22.04 LTS KERNEL: 5.19.0-76051900-generic CPU: Intel Core i7-3770S @ 3.10GHz GPU: NVIDIA GeForce GTX 1050 Ti GPU DRIVER: NVIDIA 515.65.01 RAM: 16 GB

Munoida commented 1 year ago

image Have you guys tried this? It fixed it for me.

Cheaterman commented 1 year ago

image Have you guys tried this? It fixed it for me.

I've been applying this workaround CONSTANTLY for more than two years now. Original issue at #2868 was closed for some reason - upstream dev seemed to think it was "fixed"... I still need to remove the videos folder each time CS:GO updates on my GF's laptop (works fine here). In addition, I'm fairly sure either that hack or the mere fact of playing on Linux COMPLETELY tanks our trust factor, turning matchmaking into an unplayable mess.

Please please please Valve fix... you literally make the most polished games on the market at this point, and are the spearhead of Linux support ; it's a very big stain on your otherwise impeccable resume to let this issue cripple us for that long!

Wedmer commented 1 year ago

image Have you guys tried this? It fixed it for me.

It worked for me

Ryhon0 commented 1 year ago

Can we get an actual fix for this? I've tried running it with libtcmalloc_minimal_debug and the videos weren't crashing the game anymore, but it started crashing after matchmaking and the game would not close itself properly

apprehensions commented 1 year ago

Still facing this on Flatpak Steam.

ghost commented 1 year ago

Don't worry guys, will be fixed on CS2

Munoida commented 1 year ago

No longer facing this funnily enough, CS:GO seems to work fine for me, without a libtcmalloc patch nor the -novid patch, I don't even have to run it under Steam Linux Runtime anymore. Although unfortunate that it got fixed about when CS2 is about to launch, lol.

lindevel commented 1 year ago

In addition to this, you also need to disable the Steam overlay for the game, only after that it working for me