ValveSoftware / Dota-2

Tracker for issues specific to Linux and Mac in the Reborn client. If you have a general issue or non-system-specific feature request please go to dev.dota2.com
472 stars 38 forks source link

Immediate crash when starting Dota #2388

Open TaylorP opened 1 year ago

TaylorP commented 1 year ago

Your system information

Please describe your issue in as much detail as possible:

After the update this evening, the game crashes immediately after hitting Play in Steam. I believe it was this update: https://steamdb.info/depot/373306/history/?changeid=M:6584427226703182516

Dota was working fine earlier in the day. I restarted the game to download the update, and it began crashing on startup after relaunching. I tried verifying the game files, a reboot, and doing a full reinstall of Dota without any luck.

The crash dump indicates that it's a Vulkan memory allocation issue, but other games/GPU intensive software start and run normally: 39(1.597927): ERROR! VK call failed! result = VK_ERROR_OUT_OF_HOST_MEMORY ( vkCreateDescriptorSetLayout( m_pDeviceVulkan, &descriptorSetLayoutCreateInfo, NULL, &pipelineLayout.m_ppDescriptorSetLayouts[ nDescriptorSet ] ) )

Steps for reproducing this issue:

  1. Hit Play on Dota in Steam
  2. Dota crashes without even reaching the splash screen

Drivers and Vulkan

dpkg -l | grep nvidia-driver
ii  nvidia-driver-515                             525.125.06-0ubuntu0.20.04.3                               amd64        Transitional package for nvidia-driver-525
ii  nvidia-driver-525                             525.125.06-0ubuntu0.20.04.3                               amd64        NVIDIA driver metapackage
dpkg -l | grep vulkan
ii  libvulkan-dev:amd64                           1.2.131.2-1                                               amd64        Vulkan loader library -- development files
ii  libvulkan1:amd64                              1.2.131.2-1                                               amd64        Vulkan loader library
ii  libvulkan1:i386                               1.2.131.2-1                                               i386         Vulkan loader library
ii  mesa-vulkan-drivers:amd64                     21.2.6-0ubuntu0.1~20.04.2                                 amd64        Mesa Vulkan graphics drivers
ii  mesa-vulkan-drivers:i386                      21.2.6-0ubuntu0.1~20.04.2                                 i386         Mesa Vulkan graphics drivers
ii  vulkan-tools                                  1.2.131.1+dfsg1-1                                         amd64        Miscellaneous Vulkan utilities
ii  vulkan-utils                                  1.2.131.1+dfsg1-1                                         all          transitional package

Crash Dump file

crash_20230705204112_2.dmp.txt

TaylorP commented 1 year ago

Did a bit more digging on this during the evening. It appears that adding the -vulkan_disable_graphics_pipeline_library launch option works around this issue for now. I tried a number of launch options suggested on Reddit and other GitHub issues, including -novid and -vulkan_disable_steam_shader_cache, however none of them had any affect on the startup crash.

With -vulkan_disable_graphics_pipeline_library Dota starts up again normally and performance seems fine overall.