ValveSoftware / Dota-2-Vulkan

Tracker for issues specific to the Vulkan version of Dota 2 on Windows, Linux, and macOS
98 stars 17 forks source link

Dota 2 won't launch with -vulkan on a linux laptop #408

Closed maulaniad closed 2 years ago

maulaniad commented 2 years ago

Your system information

Please describe your issue in as much detail as possible:

Dota 2 when running with -vulkan only the cursor that changes but the game won't launch. -gl works, but -gl is not an option as it decreases fps, i gain a much more stable gameplay with vulkan. Already tried with Steam runtime container with no luck, cleaning the shader cache, disabling and enabling it still nothing. participating in the beta and upgrading my video driver also didn't help at all.

other side notes : csgo, left 4 dead works, only happens to Dota. `` here's a log when i run dota.sh through terminal :

Using breakpad crash handler
[S_API] SteamAPI_Init(): Loaded '/home/mameng/.steam/debian-installation/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:  76561198413769807 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561198413769807
Setting breakpad minidump AppID = 373300
 failed to dlopen "/media/mameng/AD/Program Files/Steam Library/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemgl.so" error=libudev.so.0: cannot open shared object file: No such file or directory
 failed to dlopen "librendersystemgl.so" error=libudev.so.0: cannot open shared object file: No such file or directory
Fossilize INFO: Overriding serialization path: "/home/mameng/.steam/debian-installation/shadercache/570/fozpipelinesv6/steamapprun_pipeline_cache".
 failed to dlopen "libpangoft2-1.0.so" error=libpng12.so.0: cannot open shared object file: No such file or directory
 failed to dlopen "libpangoft2-1.0.so" error=libpng12.so.0: cannot open shared object file: No such file or directory
crash_20220607112815_2.dmp[82710]: Uploading dump (out-of-process)
/tmp/dumps/crash_20220607112815_2.dmp
./dota.sh: line 109: 82670 Segmentation fault      ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"

Steps for reproducing this issue:

  1. Launch Steam, Steam.sh or anything
  2. Launch Dota 2 with -vulkan, also with Nvidia driver
  3. Game won't launch, only showing cursor
kisak-valve commented 2 years ago

Hello @Mameng57, Dota 2 is intended to be run in the scout-on-soldier container environment, and running dota.sh directly has given you a false lead. If you completely close Steam, then run steam from a terminal, is there a better hint in the terminal spew? It looks like you're using a distro-modified Steam package, and some of that terminal spew might get redirected to ~/.steam/error.log.

Looking at your system information, it looks like your NVIDIA driver install is incomplete, missing the driver's 32 userspace libraries. This shouldn't directly affect Dota 2 since the game is 64 bit.

maulaniad commented 2 years ago

Hello @Mameng57, Dota 2 is intended to be run in the scout-on-soldier container environment, and running dota.sh directly has given you a false lead. If you completely close Steam, then run steam from a terminal, is there a better hint in the terminal spew? It looks like you're using a distro-modified Steam package, and some of that terminal spew might get redirected to ~/.steam/error.log.

Looking at your system information, it looks like your NVIDIA driver install is incomplete, missing the driver's 32 userspace libraries. This shouldn't directly affect Dota 2 since the game is 64 bit.

hey, thanks for the heads up. about the nvidia driver you're right, reinstalled it and is now properly detected by steam. also i forgot to mention that my steam library are stored on an NTFS drive, so there was also an issue with that as well, but i got it fixed by following this instruction Linux games on NTFS .

So after the video card update, shader cache were redownloaded and somehow it's working now