ValveSoftware / csgo-osx-linux

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

CS2 wont launch with illegal instruction #3293

Open 4nk1 opened 1 year ago

4nk1 commented 1 year ago

Your system information

Please describe your issue in as much detail as possible:

Trying to launch CS2 without any "launch options" gives this error: /home/b3z/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/game/cs2.sh: line 115: 7930 Illegal instruction ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"

Detailed:https://gist.github.com/4nk1/dd4676e265258e14ab929e228221d3a9

Steps for reproducing this issue:

  1. Push the button "PLAY"
logan2611 commented 1 year ago

Your CPU is quite old. CS2 is likely compiled for x86-64-v2 (or perhaps newer), whereas your CPU only supports x86-64-v1.

AngryPenguinPL commented 1 year ago

Same problem here

Hardware/OS info: https://gist.github.com/AngryPenguinPL/e25e3551e0cc5b69f0e2611a86a2eab2

/media/x/49dbc701-2990-4154-b389-c542dd7ea412/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/cs2.sh: line 115: 50453 Illegal instruction     (core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
Uploaded AppInterfaceStats to Steam

Also dmesg show me this: traps: cs2[32244] trap invalid opcode ip:7f1fd0038c4e sp:7ffe4ecb5f70 error:0 in libtier0.so[7f1fcfebf000+2f3000] This may suggest that the library libtier0.so was compiled with a instruction that is not supported on my processor.

phillipsjk commented 1 year ago

The issue is that the game now requires SSE4.2 Instructions for some reason. https://github.com/ValveSoftware/csgo-osx-linux/issues/3320 https://github.com/ValveSoftware/csgo-osx-linux/issues/3394

Edit: No, based on the bug numbers: this one was first, making the others duplicates.

Edit2: I also consider the lack of a meaningful error message a bug. There are instructions for testing CPU features: the game should use them.

phillipsjk commented 1 year ago

Your CPU is quite old. CS2 is likely compiled for x86-64-v2 (or perhaps newer), whereas your CPU only supports x86-64-v1.

That is all well and good: but the minimum system requirements say nothing about requiring as specific x86-64 version.

The exact wording at the time of this writing is:

4 hardware CPU threads - Intel® Core™ i5 750 or higher

OP's CPU mostly meets those requirements.

logan2611 commented 1 year ago

Those CPUs are all older than the i5 750, therefore I wouldn't exactly call it "higher". If they wanted to, they could've specified these older but allegedly equivalent CPUs instead if it was just a performance problem. Furthermore, using a weird synthetic benchmark that utilizes all the cores does not represent the actual gaming performance of any of these CPUs.


OP's Intel Core2 Quad Q9550 @ 2.83GHz is a little under that score, but within the margin of error on synthetic benchmarks, with a score of: 2326

I would not call 7% margin of error

phillipsjk commented 12 months ago

That is incorrect; the 6 core AMD parts were released in 2010:

Edit: the "single thread" ratings may be hiding poor IPC.

logan2611 commented 12 months ago

That is incorrect; the 6 core AMD parts were released in 2010:

Good point, my memory is a bit hazy it seems. Although the Phenom II lineup did come out in 2008, I feel like that's being very nitpicky. Valve should probably just specify that SSE4.2 is required, or specify a minimum of an FX-4130 for AMD.

phillipsjk commented 12 months ago

They can make the [Bulldozer] series, supporting [SSE4.2], a minimum system requirement if they want.

I have no real dog in this fight: only wanted to try now that it is "free to play". I feel for the people who paid [for] CS:GO, and now can't play CS2 due to higher requirements.