[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #25 from John--- Since I have seen Dave posting many SI-related fixes/workaround on the ML, I've just tried again (on latest amd-staging as well, in case there was something there too). radv wise I am on "radv: handle 10-bit format clamping workaround." I have not been able to freeze the system anymore using SaschaWillems/Vulkan/Raytracing. It also looks a lot better than previously, I don't know what it should look like, but this seems fine. So there's definitely some progress! Alas, Mad Max's benchmark still hangs the system, it is in the same scene as usual (the third). As always, I was able to log in through SSH and saw nothing of value in dmesg or Xorg.log, but this time restarting from SSH did not really work, and I had to manually shutdown the computer and boot it. That could be unrelated to radv/amdgpu of course. I was waiting to see more of the SI ML patches hitting the repo before testing again, but since Marko was asking I thought I'd try :) Do things look somewhat better for you as well Marko? Should we open a cleaner new bug report? Thanks! -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #24 from Marko--- -ping -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #23 from John--- Some apps worked, others froze the system. I'm still hopeful to find a fix here :) -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #22 from Marko--- (In reply to John from comment #21) > I believe that's a same generation card, so it would make sense to behave > similarly. Yeah. Did it ever work for you? RADV was a no-go on my card from day one. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #21 from John--- I believe that's a same generation card, so it would make sense to behave similarly. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #20 from Marko--- Hello, I have a similar problem on R9-270x and latest Mesa-git. I can check the latest commit Mesa was built from, but honestly, I have this issue since day one (it never worked and I check periodically). Dota2 and DOOM (over wine) both hang on loading screen (the system freezes completely). Talos Principle usually works with texture corruption (there was a commit or two that hanged it as well). Let me know if I can help. Regards, Marko -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #19 from John--- Is there anything else I can provide to help? Thanks! -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #18 from John--- Created attachment 131987 --> https://bugs.freedesktop.org/attachment.cgi?id=131987=edit gdb backtrace And here's the gdb backtrace, it looks different, so maybe something did change. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #17 from John--- Created attachment 131986 --> https://bugs.freedesktop.org/attachment.cgi?id=131986=edit trace Hello, I don't think this patch changes the behavior. It froze in the same way and time. Here's the new trace. One thing I just saw when running raytracing: if I don't interact with it, it seems to run fine, but as soon as I do interact with it, it'll freeze. Thank you! -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #16 from Grazvydas Ignotas--- Created attachment 131985 --> https://bugs.freedesktop.org/attachment.cgi?id=131985=edit flush try >From the trace it seems the hang is compute related. Comparing to radeonsi, radv seems to be missing some SI flushing workaround (from si_launch_grid()), maybe this patch will help? -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #15 from John--- Created attachment 131879 --> https://bugs.freedesktop.org/attachment.cgi?id=131879=edit trace ooops -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #14 from Grazvydas Ignotas--- Looks like you attached the wrong file. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #13 from John--- Created attachment 131878 --> https://bugs.freedesktop.org/attachment.cgi?id=131878=edit trace The ML patch worked! Here's the trace. Thank you! -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #12 from Grazvydas Ignotas--- Created attachment 131877 --> https://bugs.freedesktop.org/attachment.cgi?id=131877=edit trace everything I've sent a patch that should fix trace dumping for SI: https://lists.freedesktop.org/archives/mesa-dev/2017-June/158739.html If you want to trace everything, use the attached patch. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #11 from John--- Created attachment 131874 --> https://bugs.freedesktop.org/attachment.cgi?id=131874=edit gdb backtrace Well, I've been able to get a backtrace thanks to screen. That looks more interesting already. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #10 from John--- I'm not sure if it's thanks to debug, but now I get something in dmesg, not that helpful I'm afraid: [ 141.325269] raytracing[2417]: segfault at 8 ip 7fd0b21e74d2 sp 7ffc604d5520 error 4 in libvulkan_radeon.so[7fd0b217+1b3000] The trace file has been empty the various times I've tried. Is there a way to get a full trace of everything it's doing? maybe that would allow the last line or so to be useful. As for gdb, it gets stuck on "attaching to process" and the process command in ps is displayed in square brackets. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #9 from Grazvydas Ignotas--- Is the process still alive when you ssh to the system with a hung GPU? If it is, you could attach gdb and try to get a backtrace of a hung thread. You can try at least a few other things: * compile mesa with --enable-debug if you aren't already, it will enable asserts that might detect something bad * set a RADV_TRACE_FILE=/path/to/file environment variable, it will then try to write out trace of GPU commands to that file if/when it detects a hang. The trace file sometimes takes a few tries to produce successfully, but if you can get it, it might help to find the cause of the hang. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #8 from John--- Grazvydas, I've rebuilt mesa at the faulty commit with your 2 patches and it worked as well as before that commit. Thank you for the quick fix! Now if possible I'd love to look at the freezes I've had since my first test months ago, and still have. The behavior is somewhat different from the one fixed by Grazvydas' patches in that the application starts and will run fine for a bit, from a few seconds to a few minutes, and then the PC seems to freeze similarly to my previously described issue, I still have SSH access, yet trying to restart never works. These are quite more annoying to debug though as not error gets displayed in dmesg, and since it has always been a problem for me I have no good commit for a bisection... I've looked at Xorg logs as well but I saw nothing there either. A simple test for this is to run SaschaWillems/Vulkan/Raytracing, after moving around for a few seconds the issue will be triggered. Mad Max's vulkan benchmark is another, this one always freezes in some sort of cave, I think in the 3rd scene. Maybe something in there triggers it... I'd be happy to try a patch or a R600_DEBUG parameter to make it a lot more verbose, or whatever you think is best of course! Thank you! -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #7 from Grazvydas Ignotas--- I've sent different version to ML, testing that one would be preferred: https://lists.freedesktop.org/archives/mesa-dev/2017-June/158700.html -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 Grazvydas Ignotaschanged: What|Removed |Added CC||nota...@gmail.com --- Comment #6 from Grazvydas Ignotas --- Created attachment 131842 --> https://bugs.freedesktop.org/attachment.cgi?id=131842=edit no_si_prefetch Does this patch help? -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 Johnchanged: What|Removed |Added CC||airl...@freedesktop.org --- Comment #5 from John --- Adding Dave. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #4 from John--- Alright, after bisecting here's the problematic commit: https://cgit.freedesktop.org/mesa/mesa/commit/?id=bcae3274692954ad2cd6dfc253579ec98d50856f Thanks! -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #3 from Eric Engestrom--- (In reply to John from comment #2) > Would anything else help? It would be really helpful if you could bisect the issue. This means picking an app (game) that was working and doesn't work anymore, and running `git bisect` using this app to determine if each commit has the issue. This page can help you if you don't know how the commands work: https://git-scm.com/docs/git-bisect Note that I barely know anything about radv, so unless there's something fairly obvious in the bad commit I won't be able to help past this. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #2 from John--- Hello Eric, Good point! I am currently on mesa ce53e8e61b (commit number 92807), and llvm 304967. Would anything else help? Thank you! John -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 --- Comment #1 from Eric Engestrom--- Hi John, You correctly gave the version number for the release-version of software you use, but you didn't give any information for the development-version of software you mentioned. Taking Mesa as an example (and assuming you're using the master branch), there are currently 92809 different versions of mesa-git you could be using ;) For git, the commit hash identifies the version, and for svn I think the commit number (eg 302914 for llvm-svn) is best. Cheers, Eric -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 101334] Any vulkan app seems to freeze the system
https://bugs.freedesktop.org/show_bug.cgi?id=101334 Bug ID: 101334 Summary: Any vulkan app seems to freeze the system Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Vulkan/radeon Assignee: mesa-dev@lists.freedesktop.org Reporter: john.etted...@gmail.com QA Contact: mesa-dev@lists.freedesktop.org Created attachment 131788 --> https://bugs.freedesktop.org/attachment.cgi?id=131788=edit dmesg after the crash Hello, I haven't tried using radv/Vulkan in a few months, but last time I tried, most of the apps/games worked and only a few crashed the system, now it seems all do have issues. I am using a 280x, on agd5f's linux-staging 4.11 (but the system freezes as well on standard 4.11.3). Xorg is 1.19.3. Once the computer hangs, I'm unable to use it directly but I can still connect from another machine through SSH. I do have to manually force a restart though. Games I've tried which froze the system: - Mad Max (it always was bad for me). - Serious Sam Fusion (that one used to work, as long as no steam overlay). Apps I've tried with similar results: - Some projects from SaschaWillems/Vulkan (some used to run, others would just refuse to, but no crash in the past). - The Dolphin emulator (which used to work as well). I am on mesa-git, llvm-svn and ddx-git as well. I'm happy to test patches as needed. Thanks! -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev