Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on startup #159

Open
mjc354 opened this issue Aug 23, 2016 · 17 comments
Open

Crash on startup #159

mjc354 opened this issue Aug 23, 2016 · 17 comments
Assignees
Labels

Comments

@mjc354
Copy link

mjc354 commented Aug 23, 2016

OS: Windows 8.1 64-bit
Graphics card: nVidia GeForce GTX 860M
Driver version: 372.54

In previous versions of the GeForce drivers, I suffered from the usual stuttering UI that seemed to affect a lot of the mobile GeForce cards, especially in the 800 series.

After upgrading to 372.54 however, I receive the following error on startup:

CSwapChainVulkan::CreateSwapChain():Call to vkCreateSwapchainWSI returned an error.

dotavulk

@danginsburg danginsburg self-assigned this Sep 8, 2016
@danginsburg
Copy link
Contributor

What happens if you run vulkaninfo.exe? Most likely for some reason Vulkan installation has failed. Can you try reinstalling drivers?

@mjc354
Copy link
Author

mjc354 commented Sep 9, 2016

vulkaninfo.exe outputs the following (see attachment)

There was an update to the Geforce drivers since I originally posted this. I tried upgrading to those and have the same problem.

I would like to avoid doing a clean install of the drivers if I can help it, since I have a lot of configurations for my various games. Is it necessary to do the clean reinstall?
vulkaninfo.txt

@danginsburg
Copy link
Contributor

danginsburg commented Sep 9, 2016

Can you try adding -forcenovsync -sw -w 800 -h 600 to your Launch Options and see if it gives you the same error? I'm guessing here, but thinking maybe an invalid exclusive fullscreen resolution was stored in your config? I think Vulkan is functioning properly based on how far it's getting and the output of vulkaninfo. It is likely something with invalid VkSwapchainCreateInfoKHR parameters.

@mjc354
Copy link
Author

mjc354 commented Sep 11, 2016

Adding those flags to the launch options to the game allows it to start. Still has the stuttering UI issue the 800 series seem to have.

What does -sw do by the way?

@danginsburg
Copy link
Contributor

-sw starts in windowed mode. You can probably remove the options now. Somehow it must have stored an invalid resolution or setting for your monitor.

@mjc354
Copy link
Author

mjc354 commented Sep 12, 2016

dotavulk2

After loading the game with just "-vulkan" I go to the video settings and attempt to have the game "Use my monitor's current resolution" and the game seems to try to set the resolution to borderless windowed mode but it glitches out (see attachment) It sounds like the game is still running, the music still plays and it sounds like I'm clicking on UI elements but I can't be sure. Eventually the game hangs and I have to force it to exit but I'm not sure if that's because of the bug or me clicking on things frantically.

After trying a few more things, here is a summary of what seems to happen:

  • Set to use monitor's resolution or set to use any fullscreen mode (i.e. Exclusive Fullscreen or Borderless Window @ max resolution) causes the glitch to occur and starting Dota 2 again afterwards gives the original Vulkan error.
  • Setting the game to Windowed mode resolutions below my maximum resolution (1920x1080) seems to work fine

@danginsburg
Copy link
Contributor

I have not been able to repro this locally. Can you post Steam -> Help -> System Information? I'm wondering if you have multiple monitors, what the resolution is of your desktop, perhaps if you have DSR (dynamic super resolution) enabled. I'm not sure what is unique about your setup that is triggering this issue. Also, when you experience the problem, could you post game/dota/cfg/video.txt. That might help narrow down what setting is triggering the issue.

@mjc354
Copy link
Author

mjc354 commented Sep 22, 2016

steaminfo.txt
Sorry, I forgot about this. Haven't played in a bit. I am playing a laptop with an HDMI monitor plugged in as a secondary display. Both screens are set to 1920x1080. Not sure where to check for DSR, is it in the GeForce driver settings?

I will get the video.txt file soon, in the meantime I attached the System Information text from Steam -> Help -> System Information
video.txt
And here is the video.txt

@kisak-valve
Copy link
Member

Hello @mjc354, do you encounter this issue after updating to a new nvidia video driver?

@Cabanur
Copy link

Cabanur commented Dec 17, 2016

Not entirely sure this is the same issue. I can't start the client with -vulkan. For a sec the desktop will freeze as trying to start the client full-screen, but within a second I'll be back at my desktop without error messages or even seing the Dota logo.

Running Debian Testing with KDE.
GPU: nVidia GTX 750Ti.
Driver version: 375.20
Kernel version: 4.8.7-1 (2016-11-13) AMD64
Full system information
crash dump file

I have been told this might be related to #1107, but I did not hear any noise, and it seems like that bug occurs with the client running.

@kisak-valve
Copy link
Member

Hello @Cabanur, the minidump you attached is a crash in libnvidia-glcore.so.375.20.

@Cabanur
Copy link

Cabanur commented Dec 17, 2016 via email

@mjc354
Copy link
Author

mjc354 commented Dec 17, 2016

Hi,

I get the exact same error message as before (the one that starts with CSwapChainVulkan et. al.) and I have made sure I've used the most recent GeForce drivers.

@MJavad
Copy link

MJavad commented May 16, 2017

Hi, I have the same exact issue as the one in the first post:
CSwapChainVulkan::CreateSwapChain():Call to vkCreateSwapchainWSI returned an error.

Also I can start the game in lower resolutions but changing to 1920x1080 (monitor resolution) it fails.
I tried some vulkan demos and managed to reproduce the issue:

I used Windowed Borderless Gaming to make examples at https://github.com/SaschaWillems/Vulkan borderless fullscreen.

File: base/VulkanSwapChain.hpp
In line 422 assertion fails.

vulkaninfo.txt
sysinfo.txt
Windows 8.1 64-bit
NVIDIA GeForce GTX 850M
Driver: 382.05

@MJavad
Copy link

MJavad commented May 23, 2017

Any news on this?

@daftcoder
Copy link

Experiencing same problem, with ratio 16:10 and resolution 1440:900.
With windowed 16:9 and 4:3 all's fine.
GeeForce GTX 950M, latest drivers (385.41, 24/08/2017), Win 8.1 x64.

@weirddan455
Copy link

weirddan455 commented Nov 17, 2017

I have the same bug but I run Linux. Only difference is that I do not get the error message in the OP. When I start Dota using my 1920X1080 full screen resolution, it hangs at the Dota logo using 50% CPU (maxing out 2 cores.) From there, I can alt+tab and kill the process.

I can start the game using -sw -w 800 -h 600. From there, if I go into the video options and try to change my resolution back to full screen, the game window maximizes to full screen and then everything freezes. I continue to hear the game music but an unable to alt+tab and had to hit the power button.

Arch Linux
XFCE
kernel 4.13.12
Nvidia Driver 387.22
Geforce GTX 770

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants