Summary: | Dota2 will not open using vulkan since 19.0 series | ||
---|---|---|---|
Product: | Mesa | Reporter: | Fernando <fern.hfr> |
Component: | Drivers/Vulkan/intel | Assignee: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | major | ||
Priority: | medium | CC: | denys.kostin, jason, lionel.g.landwerlin |
Version: | 19.0 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Fernando
2019-05-09 03:12:04 UTC
Sounds like a crash. I've just tried 19.0.3 on my kabylake machine it works fine. Is there anyway you could install the debug symbols and if you have coredumpctl look if any coredump was generated? sudo coredumpctl gdb would give us an idea of where that is. (In reply to Lionel Landwerlin from comment #1) > Sounds like a crash. > I've just tried 19.0.3 on my kabylake machine it works fine. > Is there anyway you could install the debug symbols and if you have > coredumpctl look if any coredump was generated? > > sudo coredumpctl gdb > > would give us an idea of where that is. My bad, I didn't turn vulkan on within the game (I thought just installing the extra pack would do). I can repro a crash from time to time. Running this under gdb makes it go away. Using valgrind now. I run into a number of issues with valgrind. Some are outside of our driver like this glslang use after free : ==15236== Invalid read of size 4 ==15236== at 0x8AE22B6D: glslang::TProgram::~TProgram() (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AE23418: glslang::TProgram::~TProgram() (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AD8B690: ??? (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AD8BEA4: ??? (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AD968AB: ??? (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AD787A5: ??? (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AD90CDA: ??? (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AD96D7B: ??? (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x9375451: ??? (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so) ==15236== by 0x8AD9B473: ??? (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x95E2279: ??? (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so) ==15236== by 0x95E2FC4: ??? (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so) ==15236== Address 0x8a337d40 is 128 bytes inside a block of size 8,192 free'd ==15236== at 0x4C3173B: operator delete[](void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==15236== by 0x8AEC4BAF: glslang::TPoolAllocator::~TPoolAllocator() (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AE2221F: glslang::TShader::~TShader() (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AE22318: glslang::TShader::~TShader() (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AD8B687: ??? (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AD8BEA4: ??? (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AD968AB: ??? (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AD787A5: ??? (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AD90CDA: ??? (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AD96D7B: ??? (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x9375451: ??? (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so) ==15236== by 0x8AD9B473: ??? (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== Block was alloc'd at ==15236== at 0x4C3089F: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==15236== by 0x8AEC4DA7: glslang::TPoolAllocator::allocate(unsigned long) (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AE36D58: std::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char> >::reserve(unsigned long) (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AE371B3: std::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char> >::append(char const*, unsigned long) (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AF6682E: glslang::HlslParseContext::flattenStruct(glslang::TVariable const&, glslang::TType const&, glslang::HlslParseContext::TFlattenData&, std::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char> >, bool, glslang::TQualifier const&, glslang::TArraySizes const*) (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AF66BAA: glslang::HlslParseContext::flatten(glslang::TVariable const&, glslang::TType const&, glslang::HlslParseContext::TFlattenData&, std::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char> >, bool, glslang::TQualifier const&, glslang::TArraySizes const*) (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AF66DB2: glslang::HlslParseContext::flatten(glslang::TVariable const&, bool) (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AF69EA1: ??? (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AF6A048: glslang::HlslParseContext::transformEntryPoint(glslang::TSourceLoc const&, glslang::TFunction&, glslang::TList<glslang::TAttributeArgs> const&) (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AF6B65A: glslang::HlslParseContext::handleFunctionDefinition(glslang::TSourceLoc const&, glslang::TFunction&, glslang::TList<glslang::TAttributeArgs> const&, TIntermNode*&) (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AF7B0B4: glslang::HlslGrammar::acceptFunctionBody(glslang::TFunctionDeclarator&, TIntermNode*&) (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) ==15236== by 0x8AF7AAE7: glslang::HlslGrammar::acceptDeclaration(TIntermNode*&) (in /media/djdeath/SSD2/SteamLibrary/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so) We also have an issue in Mesa for which I'm about to upload a fix. And I filed this for the rest : https://github.com/ValveSoftware/steam-runtime/issues/170 Fix landed as : commit f2f6ac1c0811858374142022f81bdcf0207e640c Author: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Date: Thu May 9 13:33:43 2019 +0100 anv: Use corresponding type from the vector allocation Let us know if you can still reproduce. The rest should be out of our hands. Thanks. Wow, thank you so much! I didn't expect that much feedback on those hours i spent away from the computer. I'm kind of a newbie so i can't install this new mesa 19.0.4 rn, i'll wait for Manjaro to ship the new versions. Meanwhile, thanks a lot for your attention and for also directing it to Steam! I'm really happy about the effectiveness and feeling confident that it will eventually get fixed Hi Lionel. Does fix in mesa allows to run dota (vulkan) normally or game fix also required??? 19.0.4 was landed on manjaro, but I don't see any difference between 19.0.3 and 19.0.4 mesa versions. I mean, that on both of them game can be started normally - or simply doesn't start. oh, looks like patch wasn't landed at all. Then previous question isn't actual. Sorry for these fast decisions and lots of comments... I rechecked mesa-master and issue is fixed there. First version which should include this commit (https://bugs.freedesktop.org/show_bug.cgi?id=110648#c6) is mesa-19.1.0-rc2 That's why I still had it in 19.0.4. I think we can close it when 19.1.0-rc2 will be released. Mesa 19.1.0 has been released, which should include the fix for this issue. I checked 19.0.4 changelog and it wasn't there, but it landed then on 19.0.5. For sure it's also fixed on 19.1. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.