NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.43k stars 12.93k forks source link

steam / Can't launch Dota 2 #229284

Open swrast opened 1 year ago

swrast commented 1 year ago

Describe the bug

Can't launch Dota 2 due to these errors:

../src/intel/isl/isl.c:2216: FINISHME: ../src/intel/isl/isl.c:isl_surf_supports_ccs: CCS for 3D textures is disabled, but a workaround is available.
/nix/store/w404s6jvsybzc42xmximnadswyr6km8c-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so: undefined symbol: g_hash_table_get_keys_as_array
Failed to load module: /nix/store/w404s6jvsybzc42xmximnadswyr6km8c-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so
/nix/store/k5hbdxacamchnff090vywbgvpjfplplf-gvfs-1.50.3/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_set_source_tag
Failed to load module: /nix/store/k5hbdxacamchnff090vywbgvpjfplplf-gvfs-1.50.3/lib/gio/modules/libgioremote-volume-monitor.so
/nix/store/k5hbdxacamchnff090vywbgvpjfplplf-gvfs-1.50.3/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_set_source_tag
Failed to load module: /nix/store/k5hbdxacamchnff090vywbgvpjfplplf-gvfs-1.50.3/lib/gio/modules/libgvfsdbus.so
/home/milk/.local/share/Steam/Steamapps/common/dota 2 beta/game/dota.sh: line 117: 84603 Segmentation fault      (core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"

Steps To Reproduce

Steps to reproduce the behavior:

  1. Add steam to home.packages
  2. Open Steam
  3. FInd Dota 2
  4. Click "Play"

Additional context

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.2.13, NixOS, 22.11 (Raccoon), 22.11.3994.db1e4eeb0f9`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.1`
 - channels(milk): `"home-manager-22.11.tar.gz, nixpkgs-unstable"`
 - channels(root): `"nixos-22.11"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
SuperSamus commented 1 year ago

Can't reproduce, Dota 2 launches successfully on my end. Shouldn't you enable Steam through programs.steam.enable?

swrast commented 1 year ago

@SuperSamus i'm getting the same errors even with system-wide steam installation (through programs.steam.enable)

SkyLeite commented 10 months ago

Same issue here. All my other games work as well.

SuperSamus commented 10 months ago

I can't reproduce it. Dota works on my end. I'm on an AMD GPU.

collares commented 10 months ago

Do you have amdvlk in hardware.opengl.extraPackages? If so, try removing it.

SkyLeite commented 10 months ago

Do you have amdvlk in hardware.opengl.extraPackages? If so, try removing it.

I do not.

Ended up opening an issue in the steam-runtime repository as well. It might not be related to NixOS after all. https://github.com/ValveSoftware/Dota-2/issues/2406