* [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cache
2018-08-12 22:15 [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cash bugzilla-daemon
@ 2018-08-12 22:16 ` bugzilla-daemon
2018-08-13 6:36 ` bugzilla-daemon
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-08-12 22:16 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 558 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107552
Sylvain BERTRAND <sylvain.bertrand@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|new handle table code makes |new handle table code makes
|dota2 vulkan crash at start |dota2 vulkan crash at start
|from an empty shader cash |from an empty shader cache
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1269 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cache
2018-08-12 22:15 [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cash bugzilla-daemon
2018-08-12 22:16 ` [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cache bugzilla-daemon
@ 2018-08-13 6:36 ` bugzilla-daemon
2018-08-13 18:52 ` bugzilla-daemon
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-08-13 6:36 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 322 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107552
--- Comment #1 from Christian König <ckoenig.leichtzumerken@gmail.com> ---
Well do you have a backtrace (with symbols)?
Otherwise it is really hard to guess what is going wrong here.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1188 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cache
2018-08-12 22:15 [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cash bugzilla-daemon
2018-08-12 22:16 ` [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cache bugzilla-daemon
2018-08-13 6:36 ` bugzilla-daemon
@ 2018-08-13 18:52 ` bugzilla-daemon
2018-08-14 0:23 ` bugzilla-daemon
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-08-13 18:52 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 961 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107552
--- Comment #2 from Sylvain BERTRAND <sylvain.bertrand@gmail.com> ---
I did a lot of testing and dumped cores (libsegfault.so or catchsegv do not
work with steam/dota2), the issue is actually random: sometimes it works, most
of the time it crashes or hangs the vulkan dota2 process or hangs the whole
system. Using the steam overlay with vulkan dota2 makes the crashes/hangs do
happen way more often. The segfault backtraces happen in various parts of
vulkan dota2 (I got very few of them in mesa vulkan driver) and do not show
anything in libdrm*. I even did manage to crash the new steam chat (it was
unable to restart itself). If I read a video (gl accelerated) at the same time,
it changes the way vulkan dota2 crashes/hangs.
The system is stable again if I switch back to the previous libdrm hash table
code.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1821 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cache
2018-08-12 22:15 [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cash bugzilla-daemon
` (2 preceding siblings ...)
2018-08-13 18:52 ` bugzilla-daemon
@ 2018-08-14 0:23 ` bugzilla-daemon
2018-08-14 1:44 ` bugzilla-daemon
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-08-14 0:23 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 304 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107552
--- Comment #3 from Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> ---
Even if you cannot get a backtrace, can you bisect to show the exact commit
which causes the issue?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1162 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cache
2018-08-12 22:15 [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cash bugzilla-daemon
` (3 preceding siblings ...)
2018-08-14 0:23 ` bugzilla-daemon
@ 2018-08-14 1:44 ` bugzilla-daemon
2018-08-14 14:18 ` bugzilla-daemon
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-08-14 1:44 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 431 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107552
--- Comment #4 from Sylvain BERTRAND <sylvain.bertrand@gmail.com> ---
Sure, but there are very few commits. Basically, it's almost directly the
commits related to the handle table:
87fdbfb62fb3de6759d465d07cc13f922084694e stable commit
879d7c0298d1d4bc52d71d599cc07cafb4645808 unstable commit
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1291 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cache
2018-08-12 22:15 [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cash bugzilla-daemon
` (4 preceding siblings ...)
2018-08-14 1:44 ` bugzilla-daemon
@ 2018-08-14 14:18 ` bugzilla-daemon
2018-08-15 11:57 ` bugzilla-daemon
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-08-14 14:18 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 908 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107552
--- Comment #5 from Sylvain BERTRAND <sylvain.bertrand@gmail.com> ---
bisected:
--------------------------------------------------------------------------------
commit cbf0bb7f192b814be84dff538fb90dacf65958c7
Author: Christian König <christian.koenig@amd.com>
Date: Thu Aug 2 10:45:19 2018 +0200
amdgpu: always add all BOs to handle table
This way we can always find a BO structure by its handle.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-and-Tested-by: Junwei Zhang <Jerry.Zhang@amd.com>
--------------------------------------------------------------------------------
I am currently running libdrm from the commit right before this one, no pb so
far.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2001 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cache
2018-08-12 22:15 [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cash bugzilla-daemon
` (5 preceding siblings ...)
2018-08-14 14:18 ` bugzilla-daemon
@ 2018-08-15 11:57 ` bugzilla-daemon
2018-08-15 13:02 ` bugzilla-daemon
2018-08-16 6:55 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-08-15 11:57 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 381 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107552
--- Comment #6 from Christian König <ckoenig.leichtzumerken@gmail.com> ---
Created attachment 141104
--> https://bugs.freedesktop.org/attachment.cgi?id=141104&action=edit
Possible fix
The attached patch should fix the issue, please test.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1449 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cache
2018-08-12 22:15 [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cash bugzilla-daemon
` (6 preceding siblings ...)
2018-08-15 11:57 ` bugzilla-daemon
@ 2018-08-15 13:02 ` bugzilla-daemon
2018-08-16 6:55 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-08-15 13:02 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 291 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107552
--- Comment #7 from Sylvain BERTRAND <sylvain.bertrand@gmail.com> ---
I applied on top of commit 1e12c16d7697a1223630a507c1032d940794039a
Stable so far.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1151 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cache
2018-08-12 22:15 [Bug 107552] new handle table code makes dota2 vulkan crash at start from an empty shader cash bugzilla-daemon
` (7 preceding siblings ...)
2018-08-15 13:02 ` bugzilla-daemon
@ 2018-08-16 6:55 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-08-16 6:55 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 580 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107552
Christian König <ckoenig.leichtzumerken@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #8 from Christian König <ckoenig.leichtzumerken@gmail.com> ---
Thanks for the report, sounds like we can close this.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2213 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread