From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 81907] New: Unreal Engine "Effects Cave" Demo crashes in __memcpy_sse2_unaligned Date: Wed, 30 Jul 2014 08:43:54 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0466159671==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A02E76E0AA for ; Wed, 30 Jul 2014 01:43:54 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0466159671== Content-Type: multipart/alternative; boundary="1406709834.1dDD0.21426"; charset="us-ascii" --1406709834.1dDD0.21426 Date: Wed, 30 Jul 2014 08:43:54 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=81907 Priority: medium Bug ID: 81907 Assignee: dri-devel@lists.freedesktop.org Summary: Unreal Engine "Effects Cave" Demo crashes in __memcpy_sse2_unaligned Severity: normal Classification: Unclassified OS: All Reporter: haagch@frickel.club Hardware: Other Status: NEW Version: git Component: Drivers/Gallium/radeonsi Product: Mesa Created attachment 103673 --> https://bugs.freedesktop.org/attachment.cgi?id=103673&action=edit full backtrace llvm-svn 214022 mesa git master from today without f4b0ab7afd83c811329211eae8167c9bf238870c linux 3.16-rc7 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wimbledon XT [Radeon HD 7970M] (rev ff) intel with render nodes, tearfree and DRI3 and I run it with DRI_PRIME=1. Because of bug 81834 I reverted f4b0ab7afd83c811329211eae8167c9bf238870c. Now I get this crash in the "Effects Cave" demo of the unreal engine. More rarely (?) I get bug 80880 instead/first. In other demos (perhaps less complex) like TappyChicken I always get bug 80880 and never (?) this crash here: 0x00007ffff6a15859 in __memcpy_sse2_unaligned () from /usr/lib/libc.so.6 It seems to run for a few seconds, the music is playing, but the window contents are black (it seems nothing at all is rendered, sometimes there are white stripes that do not vanish until it crashes). Then it crashes with the attached backtrace. The "binary" struct seem to be always one of the same few. Others are: binary = {code = 0x7fffb9ced270 "~\n\376\276\t\003\374\276\002\003\002\310\002\002\006\310\001\001", code_size = 76, config = 0x7fffb9cf1a90 "(\260", config_size = 24, rodata = 0x0, rodata_size = 0, disassembled = 0} and binary = {code = 0x7fffb9f85a10 "~\n\376\276\t", , code_size = 4160, config = 0x7fffb9e33840 "(\260", config_size = 24, rodata = 0x0, rodata_size = 0, disassembled = 0} -- You are receiving this mail because: You are the assignee for the bug. --1406709834.1dDD0.21426 Date: Wed, 30 Jul 2014 08:43:54 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 81907
Assignee dri-devel@lists.freedesktop.org
Summary Unreal Engine "Effects Cave" Demo crashes in __memcpy_sse2_unaligned
Severity normal
Classification Unclassified
OS All
Reporter haagch@frickel.club
Hardware Other
Status NEW
Version git
Component Drivers/Gallium/radeonsi
Product Mesa

Created attachment 103673 [details]
full backtrace

llvm-svn 214022
mesa git master from today without f4b0ab7afd83c811329211eae8167c9bf238870c
linux 3.16-rc7

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor
Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Wimbledon XT [Radeon HD 7970M] (rev ff)

intel with render nodes, tearfree and DRI3 and I run it with DRI_PRIME=1.

Because of bug 81834 I reverted f4b0ab7afd83c811329211eae8167c9bf238870c.

Now I get this crash in the "Effects Cave" demo of the unreal engine. More
rarely (?) I get bug 80880 instead/first. In other demos (perhaps less complex)
like TappyChicken I always get bug 80880 and never (?) this crash here:

0x00007ffff6a15859 in __memcpy_sse2_unaligned () from /usr/lib/libc.so.6


It seems to run for a few seconds, the music is playing, but the window
contents are black (it seems nothing at all is rendered, sometimes there are
white stripes that do not vanish until it crashes). Then it crashes with the
attached backtrace.

The "binary" struct seem to be always one of the same few. Others are:

binary = {code = 0x7fffb9ced270
"~\n\376\276\t\003\374\276\002\003\002\310\002\002\006\310\001\001", code_size
= 76, config = 0x7fffb9cf1a90 "(\260", config_size = 24, rodata = 0x0,
rodata_size = 0, disassembled = 0}

and

binary = {code = 0x7fffb9f85a10 "~\n\376\276\t", <incomplete sequence
\374\276>, code_size = 4160, config = 0x7fffb9e33840 "(\260", config_size = 24,
rodata = 0x0, rodata_size = 0, disassembled = 0}


You are receiving this mail because:
  • You are the assignee for the bug.
--1406709834.1dDD0.21426-- --===============0466159671== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0466159671==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 81907] Unreal Engine "Effects Cave" Demo crashes with SIGBUS in __memcpy_sse2_unaligned Date: Wed, 30 Jul 2014 09:04:00 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1841894773==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 488B66E593 for ; Wed, 30 Jul 2014 02:04:00 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1841894773== Content-Type: multipart/alternative; boundary="1406711040.E0d801.27008"; charset="us-ascii" --1406711040.E0d801.27008 Date: Wed, 30 Jul 2014 09:04:00 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D81907 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Unreal Engine "Effects |Unreal Engine "Effects |Cave" Demo crashes in |Cave" Demo crashes with |__memcpy_sse2_unaligned |SIGBUS in | |__memcpy_sse2_unaligned Product|Mesa |DRI Version|git |unspecified Component|Drivers/Gallium/radeonsi |DRM/Radeon --=20 You are receiving this mail because: You are the assignee for the bug. --1406711040.E0d801.27008 Date: Wed, 30 Jul 2014 09:04:00 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable = Michel D=C3=A4nzer changed bug 81907<= /a>
What Removed Added
Summary Unreal Engine "Effects Cave" Demo crashes in __mem= cpy_sse2_unaligned Unreal Engine "Effects Cave" Demo crashes with SIG= BUS in __memcpy_sse2_unaligned
Product Mesa DRI
Version git unspecified
Component Drivers/Gallium/radeonsi DRM/Radeon


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1406711040.E0d801.27008-- --===============1841894773== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1841894773==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 81907] Unreal Engine "Effects Cave" Demo crashes with SIGBUS in __memcpy_sse2_unaligned Date: Fri, 01 Aug 2014 10:24:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1335618894==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C0A7A6E73D for ; Fri, 1 Aug 2014 03:24:24 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1335618894== Content-Type: multipart/alternative; boundary="1406888664.46a03afa0.15268"; charset="us-ascii" --1406888664.46a03afa0.15268 Date: Fri, 1 Aug 2014 10:24:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=81907 --- Comment #1 from Christoph Haag --- Some information in case someone tries to reproduce it. I applied this patch additionally to the revert: https://bugs.freedesktop.org/show_bug.cgi?id=80880#c10 Many demos work now. But the Cave Demo does not work, it hangs the GPU. I can not reproduce the original bug I posted here anymore with the patch, just the hang. It looks like this: ring 0 stalled for more than 10146msec GPU lockup (waiting for 0x000000000000a921 last fence id 0x000000000000a920 on ring 0) failed to get a new IB (-35) Saved 205 dwords of commands on ring 0. GPU softreset: 0x0000004D GRBM_STATUS = 0xE7DE5028 GRBM_STATUS_SE0 = 0xEF800002 GRBM_STATUS_SE1 = 0xEFC00002 SRBM_STATUS = 0x200000C0 SRBM_STATUS2 = 0x00000000 R_008674_CP_STALLED_STAT1 = 0x00000000 R_008678_CP_STALLED_STAT2 = 0x00010800 R_00867C_CP_BUSY_STAT = 0x00408006 R_008680_CP_STAT = 0x84038647 R_00D034_DMA_STATUS_REG = 0x44C83146 R_00D834_DMA_STATUS_REG = 0x44C83D57 VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x00000000 VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x00000000 GRBM_SOFT_RESET=0x0000DDFF SRBM_SOFT_RESET=0x00100100 GRBM_STATUS = 0x00003028 GRBM_STATUS_SE0 = 0x00000006 GRBM_STATUS_SE1 = 0x00000006 SRBM_STATUS = 0x200000C0 SRBM_STATUS2 = 0x00000000 R_008674_CP_STALLED_STAT1 = 0x00000000 R_008678_CP_STALLED_STAT2 = 0x00000000 R_00867C_CP_BUSY_STAT = 0x00000000 R_008680_CP_STAT = 0x00000000 R_00D034_DMA_STATUS_REG = 0x44C83D57 R_00D834_DMA_STATUS_REG = 0x44C83D57 GPU reset succeeded, trying to resume I'll leave this bug report open, because I have no idea if this bug will reappear once the hang is fixed. -- You are receiving this mail because: You are the assignee for the bug. --1406888664.46a03afa0.15268 Date: Fri, 1 Aug 2014 10:24:24 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 81907 from
Some information in case someone tries to reproduce it.

I applied this patch additionally to the revert:
https://bugs.freedesktop.org/show_bug.cgi?id=80880#c10

Many demos work now. But the Cave Demo does not work, it hangs the GPU.

I can not reproduce the original bug I posted here anymore with the patch, just
the hang. It looks like this:

ring 0 stalled for more than 10146msec
GPU lockup (waiting for 0x000000000000a921 last fence id 0x000000000000a920 on
ring 0)
failed to get a new IB (-35)
Saved 205 dwords of commands on ring 0.
GPU softreset: 0x0000004D
  GRBM_STATUS               = 0xE7DE5028
  GRBM_STATUS_SE0           = 0xEF800002
  GRBM_STATUS_SE1           = 0xEFC00002
  SRBM_STATUS               = 0x200000C0
  SRBM_STATUS2              = 0x00000000
  R_008674_CP_STALLED_STAT1 = 0x00000000
  R_008678_CP_STALLED_STAT2 = 0x00010800
  R_00867C_CP_BUSY_STAT     = 0x00408006
  R_008680_CP_STAT          = 0x84038647
  R_00D034_DMA_STATUS_REG   = 0x44C83146
  R_00D834_DMA_STATUS_REG   = 0x44C83D57
  VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00000000
  VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x00000000
GRBM_SOFT_RESET=0x0000DDFF
SRBM_SOFT_RESET=0x00100100
  GRBM_STATUS               = 0x00003028
  GRBM_STATUS_SE0           = 0x00000006
  GRBM_STATUS_SE1           = 0x00000006
  SRBM_STATUS               = 0x200000C0
  SRBM_STATUS2              = 0x00000000
  R_008674_CP_STALLED_STAT1 = 0x00000000
  R_008678_CP_STALLED_STAT2 = 0x00000000
  R_00867C_CP_BUSY_STAT     = 0x00000000
  R_008680_CP_STAT          = 0x00000000
  R_00D034_DMA_STATUS_REG   = 0x44C83D57
  R_00D834_DMA_STATUS_REG   = 0x44C83D57
GPU reset succeeded, trying to resume


I'll leave this bug report open, because I have no idea if this bug will
reappear once the hang is fixed.


You are receiving this mail because:
  • You are the assignee for the bug.
--1406888664.46a03afa0.15268-- --===============1335618894== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1335618894==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 81907] Unreal Engine "Effects Cave" Demo crashes with SIGBUS in __memcpy_sse2_unaligned Date: Fri, 01 Aug 2014 14:38:16 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0378422782==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 370F36E786 for ; Fri, 1 Aug 2014 07:38:16 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0378422782== Content-Type: multipart/alternative; boundary="1406903896.7bCAd1.492"; charset="us-ascii" --1406903896.7bCAd1.492 Date: Fri, 1 Aug 2014 14:38:16 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D81907 --- Comment #2 from Michel D=C3=A4nzer --- (In reply to comment #1) > Many demos work now. But the Cave Demo does not work, it hangs the GPU. Hmm, that one works for me. Only the Elemental and Sci-Fi Hallway demos run into shader compiler failures and corresponding GPU VM faults for me, no ha= ngs though. > I'll leave this bug report open, because I have no idea if this bug will > reappear once the hang is fixed. Right, they're probably separate problems and need to be tracked separately. --=20 You are receiving this mail because: You are the assignee for the bug. --1406903896.7bCAd1.492 Date: Fri, 1 Aug 2014 14:38:16 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 2 on bug 81907<= /a> from Michel D=C3=A4nzer
(In reply to comment #1=
)
> Many demos work now. But the Cave Demo does not =
work, it hangs the GPU.

Hmm, that one works for me. Only the Elemental and Sci-Fi Hallway demos run
into shader compiler failures and corresponding GPU VM faults for me, no ha=
ngs
though.


> I'll leave this bug report open, because I have =
no idea if this bug will
> reappear once the hang is fixed.

Right, they're probably separate problems and need to be tracked separately=
.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1406903896.7bCAd1.492-- --===============0378422782== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0378422782==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 81907] Unreal Engine "Effects Cave" Demo crashes with SIGBUS in __memcpy_sse2_unaligned Date: Fri, 01 Aug 2014 15:31:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2057331017==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 14AA86E289 for ; Fri, 1 Aug 2014 08:31:50 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2057331017== Content-Type: multipart/alternative; boundary="1406907109.eFB50.16882"; charset="us-ascii" --1406907109.eFB50.16882 Date: Fri, 1 Aug 2014 15:31:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=81907 --- Comment #3 from Christoph Haag --- Oh, the hang in comment 1 may have been my fault for running it with hyperz. But without hyperz it hangs too, just less verbosely: radeon 0000:01:00.0: ring 3 stalled for more than 10016msec radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000011c4a last fence id 0x0000000000011b2a on ring 3) [TTM] Buffer eviction failed -- You are receiving this mail because: You are the assignee for the bug. --1406907109.eFB50.16882 Date: Fri, 1 Aug 2014 15:31:49 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 3 on bug 81907 from
Oh, the hang in comment 1 may have been my fault for running it with hyperz.

But without hyperz it hangs too, just less verbosely:

radeon 0000:01:00.0: ring 3 stalled for more than 10016msec
radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000011c4a last fence id
0x0000000000011b2a on ring 3)
[TTM] Buffer eviction failed


You are receiving this mail because:
  • You are the assignee for the bug.
--1406907109.eFB50.16882-- --===============2057331017== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2057331017==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 81907] Unreal Engine "Effects Cave" Demo crashes with SIGBUS in __memcpy_sse2_unaligned Date: Wed, 13 Aug 2014 10:25:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1123793142==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id EE5746E2A4 for ; Wed, 13 Aug 2014 03:25:24 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1123793142== Content-Type: multipart/alternative; boundary="1407925524.F5445cE50.12206"; charset="us-ascii" --1407925524.F5445cE50.12206 Date: Wed, 13 Aug 2014 10:25:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=81907 Christoph Haag changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Christoph Haag --- This here doesn't happen anymore with recent mesa git builds either. Cave Effects demo now runs on my GPU. -- You are receiving this mail because: You are the assignee for the bug. --1407925524.F5445cE50.12206 Date: Wed, 13 Aug 2014 10:25:24 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 81907
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Comment # 4 on bug 81907 from
This here doesn't happen anymore with recent mesa git builds either.

Cave Effects demo now runs on my GPU.


You are receiving this mail because:
  • You are the assignee for the bug.
--1407925524.F5445cE50.12206-- --===============1123793142== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1123793142==--