Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steam crashes at start #345706

Open
vendion opened this issue Oct 1, 2024 · 7 comments
Open

Steam crashes at start #345706

vendion opened this issue Oct 1, 2024 · 7 comments
Labels
0.kind: bug Something is broken 6.topic: steam Steam game store/launcher (store.steampowered.com)

Comments

@vendion
Copy link

vendion commented Oct 1, 2024

Describe the bug

After installing steam, it crashes when I try to launch it. Sometimes the crash happens when it is pulling the needed updates, other times it crashes when trying to login.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Set programs.steam.enable = true;
  2. Launch Steam
  3. Profit?

Expected behavior

Steam to reliably launch allowing me to play games.

Additional context

Output captured by strace when trying to launch steam.

steam.txt

My current steam related settings:

{ pkgs, ... }:
{
  hardware.graphics.enable32Bit = true;
  programs = {
    steam = {
      enable = true;
      package = pkgs.steam.override {
        extraLibraries =
          p: with p; [
            (lib.getLib networkmanager)
          ];
      };
      remotePlay.openFirewall = true;
      dedicatedServer.openFirewall = true;
    };
  };
}

Attempted workarounds tried from another ticket:

Workarounds I tried:

  1. Launching steam with steam -vgui
  2. Launching steam with steam --reset
  3. Removing $HOME/.cache/nvidia/GLCache directory, then launching steam.
  4. Launching steam with steam -no-cef-sandbox
  5. Overriding the steam package as suggested in Steam fails to launch on unstable #238101 (comment)

Notify maintainers

@jagajaga
@aidalgol

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

vendion on vili ~ took 65msnix-shell -p nix-info --run "nix-info -m"
this path will be fetched (0.02 MiB download, 0.06 MiB unpacked):
  /nix/store/91d27rjqlhkzx7mhzxrir1jcr40nyc7p-stdenv-linux
copying path '/nix/store/91d27rjqlhkzx7mhzxrir1jcr40nyc7p-stdenv-linux' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 6.10.11-xanmod1, NixOS, 24.11 (Vicuna), 24.11.20240929.06cf0e1`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.8`
 - nixpkgs: `/nix/store/r2hk87rfvc5fpfbl2bj64a3x7mcq9f6c-source`
@vendion vendion added the 0.kind: bug Something is broken label Oct 1, 2024
@aidalgol
Copy link
Contributor

aidalgol commented Oct 2, 2024

I'm not actually a Steam nixpkgs maintainer; I just submitted an update to the Steam bootstrap package recently.

@vendion
Copy link
Author

vendion commented Oct 3, 2024

Okay, sorry for the tag then.

@FliegendeWurst FliegendeWurst added the 6.topic: steam Steam game store/launcher (store.steampowered.com) label Oct 11, 2024
@TrudeEH
Copy link

TrudeEH commented Oct 15, 2024

Steam also crashes for me...

steamwebhelper.sh[829938]: Starting steamwebhelper under bootstrap sniper steam runtime via /home/trude/.local/share/Steam/ubuntu12_64/steam-runtime-sniper.sh
src/vgui2/src/surface_linux.cpp (1954) : glXChooseVisual failed
src/vgui2/src/surface_linux.cpp (1954) : glXChooseVisual failed
src/vgui2/src/surface_linux.cpp (1954) : Fatal assert; application exiting
src/vgui2/src/surface_linux.cpp (1954) : Fatal assert; application exiting
10/15 19:23:12 Init: Installing breakpad exception handler for appid(steam)/version(1726604483)/tid(829842)
steamwebhelper.sh[829938]: CEF sandbox already disabled
steamwebhelper.sh[829938]: Starting steamwebhelper with Sniper steam runtime at /home/trude/.local/share/Steam/ubuntu12_64/steam-runtime-sniper/_v2-entry-point
assert_20241015192312_8.dmp[829989]: Uploading dump (out-of-process)
/tmp/dumps/assert_20241015192312_8.dmp

And, nix-shell -p nix-info --run "nix-info -m":

 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.54, NixOS, 24.11 (Vicuna), 24.11.20241009.5633bcf`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.8`
 - channels(root): `"nixos-24.05"`
 - nixpkgs: `/nix/store/60sn02zhawl3kwn0r515zff3h6hg6ydz-source`

@JayRovacsek
Copy link
Contributor

+1

 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.53, NixOS, 24.11 (Vicuna), 24.11.20241001.1839883`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Lix, like Nix) 2.91.0
 - channels(jay): `""`
 - nixpkgs: `/nix/store/7qkcm6k8phjcjndpqxh2p6why320dqsq-source`

@tdillenburg
Copy link

I was having a similar issue. This override fixed it: #351180 (comment)

@K900
Copy link
Contributor

K900 commented Oct 28, 2024

Please test #351928.

@NovaViper
Copy link
Contributor

Hey @K900 I can confirm that the PR fixes the crashing for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 6.topic: steam Steam game store/launcher (store.steampowered.com)
Projects
None yet
Development

No branches or pull requests

8 participants