All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
@ 2018-06-26 14:35 bugzilla-daemon
  2018-06-26 14:37 ` bugzilla-daemon
                   ` (26 more replies)
  0 siblings, 27 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-06-26 14:35 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2305 bytes --]

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

            Bug ID: 107045
           Summary: [4.18rc2] RX470 dGPU on hybrid laptop freezes screen
                    after use
           Product: DRI
           Version: DRI git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: taijian@posteo.de

Created attachment 140343
  --> https://bugs.freedesktop.org/attachment.cgi?id=140343&action=edit
full dmesg output via 'journalctl -kb -1'

With kernel 4.18rc dpm on my hybrid laptop is finally working (thanks again to
everyone who helped out getting it this far - see bug #104064, bug #106597 and
bug #105760). However, it is still not actually usable, because any activation
of the dGPU leads to a system freeze shortly thereafter. It does not really
matter HOW the dGPU is triggered - be it running a graphical application via
DRI_PRIME=1 or just querying #lshw. The dGPU activates and then tries to power
down again, but that seems to be problematic as the (graphical) system will
invariable freeze and become unresponsive.

The best I have been able to reconstruct from the journal is that whenever the
dGPU is called, it will first do this:

  [drm] PCIE GART of 256M enabled (table at 0x000000F400000000).

followed by a bunch of this: 

  amdgpu: [powerplay] 
           failed to send message 62 ret is 0 
  amdgpu: [powerplay] 
           last message was failed ret is 0
  amdgpu: [powerplay] 
           failed to send message 18f ret is 0 

and then finally: 

  [drm] UVD and UVD ENC initialized successfully.
  [drm] VCE initialized successfully.
  [drm] Cannot find any crtc or sizes
  amdgpu 0000:01:00.0: GPU pci config reset

Sometimes, this will work more than once, sometimes the first invocation after
boot will crash. This seems to be somewhat random. However, the crash will
always come in the "[powerplay] ...failed to send message 18f ret is 0" phase.

Any ideas how to tackle that or extract some more usable error message from my
system?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 4508 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
@ 2018-06-26 14:37 ` bugzilla-daemon
  2018-06-26 14:49 ` bugzilla-daemon
                   ` (25 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-06-26 14:37 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 295 bytes --]

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

--- Comment #1 from taijian@posteo.de ---
Created attachment 140344
  --> https://bugs.freedesktop.org/attachment.cgi?id=140344&action=edit
relevant xorg.log

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1206 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
  2018-06-26 14:37 ` bugzilla-daemon
@ 2018-06-26 14:49 ` bugzilla-daemon
  2018-06-26 16:13 ` bugzilla-daemon
                   ` (24 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-06-26 14:49 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 239 bytes --]

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

--- Comment #2 from Alex Deucher <alexdeucher@gmail.com> ---
When was it last working?  Can you bisect?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1050 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
  2018-06-26 14:37 ` bugzilla-daemon
  2018-06-26 14:49 ` bugzilla-daemon
@ 2018-06-26 16:13 ` bugzilla-daemon
  2018-06-26 16:21 ` bugzilla-daemon
                   ` (23 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-06-26 16:13 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1142 bytes --]

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

--- Comment #3 from taijian@posteo.de ---
(In reply to Alex Deucher from comment #2)
> When was it last working?  Can you bisect?

It never really did work. As you can see from the first post (and may remember)
there have been a number of issues with this card and the dc stack and they
often precluded even booting up. So far I always had a "real" error message
that stuck out and that I could sort of hang my bug report on. So I thought
that this issue was due to any of them, not something unrelated (which it seems
to be). Also, so far I was always able to at least boot up with dc=0 and have
it working, but that seems to be over with 4.18 (does not get past gdm login
screen without freezing...).

So no, I cannot really bisect as there does not seem to have ever been a
version that actually did work flawlessly, unfortunately. I really willing to
try and help coax some better debug info out of my machine, though, if anyone
can give me any pointers as to how that might be achieved.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2008 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-06-26 16:13 ` bugzilla-daemon
@ 2018-06-26 16:21 ` bugzilla-daemon
  2018-06-26 21:30 ` bugzilla-daemon
                   ` (22 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-06-26 16:21 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 485 bytes --]

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

--- Comment #4 from Michel Dänzer <michel@daenzer.net> ---
(In reply to taijian from comment #3)
> Also, so far I was always able to at least boot up with dc=0 and have it
> working, but that seems to be over with 4.18 (does not
> get past gdm login screen without freezing...).

Can you bisect that? That might lead us to the real issue here.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1372 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-06-26 16:21 ` bugzilla-daemon
@ 2018-06-26 21:30 ` bugzilla-daemon
  2018-06-27 12:59 ` bugzilla-daemon
                   ` (21 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-06-26 21:30 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 762 bytes --]

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

--- Comment #5 from taijian@posteo.de ---
(In reply to Michel Dänzer from comment #4)
> (In reply to taijian from comment #3)
> > Also, so far I was always able to at least boot up with dc=0 and have it
> > working, but that seems to be over with 4.18 (does not
> > get past gdm login screen without freezing...).
> 
> Can you bisect that? That might lead us to the real issue here.

Well, I'd love to, but 4.17 unfortunately suffers from bug #105760 and so is
completely unusable for me. So should I try starting from 4.16? That seems like
it might take rather long, even if I don't run into said bug in between...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1919 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-06-26 21:30 ` bugzilla-daemon
@ 2018-06-27 12:59 ` bugzilla-daemon
  2018-06-27 14:17 ` bugzilla-daemon
                   ` (20 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-06-27 12:59 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 515 bytes --]

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

--- Comment #6 from taijian@posteo.de ---
Created attachment 140362
  --> https://bugs.freedesktop.org/attachment.cgi?id=140362&action=edit
excerpt from build log

OK, I decided to bite the bullet and try to bisect from 4.16. However, now 4.16
won't build, and I get the attached error message. What am I doing wrong?

For reference, I'm working with Linus' mainline tree.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1436 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-06-27 12:59 ` bugzilla-daemon
@ 2018-06-27 14:17 ` bugzilla-daemon
  2018-06-28  7:24 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-06-27 14:17 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 375 bytes --]

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

--- Comment #7 from Michel Dänzer <michel@daenzer.net> ---
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/tools/lib/str_error_r.c?id=854e55ad289ef8888e7991f0ada85d5846f5afb9
is required for building with GCC 8.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1341 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (6 preceding siblings ...)
  2018-06-27 14:17 ` bugzilla-daemon
@ 2018-06-28  7:24 ` bugzilla-daemon
  2018-06-29  8:37 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-06-28  7:24 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 561 bytes --]

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

--- Comment #8 from taijian@posteo.de ---
(In reply to Michel Dänzer from comment #7)
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/
> tools/lib/str_error_r.c?id=854e55ad289ef8888e7991f0ada85d5846f5afb9 is
> required for building with GCC 8.

Thank you! I'll try this out and then start working on bisecting first bug
105760 between 4.16 and 4.17 and report back both here and over there.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1512 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (7 preceding siblings ...)
  2018-06-28  7:24 ` bugzilla-daemon
@ 2018-06-29  8:37 ` bugzilla-daemon
  2018-06-29  8:44 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-06-29  8:37 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 608 bytes --]

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

--- Comment #9 from taijian@posteo.de ---
Created attachment 140390
  --> https://bugs.freedesktop.org/attachment.cgi?id=140390&action=edit
First bad commit, as per git bisect

OK, so I did some git-bisect work in order to find where exactly booting with
amdgpu.dc=0 broke. What I found is attached, although it does not make much
sense to me... Maybe someone else can figure this out. 

Note that when trying to boot this build with dc=1, then bug 105760 happens.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1771 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (8 preceding siblings ...)
  2018-06-29  8:37 ` bugzilla-daemon
@ 2018-06-29  8:44 ` bugzilla-daemon
  2018-06-29  8:56 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-06-29  8:44 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 721 bytes --]

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

--- Comment #10 from Michel Dänzer <michel@daenzer.net> ---
(In reply to taijian from comment #9)
> OK, so I did some git-bisect work in order to find where exactly booting
> with amdgpu.dc=0 broke. What I found is attached, although it does not make
> much sense to me...

Indeed, it's pretty much impossible for that change to cause the problem.

Most likely, the issue with amdgpu.dc=0 happens with some probability < 100%,
so you'd have to test longer / several times before declaring a commit as good.
(A commit where the problem occurs can immediately be marked as bad)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1612 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (9 preceding siblings ...)
  2018-06-29  8:44 ` bugzilla-daemon
@ 2018-06-29  8:56 ` bugzilla-daemon
  2018-06-29 15:10 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-06-29  8:56 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 821 bytes --]

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

--- Comment #11 from taijian@posteo.de ---
(In reply to Michel Dänzer from comment #10)
> (In reply to taijian from comment #9)
> > OK, so I did some git-bisect work in order to find where exactly booting
> > with amdgpu.dc=0 broke. What I found is attached, although it does not make
> > much sense to me...
> 
> Indeed, it's pretty much impossible for that change to cause the problem.
> 
> Most likely, the issue with amdgpu.dc=0 happens with some probability <
> 100%, so you'd have to test longer / several times before declaring a commit
> as good. (A commit where the problem occurs can immediately be marked as bad)

That's what I figured... So, back to testing...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1758 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (10 preceding siblings ...)
  2018-06-29  8:56 ` bugzilla-daemon
@ 2018-06-29 15:10 ` bugzilla-daemon
  2018-06-29 16:04 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-06-29 15:10 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 583 bytes --]

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

--- Comment #12 from taijian@posteo.de ---
OK, so I tried again, and again the result was kinda non-sensical. I think the
problem is that there are more than one problem here - while bisecting, bug
105760 went away at some point, but instead something else kept crashing the
system seemingly at random. Some builds would load up once or twice, then crash
on the next try without ANY usable hint in the journal/dmesg. 

So I'm all outa ideas.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1369 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (11 preceding siblings ...)
  2018-06-29 15:10 ` bugzilla-daemon
@ 2018-06-29 16:04 ` bugzilla-daemon
  2018-06-29 22:13 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-06-29 16:04 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 270 bytes --]

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

--- Comment #13 from taijian@posteo.de ---
Aaaand I figured out what I did wrong this time... So hopefully third time IS
the charm...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1056 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (12 preceding siblings ...)
  2018-06-29 16:04 ` bugzilla-daemon
@ 2018-06-29 22:13 ` bugzilla-daemon
  2018-07-20 15:13 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-06-29 22:13 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 631 bytes --]

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

--- Comment #14 from taijian@posteo.de ---
Yeah, screw this. 

I tried again, but because there are several different bugs interacting and
screwing up the boot process, I really can't seem to be able to figure out
which one exactly is borking up which build. 

I've been waiting for more than a year to be able to use my laptop the way it
was meant to be, and I'm now ready to declare that I'm never again buying a
piece of hardware that hasn't already been confirmed to work with Linux.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1417 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (13 preceding siblings ...)
  2018-06-29 22:13 ` bugzilla-daemon
@ 2018-07-20 15:13 ` bugzilla-daemon
  2018-07-20 15:14 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-07-20 15:13 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 892 bytes --]

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

--- Comment #15 from taijian@posteo.de ---
Created attachment 140733
  --> https://bugs.freedesktop.org/attachment.cgi?id=140733&action=edit
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?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1951 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (14 preceding siblings ...)
  2018-07-20 15:13 ` bugzilla-daemon
@ 2018-07-20 15:14 ` bugzilla-daemon
  2018-07-20 16:35 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-07-20 15:14 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 286 bytes --]

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

--- Comment #16 from taijian@posteo.de ---
Oh and this service thingy naturally works just fine with amdgpu either
blacklisted or 4.14-lts with dc=0.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1072 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (15 preceding siblings ...)
  2018-07-20 15:14 ` bugzilla-daemon
@ 2018-07-20 16:35 ` bugzilla-daemon
  2018-08-15 22:21 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-07-20 16:35 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 439 bytes --]

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

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Whiteboard|                            |
                 CC|                            |harry.wentland@amd.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1295 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (16 preceding siblings ...)
  2018-07-20 16:35 ` bugzilla-daemon
@ 2018-08-15 22:21 ` bugzilla-daemon
  2018-08-16  7:05 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-08-15 22:21 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1806 bytes --]

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

--- Comment #17 from Andrey Grodzovsky <andrey.grodzovsky@amd.com> ---
(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 ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3172 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (17 preceding siblings ...)
  2018-08-15 22:21 ` bugzilla-daemon
@ 2018-08-16  7:05 ` bugzilla-daemon
  2018-08-24 20:48 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-08-16  7:05 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2149 bytes --]

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

--- Comment #18 from taijian@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.

[-- Attachment #1.2: Type: text/html, Size: 3632 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (18 preceding siblings ...)
  2018-08-16  7:05 ` bugzilla-daemon
@ 2018-08-24 20:48 ` bugzilla-daemon
  2018-08-28 16:48 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-08-24 20:48 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2347 bytes --]

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

--- Comment #19 from taijian@posteo.de ---
01:00.0 is indeed the RX470.

$ sudo lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor
Host Bridge/DRAM Registers (rev 05)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core
Processor PCIe Controller (x16) (rev 05)
00:01.2 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core
Processor PCIe Controller (x4) (rev 05)
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500
v5/6th Gen Core Processor Thermal Subsystem (rev 05)
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI
Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal
subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI
#1 (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller
[AHCI mode] (rev 31)
00:1b.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Root Port #17 (rev
f1)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1
(rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #6
(rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9
(rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Ellesmere [Radeon RX 470/480/570/570X/580/580X] (rev c5)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon
RX 580]
3b:00.0 Non-Volatile memory controller: Toshiba America Info Systems XG4 NVMe
SSD Controller (rev 01)
3d:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network
Adapter (rev 32)
3e:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD
Controller SM961/PM961

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3133 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (19 preceding siblings ...)
  2018-08-24 20:48 ` bugzilla-daemon
@ 2018-08-28 16:48 ` bugzilla-daemon
  2018-08-28 22:14 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-08-28 16:48 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 960 bytes --]

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

--- Comment #20 from taijian@posteo.de ---
OK, here is a new twist: upon further investigating this, I came across some
weird backlight behaviour that I originally reported here:
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/53. However, as it
turns out, this is not a gnome issue but a kernel one.

Namely, doing 

  echo X > /sys/class/backlight/intel_backlight/brightness

will wake my dGPU, even though it really shouldn't be involved at all (and does
not have a /sys/class/backlight device registered). Furthermore, repeatedly
invoking this command before the dGPU has had the chance to go back to sleep
will not do anything. Thirdly, this seems to be a very good way to get the
system to hard lock up.

So, is this an amdgpu issue? A i915 issue? ACPI? where should I take this bug
report?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1826 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (20 preceding siblings ...)
  2018-08-28 16:48 ` bugzilla-daemon
@ 2018-08-28 22:14 ` bugzilla-daemon
  2018-08-31 19:21 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-08-28 22:14 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1196 bytes --]

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

--- Comment #21 from Andrey Grodzovsky <andrey.grodzovsky@amd.com> ---
(In reply to taijian from comment #20)
> OK, here is a new twist: upon further investigating this, I came across some
> weird backlight behaviour that I originally reported here:
> https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/53. However, as
> it turns out, this is not a gnome issue but a kernel one.
> 
> Namely, doing 
> 
>   echo X > /sys/class/backlight/intel_backlight/brightness
> 
> will wake my dGPU, even though it really shouldn't be involved at all (and
> does not have a /sys/class/backlight device registered). Furthermore,
> repeatedly invoking this command before the dGPU has had the chance to go
> back to sleep will not do anything. Thirdly, this seems to be a very good
> way to get the system to hard lock up.
> 
> So, is this an amdgpu issue? A i915 issue? ACPI? where should I take this
> bug report?

What do you mean by 'wake' the dGPU? This should be a separate ticket which you
can submit here + attach dmesg after this 'wake'.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2217 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (21 preceding siblings ...)
  2018-08-28 22:14 ` bugzilla-daemon
@ 2018-08-31 19:21 ` bugzilla-daemon
  2018-08-31 19:21 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-08-31 19:21 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 4750 bytes --]

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

--- Comment #22 from taijian@posteo.de ---
OK, after some further testing, here is some more information on my issue:

1) It turns out that the crashing/hanging behaviour ONLY happens when I'm
logged into a graphical session (GNOME in my case). When working exclusively
from a tty, then the system remains stable.

2) A Wayland session seems to be slightly more stable/resillient to crashing
than an X11 session. While the latter crashes almost immediately when doing
anything with the backlight, the former goes through a couple of cycles of
extreme lag, stuttering and recovery before finally succumbing to whatever the
problem is.

3) I can reliably and reproduceably crash my graphical session by messing with
screen brightness in any way - either through the tools of the graphical shell
or by doing #echo X > /sys/class/backlight/intel_backlight/brightness.

4) Why is this an amdgpu bug then? Because the issue only arises when amdgpu is
loaded in DC mode, because in this mode the display connectors directly
connected to the dGPU (DP, eDP and HDMI) are being ennumerated. With dc=0 they
are not recognized and can therefore not create any problems.

5) What I think happens is that the graphical shell tries to adjust brightness
on the displays that are ennumerated as connectors but not actually connected,
and by doing so eventually get amdgpu to crash irrecoverably. 

6) When intel_backlight gets manipulated, the following always shows up in
dmesg (the first couple of times the dGPU gets to the 'reset', at some point is
just crashes before that, taking the system with it).


Aug 31 17:58:54 alien-arch kernel: [drm] PCIE GART of 256M enabled (table at
0x000000F400000000).
Aug 31 17:58:54 alien-arch kernel: amdgpu: [powerplay] 
                                    failed to send message 62 ret is 0 
Aug 31 17:58:54 alien-arch kernel: amdgpu: [powerplay] 
                                    last message was failed ret is 0
Aug 31 17:58:55 alien-arch kernel: amdgpu: [powerplay] 
                                    failed to send message 18f ret is 0 
Aug 31 17:58:55 alien-arch kernel: [drm] UVD and UVD ENC initialized
successfully.
Aug 31 17:58:55 alien-arch kernel: [drm] VCE initialized successfully.
Aug 31 17:58:56 alien-arch kernel: [drm] Cannot find any crtc or sizes
Aug 31 17:58:57 alien-arch kernel: amdgpu: [powerplay] 
                                    failed to send message 15b ret is 0 
Aug 31 17:58:58 alien-arch kernel: amdgpu: [powerplay] 
                                    failed to send message 155 ret is 0 
Aug 31 17:59:06 alien-arch kernel: amdgpu: [powerplay] 
                                    failed to send message 281 ret is 0 
Aug 31 17:59:07 alien-arch kernel: amdgpu: [powerplay] 
                                    last message was failed ret is 0
Aug 31 17:59:07 alien-arch kernel: amdgpu: [powerplay] 
                                    failed to send message 261 ret is 0 
Aug 31 17:59:08 alien-arch kernel: amdgpu: [powerplay] 
                                    last message was failed ret is 0
Aug 31 17:59:08 alien-arch kernel: amdgpu: [powerplay] 
                                    failed to send message 261 ret is 0 
Aug 31 17:59:09 alien-arch kernel: amdgpu: [powerplay] 
                                    last message was failed ret is 0
Aug 31 17:59:10 alien-arch kernel: amdgpu: [powerplay] 
                                    failed to send message 261 ret is 0 
Aug 31 17:59:10 alien-arch kernel: amdgpu: [powerplay] 
                                    last message was failed ret is 0
Aug 31 17:59:11 alien-arch kernel: amdgpu: [powerplay] 
                                    failed to send message 261 ret is 0 
Aug 31 17:59:12 alien-arch kernel: amdgpu: [powerplay] 
                                    last message was failed ret is 0
Aug 31 17:59:12 alien-arch kernel: amdgpu: [powerplay] 
                                    failed to send message 261 ret is 0 
Aug 31 17:59:13 alien-arch kernel: amdgpu: [powerplay] 
                                    last message was failed ret is 0
Aug 31 17:59:13 alien-arch kernel: amdgpu: [powerplay] 
                                    failed to send message 261 ret is 0 
Aug 31 17:59:14 alien-arch kernel: amdgpu: [powerplay] 
                                    last message was failed ret is 0
Aug 31 17:59:14 alien-arch kernel: amdgpu: [powerplay] 
                                    failed to send message 261 ret is 0 
Aug 31 17:59:14 alien-arch kernel: amdgpu 0000:01:00.0: GPU pci config reset

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 5539 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (22 preceding siblings ...)
  2018-08-31 19:21 ` bugzilla-daemon
@ 2018-08-31 19:21 ` bugzilla-daemon
  2018-09-05 21:46 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-08-31 19:21 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 287 bytes --]

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

--- Comment #23 from taijian@posteo.de ---
Oh, and before I forget - GNOME bug is here:
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/53

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1150 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (23 preceding siblings ...)
  2018-08-31 19:21 ` bugzilla-daemon
@ 2018-09-05 21:46 ` bugzilla-daemon
  2018-10-06 19:49 ` bugzilla-daemon
  2018-10-06 19:50 ` bugzilla-daemon
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-09-05 21:46 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 735 bytes --]

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

--- Comment #24 from taijian@posteo.de ---
OK, another update after another test, this time booting into a live system
without any graphical shell/login manager.

Here, manipulating /sys/class/intel_backlight/brightness does nothing to the
dGPU, so that part is clearly a user space bug.

However, a simple #lspci DOES crash the system in the manner described above,
so that part is still on amdgpu (and likely the root cause of the behaviour
described in my OP). Again, this is only an issue with dc=1 and not with dc=0.
Possibly related: https://bugzilla.kernel.org/show_bug.cgi?id=156341

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1586 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (24 preceding siblings ...)
  2018-09-05 21:46 ` bugzilla-daemon
@ 2018-10-06 19:49 ` bugzilla-daemon
  2018-10-06 19:50 ` bugzilla-daemon
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-10-06 19:49 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 217 bytes --]

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

--- Comment #25 from taijian@posteo.de ---
OK, this seems to be fixed on 4.19rc6+

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1003 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
  2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
                   ` (25 preceding siblings ...)
  2018-10-06 19:49 ` bugzilla-daemon
@ 2018-10-06 19:50 ` bugzilla-daemon
  26 siblings, 0 replies; 28+ messages in thread
From: bugzilla-daemon @ 2018-10-06 19:50 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 412 bytes --]

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

taijian@posteo.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2018-10-06 19:50 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-26 14:35 [Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use bugzilla-daemon
2018-06-26 14:37 ` bugzilla-daemon
2018-06-26 14:49 ` bugzilla-daemon
2018-06-26 16:13 ` bugzilla-daemon
2018-06-26 16:21 ` bugzilla-daemon
2018-06-26 21:30 ` bugzilla-daemon
2018-06-27 12:59 ` bugzilla-daemon
2018-06-27 14:17 ` bugzilla-daemon
2018-06-28  7:24 ` bugzilla-daemon
2018-06-29  8:37 ` bugzilla-daemon
2018-06-29  8:44 ` bugzilla-daemon
2018-06-29  8:56 ` bugzilla-daemon
2018-06-29 15:10 ` bugzilla-daemon
2018-06-29 16:04 ` bugzilla-daemon
2018-06-29 22:13 ` bugzilla-daemon
2018-07-20 15:13 ` bugzilla-daemon
2018-07-20 15:14 ` bugzilla-daemon
2018-07-20 16:35 ` bugzilla-daemon
2018-08-15 22:21 ` bugzilla-daemon
2018-08-16  7:05 ` bugzilla-daemon
2018-08-24 20:48 ` bugzilla-daemon
2018-08-28 16:48 ` bugzilla-daemon
2018-08-28 22:14 ` bugzilla-daemon
2018-08-31 19:21 ` bugzilla-daemon
2018-08-31 19:21 ` bugzilla-daemon
2018-09-05 21:46 ` bugzilla-daemon
2018-10-06 19:49 ` bugzilla-daemon
2018-10-06 19:50 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.