From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen
after use
Date: Wed, 15 Aug 2018 22:21:03 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0388939950=="
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 CD4A36E3C1
for ; Wed, 15 Aug 2018 22:21:03 +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
--===============0388939950==
Content-Type: multipart/alternative; boundary="15343716632.a0eA.8381"
Content-Transfer-Encoding: 7bit
--15343716632.a0eA.8381
Date: Wed, 15 Aug 2018 22:21:03 +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=3D107045
--- Comment #17 from Andrey Grodzovsky ---
(In reply to taijian from comment #15)
> Created attachment 140733 [details]
> dmesg output 4.18rc5 + drm-fixes-2018-07-20
>=20
> OK, so I have some new, probably interesting dmesg output with the latest
> mainline build.
>=20
> What's happening here is that the system boots up, then my background
> display brightness service goes to work (see here:
> https://github.com/FedeDP/Clight and here:
> https://github.com/FedeDP/Clightd) and tries to adjust screen brightness.
> This leads to a number of=20
>=20
> RIP: 0010:dm_dp_aux_transfer+0xa5/0xb0 [amdgpu]
>=20
> trace calls and then the system freeezes completely. And I mean completel=
y,
> as in not even sysrq + REISUB does anything. Does this help in any way?
So i tried with kernel 4.18 rc.1 from here -
https://cgit.freedesktop.org/~agd5f/linux/log/?h=3Damd-staging-drm-next
and 2 cards=20
Provider 0: id: 0x81 cap: 0x9, Source Output, Sink Offload crtcs: 5 outputs=
: 3
associated providers: 1 name:AMD Radeon (TM) RX 460 Graphics @ pci:0000:0b:=
00.0
Provider 1: id: 0x49 cap: 0x6, Sink Output, Source Offload crtcs: 6 outputs=
: 4
associated providers: 1 name:AMD Radeon (TM) RX 480 Graphics @ pci:0000:08:=
00.0
Where RX 460 is the default and RX 480 is the secondary. I ran both glxgears
and glxinfo multiple time with DRI_PRIME=3D1 and haven't observed any issue=
s.
>>From the log I see GPU pci config reset print - where does it come from ? D=
id
you trigger PCI reset for the device manually or did it happen once you tr=
ied
to run any application with DRI_PRIME=3D1 ? Which device is 0000:01:00.0 -
primary or secondary ?
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15343716632.a0eA.8381
Date: Wed, 15 Aug 2018 22:21:03 +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 # 17
on bug 10704=
5
from Andrey Grodzovsky
(In reply to taijian from comment #15)
> Created attachment 140733 [details]
> dmesg output 4.18rc5 + drm-fixes-2018-07-20
>=20
> OK, so I have some new, probably interesting dmesg output with the lat=
est
> mainline build.
>=20
> What's happening here is that the system boots up, then my background
> display brightness service goes to work (see here:
> https://github.com/FedeDP=
/Clight and here:
> https://github.com/FedeD=
P/Clightd) and tries to adjust screen brightness.
> This leads to a number of=20
>=20
> RIP: 0010:dm_dp_aux_transfer+0xa5/0xb0 [amdgpu]
>=20
> trace calls and then the system freeezes completely. And I mean comple=
tely,
> as in not even sysrq + REISUB does anything. Does this help in any way=
?
So i tried with kernel 4.18 rc.1 from here -
https://cgit.freedesktop.org/~agd5f/linux/log/?h=3Damd-staging-drm=
-next
and 2 cards=20
Provider 0: id: 0x81 cap: 0x9, Source Output, Sink Offload crtcs: 5 outputs=
: 3
associated providers: 1 name:AMD Radeon (TM) RX 460 Graphics @ pci:0000=
:0b:00.0
Provider 1: id: 0x49 cap: 0x6, Sink Output, Source Offload crtcs: 6 outputs=
: 4
associated providers: 1 name:AMD Radeon (TM) RX 480 Graphics @ pci:0000=
:08:00.0
Where RX 460 is the default and RX 480 is the secondary. I ran both glxgears
and glxinfo multiple time with DRI_PRIME=3D1 and haven't observed any issue=
s.
>>From the log I see GPU pci config reset print - where does it come from ? D=
id
you trigger PCI reset for the device manually or did it happen once you tr=
ied
to run any application with DRI_PRIME=3D1 ? Which device is 0000:01:00.0 -
primary or secondary ?
You are receiving this mail because:
- You are the assignee for the bug.
=
--15343716632.a0eA.8381--
--===============0388939950==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0388939950==--