[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #1 from Tom Stellard --- Created attachment 84473 --> https://bugs.freedesktop.org/attachment.cgi?id=84473&action=edit Possible Fix Can you try this mesa patch. If it doesn't fix the crash, can you re-post the shader dump with the patch applied. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #2 from Laurent carlier --- (In reply to comment #1) > Created attachment 84473 [details] [review] > Possible Fix > > Can you try this mesa patch. If it doesn't fix the crash, can you re-post > the shader dump with the patch applied. With the patch applied it still fail -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #3 from Laurent carlier --- Created attachment 84475 --> https://bugs.freedesktop.org/attachment.cgi?id=84475&action=edit Shader dump with patch applied -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #4 from Tom Stellard --- Created attachment 84543 --> https://bugs.freedesktop.org/attachment.cgi?id=84543&action=edit Patch #2 -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #5 from Tom Stellard --- Created attachment 84544 --> https://bugs.freedesktop.org/attachment.cgi?id=84544&action=edit LLVM Patch #3 If you apply all three of these patches, does it fix the crash? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #6 from Laurent carlier --- (In reply to comment #5) > Created attachment 84544 [details] [review] > LLVM Patch #3 > > If you apply all three of these patches, does it fix the crash? It's better, now it crash before the intro start (so latter), new shader dump attached -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #7 from Laurent carlier --- Created attachment 84551 --> https://bugs.freedesktop.org/attachment.cgi?id=84551&action=edit Shader dump with 3 patches applied -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #8 from Laurent carlier --- Same problem with Brütal Legend (after the intro): Buddha.bin.x86: AMDGPUInstrInfo.cpp:109: virtual void llvm::AMDGPUInstrInfo::storeRegToStackSlot(llvm::MachineBasicBlock&, llvm::MachineBasicBlock::iterator, unsigned int, bool, int, const llvm::TargetRegisterClass*, const llvm::TargetRegisterInfo*) const: Assertion `!"Not Implemented"' failed. Stack dump: 0. Running pass 'Function Pass Manager' on module 'tgsi'. 1. Running pass 'Greedy Register Allocator' on function '@main' -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 Tom Stellard changed: What|Removed |Added Attachment #84473|0 |1 is obsolete|| Attachment #84543|0 |1 is obsolete|| Attachment #84544|0 |1 is obsolete|| --- Comment #9 from Tom Stellard --- Created attachment 84880 --> https://bugs.freedesktop.org/attachment.cgi?id=84880&action=edit SGPR register spilling patch Can you test this patch? It should fix the crash, but it may hang your GPU. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #10 from Laurent carlier --- (In reply to comment #9) > Created attachment 84880 [details] [review] > SGPR register spilling patch > > Can you test this patch? It should fix the crash, but it may hang your GPU. It's not really better; instead of the assert, it gives a GPU lockup -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #11 from Michel Dänzer --- (In reply to comment #9) > .addImm(Lane); This results in the lane number being encoded verbatim in the VSRC1 instruction field, which I don't think is correct? I tried adding 0x80 to make it an inline literal, but Sanctuary still locks up. Another potential gotcha I noticed in the ISA documentation is that the V_READ/WRITELANE instructions don't respect the EXEC mask. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 Tom Stellard changed: What|Removed |Added Attachment #84475|0 |1 is obsolete|| Attachment #84551|0 |1 is obsolete|| Attachment #84880|0 |1 is obsolete|| --- Comment #12 from Tom Stellard --- Created attachment 85372 --> https://bugs.freedesktop.org/attachment.cgi?id=85372&action=edit SGPR register spilling patch v2 Can you try this v2 patch? It fixes the bug Michel found plus another one. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #13 from Laurent carlier --- (In reply to comment #12) > Created attachment 85372 [details] [review] > SGPR register spilling patch v2 > > Can you try this v2 patch? It fixes the bug Michel found plus another one. Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo gives also a GPU lockup -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #14 from Tom Stellard --- (In reply to comment #13) > (In reply to comment #12) > > Created attachment 85372 [details] [review] [review] > > SGPR register spilling patch v2 > > > > Can you try this v2 patch? It fixes the bug Michel found plus another one. > > Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo > gives also a GPU lockup Sanctuary doesn't lockup for me with this patch, but the only thing visible is the torch. Everything else is black. What settings are you using with Sanctuary? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #15 from Laurent carlier --- (In reply to comment #14) > (In reply to comment #13) > > (In reply to comment #12) > > > Created attachment 85372 [details] [review] [review] [review] > > > SGPR register spilling patch v2 > > > > > > Can you try this v2 patch? It fixes the bug Michel found plus another > > > one. > > > > Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo > > gives also a GPU lockup > > Sanctuary doesn't lockup for me with this patch, but the only thing visible > is the torch. Everything else is black. What settings are you using with > Sanctuary? It's locking up just at the end of the loading screen, so it's the default settings -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #16 from Tom Stellard --- (In reply to comment #15) > (In reply to comment #14) > > (In reply to comment #13) > > > (In reply to comment #12) > > > > Created attachment 85372 [details] [review] [review] [review] [review] > > > > SGPR register spilling patch v2 > > > > > > > > Can you try this v2 patch? It fixes the bug Michel found plus another > > > > one. > > > > > > Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo > > > gives also a GPU lockup > > > > Sanctuary doesn't lockup for me with this patch, but the only thing visible > > is the torch. Everything else is black. What settings are you using with > > Sanctuary? > > It's locking up just at the end of the loading screen, so it's the default > settings Are you using libtxc-dxtn and/or do you have floating-point textures enabled? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #17 from Laurent carlier --- (In reply to comment #16) > > Are you using libtxc-dxtn and/or do you have floating-point textures enabled? I have both enabled, (lib32-)libtxc-dxtn and floating-point textures. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #18 from Michel Dänzer --- (In reply to comment #12) > - Use correct register flags, so we don't overwrite the low dword >when restoring multi-dword registers. This doesn't seem to result in any difference for the code generated for the first Sanctuary shader which spills registers. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #1 from Tom Stellard --- Created attachment 84473 --> https://bugs.freedesktop.org/attachment.cgi?id=84473&action=edit Possible Fix Can you try this mesa patch. If it doesn't fix the crash, can you re-post the shader dump with the patch applied. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #2 from Laurent carlier --- (In reply to comment #1) > Created attachment 84473 [details] [review] > Possible Fix > > Can you try this mesa patch. If it doesn't fix the crash, can you re-post > the shader dump with the patch applied. With the patch applied it still fail -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #3 from Laurent carlier --- Created attachment 84475 --> https://bugs.freedesktop.org/attachment.cgi?id=84475&action=edit Shader dump with patch applied -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #4 from Tom Stellard --- Created attachment 84543 --> https://bugs.freedesktop.org/attachment.cgi?id=84543&action=edit Patch #2 -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #5 from Tom Stellard --- Created attachment 84544 --> https://bugs.freedesktop.org/attachment.cgi?id=84544&action=edit LLVM Patch #3 If you apply all three of these patches, does it fix the crash? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #6 from Laurent carlier --- (In reply to comment #5) > Created attachment 84544 [details] [review] > LLVM Patch #3 > > If you apply all three of these patches, does it fix the crash? It's better, now it crash before the intro start (so latter), new shader dump attached -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #7 from Laurent carlier --- Created attachment 84551 --> https://bugs.freedesktop.org/attachment.cgi?id=84551&action=edit Shader dump with 3 patches applied -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #8 from Laurent carlier --- Same problem with Brütal Legend (after the intro): Buddha.bin.x86: AMDGPUInstrInfo.cpp:109: virtual void llvm::AMDGPUInstrInfo::storeRegToStackSlot(llvm::MachineBasicBlock&, llvm::MachineBasicBlock::iterator, unsigned int, bool, int, const llvm::TargetRegisterClass*, const llvm::TargetRegisterInfo*) const: Assertion `!"Not Implemented"' failed. Stack dump: 0. Running pass 'Function Pass Manager' on module 'tgsi'. 1. Running pass 'Greedy Register Allocator' on function '@main' -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 Tom Stellard changed: What|Removed |Added Attachment #84473|0 |1 is obsolete|| Attachment #84543|0 |1 is obsolete|| Attachment #84544|0 |1 is obsolete|| --- Comment #9 from Tom Stellard --- Created attachment 84880 --> https://bugs.freedesktop.org/attachment.cgi?id=84880&action=edit SGPR register spilling patch Can you test this patch? It should fix the crash, but it may hang your GPU. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #10 from Laurent carlier --- (In reply to comment #9) > Created attachment 84880 [details] [review] > SGPR register spilling patch > > Can you test this patch? It should fix the crash, but it may hang your GPU. It's not really better; instead of the assert, it gives a GPU lockup -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #11 from Michel Dänzer --- (In reply to comment #9) > .addImm(Lane); This results in the lane number being encoded verbatim in the VSRC1 instruction field, which I don't think is correct? I tried adding 0x80 to make it an inline literal, but Sanctuary still locks up. Another potential gotcha I noticed in the ISA documentation is that the V_READ/WRITELANE instructions don't respect the EXEC mask. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 Tom Stellard changed: What|Removed |Added Attachment #84475|0 |1 is obsolete|| Attachment #84551|0 |1 is obsolete|| Attachment #84880|0 |1 is obsolete|| --- Comment #12 from Tom Stellard --- Created attachment 85372 --> https://bugs.freedesktop.org/attachment.cgi?id=85372&action=edit SGPR register spilling patch v2 Can you try this v2 patch? It fixes the bug Michel found plus another one. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #13 from Laurent carlier --- (In reply to comment #12) > Created attachment 85372 [details] [review] > SGPR register spilling patch v2 > > Can you try this v2 patch? It fixes the bug Michel found plus another one. Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo gives also a GPU lockup -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #14 from Tom Stellard --- (In reply to comment #13) > (In reply to comment #12) > > Created attachment 85372 [details] [review] [review] > > SGPR register spilling patch v2 > > > > Can you try this v2 patch? It fixes the bug Michel found plus another one. > > Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo > gives also a GPU lockup Sanctuary doesn't lockup for me with this patch, but the only thing visible is the torch. Everything else is black. What settings are you using with Sanctuary? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #15 from Laurent carlier --- (In reply to comment #14) > (In reply to comment #13) > > (In reply to comment #12) > > > Created attachment 85372 [details] [review] [review] [review] > > > SGPR register spilling patch v2 > > > > > > Can you try this v2 patch? It fixes the bug Michel found plus another > > > one. > > > > Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo > > gives also a GPU lockup > > Sanctuary doesn't lockup for me with this patch, but the only thing visible > is the torch. Everything else is black. What settings are you using with > Sanctuary? It's locking up just at the end of the loading screen, so it's the default settings -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #16 from Tom Stellard --- (In reply to comment #15) > (In reply to comment #14) > > (In reply to comment #13) > > > (In reply to comment #12) > > > > Created attachment 85372 [details] [review] [review] [review] [review] > > > > SGPR register spilling patch v2 > > > > > > > > Can you try this v2 patch? It fixes the bug Michel found plus another > > > > one. > > > > > > Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo > > > gives also a GPU lockup > > > > Sanctuary doesn't lockup for me with this patch, but the only thing visible > > is the torch. Everything else is black. What settings are you using with > > Sanctuary? > > It's locking up just at the end of the loading screen, so it's the default > settings Are you using libtxc-dxtn and/or do you have floating-point textures enabled? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #17 from Laurent carlier --- (In reply to comment #16) > > Are you using libtxc-dxtn and/or do you have floating-point textures enabled? I have both enabled, (lib32-)libtxc-dxtn and floating-point textures. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #18 from Michel Dänzer --- (In reply to comment #12) > - Use correct register flags, so we don't overwrite the low dword >when restoring multi-dword registers. This doesn't seem to result in any difference for the code generated for the first Sanctuary shader which spills registers. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #1 from Tom Stellard --- Created attachment 84473 --> https://bugs.freedesktop.org/attachment.cgi?id=84473&action=edit Possible Fix Can you try this mesa patch. If it doesn't fix the crash, can you re-post the shader dump with the patch applied. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #2 from Laurent carlier --- (In reply to comment #1) > Created attachment 84473 [details] [review] > Possible Fix > > Can you try this mesa patch. If it doesn't fix the crash, can you re-post > the shader dump with the patch applied. With the patch applied it still fail -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #3 from Laurent carlier --- Created attachment 84475 --> https://bugs.freedesktop.org/attachment.cgi?id=84475&action=edit Shader dump with patch applied -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #4 from Tom Stellard --- Created attachment 84543 --> https://bugs.freedesktop.org/attachment.cgi?id=84543&action=edit Patch #2 -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #5 from Tom Stellard --- Created attachment 84544 --> https://bugs.freedesktop.org/attachment.cgi?id=84544&action=edit LLVM Patch #3 If you apply all three of these patches, does it fix the crash? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #6 from Laurent carlier --- (In reply to comment #5) > Created attachment 84544 [details] [review] > LLVM Patch #3 > > If you apply all three of these patches, does it fix the crash? It's better, now it crash before the intro start (so latter), new shader dump attached -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #7 from Laurent carlier --- Created attachment 84551 --> https://bugs.freedesktop.org/attachment.cgi?id=84551&action=edit Shader dump with 3 patches applied -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #8 from Laurent carlier --- Same problem with Brütal Legend (after the intro): Buddha.bin.x86: AMDGPUInstrInfo.cpp:109: virtual void llvm::AMDGPUInstrInfo::storeRegToStackSlot(llvm::MachineBasicBlock&, llvm::MachineBasicBlock::iterator, unsigned int, bool, int, const llvm::TargetRegisterClass*, const llvm::TargetRegisterInfo*) const: Assertion `!"Not Implemented"' failed. Stack dump: 0. Running pass 'Function Pass Manager' on module 'tgsi'. 1. Running pass 'Greedy Register Allocator' on function '@main' -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 Tom Stellard changed: What|Removed |Added Attachment #84473|0 |1 is obsolete|| Attachment #84543|0 |1 is obsolete|| Attachment #84544|0 |1 is obsolete|| --- Comment #9 from Tom Stellard --- Created attachment 84880 --> https://bugs.freedesktop.org/attachment.cgi?id=84880&action=edit SGPR register spilling patch Can you test this patch? It should fix the crash, but it may hang your GPU. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #10 from Laurent carlier --- (In reply to comment #9) > Created attachment 84880 [details] [review] > SGPR register spilling patch > > Can you test this patch? It should fix the crash, but it may hang your GPU. It's not really better; instead of the assert, it gives a GPU lockup -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #11 from Michel Dänzer --- (In reply to comment #9) > .addImm(Lane); This results in the lane number being encoded verbatim in the VSRC1 instruction field, which I don't think is correct? I tried adding 0x80 to make it an inline literal, but Sanctuary still locks up. Another potential gotcha I noticed in the ISA documentation is that the V_READ/WRITELANE instructions don't respect the EXEC mask. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 Tom Stellard changed: What|Removed |Added Attachment #84475|0 |1 is obsolete|| Attachment #84551|0 |1 is obsolete|| Attachment #84880|0 |1 is obsolete|| --- Comment #12 from Tom Stellard --- Created attachment 85372 --> https://bugs.freedesktop.org/attachment.cgi?id=85372&action=edit SGPR register spilling patch v2 Can you try this v2 patch? It fixes the bug Michel found plus another one. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #13 from Laurent carlier --- (In reply to comment #12) > Created attachment 85372 [details] [review] > SGPR register spilling patch v2 > > Can you try this v2 patch? It fixes the bug Michel found plus another one. Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo gives also a GPU lockup -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #14 from Tom Stellard --- (In reply to comment #13) > (In reply to comment #12) > > Created attachment 85372 [details] [review] [review] > > SGPR register spilling patch v2 > > > > Can you try this v2 patch? It fixes the bug Michel found plus another one. > > Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo > gives also a GPU lockup Sanctuary doesn't lockup for me with this patch, but the only thing visible is the torch. Everything else is black. What settings are you using with Sanctuary? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #15 from Laurent carlier --- (In reply to comment #14) > (In reply to comment #13) > > (In reply to comment #12) > > > Created attachment 85372 [details] [review] [review] [review] > > > SGPR register spilling patch v2 > > > > > > Can you try this v2 patch? It fixes the bug Michel found plus another > > > one. > > > > Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo > > gives also a GPU lockup > > Sanctuary doesn't lockup for me with this patch, but the only thing visible > is the torch. Everything else is black. What settings are you using with > Sanctuary? It's locking up just at the end of the loading screen, so it's the default settings -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #16 from Tom Stellard --- (In reply to comment #15) > (In reply to comment #14) > > (In reply to comment #13) > > > (In reply to comment #12) > > > > Created attachment 85372 [details] [review] [review] [review] [review] > > > > SGPR register spilling patch v2 > > > > > > > > Can you try this v2 patch? It fixes the bug Michel found plus another > > > > one. > > > > > > Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo > > > gives also a GPU lockup > > > > Sanctuary doesn't lockup for me with this patch, but the only thing visible > > is the torch. Everything else is black. What settings are you using with > > Sanctuary? > > It's locking up just at the end of the loading screen, so it's the default > settings Are you using libtxc-dxtn and/or do you have floating-point textures enabled? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #17 from Laurent carlier --- (In reply to comment #16) > > Are you using libtxc-dxtn and/or do you have floating-point textures enabled? I have both enabled, (lib32-)libtxc-dxtn and floating-point textures. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #18 from Michel Dänzer --- (In reply to comment #12) > - Use correct register flags, so we don't overwrite the low dword >when restoring multi-dword registers. This doesn't seem to result in any difference for the code generated for the first Sanctuary shader which spills registers. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #1 from Tom Stellard --- Created attachment 84473 --> https://bugs.freedesktop.org/attachment.cgi?id=84473&action=edit Possible Fix Can you try this mesa patch. If it doesn't fix the crash, can you re-post the shader dump with the patch applied. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #2 from Laurent carlier --- (In reply to comment #1) > Created attachment 84473 [details] [review] > Possible Fix > > Can you try this mesa patch. If it doesn't fix the crash, can you re-post > the shader dump with the patch applied. With the patch applied it still fail -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #3 from Laurent carlier --- Created attachment 84475 --> https://bugs.freedesktop.org/attachment.cgi?id=84475&action=edit Shader dump with patch applied -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #4 from Tom Stellard --- Created attachment 84543 --> https://bugs.freedesktop.org/attachment.cgi?id=84543&action=edit Patch #2 -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #5 from Tom Stellard --- Created attachment 84544 --> https://bugs.freedesktop.org/attachment.cgi?id=84544&action=edit LLVM Patch #3 If you apply all three of these patches, does it fix the crash? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #6 from Laurent carlier --- (In reply to comment #5) > Created attachment 84544 [details] [review] > LLVM Patch #3 > > If you apply all three of these patches, does it fix the crash? It's better, now it crash before the intro start (so latter), new shader dump attached -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #7 from Laurent carlier --- Created attachment 84551 --> https://bugs.freedesktop.org/attachment.cgi?id=84551&action=edit Shader dump with 3 patches applied -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #8 from Laurent carlier --- Same problem with Brütal Legend (after the intro): Buddha.bin.x86: AMDGPUInstrInfo.cpp:109: virtual void llvm::AMDGPUInstrInfo::storeRegToStackSlot(llvm::MachineBasicBlock&, llvm::MachineBasicBlock::iterator, unsigned int, bool, int, const llvm::TargetRegisterClass*, const llvm::TargetRegisterInfo*) const: Assertion `!"Not Implemented"' failed. Stack dump: 0. Running pass 'Function Pass Manager' on module 'tgsi'. 1. Running pass 'Greedy Register Allocator' on function '@main' -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 Tom Stellard changed: What|Removed |Added Attachment #84473|0 |1 is obsolete|| Attachment #84543|0 |1 is obsolete|| Attachment #84544|0 |1 is obsolete|| --- Comment #9 from Tom Stellard --- Created attachment 84880 --> https://bugs.freedesktop.org/attachment.cgi?id=84880&action=edit SGPR register spilling patch Can you test this patch? It should fix the crash, but it may hang your GPU. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #10 from Laurent carlier --- (In reply to comment #9) > Created attachment 84880 [details] [review] > SGPR register spilling patch > > Can you test this patch? It should fix the crash, but it may hang your GPU. It's not really better; instead of the assert, it gives a GPU lockup -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #11 from Michel Dänzer --- (In reply to comment #9) > .addImm(Lane); This results in the lane number being encoded verbatim in the VSRC1 instruction field, which I don't think is correct? I tried adding 0x80 to make it an inline literal, but Sanctuary still locks up. Another potential gotcha I noticed in the ISA documentation is that the V_READ/WRITELANE instructions don't respect the EXEC mask. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 Tom Stellard changed: What|Removed |Added Attachment #84475|0 |1 is obsolete|| Attachment #84551|0 |1 is obsolete|| Attachment #84880|0 |1 is obsolete|| --- Comment #12 from Tom Stellard --- Created attachment 85372 --> https://bugs.freedesktop.org/attachment.cgi?id=85372&action=edit SGPR register spilling patch v2 Can you try this v2 patch? It fixes the bug Michel found plus another one. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #13 from Laurent carlier --- (In reply to comment #12) > Created attachment 85372 [details] [review] > SGPR register spilling patch v2 > > Can you try this v2 patch? It fixes the bug Michel found plus another one. Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo gives also a GPU lockup -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #14 from Tom Stellard --- (In reply to comment #13) > (In reply to comment #12) > > Created attachment 85372 [details] [review] [review] > > SGPR register spilling patch v2 > > > > Can you try this v2 patch? It fixes the bug Michel found plus another one. > > Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo > gives also a GPU lockup Sanctuary doesn't lockup for me with this patch, but the only thing visible is the torch. Everything else is black. What settings are you using with Sanctuary? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #15 from Laurent carlier --- (In reply to comment #14) > (In reply to comment #13) > > (In reply to comment #12) > > > Created attachment 85372 [details] [review] [review] [review] > > > SGPR register spilling patch v2 > > > > > > Can you try this v2 patch? It fixes the bug Michel found plus another > > > one. > > > > Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo > > gives also a GPU lockup > > Sanctuary doesn't lockup for me with this patch, but the only thing visible > is the torch. Everything else is black. What settings are you using with > Sanctuary? It's locking up just at the end of the loading screen, so it's the default settings -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #16 from Tom Stellard --- (In reply to comment #15) > (In reply to comment #14) > > (In reply to comment #13) > > > (In reply to comment #12) > > > > Created attachment 85372 [details] [review] [review] [review] [review] > > > > SGPR register spilling patch v2 > > > > > > > > Can you try this v2 patch? It fixes the bug Michel found plus another > > > > one. > > > > > > Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo > > > gives also a GPU lockup > > > > Sanctuary doesn't lockup for me with this patch, but the only thing visible > > is the torch. Everything else is black. What settings are you using with > > Sanctuary? > > It's locking up just at the end of the loading screen, so it's the default > settings Are you using libtxc-dxtn and/or do you have floating-point textures enabled? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #17 from Laurent carlier --- (In reply to comment #16) > > Are you using libtxc-dxtn and/or do you have floating-point textures enabled? I have both enabled, (lib32-)libtxc-dxtn and floating-point textures. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #18 from Michel Dänzer --- (In reply to comment #12) > - Use correct register flags, so we don't overwrite the low dword >when restoring multi-dword registers. This doesn't seem to result in any difference for the code generated for the first Sanctuary shader which spills registers. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #1 from Tom Stellard --- Created attachment 84473 --> https://bugs.freedesktop.org/attachment.cgi?id=84473&action=edit Possible Fix Can you try this mesa patch. If it doesn't fix the crash, can you re-post the shader dump with the patch applied. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #2 from Laurent carlier --- (In reply to comment #1) > Created attachment 84473 [details] [review] > Possible Fix > > Can you try this mesa patch. If it doesn't fix the crash, can you re-post > the shader dump with the patch applied. With the patch applied it still fail -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #3 from Laurent carlier --- Created attachment 84475 --> https://bugs.freedesktop.org/attachment.cgi?id=84475&action=edit Shader dump with patch applied -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #4 from Tom Stellard --- Created attachment 84543 --> https://bugs.freedesktop.org/attachment.cgi?id=84543&action=edit Patch #2 -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #5 from Tom Stellard --- Created attachment 84544 --> https://bugs.freedesktop.org/attachment.cgi?id=84544&action=edit LLVM Patch #3 If you apply all three of these patches, does it fix the crash? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #6 from Laurent carlier --- (In reply to comment #5) > Created attachment 84544 [details] [review] > LLVM Patch #3 > > If you apply all three of these patches, does it fix the crash? It's better, now it crash before the intro start (so latter), new shader dump attached -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #7 from Laurent carlier --- Created attachment 84551 --> https://bugs.freedesktop.org/attachment.cgi?id=84551&action=edit Shader dump with 3 patches applied -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #8 from Laurent carlier --- Same problem with Brütal Legend (after the intro): Buddha.bin.x86: AMDGPUInstrInfo.cpp:109: virtual void llvm::AMDGPUInstrInfo::storeRegToStackSlot(llvm::MachineBasicBlock&, llvm::MachineBasicBlock::iterator, unsigned int, bool, int, const llvm::TargetRegisterClass*, const llvm::TargetRegisterInfo*) const: Assertion `!"Not Implemented"' failed. Stack dump: 0. Running pass 'Function Pass Manager' on module 'tgsi'. 1. Running pass 'Greedy Register Allocator' on function '@main' -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 Tom Stellard changed: What|Removed |Added Attachment #84473|0 |1 is obsolete|| Attachment #84543|0 |1 is obsolete|| Attachment #84544|0 |1 is obsolete|| --- Comment #9 from Tom Stellard --- Created attachment 84880 --> https://bugs.freedesktop.org/attachment.cgi?id=84880&action=edit SGPR register spilling patch Can you test this patch? It should fix the crash, but it may hang your GPU. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #10 from Laurent carlier --- (In reply to comment #9) > Created attachment 84880 [details] [review] > SGPR register spilling patch > > Can you test this patch? It should fix the crash, but it may hang your GPU. It's not really better; instead of the assert, it gives a GPU lockup -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #11 from Michel Dänzer --- (In reply to comment #9) > .addImm(Lane); This results in the lane number being encoded verbatim in the VSRC1 instruction field, which I don't think is correct? I tried adding 0x80 to make it an inline literal, but Sanctuary still locks up. Another potential gotcha I noticed in the ISA documentation is that the V_READ/WRITELANE instructions don't respect the EXEC mask. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 Tom Stellard changed: What|Removed |Added Attachment #84475|0 |1 is obsolete|| Attachment #84551|0 |1 is obsolete|| Attachment #84880|0 |1 is obsolete|| --- Comment #12 from Tom Stellard --- Created attachment 85372 --> https://bugs.freedesktop.org/attachment.cgi?id=85372&action=edit SGPR register spilling patch v2 Can you try this v2 patch? It fixes the bug Michel found plus another one. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #13 from Laurent carlier --- (In reply to comment #12) > Created attachment 85372 [details] [review] > SGPR register spilling patch v2 > > Can you try this v2 patch? It fixes the bug Michel found plus another one. Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo gives also a GPU lockup -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #14 from Tom Stellard --- (In reply to comment #13) > (In reply to comment #12) > > Created attachment 85372 [details] [review] [review] > > SGPR register spilling patch v2 > > > > Can you try this v2 patch? It fixes the bug Michel found plus another one. > > Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo > gives also a GPU lockup Sanctuary doesn't lockup for me with this patch, but the only thing visible is the torch. Everything else is black. What settings are you using with Sanctuary? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #15 from Laurent carlier --- (In reply to comment #14) > (In reply to comment #13) > > (In reply to comment #12) > > > Created attachment 85372 [details] [review] [review] [review] > > > SGPR register spilling patch v2 > > > > > > Can you try this v2 patch? It fixes the bug Michel found plus another > > > one. > > > > Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo > > gives also a GPU lockup > > Sanctuary doesn't lockup for me with this patch, but the only thing visible > is the torch. Everything else is black. What settings are you using with > Sanctuary? It's locking up just at the end of the loading screen, so it's the default settings -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #16 from Tom Stellard --- (In reply to comment #15) > (In reply to comment #14) > > (In reply to comment #13) > > > (In reply to comment #12) > > > > Created attachment 85372 [details] [review] [review] [review] [review] > > > > SGPR register spilling patch v2 > > > > > > > > Can you try this v2 patch? It fixes the bug Michel found plus another > > > > one. > > > > > > Same result as patch v1, GPU lockup instead of llvm assert; Sanctuary demo > > > gives also a GPU lockup > > > > Sanctuary doesn't lockup for me with this patch, but the only thing visible > > is the torch. Everything else is black. What settings are you using with > > Sanctuary? > > It's locking up just at the end of the loading screen, so it's the default > settings Are you using libtxc-dxtn and/or do you have floating-point textures enabled? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #17 from Laurent carlier --- (In reply to comment #16) > > Are you using libtxc-dxtn and/or do you have floating-point textures enabled? I have both enabled, (lib32-)libtxc-dxtn and floating-point textures. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #18 from Michel Dänzer --- (In reply to comment #12) > - Use correct register flags, so we don't overwrite the low dword >when restoring multi-dword registers. This doesn't seem to result in any difference for the code generated for the first Sanctuary shader which spills registers. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #1 from Tom Stellard --- Created attachment 84473 --> https://bugs.freedesktop.org/attachment.cgi?id=84473&action=edit Possible Fix Can you try this mesa patch. If it doesn't fix the crash, can you re-post the shader dump with the patch applied. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #2 from Laurent carlier --- (In reply to comment #1) > Created attachment 84473 [details] [review] > Possible Fix > > Can you try this mesa patch. If it doesn't fix the crash, can you re-post > the shader dump with the patch applied. With the patch applied it still fail -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #3 from Laurent carlier --- Created attachment 84475 --> https://bugs.freedesktop.org/attachment.cgi?id=84475&action=edit Shader dump with patch applied -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #4 from Tom Stellard --- Created attachment 84543 --> https://bugs.freedesktop.org/attachment.cgi?id=84543&action=edit Patch #2 -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #5 from Tom Stellard --- Created attachment 84544 --> https://bugs.freedesktop.org/attachment.cgi?id=84544&action=edit LLVM Patch #3 If you apply all three of these patches, does it fix the crash? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #6 from Laurent carlier --- (In reply to comment #5) > Created attachment 84544 [details] [review] > LLVM Patch #3 > > If you apply all three of these patches, does it fix the crash? It's better, now it crash before the intro start (so latter), new shader dump attached -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #7 from Laurent carlier --- Created attachment 84551 --> https://bugs.freedesktop.org/attachment.cgi?id=84551&action=edit Shader dump with 3 patches applied -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #8 from Laurent carlier --- Same problem with Brütal Legend (after the intro): Buddha.bin.x86: AMDGPUInstrInfo.cpp:109: virtual void llvm::AMDGPUInstrInfo::storeRegToStackSlot(llvm::MachineBasicBlock&, llvm::MachineBasicBlock::iterator, unsigned int, bool, int, const llvm::TargetRegisterClass*, const llvm::TargetRegisterInfo*) const: Assertion `!"Not Implemented"' failed. Stack dump: 0. Running pass 'Function Pass Manager' on module 'tgsi'. 1. Running pass 'Greedy Register Allocator' on function '@main' -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 Tom Stellard changed: What|Removed |Added Attachment #84473|0 |1 is obsolete|| Attachment #84543|0 |1 is obsolete|| Attachment #84544|0 |1 is obsolete|| --- Comment #9 from Tom Stellard --- Created attachment 84880 --> https://bugs.freedesktop.org/attachment.cgi?id=84880&action=edit SGPR register spilling patch Can you test this patch? It should fix the crash, but it may hang your GPU. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 68224] [radeonsi] Serious Sam3 is segfaulting (LLVM assert)
https://bugs.freedesktop.org/show_bug.cgi?id=68224 --- Comment #10 from Laurent carlier --- (In reply to comment #9) > Created attachment 84880 [details] [review] > SGPR register spilling patch > > Can you test this patch? It should fix the crash, but it may hang your GPU. It's not really better; instead of the assert, it gives a GPU lockup -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel