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

Failed to initialize Vulkan on Nvidia 550.76 Linux #445

Closed nithieshM closed 2 months ago

nithieshM commented 2 months ago

Your system information

Please describe your issue in as much detail as possible:

I'm unable to launch Dota 2 with Vulkan on Arch Linux with Nvidia Proprietary drivers version: 550.76. The error I get is: image


My PC Specifications: Intel I7 - 6700 Nvidia GTX 1060 3GB 32GB DDR4 G.Skill Ripjaws 8X4 3200Mhz AsRock B150M Pro4/Hyper Motherboard

Software: Arch Linux : 6.8.7 KDE Plasma : 6 Nvidia Proprietary Driver: 550.76

The game worked fine when I was on Nvidia Proprietary Driver: 550.67, after upgrading I'm unable to launch the game.

Steps for reproducing this issue:

  1. Upgrade to the latest Nvidia Proprietary Driver: 550.76
  2. Run Dota 2

Temporary fix:

The temporary fix for this issue is to rollback to Nvidia Proprietary Driver: 550.67. Using this version of graphics card drivers fixes the issue.

Command for downgrading (in case someone is new to Arch): pacman -U file:///var/cache/pacman/pkg/nvidia-utils-550.67-1-x86_64.pkg.tar.zst file:///var/cache/pacman/pkg/nvidia-dkms-550.67-1-x86_64.pkg.tar.zst file:///var/cache/pacman/pkg/nvidia-settings-550.67-1-x86_64.pkg.tar.zst file:///var/cache/pacman/pkg/lib32-nvidia-utils-550.67-1-x86_64.pkg.tar.zst This works only if your pacman cache is not cleaned.

I kindly ask Dota 2 team to fix this issue on Nvidia Proprietary Driver: 550.76.

kisak-valve commented 2 months ago

Hello @nithieshM, https://gist.github.com/nithieshM/3da4df29c564cd6e1bc0a20694148bea#file-gistfile1-txt-L230-L244 is the section of your extended diagnostics info to focus on. The game is accurately telling you that the Vulkan render path is broken on your system.

The NVIDIA proprietary driver requires that the video driver's kernel module loaded in memory, 32 bit userspace libraries, and 64 bit userspace libraries are all exactly the same version to work properly. If you just swapped out the driver's packages, then it's likely the NVIDIA kernel module in memory is still the previous version and restarting the system is the easiest way to resolve that scenario.

nithieshM commented 2 months ago

@kisak-valve Hello, That actually fixed the issue for me, thank you. I apologize if I've wasted your time. Also huge thanks to Valve and the team behind supporting Linux.