Skip to content

steam: fix crash at startup with open source radeon drivers#20269

Merged
rasendubi merged 2 commits intoNixOS:masterfrom
corngood:steam-fix
Nov 10, 2016
Merged

steam: fix crash at startup with open source radeon drivers#20269
rasendubi merged 2 commits intoNixOS:masterfrom
corngood:steam-fix

Conversation

@corngood
Copy link
Copy Markdown
Contributor

@corngood corngood commented Nov 8, 2016

Motivation for this change

This is basically a port of this fix from OpenSUSE.

Steam ships statically linked with a version of libcrypto that conflics with the one dynamically loaded by radeonsi_dri.so.

This provides a compatible one (w/ engine disabled, cpuid fix) and links it into the steam runtime.

The error looks like:

steam.sh: line 713: 7842 Segmentation fault (core dumped) 
Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link
Copy Markdown

@corngood, thanks for your PR! By analyzing the history of the files in this pull request, we identified @rasendubi, @globin and @abbradar to be potential reviewers.

@corngood corngood mentioned this pull request Nov 8, 2016
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can add openssl-steam = openssl_1_0_2-steam; above and use that name in the steam package.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, good call. Updated.

@rasendubi rasendubi merged commit 7a301ee into NixOS:master Nov 10, 2016
@FRidh
Copy link
Copy Markdown
Member

FRidh commented Nov 25, 2016

This broke the game "Wargame: European Escalation" for me.

relocation error: /home/freddy/.local/share/Steam/steamapps/common/Wargame European Escalation/Wargame: symbol ENGINE_load_builtin_engines, version OPENSSL_1.0.0 not defined in file libcrypto.so.1.0.0 with link time reference

@corngood
Copy link
Copy Markdown
Contributor Author

@FRidh Could you open an issue for this and tag me on it?

It looks like ubuntu has a version-script.patch for openssl which adds these version symbols.

I can try to build openssl-steam with that patch, but I might need your help to test it.

@corngood corngood mentioned this pull request Feb 21, 2017
7 tasks
@lukateras lukateras added the 6.topic: steam Steam game store/launcher (store.steampowered.com) label Dec 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: steam Steam game store/launcher (store.steampowered.com)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants