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

DOTA 2 crashing when in game or choosing a hero with vulkan activated #167

Closed Sniper2008009 closed 7 years ago

Sniper2008009 commented 8 years ago

Whenever I choose a hero or play for a few minutes after one game in multiplayer, the game crashes. It's been this way since the AMD Crimson Driver 16.9.1 update. Specs are:

Computer Information: Manufacturer: MSI Model: MS-7640 Form Factor: Desktop No Touch Input Detected

Processor Information: CPU Vendor: AuthenticAMD CPU Brand: AMD FX(tm)-8350 Eight-Core Processor
CPU Family: 0x15 CPU Model: 0x2 CPU Stepping: 0x0 CPU Type: 0x0 Speed: 4400 Mhz 8 logical processors 4 physical processors HyperThreading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Supported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Supported

Network Information: Network Speed:

Operating System Version: Windows 7 (64 bit) NTFS: Supported Crypto Provider Codes: Supported 311 0x0 0x0 0x0

Video Card: Driver: AMD Radeon (TM) R9 380 Series

DirectX Driver Name:  aticfx32.dll
Driver Version:  21.19.137.1
DirectX Driver Version:  21.19.137.1
Driver Date: 16 Sept 2016
OpenGL Version: 4.5
Desktop Color Depth: 32 bits per pixel
Monitor Refresh Rate: 60 Hz
DirectX Card: AMD Radeon (TM) R9 380 Series
VendorID:  0x1002
DeviceID:  0x6939
Revision:  0xf1
Number of Monitors:  1
Number of Logical Video Cards:  1
No SLI or Crossfire Detected
Primary Display Resolution:  1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 26.65" x 15.00"  (30.55" diag)
                                        67.7cm x 38.1cm  (77.6cm diag)
Primary Bus Type Not Detected
Primary VRAM Not Detected
Supported MSAA Modes:  2x 4x 8x 

Sound card: Audio device: Speakers (Realtek High Definiti

Memory: RAM: 16333 Mb

Miscellaneous: UI Language: English Microphone: Not set Steam Controller Cable and Base: Not set Media Type: DVD Total Hard Disk Space Available: 953766 Mb Largest Free Hard Disk Block: 92520 Mb OS Install Date: Jan 01 1970 Game Controller: None detected VR Headset: None detected

KaLam1tyAC commented 8 years ago

I can confirm this. I don't know the exact cause of the crash, but it mainly happens during Hero select screen. Usually, the game will kill itself after highlighting and clicking on a Hero in select screen.

Side note, I've noticed some random crashes in the middle of load screen as well. Here is a dxdiag.txt for spec information: http://pastebin.com/uWVWXkxL

kastenhq2010 commented 8 years ago

I am experiencing these crashes too, mostly during the picking phase or right at the beginning of a game. Win7 x64, Radeon RX460 with 4GB and newest drivers. Here are my crash dumps: dumps.zip

dbuenor commented 8 years ago

I usually get the crash when switching from single hero view, to all hero map view.

KaLam1tyAC commented 8 years ago

Yes, I forgot to mention that it mainly happens on all-hero/grid-view, as mentioned by @dbuenor .

On another note, I'm wondering if this also has anything to do with the recent changes to hero loading optimizations from the 09/19/2016 Minor Patch release. Did this patch enable pre-loading of hero assets by default? It may explain why crashes sometimes happens for me during loading page as well and not just on hero selection.

kastenhq2010 commented 8 years ago

I have crashes during picking phase and while in game. Yesterday the game crashed when I hit Enter to chat with my mates and I am pretty sure it wasn't the first time.

dumps.zip

danginsburg commented 8 years ago

@kastenhq2010 Your crash seems to be related to scaleform IME (Input Method Editor). What language are you in? It's not clear this is the same crash as the others are reporting. I haven't been able to repro the crash in the hero pick grid view on AMD 16.9.2.

kastenhq2010 commented 8 years ago

OS, Steam and Dota are running in german.

Sniper2008009 commented 7 years ago

Mine is in English. To be clear, this happens on every second game after playing through the first one. I have no problems when playing the firat game. It crashes when selecting a hero in the hero select phase during the second game.

briegxal commented 7 years ago

Same here, random crashes in the middle of load screen im using gtx 1060 6g with latest driver on windows 10 enterprise 64

danginsburg commented 7 years ago

I have definitely seen plenty of minidumps with this crash. Unfortunately I am having a really difficult time repro'ing it. If anyone has very reliable repro steps or wants to record a video of the bug happening it might help me narrow it down. Also, I'm curious if the bug goes away if you add +r_overlap_scaleform 0 to your command-line?

kastenhq2010 commented 7 years ago

Are there any others way to provide you useful information then recording a video? Because the crashes appear very random and I am not sure whether a video will help, but I will try.

One hint: I can remember three crashes (out of 20?) when entering the chat ingame. One crash when I clicked during the picking phase into the chat box, two crashes when hitting ingame.

Do I have to add "+r_overlap_scaleform 0" or "-r_overlap_scaleform 0"?

kastenhq2010 commented 7 years ago

Unfortunately I am not able to record a video of dota (tried multiple tools/settings, always recording a black screen or only one screenshot of the game).

The overlap_scaleform parameter did not help, I got a crash (clicking into the chat window during the picking phase) in my second game. Is there any way to increase the log level?

kastenhq2010 commented 7 years ago

I am able to reproduce the crash now, I guess it is the same error as this one: https://github.com/ValveSoftware/Dota-2-Vulkan/issues/167#issuecomment-250547526 from Sniper2008009.

The crash seems to appear in the second game when using the chat. I told you that I am not able to make a video, so step by step my mouse clicks: Start dota, press play, create lobby, start lobby (solo all pick), choose hero, enter battle, click left upper corner for main menu, disconnect, leave game, yes, press play, create lobby, start lobby. The game will now crash when I either click into the chat window during the picking phase or when I choose a hero, enter the battle and press enter to open the chat. Crash dumps from Steam\dumps and Steam\SteamApps\common\dota 2 beta\game\bin\win64 are attached. Tell me if you need more information. dumps.zip

Edit:

KaLam1tyAC commented 7 years ago

It definitely seems to be related to chatbox. I made a quick video to show some various repros. Also, the game can crash once the match has started as well, if chatbox hasn't been made active yet. When bringing it up by pressing the Chat button (Default: ENTER), the game will crash, shown in the video. What's a little odd is that, locking in a hero on 2nd instance will only sometimes crash immediately. But the game will always crash when chatbox is selected.

Vulkan Chatbox Crash

Note, I recorded this in Windowed mode, but this also occurs in Exclusive Fullscreen, too. OBS doesn't seem to support hooking into Vulkan API yet, so it just shows a blackscreen, as mentioned by @kastenhq2010.

MoulQ commented 7 years ago

Same happens to me i have an HD7970 msi the first game doesnt crash at all but from the second game it keeps on crashing at the pick/ban screen

gta0gagan commented 7 years ago

Same bug happening here r9 280x + i7 3770k , windows 7 64bit running dota 2 in -vulkan parameter only.

Jaizu commented 7 years ago

Can confirm, using i5-3470 + geforce 960. Lastest drivers. Windows 7 updated.

danginsburg commented 7 years ago

Thanks @KaLam1tyAC for the video, that helped me repro the crash. I have fixed the crash that was occurring in chat after exiting a first match and starting a new one. The fix will be in a future Dota 2 Update.

Sniper2008009 commented 7 years ago

Has this problem been patched already? Tried Vulkan again and it still crashes.

danginsburg commented 7 years ago

The crash in the repro video provided by @KaLam1tyAC and the dump by @kastenhq2010 has been fixed. That specific crash could be repro'd by using the chatbox during hero selection of a botmatch, disconnecting, starting another botmatch, and typing in the chatbox. @Sniper2008009 that sounded like the same crash you had, but perhaps you have a different one. Can you post a minidump of your crash or a crash ID so I can look at it? I need a way to repro your issue if it is different.

Sniper2008009 commented 7 years ago

How do I view the minidumps of the crash? Sorry, I don't know how to do it. Can anyone in here teach me step by step? Thanks.

Tele42 commented 7 years ago

@Sniper2008009 you should be able to use any tool compatible with Breakpad to inflate a minidump. I use minidump_stackwalk to do symbol-less inflates.

kastenhq2010 commented 7 years ago

@Sniper2008009 Go to your steam install directory and upload the newest *.dmp file under steam/dumps/ after your next crash. You have to zip them, before you can upload in this forum. @danginsburg I had no more chatbox related crashes since a while, but unfortunately the game still crashes from time to time. I have no idea how to reproduce, but I will try to get more information. My latest crash dump is attached. crash_dota2.exe_20161031222554_1.dmp.zip

kastenhq2010 commented 7 years ago

crash_dota2.exe_20161106202411_1.dmp.zip Had a new crash a few minutes ago. I have no idea how to reproduce, but the crash happend right at the beginning of the second game during the picking phase.

Sniper2008009 commented 7 years ago

Yeah it's always the picking phase in the second game. No problem on the first game, it's when picking heroes at the second game that the game crashes, especially when you click on a hero to choose it.

danginsburg commented 7 years ago

This should be fixed by 7.00, if not please open a new issue.