ValveSoftware / csgo-osx-linux

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

game initialisation always fails, even offline #1622

Open GeorgijT opened 6 years ago

GeorgijT commented 6 years ago

Your system information

Please describe your issue in as much detail as possible:

When I first installed the game I couldn't connect to a specific server so I tried to start a offline match with bots, just to check if the game was working properly. The result was that the game failed during the world initialisation, it was stuck during the loading and the whole system was freezed, I could not do anything but manually turn off the computer. Tried two more times, same results. So I uninstalled and reinstalled the game. Now it doesn't fail to initialise the world and resources when starting an offline match (it still takes several minutes though) but still freeze immidiatly after the loading. It says 'continue' but there is nothing I can do to actually start the game. I can't take a screenshot or check any error message because the whole process freeze the entire system.

Steps for reproducing this issue:

Just start an offline match is enough to make the game crash.

kiroma commented 6 years ago

It looks like you have too little RAM, and the system starts swapping. Playing on an integrated GPU requires you to install much more RAM on your computer.

vanitasvitae commented 6 years ago

Downgrading mesa (17.2.0-3 -> 17.1.8-2) solves the issue for me. I hope this helps someone :)

Edit: I should point out, that newer mesa versions also solved the issue for me.

kisak-valve commented 6 years ago

Hello @GeorgijT, does your system have a swap partition or swapfile? If not, can you follow https://help.ubuntu.com/community/SwapFaq#How_do_I_add_a_swap_file.3F and add a 2GB swapfile for testing and see if it makes a difference?

On my Ivybridge testbox, which is running the same version of mesa as yours, CS:GO uses about 3GB of resident memory when loading up de_cache in a bot match. I would not be surprising if CS:GO is being OOM killed, which would also leave a message to that effect in dmesg.