Installing nvidia vulkan drivers for 16.04
I had the same issue, until I uninstalled mesa-vulkan-drivers
. DOTA2 then immediately started with the -vulkan
option. Also vulkaninfo
gives me a lot more output now, without the error.
sudo apt-add-repository ppa:canonical-x/vulkan
sudo apt update
sudo apt install nvidia-364
Downlad the sdk https://lunarg.com/vulkan-sdk/
Run the sdk, copy the extracted folder to some location and add the following path variables
export LD_LIBRARY_PATH=$HOME/VulkanSDK/1.0.21.1/x86_64/lib
export VK_LAYER_PATH=$HOME/VulkanSDK/1.0.21.1/x86_64/etc/explicit_layer.d
You may need to adjust the path.
That is all you need to do.
The sdk is completely optional, but this should get you get started.
Update:
Actually 355 and 364 don't work with hibernation for me, installing the latest 367
driver from https://developer.nvidia.com/vulkan-driver works so far without any hiccups.
I used this guide https://linuxgamecast.com/2016/02/installing-and-testing-vulkan-on-ubuntu/ and it worked. Steps I did:
- Get driver from https://developer.nvidia.com/vulkan-driver
chmod +x
driversudo apt-get remove nvidia-*
- restarted machine
- Booted to recovery mode with superuser terminal
- Installed drivers
sudo reboot
and booted normally
I checked Vulkan support on DOTA2 and it didn't complained about no Vulkan support (like it did on previous drivers) but game was crashing on startup. Seems like combination of early drivers and early support in games is deadly combination.