[Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 16 07:05:54 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=107045

--- Comment #18 from taijian at posteo.de ---
(In reply to Andrey Grodzovsky from comment #17)
> (In reply to taijian from comment #15)
> > Created attachment 140733 [details]
> > 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:
> > https://github.com/FedeDP/Clight and here:
> > https://github.com/FedeDP/Clightd) 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?
> 
> So i tried with kernel 4.18 rc.1 from here -
> https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next
> 
> 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 ?

Disclaimer: I'm on vacation and away from my computer right now, so going from
memory. 

0000:01:00.0 is probably the RX 470. And the PCI resets happen automatically
when invoking an application via DRI_PRIME=1,no manual action necessary.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180816/c1e2ba73/attachment.html>


More information about the dri-devel mailing list