ValveSoftware / csgo-osx-linux

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

CS2 crashes when selecting team or in-game using Ubuntu 22.04 + Flatpak #3867

Open zoltan-sule opened 6 days ago

zoltan-sule commented 6 days ago

Your system information

Please describe your issue in as much detail as possible:

  1. It should start a game and should not crash.
  2. But instead it crashes when I click on a team.
  3. If I am lucky and I can start a game then it has a high chance that it crashes in-game and then it starts validating the source taking precious time. Then I start it again but it doesn't offer me to join to the same game I was playing. If it crashes in-game again, then I have 2 not finished game with the fraction of the points that I could have made if it would not have crashed.

The crashes started after the upgrade and none of the fixes fixed it.

Steps for reproducing this issue:

  1. start the game
  2. join a lobby
  3. click on a team -> 9 of 10 times it crashes
  4. if it doesn't crash by joining a team it will crash in-game
kisak-valve commented 6 days ago

Hello @zoltan-sule, sorry, but this isn't coherent when directed at this issue tracker (the Steam for Linux client), and there's no hints as to what game you're referring to in order to point you toward the game's support or issue tracker.

zoltan-sule commented 6 days ago

Hello @kisak-valve, I reported an issue of CS2 through the UI and I was redirected to this github repository by the Steam Support. Where should I report CS2 issues?

kisak-valve commented 6 days ago

Thanks for clarifying. CS2 issues are currently being tracked in the csgo-osx-linux issue tracker, and I just transferred this issue report there.

The NVIDIA 470 series video driver is an extended support series for their Kepler generation of hardware and is fairly outdated for your hardware generation. Can you test how the game behaves with a newer video driver release series?

DavutHaxor commented 2 days ago

Try increasing your max map count before launching the game sudo sysctl -w vm.max_map_count=1048576

The increase was made in Ubuntu 24.04 but you are using an older version

zoltan-sule commented 2 days ago

@kisak-valve I have upgraded the NVIDIA driver from 470 to 550 and at the same time a new bugfix came out. I dont' know which helped but the game didn't crash since then. @DavutHaxor thanks! I did that. It is 16 times the old value.

DavutHaxor commented 2 days ago

@kisak-valve I have upgraded the NVIDIA driver from 470 to 550 and at the same time a new bugfix came out. I dont' know which helped but the game didn't crash since then. @DavutHaxor thanks! I did that. It is 16 times the old value.

The changes made by sysctl -w command is not permanent and is reset when you reboot. If you want to know what solved the issue, reboot your computer and see if game still crashes

zoltan-sule commented 1 day ago

The changes made by sysctl -w command is not permanent and is reset when you reboot. If you want to know what solved the issue, reboot your computer and see if game still crashes

I tested the game with and without the WM setting. With the WM setting I didn't experience any change during the game.