ValveSoftware / Dota-2-Vulkan

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

Failed to initialize vulkan #197

Closed yat-L closed 7 years ago

yat-L commented 7 years ago

This pop up when I try to run dota2 on with vulkan "Failed to initialize vulkan. Please make sure your driver and GPU support vulkan" I set the launch option to -vulkan, installed the latest nvidia driver. The system setting didn't mention, but I have a geforce 840m nvidia card.

`Computer Information: Manufacturer: Unknown Model: Unknown Form Factor: Laptop No Touch Input Detected

Processor Information: CPU Vendor: GenuineIntel CPU Brand: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz CPU Family: 0x6 CPU Model: 0x45 CPU Stepping: 0x1 CPU Type: 0x0 Speed: 2700 Mhz 4 logical processors 2 physical processors HyperThreading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported

Network Information: Network Speed:

Operating System Version: Linux (64 bit) Kernel Name: Linux Kernel Version: 4.9.8-1-ARCH X Server Vendor: The X.Org Foundation X Server Release: 11901000 X Window Manager: KWin Steam Runtime Version:

Video Card: Driver: Intel Open Source Technology Center Mesa DRI Intel(R) Haswell Mobile x86/MMX/SSE2

Driver Version:  3.0 Mesa 13.0.4
OpenGL Version: 3.0
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 59 Hz
VendorID:  0x8086
DeviceID:  0xa16
Revision Not Detected
Number of Monitors:  1
Number of Logical Video Cards:  1
Primary Display Resolution:  1366 x 768
Desktop Resolution: 1366 x 768
Primary Display Size: 13.39" x 7.48"  (15.31" diag)
                                        34.0cm x 19.0cm  (38.9cm diag)
Primary VRAM Not Detected

Sound card: Audio device: Intel Haswell HDMI

Memory: RAM: 7871 Mb

Miscellaneous: UI Language: English LANG: en_CA.US-ASCII Microphone: Not set Steam Controller Cable and Base: Not set Total Hard Disk Space Available: 900996 Mb Largest Free Hard Disk Block: 696143 Mb VR Headset: None detected

Recent Failure Reports:

`

kisak-valve commented 7 years ago

Hello @AinsworthK, Have you read through https://wiki.archlinux.org/index.php/Vulkan and confirmed vulkan works outside of steam? Are you using any other launch options?

yat-L commented 7 years ago

yes, I have read through the wiki page and tried remove vulkan-intel, I am only using -vulkan. What can I do to check if vulkan work outside of steam?

kisak-valve commented 7 years ago

There's a bunch of tests at https://github.com/SaschaWillems/Vulkan, but it may be easier to try vkquake from the AUR.

Also, you should be able to use vulkan-caps-viewer as a basic test.

yat-L commented 7 years ago

I guess it is not a dota2 issue, I can't run vkquake, return "Couldn't find any Vulkan device". Geforce 840m is maxwell. according to wiki, my card is not supported, but according to nvidia , it is . https://developer.nvidia.com/vulkan-driver

kisak-valve commented 7 years ago

Thanks for testing, I agree that this is a driver or system issue and is out of scope for this issue tracker.

If you happen to figure this out, it would be nice to know, but I will be closing this for now as it is not actionable by a Valve dev.