<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107045#c17">Comment # 17</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107045">bug 107045</a>
from <span class="vcard"><a class="email" href="mailto:andrey.grodzovsky@amd.com" title="Andrey Grodzovsky <andrey.grodzovsky@amd.com>"> <span class="fn">Andrey Grodzovsky</span></a>
</span></b>
<pre>(In reply to taijian from <a href="show_bug.cgi?id=107045#c15">comment #15</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=140733" name="attach_140733" title="dmesg output 4.18rc5 + drm-fixes-2018-07-20">attachment 140733</a> <a href="attachment.cgi?id=140733&action=edit" title="dmesg output 4.18rc5 + drm-fixes-2018-07-20">[details]</a></span>
> dmesg output 4.18rc5 + drm-fixes-2018-07-20
>
> OK, so I have some new, probably interesting dmesg output with the latest
> mainline build.
>
> What's happening here is that the system boots up, then my background
> display brightness service goes to work (see here:
> <a href="https://github.com/FedeDP/Clight">https://github.com/FedeDP/Clight</a> and here:
> <a href="https://github.com/FedeDP/Clightd">https://github.com/FedeDP/Clightd</a>) and tries to adjust screen brightness.
> This leads to a number of
>
> RIP: 0010:dm_dp_aux_transfer+0xa5/0xb0 [amdgpu]
>
> trace calls and then the system freeezes completely. And I mean completely,
> as in not even sysrq + REISUB does anything. Does this help in any way?</span >
So i tried with kernel 4.18 rc.1 from here -
<a href="https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next">https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next</a>
and 2 cards
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=1 and haven't observed any issues.
>From the log I see GPU pci config reset print - where does it come from ? Did
you trigger PCI reset for the device manually or did it happen once you tried
to run any application with DRI_PRIME=1 ? Which device is 0000:01:00.0 -
primary or secondary ?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>