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

dota2 always crash when using -vulkan #227

Closed BlackH0l3 closed 6 years ago

BlackH0l3 commented 6 years ago

Heard that vulkan is being better than dx/gl and would like to try. but no luck. I checked compatibility and matched my laptop nvidea geforce 640 LE. however, dota2 always crashes when starting the game play. I can start up only until hero selection! please help me to taste the vulkan plz.

================================= Microsoft (R) Windows Debugger Version 10.0.15063.468 AMD64 Copyright (c) Microsoft Corporation. All rights reserved.

Loading Dump File [C:\Program Files (x86)\Steam\dumps\crash_dota2.exe_20171111224753_1.dmp] Comment: 'Crash Uptime( 23.652959 ) Total frames( 419 ) Curtime( 10.512257 ) Realtime( 11.063159 ) Current Map: 'start' Addons: VPK overrides: SpawnCount: 2 Command Line: "dota2.exe" -steam +engine_experimental_drop_frame_ticks 1 -console -vulkan Build: 7678 (revision 4236025) OS: Windows 10 (Build 15063) version 10.0 (LimitedUser: yes) Windows Game DVR: not enabled App UI Language: english, convar english Misc: rate 40000 update 15 cmd 30 latency 0 msec Net: loopback Time: Sat Nov 11 10:47:53 2017

Render system: Vulkan Driver Name: GeForce GT 640M LE Driver Version: 0.0.24835.16384 VendorId / DeviceId: 0x10de / 0xfd3 SubSystem / Rev: 0x0 / 0x0 DXLevel: 110 Texture memory: 1,044,185,088 Vid: Borderless Window, render at 1920 x 1080, display at 1920 x 1080, refresh rate 0.00Hz (59Hz desktop)

cpu_level:0, mem_level:2, gpu_mem_level:1, defaultres:1920, defaultresheight:1080, gpu_level:3, version:1, knowndevice:1, refreshrate_numerator:0, refreshrate_denominator:0, fullscreen:0, coop_fullscreen:0, nowindowborder:1, mat_vsync:0, fullscreen_min_on_focus_loss:1, cl_particle_fallback_base:0, cl_particle_fallback_multiplier:0, dota_cheap_water:1, r_deferred_height_fog:0, r_deferred_simple_light:1, r_ssao:0, cl_globallight_shadow_mode:2, r_dota_fxaa:1, r_deferred_additive_pass:1, dota_portrait_animate:0, r_deferred_specular_bloom:1, r_deferred_specular:1, dota_ambient_creatures:0, dota_ambient_cloth:0, r_texture_stream_mip_bias:0, r_dota_normal_maps:0, r_dashboard_render_quality:1, shaderquality:1, recommendedheight:600, r_grass_quality:2, r_dota_allow_wind_on_trees:0, r_dota_allow_parallax_mapping:0, mat_viewportscale:0.979825, r_fullscreen_gamma:2.200000, useadvanced:1, aspectratiomode:1,

System Memory: memusage( 55 % ) totalPhysical MiB(12187.27) freePhysical MiB(5398.57) totalPaging MiB(17019.27) freePaging MiB(8781.57) totalVirtualMem MiB(134217727.88) freeVirtualMem MiB(134212104.95) extendedVirtualFree MiB(0.00)

Registered comments: [1c81]HostStateRequest::Start(HSR_IDLE): loop(levelload) id(1) addons() desc(Idle (levelload)) [1c81]CEngineServiceMgr::SwitchToLoop levelload requested: id [1] addons [] [1c90]CEngineServiceMgr::Activating loop ( levelload, 1 ) [1f4a]CHostStateMgr::Activate(Idle (levelload)) [1fef]CEngineServiceMgr::SwitchToLoop game requested: id [1] addons [] [252b]m_nServerCount:1 ishltv:no m_nRetryNum:1 szRetryAddress:loopback [2535]CEngineServiceMgr::Activating loop ( game, 1 ) [2cfc]HostStateRequest::Start(HSR_GAME): loop(levelload) id(2) addons() desc(Loading (start)) [2cfc]CEngineServiceMgr::SwitchToLoop levelload requested: id [2] addons [] [2d7c]CEngineServiceMgr::Activating loop ( levelload, 2 ) [2da8]CEngineServiceMgr::SwitchToLoop game requested: id [2] addons [] [2eb8]CDOTAGamerules::State_Enter DOTA_GAMERULES_STATE_INIT curtime:1.000000 realtime:11.960212 [3084]m_nServerCount:2 ishltv:no m_nRetryNum:1 szRetryAddress:loopback [30ef]CEngineServiceMgr::Activating loop ( game, 2 ) [30ff]CHostStateMgr::Activate(Loading (start)) [3123]CDOTAGamerules::State_Enter DOTA_GAMERULES_STATE_WAIT_FOR_PLAYERS_TO_LOAD curtime:1.033333 realtime:12.579494 [361a]CDOTAGamerules::State_Enter DOTA_GAMERULES_STATE_HERO_SELECTION curtime:2.099999 realtime:13.850733 [361a]CDOTAGamerules::State_Enter DOTA_GAMERULES_STATE_HERO_SELECTION curtime:2.099999 realtime:13.850767 [4f0f]CDOTAGamerules::State_Enter DOTA_GAMERULES_STATE_STRATEGY_TIME curtime:6.999994 realtime:20.239500

ConVars (non-default):

                                           var                            value                          default
          engine_experimental_drop_frame_ticks                                1                                0
                         r_deferred_height_fog                                0                                1
                     dota_bot_match_difficulty                                3                                1
                             mat_viewportscale                         0.979825                                1
   dota_profile_teammate_stats_sort_priorities                    5 -1 -4 -2 -3                                 
                   dota_fantasy_popup_help_ti7                                0                                1
      cl_dota_recent_games_include_event_games                                0                                1
          dota_lobby_settings_advanced_visible                                1                                0
                      engine_rendersystem_init                          -vulkan                                 
                      dota_bot_practice_script                                0                                 
                       dota_fantasy_popup_help                                0                                1
                            dota_ambient_cloth                                0                                1
                         dota_portrait_animate                                0                                1
     cl_dota_recent_games_include_custom_games                                0                                1
                   steamworks_sessionid_client                    1620196994390                                0
               dota_winter2017_hide_intro_page                                1                                0
                              snd_ducktovolume                                1                             0.55
                           cl_network_quality2                                1                               -1
                      dota_matchgroups_version                              107                                0
             dota_camera_hold_select_to_follow                                1                                0
                                 dota_bot_mode                                1                                 
                      dota_render_bottom_inset                                0                              117
       dota_profile_hero_stats_sort_priorities -10 -3 -12 -2 4 -7 -8 -17 -16 -1                                 
                                     cl_interp                            0.033                            0.016
                        snd_autodetect_latency                                0                                1
                    dota_matchgroups_automatic                                8                                0
                   dota_competitive_game_modes                          4194304                                0
 cl_dota_recent_games_include_practice_matches                                0                                1
                                   default_fov                               70                               90
                     dota_hide_frontpage_video                                1                                0
                        dota_ambient_creatures                                0                                1
                                        r_ssao                                0                                1
                      dota_settings_quick_move                                1                                0
                     r_texturefilteringquality                                3                                1
                      dota_active_play_section                                3                                0
                           r_texture_pool_size                              796                             1600
                 dota_fall2016_hide_intro_page                                1                                0
                            r_dota_normal_maps                                0                                1
                      test_arcana_initial_info                                0                                1
                                          rate                            40000                            80000
                               cl_interp_ratio                                1                                2
        dota_international2017_hide_intro_page                                1                                0
                   steamworks_sessionid_server                    1620197012893                                0
                              dota_cheap_water                                1                                0
                                 cl_updaterate                               15                               20
                      engine_rendersystem_used                          -vulkan                                 
                           dota_bot_match_solo                                1                                0
                                       fps_max                        99.999985                              120
                          dota_match_languages                                2                                0
                                      hostname                            xxXxx                                 
                    r_dota_allow_wind_on_trees                                0                                1
                   dota_sf_hero_selection_seen                                1                                0
                             dota_hud_netgraph                                1                                0
                         dota_render_top_inset                                0                               31
                                        hostip                      -1062731671                                 
                         dota_match_game_modes                          8388608                                0
                              dota_bot_disable                                0                                1
                                  snd_mixahead                              0.1                            0.001
             dota_settings_quick_target_attack                                1                                0
                   dota_wm2016_hide_intro_page                                1                                0
              dota_fantasy_popup_help_kiev2017                                0                                1
                                   think_limit                                0                               10
                 r_dota_allow_parallax_mapping                                0                                1
                                    con_enable                             true                            false
            dota_force_default_respawn_stinger                             true                            false
                    dota_reset_camera_on_spawn                            false                             true
          treasure_escalating_rares_popup_seen                             true                            false
                           chat_wheel_phrase_0                               44                                8
                      dota_enable_range_finder                             true                            false
                    hud_river_vial_ui_expanded                            false                             true
                           dota_quest_selected                             1016                                0
                        dota_minimap_hero_size                       748.965393                       600.000000
                           chat_wheel_phrase_6                               12                                6
        dota_weekend_tourney_selected_division                                3                                0
                           chat_wheel_phrase_2                               45                                2
                     dota_highest_seen_item_id                      12639642381                                0
                                speaker_config                                0                               -1
                dota_splash_ad_acknowledged_id                               54                                0
                                          name                            xxXxx                          unnamed
                          cl_auto_cursor_scale                            false                             true
                           chat_wheel_phrase_7                               55                                7
                 dota_quest_challenge_selected                                7                                0
                      dota_hero_overhead_names                                1                                0
                      dota_minimap_hero_scalar                             true                            false
                               cl_cursor_scale                         0.995595                         1.000000
    dota_conduct_scorecard_latest_acknowledged                             1953                                0
                 dota_force_right_click_attack                             true                            false
            dota_settings_targeted_attack_move                             true                            false

Console History (reversed)

392(23.644502): Failed to allocate GPU memory for object. 391(23.644204): Failed to allocate GPU memory for object. 390(23.644106): Failed to allocate GPU memory for object. 389(23.643782): Failed to allocate GPU memory for object. 388(23.643633): Failed to allocate GPU memory for object. 387(23.604575): Failed to allocate GPU memory for object. 386(21.935440): Previous allocation with memoryRequirements.memoryTypeBits=0x102 was from heap 8 (propertyFlags: 0x1) with requested propertyFlags 0x1, trying in heap 1 (propertyFlags: 0x0) with requested propertyFlags 0x0. 385(21.935416): vkAllocateMemory failed for DEVICE_LOCAL memory indicating video memory is full, trying again in system memory as a fallback. 384(21.927810): Previous allocation with memoryRequirements.memoryTypeBits=0x108 was from heap 8 (propertyFlags: 0x1) with requested propertyFlags 0x1, trying in heap 3 (propertyFlags: 0x0) with requested propertyFlags 0x0. 383(21.927789): vkAllocateMemory failed for DEVICE_LOCAL memory indicating video memory is full, trying again in system memory as a fallback. 382(21.921940): Previous allocation with memoryRequirements.memoryTypeBits=0x102 was from heap 8 (propertyFlags: 0x1) with requested propertyFlags 0x1, trying in heap 1 (propertyFlags: 0x0) with requested propertyFlags 0x0. 381(21.921914): vkAllocateMemory failed for DEVICE_LOCAL memory indicating video memory is full, trying again in system memory as a fallback. 380(21.920248): Previous allocation with memoryRequirements.memoryTypeBits=0x102 was from heap 8 (propertyFlags: 0x1) with requested propertyFlags 0x1, trying in heap 1 (propertyFlags: 0x0) with requested propertyFlags 0x0. 379(21.920219): vkAllocateMemory failed for DEVICE_LOCAL memory indicating video memory is full, trying again in system memory as a fallback. 378(20.679766): DispatchAsyncEvent backlog, failed to dispatch all this frame. Remaining queue depth: 1368 (was 1370) 377(20.614929): DispatchAsyncEvent backlog, failed to dispatch all this frame. Remaining queue depth: 1242 (was 1244) 376(20.343171): DispatchAsyncEvent backlog, failed to dispatch all this frame. Remaining queue depth: 1006 (was 1022) 375(20.240690): CDOTA_Hud_Main::EventGameRulesStateChanged DOTA_GAMERULES_STATE_STRATEGY_TIME 374(20.240652): C:Gamerules: entering state 'DOTA_GAMERULES_STATE_STRATEGY_TIME' 373(20.239469): S:Gamerules: entering state 'DOTA_GAMERULES_STATE_STRATEGY_TIME' 372(19.76User Mini Dump File: Only registers, stack and portions of memory are available

Symbol search path is: srv* Executable search path is: Windows 10 Version 15063 MP (4 procs) Free x64 Product: WinNt, suite: SingleUserTS Personal 15063.0.amd64fre.rs2_release.170317-1834 Machine Name: Debug session time: Sat Nov 11 22:47:54.000 2017 (UTC + 7:00) System Uptime: not available Process Uptime: 0 days 0:00:24.000 ................................................................ ................................................................ ..................................................... Loading unloaded module list ....... This dump file has an exception of interest stored in it. The stored exception information can be accessed via .ecxr. (31ac.2ce8): Access violation - code c0000005 (first/second chance not available) ntdll!NtWaitForMultipleObjects+0x14: 00007ff9`160b5ef4 c3 ret

=================================================================== Computer Information: Manufacturer: Sony Corporation Model: SVS151190S Form Factor: Laptop No Touch Input Detected

Processor Information: CPU Vendor: GenuineIntel CPU Brand: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz CPU Family: 0x6 CPU Model: 0x3a CPU Stepping: 0x9 CPU Type: 0x0 Speed: 2494 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: Supported

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

Video Card: Driver: NVIDIA GeForce GT 640M LE DirectX Driver Name: nvldumd.dll Driver Version: 23.21.13.8813 DirectX Driver Version: 23.21.13.8813 Driver Date: 10 27 2017 OpenGL Version: 4.6 Desktop Color Depth: 32 bits per pixel Monitor Refresh Rate: 59 Hz DirectX Card: NVIDIA GeForce GT 640M LE VendorID: 0x10de DeviceID: 0xfd3 Revision: 0xa1 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: 13.78" x 7.64" (15.75" diag) 35.0cm x 19.4cm (40.0cm diag) Primary Bus: PCI Express 8x Primary VRAM: 1024 MB Supported MSAA Modes: 2x 4x 8x

Sound card: Audio device: Speaker/HP (Realtek High Defini

Memory: RAM: 12187 Mb

Miscellaneous: UI Language: English Media Type: DVD Total Hard Disk Space Available: 714342 Mb Largest Free Hard Disk Block: 39217 Mb OS Install Date: Jan 01 1970 Game Controller: None detected VR Headset: None detected

danginsburg commented 6 years ago

Your GT 640M has only 1GB of GPU memory which is currently below the minspec for Dota 2 on Vulkan (see note here: https://github.com/ValveSoftware/Dota-2-Vulkan):

The things you could try if you want to play with only 1GB of memory would be:

Unfortunately though right now 1GB is below the minspec.

BlackH0l3 commented 6 years ago

thank you very much @danginsburg. Back to -gl.