From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105425] 3D & games produce periodic GPU crashes (Radeon R7 370) Date: Wed, 25 Apr 2018 10:03:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1716302013==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2EEAE6E1EC for ; Wed, 25 Apr 2018 10:03:43 +0000 (UTC) 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 --===============1716302013== Content-Type: multipart/alternative; boundary="15246506230.fA72CED6D.8289" Content-Transfer-Encoding: 7bit --15246506230.fA72CED6D.8289 Date: Wed, 25 Apr 2018 10:03:43 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D105425 --- Comment #50 from iive@yahoo.com --- If this `messages` file is from the failed apitrace crash recording, then m= aybe you should try again. In the previous file I could see that SysRq has been used. Since the first command you use also kills all programs, including the logging, there are no more logs from the session. I do not see anything SysRq in the new `messages` file. So one possibility = is that you forgot to enable sysrq and it just hang. Another possibility is th= at you need to do things with certain timing. Here is how "transactions" work in linux. The program (apitrace) can make many writes and they all could be cached in ram, without been send to disk. Even if they are written on disk, they might not be committed to the file, until `flush()` or `close()` is called on the file. That is, "in theory", the file should remain unchanged until it is flushed, even when old content is overwritten.=20 SysRq+r takes over the keyboard, so keep pressing that first. SysRq+e would send TERM signal to all programs. It is very likely that apitrace could handle that signal and close all files, thus committing them= to disk. Give it a few seconds to finish. Count to 5 or wait until hdd stops working. SysRq+i sends KILL signal to all programs. This is forcibly termination a= nd might eliminate programs that are still handling the TERM. In your case I w= ould ask you not to use that. SysRq+s sync all kernel buffered reads to disk. Wait for hdd to stop befo= re pressing next key combination. SysRq+u unmount all filesystems. Same as before, wait for the hdd to stop before pressing the next key. SysRq+b reboot. So basically, watch the HDD LED on the PC box and wait for it to stop, befo= re pressing the next key. Have in mind, when you kill all programs, systemd remains as it is running = as init#1, and it would try to restart everything again. So disabling some services you don't need might be good idea. I think I saw apache web server= in the previous log. Good Luck and try again. --=20 You are receiving this mail because: You are the assignee for the bug.= --15246506230.fA72CED6D.8289 Date: Wed, 25 Apr 2018 10:03:43 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 50 on bug 10542= 5 from iive@yahoo.com
If this `messages` file is from the failed apitrace crash reco=
rding, then maybe
you should try again.

In the previous file I could see that SysRq has been used. Since the first
command you use also kills all programs, including the logging, there are no
more  logs from the session.

I do not see anything SysRq in the new `messages` file. So one possibility =
is
that you forgot to enable sysrq and it just hang. Another possibility is th=
at
you need to do things with certain timing.

Here is how "transactions" work in linux.
The program (apitrace) can make many writes and they all could be cached in
ram, without been send to disk. Even if they are written on disk, they might
not be committed to the file, until `flush()` or `close()` is called on the
file.
That is, "in theory", the file should remain unchanged until it i=
s flushed,
even when old content is overwritten.=20

  SysRq+r takes over the keyboard, so keep pressing that first.
  SysRq+e would send TERM signal to all programs. It is very likely that
apitrace could handle that signal and close all files, thus committing them=
 to
disk. Give it a few seconds to finish. Count to 5 or wait until hdd stops
working.
  SysRq+i sends KILL signal to all programs. This is forcibly termination a=
nd
might eliminate programs that are still handling the TERM. In your case I w=
ould
ask you not to use that.
  SysRq+s sync all kernel buffered reads to disk. Wait for hdd to stop befo=
re
pressing next key combination.
  SysRq+u unmount all filesystems. Same as before, wait for the hdd to stop
before pressing the next key.
  SysRq+b reboot.

So basically, watch the HDD LED on the PC box and wait for it to stop, befo=
re
pressing the next key.

Have in mind, when you kill all programs, systemd remains as it is running =
as
init#1, and it would try to restart everything again. So disabling some
services you don't need might be good idea. I think I saw apache web server=
 in
the previous log.


Good Luck and try again.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15246506230.fA72CED6D.8289-- --===============1716302013== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1716302013==--