Closed AngryPenguinPL closed 7 months ago
maybe Phenom II lack some cpu instruction that TF2 needs?,
The min spec should be a Core2, so SSE + SSE2 + SSE3, not sure what you are exactly hitting. SSSE3 shouldn't be required... hmm
Oh, Core 2 did have SSSE3, I will see if I can remove it...
Will hopefully be fixed in the next update to the branch. Thanks for reporting.
Given the status quo of having to support quite old CPUs and thus not being able to optimize for a more recent baseline, the best solution might be to switch the compiler flags to -march=core2 -mno-ssse3 -mtune=haswell
.
This actually differs from simply specifying nocona
, as core2
also sets -maccumulate-outgoing-args=disabled
and -mbranch-cost=3
(check gcc -march=core2 -mno-ssse3 -Q --help=target
).
Additionally, specifying -mtune=haswell
or something equally recent would make gcc emit instructions compatible with core2
CPUs while using a better instruction scheduling model suited for more recent processors (and frankly, the majority of CPUs that TF2 is played on).
Will hopefully be fixed in the next update to the branch. Thanks for reporting.
@Joshua-Ashton Thanks. Last update fixing this, now game works fine.
BTW. a similar error has persisted in CS2 since its release https://github.com/ValveSoftware/csgo-osx-linux/issues/3394 As I understand it, there is no chance to run the game on an older CPU?
Closing per the last comment.
Given the status quo of having to support quite old CPUs and thus not being able to optimize for a more recent baseline, the best solution might be to switch the compiler flags to
-march=core2 -mno-ssse3 -mtune=haswell
.This actually differs from simply specifying
nocona
, ascore2
also sets-maccumulate-outgoing-args=disabled
and-mbranch-cost=3
(checkgcc -march=core2 -mno-ssse3 -Q --help=target
).Additionally, specifying
-mtune=haswell
or something equally recent would make gcc emit instructions compatible withcore2
CPUs while using a better instruction scheduling model suited for more recent processors (and frankly, the majority of CPUs that TF2 is played on).
This seems like an extremely reasonable idea. Incredibly easy to do, and almost as easy to benchmark. Figure the core2 arch still had a flipping FSB, so it probably generates abysmal code paths for modern archs for zero reason whatsoever.
Also, @AngryPenguinPL, make sure the smithsonian gets their ancient artifact back
While stable 32bit TF2 works fine, new beta x64_linux_test causing game crash at launch with illegal instruction.
Quick info: OpenMandriva Cooker RX 580 8GB (polaris10) AMD Six core Phenom II Mesa 24.0.0 rc Kernel 6.7.1 clang LLVM 17.0.6 DRM 3.56
Here is system hardware/os details: system info