From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 102322] System crashes after "[drm] IP block:gmc_v8_0 is hung!" / [drm] IP block:sdma_v3_0 is hung! Date: Tue, 14 Aug 2018 21:27:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1539135548==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id AFC616E2E1 for ; Tue, 14 Aug 2018 21:27:41 +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 --===============1539135548== Content-Type: multipart/alternative; boundary="15342820613.FBe893E2.27459" Content-Transfer-Encoding: 7bit --15342820613.FBe893E2.27459 Date: Tue, 14 Aug 2018 21:27:41 +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=3D102322 --- Comment #39 from Andrey Grodzovsky --- (In reply to dwagner from comment #37) > In the related bug report > (https://bugs.freedesktop.org/show_bug.cgi?id=3D107152) I noticed that th= is > bug can be triggered very reliably and quickly by playing a video with a > deliberately lowered frame rate: > "mpv --no-correct-pts --fps=3D3 --ao=3Dnull some_arbitrary_video.webm" >=20 > This led me to assume this bug might be caused by the dynamic power > management, that often ramps performance up/down when a video is played at > such a low frame rate. I tried exactly the same - reproduce with same card model and latest kernel= and run webm clip with mpv same way you did and it didn't happen.=20 >=20 > And indeed, I found this confirmed by many experiments: If I use a script > like > > #!/bin/bash > > cd /sys/class/drm/card0/device > > echo manual >power_dpm_force_performance_level > > # low > > echo 0 >pp_dpm_mclk=20 > > echo 0 >pp_dpm_sclk > > # medium > > #echo 1 >pp_dpm_mclk=20 > > #echo 1 >pp_dpm_sclk > > # high > > #echo 1 >pp_dpm_mclk=20 > > #echo 6 >pp_dpm_sclk > to enforce just any performance level, then the crashes do not occur anym= ore > - also with the "low frame rate video test". >=20 > So it seems that the transition from one "dpm" performance level to anoth= er, > with a certain probability, causes these crashes. And the more often the > transitions occur, the sooner one will experience them. >=20 > (BTW: For unknown reason, invoking "xrandr" or enabling a monitor after > sleep causes the above settings to get lost, so one has to invoke above > script again.) --=20 You are receiving this mail because: You are the assignee for the bug.= --15342820613.FBe893E2.27459 Date: Tue, 14 Aug 2018 21:27:41 +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 # 39 on bug 10232= 2 from Andrey Grodzovsky
(In reply to dwagner from comment #37)
> In the related bug report
> (https://bugs.freedesktop.org/show_bug.=
cgi?id=3D107152) I noticed that this
> bug can be triggered very reliably and quickly by playing a video with=
 a
> deliberately lowered frame rate:
>  "mpv --no-correct-pts --fps=3D3 --ao=3Dnull some_arbitrary_video=
.webm"

>=20
> This led me to assume this bug might be caused by the dynamic power
> management, that often ramps performance up/down when a video is playe=
d at
> such a low frame rate.

I tried exactly the same - reproduce with same card model and latest kernel=
 and
run webm clip with mpv same way you did and it didn't happen.=20

>=20
> And indeed, I found this confirmed by many experiments: If I use a scr=
ipt
> like
> > #!/bin/bash
> > cd /sys/class/drm/card0/device
> > echo manual >power_dpm_force_performance_level
> > # low
> > echo 0 >pp_dpm_mclk=20
> > echo 0 >pp_dpm_sclk
> > # medium
> > #echo 1 >pp_dpm_mclk=20
> > #echo 1 >pp_dpm_sclk
> > # high
> > #echo 1 >pp_dpm_mclk=20
> > #echo 6 >pp_dpm_sclk
> to enforce just any performance level, then the crashes do not occur a=
nymore
> - also with the "low frame rate video test".
>=20
> So it seems that the transition from one "dpm" performance l=
evel to another,
> with a certain probability, causes these crashes. And the more often t=
he
> transitions occur, the sooner one will experience them.
>=20
> (BTW: For unknown reason, invoking "xrandr" or enabling a mo=
nitor after
> sleep causes the above settings to get lost, so one has to invoke above
> script again.)


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