Skip to content

Steam doesn't launch anymore: libGL errors #130861

Closed

Description

@nova-nowiz

Describe the bug
Steam doesn't launch anymore

To Reproduce
Steps to reproduce the behavior:

  1. install steam either via a package or via the nixos option
  2. try luanching steam
  3. it doesn't launch

you get instead the following log:

Running Steam on nixos 21.11.20210718.6797b92 64-bit
STEAM_RUNTIME has been set by the user to: /steamrt
Can't find 'steam-runtime-check-requirements', continuing anyway
WARNING: Using default/fallback debugger launch
/home/narice/.local/share/Steam/ubuntu12_32/steam
[2021-07-20 12:48:52] Startup - updater built Jul 16 2021 18:04:56
Installing breakpad exception handler for appid(steam)/version(1626461631)
libGL error: MESA-LOADER: failed to open radeonsi: /run/opengl-driver-32/lib/dri/radeonsi_dri.so: wrong ELF class: ELFCLASS64 (search paths /run/opengl-driver-32/lib/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open radeonsi: /run/opengl-driver-32/lib/dri/radeonsi_dri.so: wrong ELF class: ELFCLASS64 (search paths /run/opengl-driver-32/lib/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast: /run/opengl-driver-32/lib/dri/swrast_dri.so: wrong ELF class: ELFCLASS64 (search paths /run/opengl-driver-32/lib/dri)
libGL error: failed to load driver: swrast
SteamUpdateUI: An X Error occurred
X Error of failed request:  BadValue (integer parameter out of range for operation)
Major opcode of failed request:  152 (GLX)
Minor opcode of failed request:  3 (X_GLXCreateContext)
Value in failed request:  0x0
Serial number of failed request:  47
xerror_handler: X failed, continuing
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2021-07-20 12:48:52] Loading cached metrics from disk (/home/narice/.local/share/Steam/package/steam_client_metrics.bin)
[2021-07-20 12:48:52] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2021-07-20 12:48:52] Using the following download hosts for Public, Realm steamglobal
[2021-07-20 12:48:52] 1. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1626461631)
[2021-07-20 12:48:52] Checking for update on startup
[2021-07-20 12:48:52] Checking for available updates...
[2021-07-20 12:48:52] Downloading manifest: http://media.steampowered.com/client/steam_client_ubuntu12
Installing breakpad exception handler for appid(steam)/version(1626461631)
[2021-07-20 12:48:52] Download skipped: /client/steam_client_ubuntu12 version 1626461631, installed version 1626461631, existing pending version 0
[2021-07-20 12:48:52] Nothing to do
[2021-07-20 12:48:52] Verifying installation...
[2021-07-20 12:48:52] Performing checksum verification of executable files
[2021-07-20 12:48:53] Verification complete
Loaded SDL version 2.0.15-6655637
libGL error: MESA-LOADER: failed to open radeonsi: /run/opengl-driver-32/lib/dri/radeonsi_dri.so: wrong ELF class: ELFCLASS64 (search paths /run/opengl-driver-32/lib/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open radeonsi: /run/opengl-driver-32/lib/dri/radeonsi_dri.so: wrong ELF class: ELFCLASS64 (search paths /run/opengl-driver-32/lib/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast: /run/opengl-driver-32/lib/dri/swrast_dri.so: wrong ELF class: ELFCLASS64 (search paths /run/opengl-driver-32/lib/dri)
libGL error: failed to load driver: swrast
Steam: An X Error occurred
X Error of failed request:  BadMatch (invalid parameter attributes)
Major opcode of failed request:  152
Serial number of failed request:  49
xerror_handler: X failed, continuing
assert_20210720124852_1.dmp[5663]: Uploading dump (out-of-process)
/tmp/dumps/assert_20210720124852_1.dmp
/home/narice/.local/share/Steam/steam.sh: line 772:  5657 Segmentation fault      (core dumped) $STEAM_DEBUGGER $DEBUGGER_ARGS "$STEAMROOT/$STEAMEXEPATH" "$@"
assert_20210720124852_1.dmp[5663]: Finished uploading minidump (out-of-process): success = yes
assert_20210720124852_1.dmp[5663]: response: CrashID=bp-bc4634a5-9d6f-4e70-a6a1-2eb652210720
assert_20210720124852_1.dmp[5663]: file ''/tmp/dumps/assert_20210720124852_1.dmp'', upload yes: ''CrashID=bp-bc4634a5-9d6f-4e70-a6a1-2eb652210720''

Expected behavior
A clear and concise description of what you expected to happen.
Steam should launch

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.
I had an installation before but even deleting .local/share/Steam doesn't resolve the issue.

Notify maintainers

@jagajaga @jonringer

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

  • system: "x86_64-linux"
  • host os: Linux 5.4.84-rt47, NixOS, 21.11.20210718.6797b92 (Porcupine)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.4pre20210601_5985b8b
  • nixpkgs: /nix/store/7j4d0k0fhlvwqr6zj6pwag304ymdrj52-source

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute: steam
# a list of nixos modules affected by the problem
module: programs.steam

Activity

  1. added
    0.kind: bug
    on Jul 20, 2021
  2. nova-nowiz commented on Jul 20, 2021

    @nova-nowiz
    ContributorAuthor

    This happens when using the mesa version from current nixpkgs-unstable branch so: https://github.com/NixOS/nixpkgs/tree/1441fa74d213d7cc120d9d7d49e540c1fc59bc58
    or maybe from using a mesa version different from the nixos one (I was doing an override of mesa).

  3. added
    6.topic: steam
    on Jul 21, 2021
  4. fabianhjr commented on Jul 21, 2021

    @fabianhjr
    Member

    Sorry, this is not a dupe. Leaving these comment as a reference: #130699 (comment) and #130699 (comment)

  5. nova-nowiz commented on Jul 21, 2021

    @nova-nowiz
    ContributorAuthor

    No problem, and I'm pretty sure it is because I overwrote mesa to use a more recent version.
    Right now it works file and I'm basically in the same situation as #130699.

  6. Enzime commented on Oct 23, 2021

    @Enzime
    Member

    I fixed this issue by using program.steam.enable = true; in my configuration.nix instead of having steam as a home/system package.

  7. bjornfor commented on Dec 21, 2021

    @bjornfor
    Contributor

    This seems fixed, and I've successfully run steam on both 21.05 and 21.11 since october (date of last comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bug6.topic: steam

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions