Skip to content

Dota 2 no longer works on NixOS after nemestice update #128021

Closed

Description

@D4ndellion

Describe the bug
After launching dota 2, the logo pops up, but game hangs after: see ValveSoftware/Dota-2#1950 for another user of NixOS with same problem @Jwsonic

GameAction [AppID 570, ActionID 1] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0/home/dan/.local/share/Steam/ubuntu12_32/../ubuntu12_32/reaper SteamLaunch AppId=570 -- '/mnt/henning/SteamLibrary/steamapps/common/dota 2 beta/game/dota.sh' +engine_experimental_drop_frame_ticks 1 +@panorama_min_comp_layer_dimension 0 -prewarm_panorama -vulkan_disable_steam_shader_cache  -vulkan -map dota\0
Game update: AppID 570 "", ProcID 654674, IP 0.0.0.0:0
ERROR: ld.so: object '/home/dan/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/dan/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/dan/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 654676 != 654675, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/dan/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Starting app 570
>>> Adding process 654674 for game ID 570
GameAction [AppID 570, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/dan/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 570, ActionID 1] : LaunchApp changed task to Completed with ""
ERROR: ld.so: object '/home/dan/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 654675 for game ID 570
>>> Adding process 654677 for game ID 570
ERROR: ld.so: object '/home/dan/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 654678 for game ID 570
>>> Adding process 654679 for game ID 570
Installing breakpad exception handler for appid(steam)/version(1623193086)
Using breakpad crash handler
[S_API] SteamAPI_Init(): Loaded '/home/dan/.local/share/Steam/linux64/steamclient.so' OK.
Game update: AppID 570 "", ProcID 654678, IP 0.0.0.0:0
RecordSteamInterfaceCreation (PID 654678): SteamUtils010 / 
Setting breakpad minidump AppID = 570
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
RecordSteamInterfaceCreation (PID 654678): SteamUser021 / User
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198053885117 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561198053885117
RecordSteamInterfaceCreation (PID 654678): SteamUtils010 / 
RecordSteamInterfaceCreation (PID 654678): SteamUser021 / 
Setting breakpad minidump AppID = 373300
RecordSteamInterfaceCreation (PID 654678): SteamFriends017 / 
RecordSteamInterfaceCreation (PID 654678): SteamMatchMaking009 / 
RecordSteamInterfaceCreation (PID 654678): SteamMatchGameSearch001 / 
RecordSteamInterfaceCreation (PID 654678): SteamMatchMakingServers002 / 
RecordSteamInterfaceCreation (PID 654678): STEAMUSERSTATS_INTERFACE_VERSION012 / 
RecordSteamInterfaceCreation (PID 654678): STEAMAPPS_INTERFACE_VERSION008 / 
RecordSteamInterfaceCreation (PID 654678): SteamNetworking006 / 
RecordSteamInterfaceCreation (PID 654678): STEAMREMOTESTORAGE_INTERFACE_VERSION014 / 
RecordSteamInterfaceCreation (PID 654678): STEAMSCREENSHOTS_INTERFACE_VERSION003 / 
RecordSteamInterfaceCreation (PID 654678): STEAMHTTP_INTERFACE_VERSION003 / 
RecordSteamInterfaceCreation (PID 654678): SteamController007 / 
RecordSteamInterfaceCreation (PID 654678): STEAMUGC_INTERFACE_VERSION014 / 
RecordSteamInterfaceCreation (PID 654678): STEAMAPPLIST_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): STEAMMUSIC_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): STEAMMUSICREMOTE_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): STEAMHTMLSURFACE_INTERFACE_VERSION_005 / 
RecordSteamInterfaceCreation (PID 654678): STEAMINVENTORY_INTERFACE_V003 / 
RecordSteamInterfaceCreation (PID 654678): STEAMVIDEO_INTERFACE_V002 / 
RecordSteamInterfaceCreation (PID 654678): STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): SteamInput001 / 
Attempting to create OpenGL context: v3.3 (Core profile)...success. Checking entry points...success.
WARNING: radv is not a conformant vulkan implementation, testing use only.
Fossilize INFO: Overriding serialization path: "/mnt/henning/SteamLibrary/steamapps/shadercache/570/fozpipelinesv5/steamapprun_pipeline_cache".
Fontconfig warning: "/mnt/henning/SteamLibrary/steamapps/common/dota 2 beta/game/core/panorama/fonts/conf.d/41-repl-os-win.conf", line 148: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/mnt/henning/SteamLibrary/steamapps/common/dota 2 beta/game/core/panorama/fonts/conf.d/41-repl-os-win.conf", line 160: Having multiple values in <test> isn't supported and may not work as expected
RecordSteamInterfaceCreation (PID 654678): SteamUser021 / 
RecordSteamInterfaceCreation (PID 654678): SteamFriends017 / 
RecordSteamInterfaceCreation (PID 654678): SteamUtils010 / 
RecordSteamInterfaceCreation (PID 654678): SteamMatchMaking009 / 
RecordSteamInterfaceCreation (PID 654678): SteamMatchGameSearch001 / 
RecordSteamInterfaceCreation (PID 654678): SteamMatchMakingServers002 / 
RecordSteamInterfaceCreation (PID 654678): STEAMUSERSTATS_INTERFACE_VERSION012 / 
RecordSteamInterfaceCreation (PID 654678): STEAMAPPS_INTERFACE_VERSION008 / 
RecordSteamInterfaceCreation (PID 654678): SteamNetworking006 / 
RecordSteamInterfaceCreation (PID 654678): STEAMREMOTESTORAGE_INTERFACE_VERSION014 / 
RecordSteamInterfaceCreation (PID 654678): STEAMSCREENSHOTS_INTERFACE_VERSION003 / 
RecordSteamInterfaceCreation (PID 654678): STEAMHTTP_INTERFACE_VERSION003 / 
RecordSteamInterfaceCreation (PID 654678): SteamController007 / 
RecordSteamInterfaceCreation (PID 654678): STEAMUGC_INTERFACE_VERSION014 / 
RecordSteamInterfaceCreation (PID 654678): STEAMAPPLIST_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): STEAMMUSIC_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): STEAMMUSICREMOTE_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): STEAMHTMLSURFACE_INTERFACE_VERSION_005 / 
RecordSteamInterfaceCreation (PID 654678): STEAMINVENTORY_INTERFACE_V003 / 
RecordSteamInterfaceCreation (PID 654678): STEAMVIDEO_INTERFACE_V002 / 
RecordSteamInterfaceCreation (PID 654678): STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): SteamInput001 / 
RecordSteamInterfaceCreation (PID 654678): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 654678): SteamNetworkingSocketsSerialized004 / 
RecordSteamInterfaceCreation (PID 654678): SteamUser020 / User
RecordSteamInterfaceCreation (PID 654678): STEAMHTTP_INTERFACE_VERSION003 / HTTP
RecordSteamInterfaceCreation (PID 654678): SteamUser021 / 
RecordSteamInterfaceCreation (PID 654678): SteamFriends017 / 
RecordSteamInterfaceCreation (PID 654678): SteamUtils010 / 
RecordSteamInterfaceCreation (PID 654678): SteamMatchMaking009 / 
RecordSteamInterfaceCreation (PID 654678): SteamMatchGameSearch001 / 
RecordSteamInterfaceCreation (PID 654678): SteamMatchMakingServers002 / 
RecordSteamInterfaceCreation (PID 654678): STEAMUSERSTATS_INTERFACE_VERSION012 / 
RecordSteamInterfaceCreation (PID 654678): STEAMAPPS_INTERFACE_VERSION008 / 
RecordSteamInterfaceCreation (PID 654678): SteamNetworking006 / 
RecordSteamInterfaceCreation (PID 654678): STEAMREMOTESTORAGE_INTERFACE_VERSION014 / 
RecordSteamInterfaceCreation (PID 654678): STEAMSCREENSHOTS_INTERFACE_VERSION003 / 
RecordSteamInterfaceCreation (PID 654678): STEAMHTTP_INTERFACE_VERSION003 / 
RecordSteamInterfaceCreation (PID 654678): SteamController007 / 
RecordSteamInterfaceCreation (PID 654678): STEAMUGC_INTERFACE_VERSION014 / 
RecordSteamInterfaceCreation (PID 654678): STEAMAPPLIST_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): STEAMMUSIC_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): STEAMMUSICREMOTE_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): STEAMHTMLSURFACE_INTERFACE_VERSION_005 / 
RecordSteamInterfaceCreation (PID 654678): STEAMINVENTORY_INTERFACE_V003 / 
RecordSteamInterfaceCreation (PID 654678): STEAMVIDEO_INTERFACE_V002 / 
RecordSteamInterfaceCreation (PID 654678): STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): SteamInput001 / 
 failed to dlopen "/mnt/henning/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libcairo.so" error=/mnt/henning/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libcairo.so: cannot open shared object file: No such file or directory
RecordSteamInterfaceCreation (PID 654678): SteamUser021 / 
RecordSteamInterfaceCreation (PID 654678): SteamFriends017 / 
RecordSteamInterfaceCreation (PID 654678): SteamUtils010 / 
RecordSteamInterfaceCreation (PID 654678): SteamMatchMaking009 / 
RecordSteamInterfaceCreation (PID 654678): SteamMatchGameSearch001 / 
RecordSteamInterfaceCreation (PID 654678): SteamMatchMakingServers002 / 
RecordSteamInterfaceCreation (PID 654678): STEAMUSERSTATS_INTERFACE_VERSION012 / 
RecordSteamInterfaceCreation (PID 654678): STEAMAPPS_INTERFACE_VERSION008 / 
RecordSteamInterfaceCreation (PID 654678): SteamNetworking006 / 
RecordSteamInterfaceCreation (PID 654678): STEAMREMOTESTORAGE_INTERFACE_VERSION014 / 
RecordSteamInterfaceCreation (PID 654678): STEAMSCREENSHOTS_INTERFACE_VERSION003 / 
RecordSteamInterfaceCreation (PID 654678): STEAMHTTP_INTERFACE_VERSION003 / 
RecordSteamInterfaceCreation (PID 654678): SteamController007 / 
RecordSteamInterfaceCreation (PID 654678): STEAMUGC_INTERFACE_VERSION014 / 
RecordSteamInterfaceCreation (PID 654678): STEAMAPPLIST_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): STEAMMUSIC_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): STEAMMUSICREMOTE_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): STEAMHTMLSURFACE_INTERFACE_VERSION_005 / 
RecordSteamInterfaceCreation (PID 654678): STEAMINVENTORY_INTERFACE_V003 / 
RecordSteamInterfaceCreation (PID 654678): STEAMVIDEO_INTERFACE_V002 / 
RecordSteamInterfaceCreation (PID 654678): STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): SteamInput001 / 
RecordSteamInterfaceCreation (PID 654678): SteamAppDisableUpdate001 / 
RecordSteamInterfaceCreation (PID 654678): SteamGameCoordinator001 / 
RecordSteamInterfaceCreation (PID 654678): SteamUser021 / User
Installing breakpad exception handler for appid(steam)/version(1623193086)
RecordSteamInterfaceCreation (PID 654678): SteamUser021 / 
RecordSteamInterfaceCreation (PID 654678): SteamFriends017 / 
RecordSteamInterfaceCreation (PID 654678): SteamUtils010 / 
RecordSteamInterfaceCreation (PID 654678): SteamMatchMaking009 / 
RecordSteamInterfaceCreation (PID 654678): SteamMatchGameSearch001 / 
RecordSteamInterfaceCreation (PID 654678): SteamMatchMakingServers002 / 
RecordSteamInterfaceCreation (PID 654678): STEAMUSERSTATS_INTERFACE_VERSION012 / 
RecordSteamInterfaceCreation (PID 654678): STEAMAPPS_INTERFACE_VERSION008 / 
RecordSteamInterfaceCreation (PID 654678): SteamNetworking006 / 
RecordSteamInterfaceCreation (PID 654678): STEAMREMOTESTORAGE_INTERFACE_VERSION014 / 
RecordSteamInterfaceCreation (PID 654678): STEAMSCREENSHOTS_INTERFACE_VERSION003 / 
RecordSteamInterfaceCreation (PID 654678): STEAMHTTP_INTERFACE_VERSION003 / 
RecordSteamInterfaceCreation (PID 654678): SteamController007 / 
RecordSteamInterfaceCreation (PID 654678): STEAMUGC_INTERFACE_VERSION014 / 
RecordSteamInterfaceCreation (PID 654678): STEAMAPPLIST_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): STEAMMUSIC_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): STEAMMUSICREMOTE_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): STEAMHTMLSURFACE_INTERFACE_VERSION_005 / 
RecordSteamInterfaceCreation (PID 654678): STEAMINVENTORY_INTERFACE_V003 / 
RecordSteamInterfaceCreation (PID 654678): STEAMVIDEO_INTERFACE_V002 / 
RecordSteamInterfaceCreation (PID 654678): STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / 
RecordSteamInterfaceCreation (PID 654678): SteamInput001 / 

To Reproduce
Steps to reproduce the behavior:
Install dota 2, launch.

Notify maintainers

@jonringer @jagajaga

Metadata

  • system: "x86_64-linux"
  • host os: Linux 5.10.43, NixOS, 21.05.993.93963c27b93 (Okapi)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.3.12
  • channels(dan): "dan, home-manager-21.05, nixos-unstable-21.11pre297244.d2b489b24ae, nur"
  • channels(root): "nixos-21.05.1153.0ccd0d91361"
  • nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:

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

Activity

  1. added
    0.kind: bug
    on Jun 24, 2021
  2. changed the title [-]Dota 2 no longer works on NixOS after update[/-] [+]Dota 2 no longer works on NixOS after nemestice update[/+] on Jun 24, 2021
  3. jonringer commented on Jun 24, 2021

    @jonringer
    Contributor

    what video card do you have?

  4. D4ndellion commented on Jun 24, 2021

    @D4ndellion
    MemberAuthor

    An AMD R9 290

  5. D4ndellion commented on Jun 24, 2021

    @D4ndellion
    MemberAuthor

    I've tried it with both the vulkan backend and opengl backend

  6. jonringer commented on Jun 24, 2021

    @jonringer
    Contributor

    You are probably hit with #126428

  7. D4ndellion commented on Jun 24, 2021

    @D4ndellion
    MemberAuthor

    I will try the linked PR (#126435) to see if it resolves the issue, thanks

  8. jonringer commented on Jun 24, 2021

    @jonringer
    Contributor

    the linked issue that you have shouldn't be applicable:

    $ ./result/bin/steam-run bash
    $ ls /lib/libcairo.so
    /lib/libcairo.so
    

    libcairo already exists in steamFHS

  9. D4ndellion commented on Jun 24, 2021

    @D4ndellion
    MemberAuthor

    The comments on the linked issue (ValveSoftware/Dota-2#1950) are unrelated to the actual issue of the original author I think. Regardless dota 2 is complaining about not finding libcairo on nixos as well (from my logs above):

    RecordSteamInterfaceCreation (PID 654678): SteamInput001 / 
     failed to dlopen "/mnt/henning/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libcairo.so" error=/mnt/henning/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libcairo.so: cannot open shared object file: No such file or directory
    

    I tried steam from #126435 which didn't resolve the issue.
    On vulkan I got a ton of fossilize warnings, but on opengl nothing changed.

  10. shpinog commented on Jun 24, 2021

    @shpinog

    Have this problem too

  11. jonringer commented on Jun 24, 2021

    @jonringer
    Contributor

    I'll install dota2 and try myself

  12. jonringer commented on Jun 24, 2021

    @jonringer
    Contributor

    This is a valve issue. They didn't distribute a library which they added as an absolute NEEDED library:

     failed to dlopen "/home/jon/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libcairo.so" error=/home/jon/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libcairo.so: cannot open shared object file: No such file or directory
    
    $ ls /home/jon/.local/share/Steam/steamapps/common/dota\ 2\ beta/game/bin/linuxsteamrt64/
    cairo.so                libicuuc.so            libpanorama_text_pango.so  libsoundsystem.so             libvgui2.so
    dota2                   libinputsystem.so      libparticles.so            libsteam_api.so               libvguirendersurface.so
    fltlnx64.flt            liblocalize.so         libphonon.so               libsteamaudio.so              libvideo.so
    libanimationsystem.so   libmaterialsystem2.so  librendersystemempty.so    libsteamnetworkingsockets.so  libvphysics2.so
    libavcodec.so.57        libmeshsystem.so       librendersystemgl.so       libswscale.so.4               libvr.so
    libavformat.so.57       libmpg123.so.0         librendersystemvulkan.so   libtcmalloc_minimal.so.0      libvscript.so
    libavresample.so.3      libnetworksystem.so    libresourcesystem.so       libtier0.so                   libworldrenderer.so
    libavutil.so.55         libopenvr_api.so       libscenefilecache.so       libv8.so                      steam_appid.txt
    libengine2.so           libpango-1.0.so        libscenesystem.so          libv8_libbase.so              WINDOWSTEMPDIR_FONTCONFIG_CACHE
    libfilesystem_stdio.so  libpangoft2-1.0.so     libschemasystem.so         libv8_libplatform.so
    libicui18n.so           libpanorama.so         libSDL2-2.0.so.0           libvconcomm.so
    
  13. jonringer commented on Jun 24, 2021

    @jonringer
    Contributor

    but even adding a libcairo.so doesn't fix the hang.... My assumption is that some shader is failing to build, so the loading screen which is waiting for it to complete, will not ever see it complete:

    CEntitySystem::BuildEntityNetworking (parallel build of server) took 104.826 msecs for 1246 out of 1266 classes
    Failed to load mutations file! scripts/battlepass/ti2018/mutations.txt
    No valid vcs file found for shader generic.vfx
    material2.cpp(1262): Error creating shader generic.vfx for material dev/panorama_world_panel_lit_opaque.vmat!
    material2.cpp(1262): Error creating shader generic.vfx for material dev/panorama_world_panel_lit_opaque.vmat!
    material2.cpp(1262): Error creating shader generic.vfx for material dev/panorama_world_panel_lit_opaque.vmat!
    material2.cpp(1262): Error creating shader generic.vfx for material dev/panorama_world_panel_lit_opaque.vmat!
    material2.cpp(1262): Error creating shader generic.vfx for material dev/panorama_world_panel_lit_default.vmat!
    material2.cpp(1262): Error creating shader generic.vfx for material dev/panorama_world_panel_lit_default.vmat!
    material2.cpp(1262): Error creating shader generic.vfx for material dev/panorama_world_panel_lit_default.vmat!
    material2.cpp(1262): Error creating shader generic.vfx for material dev/panorama_world_panel_lit_default.vmat!
    material2.cpp(1262): Error creating shader generic.vfx for material materials/dev/luminaire.vmat!
    material2.cpp(1262): Error creating shader generic.vfx for material materials/dev/luminaire.vmat!
    material2.cpp(1262): Error creating shader generic.vfx for material materials/dev/luminaire.vmat!
    material2.cpp(1262): Error creating shader generic.vfx for material materials/dev/luminaire.vmat!
    Error loading resource file "soundevents/soundevents_test.vsndevts_c" (Error: ERROR_FILEOPEN)
    src/common/pipes.cpp (761) : Assertion Failed: bReceivedSomething
    src/common/pipes.cpp (761) : Assertion Failed: bReceivedSomething
    [STEAM] [S_API WARN] CUserRemoteStorage::GetFileSize( user.vcfg ) file not found
    name[ 0 ] changing from 'unnamed' to 'xxx'
    src/common/pipes.cpp (761) : Assertion Failed: bReceivedSomething
    src/common/pipes.cpp (761) : Assertion Failed: bReceivedSomething
    [STEAM] [S_API WARN] CUserRemoteStorage::GetFileSize( user_keys.vcfg ) file not found
    CHostStateMgr::QueueNewRequest( Idle (levelload), 1 )
    ChangeGameUIState: DOTA_GAME_UI_STATE_INVALID -> DOTA_GAME_UI_STATE_LOADING_SCREEN
    Source2Init OK
    
  14. D4ndellion commented on Jun 24, 2021

    @D4ndellion
    MemberAuthor

    I was about to say the libcairo thing is probably a red herring, other distros can launch the game with their native runtime even with the missing library. And since it "works on linux" that unfortunately usually means we'll somehow have to figure out why and fix this ourselves 😕

  15. D4ndellion commented on Jun 24, 2021

    @D4ndellion
    MemberAuthor

    The patch that just came out: ~15 minutes ago #11853007 did not include a fix for this either

  16. 3 remaining items

  17. p-h commented on Jun 24, 2021

    @p-h
    Contributor

    @nh2 Ok, for me it regenerated it with a nix/store subdir after I removed it. Also on an Optimus setup.

    @shpinog I tried to symlink it. Same result.

  18. nh2 commented on Jun 24, 2021

    @nh2
    Contributor

    steam-run ~/.steam/steam/steamapps/common/dota\ 2\ beta/game/bin/linuxsteamrt64/dota2 starts the game for me.

    Starting it via the Play button in the Steam UI does not work.

    • I did not have to add cairo.
    • Both -vulkan and -gl mode work.
  19. p-h commented on Jun 24, 2021

    @p-h
    Contributor

    @nh2 Does not work for me. Do you also get a bunch of Fossilize WARN messages?

  20. nh2 commented on Jun 24, 2021

    @nh2
    Contributor

    @nh2 Does not work for me. Do you also get a bunch of Fossilize WARN messages?

    @p-h No, my full output when playing on Vulkan is:

    $ steam-run ~/.steam/steam/steamapps/common/dota\ 2\ beta/game/bin/linuxsteamrt64/dota2
    
    Using breakpad crash handler
    [S_API] SteamAPI_Init(): Loaded '/home/niklas/.local/share/Steam/linux64/steamclient.so' OK.
    Setting breakpad minidump AppID = 570
    Forcing breakpad minidump interfaces to load
    Looking up breakpad interfaces from steamclient
    Calling BreakpadMiniDumpSystemInit
    Looking up breakpad interfaces from steamclient
    Calling BreakpadMiniDumpSystemInit
    SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198075047064 [API loaded yes]
    SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561198075047064
    Setting breakpad minidump AppID = 373300
    Attempting to create OpenGL context: v3.3 (Core profile)...success. Checking entry points...success.
    MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
    
    Fossilize INFO: Overriding serialization path: "/home/niklas/.local/share/Steam/steamapps/shadercache/570/fozpipelinesv5/steamapprun_pipeline_cache".
    Fontconfig warning: "/home/niklas/.local/share/Steam/steamapps/common/dota 2 beta/game/core/panorama/fonts/conf.d/41-repl-os-win.conf", line 148: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "/home/niklas/.local/share/Steam/steamapps/common/dota 2 beta/game/core/panorama/fonts/conf.d/41-repl-os-win.conf", line 160: Having multiple values in <test> isn't supported and may not work as expected
     failed to dlopen "/home/niklas/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libcairo.so" error=/home/niklas/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libcairo.so: cannot open shared object file: No such file or directory
     failed to dlopen "libtensorflow.so" error=libtensorflow.so: cannot open shared object file: No such file or directory
    

    I have these in environment.systemPackages:

        (steam.override { extraProfile = ''unset VK_ICD_FILENAMES''; }) # TODO: Remove override when https://github.com/NixOS/nixpkgs/issues/108598#issuecomment-853489577 is fixed.
        steam-run-native
    
  21. p-h commented on Jun 24, 2021

    @p-h
    Contributor

    @nh2 Ok, the #108598 workaround fixed that for me. Ty

  22. D4ndellion commented on Jun 25, 2021

    @D4ndellion
    MemberAuthor

    running steam-run from steam-run-native on dota2.sh works for me with no changes 🎉

  23. YellowOnion commented on Jul 1, 2021

    @YellowOnion
    Contributor

    Proton version of Dota 2 also hangs.

    @dali99 this works to fix it!

  24. neirenoir commented on Jul 1, 2021

    @neirenoir
    Contributor

    I'm getting the same issue on ALL Proton games too. Final Fantasy XIV manages to launch up to the launcher, but after trying to log in and boot up the actual game, it crashes. Same happens with Risk of Rain 2 and others. This happened after upgrading my NixOS yesterday and the issue can be fixed by rolling back to the previous generation, so it is definitely something in our end.

  25. jansol commented on Jul 4, 2021

    @jansol
    Contributor

    Sounds like it might be the same problem as #127068 then? From what i've seen in the output from Cloudbuilt (uses OpenGL and runs in proton), it seems it can't find graphics drivers at all. DXVK-backed games fail too but with less useful errors. Native OpenGL-based games seem to work though (Everspace, Shadow of the Tomb Raider).

  26. TredwellGit commented on Jul 10, 2021

    @TredwellGit
    Member

    Please test #129805.

  27. nh2 commented on Jul 10, 2021

    @nh2
    Contributor

    Please test #129805.

    Doesn't help for me (see #129805 (comment)).

  28. TethysSvensson commented on Aug 3, 2021

    @TethysSvensson
    Contributor

    This issue has now been fixed for me, possibly by another update to Dota 2.

  29. jtrees commented on Aug 3, 2021

    @jtrees
    Contributor

    Confirmed. Works for me now too.

  30. legendofmiracles commented on Sep 15, 2021

    @legendofmiracles
    Contributor

    Can the issue be closed now?

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: bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions