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

Dota2 wont launch with vulkan #403

Closed alex-the-dev closed 2 years ago

alex-the-dev commented 2 years ago

Your system information

Please describe your issue in as much detail as possible:

When launching dota2 from steam (steam runtime) the game shows as running for around 2 - 4 seconds before it stops running. Nothing from the game is rendered on the screen , the game doesn't even seem to launch. There is a dota2 process running during the 2 - 4 seconds the game is running. I have tried using the -vulkan launch flag as well as no flags and the issue still occurs. The game ran fine until i ran an update on my system. While using the -gl flag the game runs fine.

Steps for reproducing this issue:

  1. launch steam (steam runtime)
  2. Open game library, select dota2 and press the "Play" button.
kisak-valve commented 2 years ago

Hello @alex-the-dev, it looks like your system has the AMD proprietary Vulkan driver installed. Are you able to tell if that driver or mesa/RADV is being used with Dota 2? If it's using AMDGPU-Pro, then please test how the game behaves with mesa/RADV.

alex-the-dev commented 2 years ago

Hi @kisak-valve, thank you for your reply. It looks like the proprietary drivers where the issue. I ran Dota2 with the launch option _VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.x8664.json %command% That fixed the issue.