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

materials not released on shutdown #375

Open Turmfalke2 opened 3 years ago

Turmfalke2 commented 3 years ago

hi, After playing a game of warlock and then closing the client. It doesn't appear to be a huge issue, but might be something you want to have a look at.


   Ref File
------ --------------------------------
     7 <anon>\procedural_spritecard.vmat
     2 <anon>\procedural_spritecard.vmat
     2 <anon>\procedural_spritecard.vmat
     2 <anon>\procedural_spritecard.vmat
     2 <anon>\procedural_spritecard.vmat
     3 <anon>\procedural_spritecard.vmat
     2 <anon>\procedural_spritecard.vmat
     3 <anon>\procedural_spritecard.vmat
     4 <<unknown_mod>>\materials\models\heroes\warlock\warlock_staff_color.vmat
     3 <<unknown_mod>>\materials\models\heroes\warlock_demon\warlock_demon_color.vmat
   Found 10 materials ( 30 references )

materialsystem2.cpp(365): ERROR!!! Materials not released by other systems on shutdown! (See spew above)

   Ref File                                                  VS    PS    GS    HS    DS    CS PS_RS         SM
   --- -------------------------------------------------- ----- ----- ----- ----- ----- ----- ----- ----------
     9 vpk:/home/turmfalke/.local/share/Steam/steamapps/common/dota 2 beta/game/dota/shaders_vulkan.vpk/hero.vfx   240   148     -     -     -     -     -     - PC_SM_4_0_VULKAN
     8 vpk:/home/turmfalke/.local/share/Steam/steamapps/common/dota 2 beta/game/dota/shaders_vulkan.vpk/spritecard.vfx     7    32     -     -     -     -     -     - PC_SM_4_0_VULKAN
   --- -------------------------------------------------- ----- ----- ----- ----- ----- ----- ----- ----------
    17                                                      247   180     0     0     0     0     0     0
   Found 2 unique vfx files, 427 unique shader handles

materialsystem2.cpp(370): ERROR!!! Shaders not freed on shutdown, likely due to unreleased materials! (See spew above)
Turmfalke2 commented 3 years ago

prior to that there are a bunch of messages like


Leaked resource: Refcount 1 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_ambient_mouth.vpcf" (231366649DDADE0C).  This may result in a crash.
Leaked resource: Refcount 3 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_ambient_fire_mane_light.vpcf" (F780416E80F7E91B).  This may result in a crash.
Leaked resource: Refcount 1 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_ambient_fire_mouth_smoke.vpcf" (9DFAF9B13C2A196F).  This may result in a crash.
Leaked resource: Refcount 3 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_ambient_fire_mane_d.vpcf" (E0891DC2F3255AD6).  This may result in a crash.
Leaked resource: Refcount 1 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_ambient_fire_hand_l_b.vpcf" (523346CAE0100D02).  This may result in a crash.
Leaked resource: Refcount 2 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_ambient_fire_hand_l.vpcf" (468E3BAB8DE17713).  This may result in a crash.
Leaked resource: Refcount 2 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_ambient_fire_mane_fallback_mid.vpcf" (DE4DF25EA0A0010F).  This may result in a crash.
Leaked resource: Refcount 1 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_ambient_mane.vpcf" (951C62324CAC4175).  This may result in a crash.
Leaked resource: Refcount 1 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_ambient_fire_mouth_b.vpcf" (579A32CE16CCAA85).  This may result in a crash.
Leaked resource: Refcount 1 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_mouth_lava.vpcf" (3617E3C2011E7346).  This may result in a crash.
Leaked resource: Refcount 1 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_ambient_fire_hand_l_light.vpcf" (3D5DE4A21D77F6C5).  This may result in a crash.
Leaked resource: Refcount 1 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_ambient_hands.vpcf" (40AA886243DDE285).  This may result in a crash.
Leaked resource: Refcount 1 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_mouth_drips_1.vpcf" (74BE27E86040D28F).  This may result in a crash.
Leaked resource: Refcount 1 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_ambient_fire_hand_r_light.vpcf" (F98A0F61A29D2938).  This may result in a crash.
Leaked resource: Refcount 1 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_mouth_lava_droplets.vpcf" (40A2B14ACA3CCC8B).  This may result in a crash.
Leaked resource: Refcount 3 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_ambient_fire_mane_e.vpcf" (36DC98C4B32BDAF2).  This may result in a crash.
Leaked resource: Refcount 2 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_ambient_fire_hand_r.vpcf" (49453155AE1ABD0D).  This may result in a crash.
Leaked resource: Refcount 1 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_ambient_fire_hand_r_b.vpcf" (14A46ABB8E2D298B).  This may result in a crash.
Leaked resource: Refcount 1 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_ambient_fire_mouth.vpcf" (1A252DFA4C325A3E).  This may result in a crash.
Leaked resource: Refcount 3 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_ambient_fire_mane_b.vpcf" (E58129F7473E4BCE).  This may result in a crash.
Leaked resource: Refcount 1 for PARTICLE_SYSTEM resource "particles/units/heroes/hero_warlock/golem_ambient_fire_mouth_glow.vpcf" (21016068A72B1782).  This may result in a crash.

Leaked resource: Refcount 1 for SOUNDEVENTSCRIPT resource "soundevents/voscripts/game_sounds_vo_silencer.vsndevts" (2134866F3B165D61).  This may result in a crash.
Leaked resource: Refcount 1 for RENDERMESH_INTERNAL resource "models/heroes/warlock/warlock_staff_lod1_model.vmesh" (2193688214A7EBE2).  This may result in a crash.
Leaked resource: Refcount 1 for RENDERMESH_INTERNAL resource "models/heroes/warlock/warlock_demon_model.vmesh" (CDF36107C379E9B1).  This may result in a crash.
Leaked resource: Refcount 1 for RENDERMESH_INTERNAL resource "models/heroes/warlock/warlock_staff_model.vmesh" (E121AAE945B90451).  This may result in a crash.
Leaked resource: Refcount 1 for RENDERMESH_INTERNAL resource "models/heroes/warlock/warlock_demon_lod1.vmesh" (744A1A878C51F883).  This may result in a crash.
Leaked resource: Refcount 1 for PHYSICSDATA_INTERNAL resource "models/heroes/warlock/warlock_staff.vphys" (93E0AE8825D598D6).  This may result in a crash.
Leaked resource: Refcount 1 for ANIMATION_GROUP_INTERNAL resource "models/heroes/warlock/warlock_demon_340f50d4.vagrp" (C6542127BEB5D436).  This may result in a crash.
Leaked resource: Refcount 1 for ANIMATION_GROUP_INTERNAL resource "models/heroes/warlock/warlock_demon_asset_sequences_1cb5e35a.vagrp" (98A83D6108168DC3).  This may result in a crash.
Leaked resource: Refcount 2 for SEQUENCE_GROUP_INTERNAL resource "models/heroes/warlock/warlock_demon_340f50d4.vseq" (0BB095DE0E9C9076).  This may result in a crash.
Leaked resource: Refcount 4 for MATERIAL resource "materials/models/heroes/warlock/warlock_staff_color.vmat" (91D2D3C794F951D0).  This may result in a crash.
Leaked resource: Refcount 3 for MATERIAL resource "materials/models/heroes/warlock_demon/warlock_demon_color.vmat" (9EBDE9D616870505).  This may result in a crash.
Leaked resource: Refcount 7 for anonymous MATERIAL resource "procedural_spritecard.vmat" (000000000000FAB1).  This may result in a crash.
Leaked resource: Refcount 2 for anonymous MATERIAL resource "procedural_spritecard.vmat" (000000000000F46A).  This may result in a crash.
Leaked resource: Refcount 2 for anonymous MATERIAL resource "procedural_spritecard.vmat" (000000000000FAB2).  This may result in a crash.
Leaked resource: Refcount 2 for anonymous MATERIAL resource "procedural_spritecard.vmat" (000000000000F46C).  This may result in a crash.
Leaked resource: Refcount 2 for anonymous MATERIAL resource "procedural_spritecard.vmat" (000000000000FAB3).  This may result in a crash.
Leaked resource: Refcount 3 for anonymous MATERIAL resource "procedural_spritecard.vmat" (000000000000FAB5).  This may result in a crash.
Leaked resource: Refcount 2 for anonymous MATERIAL resource "procedural_spritecard.vmat" (000000000000FAB4).  This may result in a crash.
Leaked resource: Refcount 3 for anonymous MATERIAL resource "procedural_spritecard.vmat" (000000000000F41C).  This may result in a crash.