dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380
@ 2020-02-17 16:28 bugzilla-daemon
  2020-02-17 16:29 ` [Bug 206575] " bugzilla-daemon
                   ` (28 more replies)
  0 siblings, 29 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-02-17 16:28 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

            Bug ID: 206575
           Summary: [amdgpu] [drm] No video signal on resume from suspend,
                    R9 380
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.5
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: low
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: veox+kernel@veox.pw
        Regression: No

Created attachment 287441
  --> https://bugzilla.kernel.org/attachment.cgi?id=287441&action=edit
dmesg output for resume-from-suspend, linux 5.5.4

OS: Arch Linux
GPU: (MSI) Radeon R9 380

On `systemctl suspend` and subsequent resume, the monitors display "no signal".
The machine is responsive, commands can be typed on the keyboard, SSH'ing is
also possible.

Somewhat unexpectedly, resume from hibernation works fine (i.e. there is
signal).

This started happening a few weeks ago, seemingly when `linux` v5.5.2 was
installed. Was also present on v5.5.3 and v5.5.4 (current).

`linux-lts` v5.4.20 does not exhibit this behaviour; it's a regression.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
@ 2020-02-17 16:29 ` bugzilla-daemon
  2020-02-17 16:29 ` bugzilla-daemon
                   ` (27 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-02-17 16:29 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #1 from Noel Maersk (veox+kernel@veox.pw) ---
Created attachment 287443
  --> https://bugzilla.kernel.org/attachment.cgi?id=287443&action=edit
dmesg output for resume-from-suspend, linux 5.4.20

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
  2020-02-17 16:29 ` [Bug 206575] " bugzilla-daemon
@ 2020-02-17 16:29 ` bugzilla-daemon
  2020-02-17 16:30 ` bugzilla-daemon
                   ` (26 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-02-17 16:29 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #2 from Noel Maersk (veox+kernel@veox.pw) ---
Created attachment 287445
  --> https://bugzilla.kernel.org/attachment.cgi?id=287445&action=edit
dmesg output for resume-from-hibernate, linux 5.5.4

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
  2020-02-17 16:29 ` [Bug 206575] " bugzilla-daemon
  2020-02-17 16:29 ` bugzilla-daemon
@ 2020-02-17 16:30 ` bugzilla-daemon
  2020-02-17 16:30 ` bugzilla-daemon
                   ` (25 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-02-17 16:30 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

Noel Maersk (veox+kernel@veox.pw) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Regression|No                          |Yes

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2020-02-17 16:30 ` bugzilla-daemon
@ 2020-02-17 16:30 ` bugzilla-daemon
  2020-02-17 16:33 ` bugzilla-daemon
                   ` (24 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-02-17 16:30 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #3 from Noel Maersk (veox+kernel@veox.pw) ---
Created attachment 287447
  --> https://bugzilla.kernel.org/attachment.cgi?id=287447&action=edit
lspci output

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2020-02-17 16:30 ` bugzilla-daemon
@ 2020-02-17 16:33 ` bugzilla-daemon
  2020-02-17 16:38 ` bugzilla-daemon
                   ` (23 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-02-17 16:33 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

Alex Deucher (alexdeucher@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexdeucher@gmail.com

--- Comment #4 from Alex Deucher (alexdeucher@gmail.com) ---
Can you bisect?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2020-02-17 16:33 ` bugzilla-daemon
@ 2020-02-17 16:38 ` bugzilla-daemon
  2020-02-18 17:47 ` bugzilla-daemon
                   ` (22 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-02-17 16:38 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #5 from Noel Maersk (veox+kernel@veox.pw) ---
I'm not able to bisect at current moment. Will try by end of workweek.

-----

User `muncrief` has recently reported something similar in a different bug
report, here:

https://bugzilla.kernel.org/show_bug.cgi?id=204241#c48

... for Radeon R9 390, ever since linux 5.5-rc1. They were suggested opening a
new issue, but a search on bugzilla shows they never did.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2020-02-17 16:38 ` bugzilla-daemon
@ 2020-02-18 17:47 ` bugzilla-daemon
  2020-02-18 21:33 ` bugzilla-daemon
                   ` (21 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-02-18 17:47 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

Thomas Frank (thfrkbz@e.mail.de) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thfrkbz@e.mail.de

--- Comment #6 from Thomas Frank (thfrkbz@e.mail.de) ---
I have the same graphics card and the same problem.  Do you need additional
dmesg outputs from kernel 5.4.20 and 5.5.4?

I don't know if this helps but I diffed my `amdgpu` filtered dmesg outputs:

```
--- 5.4.20-1-lts_amdgpu_wo_uptime.txt   2020-02-18 18:38:07.393633705 +0100
+++ 5.5.4-arch1-1_amdgpu_wo_uptime.txt  2020-02-18 18:38:32.714488497 +0100
@@ -1,7 +1,4 @@
 [drm] amdgpu kernel modesetting enabled.
-amdgpu 0000:01:00.0: remove_conflicting_pci_framebuffers: bar 0: 0xd0000000 ->
0xdfffffff
-amdgpu 0000:01:00.0: remove_conflicting_pci_framebuffers: bar 2: 0xe0000000 ->
0xe01fffff
-amdgpu 0000:01:00.0: remove_conflicting_pci_framebuffers: bar 5: 0xefe00000 ->
0xefe3ffff
 fb0: switching to amdgpudrmfb from VESA VGA
 amdgpu 0000:01:00.0: vgaarb: deactivate vga console
 amdgpu 0000:01:00.0: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF
(4096M used)
@@ -9,7 +6,9 @@
 [drm] amdgpu: 4096M of VRAM memory ready
 [drm] amdgpu: 4096M of GTT memory ready.
 amdgpu: [powerplay] hwmgr_sw_init smu backed is tonga_smu
+[drm:dm_helpers_parse_edid_caps [amdgpu]] *ERROR* Couldn't read SADs: -2
 fbcon: amdgpudrmfb (fb0) is primary device
 amdgpu 0000:01:00.0: fb0: amdgpudrmfb frame buffer device
-[drm] Initialized amdgpu 3.35.0 20150101 for 0000:01:00.0 on minor 0
+[drm] Initialized amdgpu 3.36.0 20150101 for 0000:01:00.0 on minor 0
 snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops
amdgpu_dm_audio_component_bind_ops [amdgpu])
+[drm:dm_helpers_parse_edid_caps [amdgpu]] *ERROR* Couldn't read SADs: -2
```

The last line from the diff 
`[drm:dm_helpers_parse_edid_caps [amdgpu]] *ERROR* Couldn't read SADs: -2`
happens after resuming (with blank screen).

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (6 preceding siblings ...)
  2020-02-18 17:47 ` bugzilla-daemon
@ 2020-02-18 21:33 ` bugzilla-daemon
  2020-02-18 21:44 ` bugzilla-daemon
                   ` (20 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-02-18 21:33 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #7 from Noel Maersk (veox+kernel@veox.pw) ---
`git bisect log` output at:
https://gist.github.com/veox/36aeb77acfbcaea9c4ba1cc70052329a

Had to `skip` a few because of system instability on v5.5.4 (cause unknown,
likely
unrelated to this bug); switched to v5.4.20 halfway-in to avoid.

Result as follows (e-mails changed).


1ea8751bd28d1ec2b36a56ec6bc1ac28903d09b4 is the first bad commit
commit 1ea8751bd28d1ec2b36a56ec6bc1ac28903d09b4
Author: Noah Abradjian <spam@gmail.com>
Date:   Fri Sep 27 16:30:57 2019 -0400

    drm/amd/display: Make clk mgr the only dto update point

    [Why]

    * Clk Mgr DTO update point did not cover all needed updates, as it included
a
      check for plane_state which does not exist yet when the updater is called
on
      driver startup
    * This resulted in another update path in the pipe programming sequence,
based
      on a dppclk update flag
    * However, this alternate path allowed for stray DTO updates, some of which
would
      occur in the wrong order during dppclk lowering and cause underflow

    [How]

    * Remove plane_state check and use of plane_res.dpp->inst, getting rid
      of sequence dependencies (this results in extra dto programming for
unused
      pipes but that doesn't cause issues and is a small cost)
    * Allow DTOs to be updated even if global clock is equal, to account for
      edge case exposed by diags tests
    * Remove update_dpp_dto call in pipe programming sequence (leave update to
      dppclk_control there, as that update is necessary and shouldn't occur in
clk
      mgr)
    * Remove call to optimize_bandwidth when committing state, as it is not
needed
      and resulted in sporadic underflows even with other fixes in place

    Signed-off-by: Noah Abradjian <spam@gmail.com>
    Reviewed-by: Jun Lei <spam@gmail.com>
    Acked-by: Leo Li <spam@gmail.com>
    Signed-off-by: Alex Deucher <spam@gmail.com>

 .../gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c   | 14 +++++++++-----
 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c  |  3 ++-
 drivers/gpu/drm/amd/display/dc/core/dc.c                   |  4 ----
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c         |  8 +-------
 4 files changed, 12 insertions(+), 17 deletions(-)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (7 preceding siblings ...)
  2020-02-18 21:33 ` bugzilla-daemon
@ 2020-02-18 21:44 ` bugzilla-daemon
  2020-02-18 22:06 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-02-18 21:44 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #8 from Noel Maersk (veox+kernel@veox.pw) ---
The

    *ERROR* Couldn't read SADs: -2

in my and Thomas' logs are unrelated to the issue, I believe, and pertain to
sound (HDMI sound?..).

The error comes from drivers/gpu/drm/radeon/radeon_audio.c, referring to
Speaker Allocation Data.

Anyway, I've seen the error on resume-from-suspend for commits that managed to
"signal up" properly in the bisect above, as well as the "blank screen" cases.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (8 preceding siblings ...)
  2020-02-18 21:44 ` bugzilla-daemon
@ 2020-02-18 22:06 ` bugzilla-daemon
  2020-02-19 19:51 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-02-18 22:06 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #9 from Noel Maersk (veox+kernel@veox.pw) ---
Some of the commits that got skipped in that `git bisect log` of mine actually
come before the one above when viewing `git log`. :/

Guess I'll try the bisect again in coming days.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (9 preceding siblings ...)
  2020-02-18 22:06 ` bugzilla-daemon
@ 2020-02-19 19:51 ` bugzilla-daemon
  2020-02-21  0:42 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-02-19 19:51 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #10 from Noel Maersk (veox+kernel@veox.pw) ---
That came in negative. Looks like it's 1ea8751bd28d1ec2b36a56ec6bc1ac28903d09b4
indeed.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (10 preceding siblings ...)
  2020-02-19 19:51 ` bugzilla-daemon
@ 2020-02-21  0:42 ` bugzilla-daemon
  2020-02-24  2:12 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-02-21  0:42 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #11 from Thomas Frank (thfrkbz@e.mail.de) ---
I can confirm Noel's finding. Reverting
1ea8751bd28d1ec2b36a56ec6bc1ac28903d09b4 brings back the screen output after
resume for me as well.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (11 preceding siblings ...)
  2020-02-21  0:42 ` bugzilla-daemon
@ 2020-02-24  2:12 ` bugzilla-daemon
  2020-03-16  9:39 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-02-24  2:12 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

Britt Yazel (bwyazel@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bwyazel@gmail.com

--- Comment #12 from Britt Yazel (bwyazel@gmail.com) ---
This issue is also present on a discrete r9-290, also on ArchLinux. So it seems
the issue is with any 200 or 300 series cards.

Likewise, there's a thread on Reddit with this issue was well:
https://www.reddit.com/r/archlinux/comments/f7oti1/issue_with_resume_from_suspend_black_backlit/

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (12 preceding siblings ...)
  2020-02-24  2:12 ` bugzilla-daemon
@ 2020-03-16  9:39 ` bugzilla-daemon
  2020-03-20 19:54 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-03-16  9:39 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

Duncan (dickvandrake@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dickvandrake@gmail.com

--- Comment #13 from Duncan (dickvandrake@gmail.com) ---
I have the same problem. My graphic card is an AMD R9 285 and since some kernel
updates ago the resume from suspend dont work with a black screen output but
system and keyboard respond well.
My distro is Anarchy Linux with KDE desktop and SDDM like display manager.
Regards.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (13 preceding siblings ...)
  2020-03-16  9:39 ` bugzilla-daemon
@ 2020-03-20 19:54 ` bugzilla-daemon
  2020-03-20 20:15 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-03-20 19:54 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

Joe Ramsey (kernel_bugzilla@joeramsey.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kernel_bugzilla@joeramsey.c
                   |                            |om

--- Comment #14 from Joe Ramsey (kernel_bugzilla@joeramsey.com) ---
Looks like this has been corrected in 5.6... is there any intent to include the
fix in any 5.5 kernel or will we just have to wait for 5.6?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (14 preceding siblings ...)
  2020-03-20 19:54 ` bugzilla-daemon
@ 2020-03-20 20:15 ` bugzilla-daemon
  2020-03-20 22:03 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-03-20 20:15 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #15 from Alex Deucher (alexdeucher@gmail.com) ---
(In reply to Joe Ramsey from comment #14)
> Looks like this has been corrected in 5.6... is there any intent to include
> the fix in any 5.5 kernel or will we just have to wait for 5.6?

Can you identify the fix?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (15 preceding siblings ...)
  2020-03-20 20:15 ` bugzilla-daemon
@ 2020-03-20 22:03 ` bugzilla-daemon
  2020-03-23  5:06 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-03-20 22:03 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #16 from Joe Ramsey (kernel_bugzilla@joeramsey.com) ---
(In reply to Alex Deucher from comment #15)
> (In reply to Joe Ramsey from comment #14)
> > Looks like this has been corrected in 5.6... is there any intent to include
> > the fix in any 5.5 kernel or will we just have to wait for 5.6?
> 
> Can you identify the fix?

If I understood Noel Maersk's and Thomas Frank's posts reverting
1ea8751bd28d1ec2b36a56ec6bc1ac28903d09b4 resolves the issue.  The Reddit thread
that was referenced
(https://www.reddit.com/r/archlinux/comments/f7oti1/issue_with_resume_from_suspend_black_backlit/)
seems to indicate that it's resolved in 5.6.  Was wondering if whatever fix was
applied to 5.6 would also be applied to 5.5.  Could be I've completely
misunderstood things.

I'm running Slackware and have been using the -current kernel packages
(currently at 5.4.25), but the kernel modules for virtualbox don't seem to be
compiling under that kernel for some reason.  I tried several of the recent 5.5
releases (5.5.8-5.5.10), and can get the virtualbox kernel modules to compile
under them, but they all seem to have this bug.  Was hoping to get one kernel
that would allow my laptop to suspend and also compile the virtualbox modules. 
:^)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (16 preceding siblings ...)
  2020-03-20 22:03 ` bugzilla-daemon
@ 2020-03-23  5:06 ` bugzilla-daemon
  2020-03-24 20:11 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-03-23  5:06 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #17 from Alex Deucher (alexdeucher@gmail.com) ---
If you could verify that 5.6 works for you, you could bisect to see what commit
fixed it.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (17 preceding siblings ...)
  2020-03-23  5:06 ` bugzilla-daemon
@ 2020-03-24 20:11 ` bugzilla-daemon
  2020-04-10  8:35 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-03-24 20:11 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #18 from Joe Ramsey (kernel_bugzilla@joeramsey.com) ---
(In reply to Alex Deucher from comment #17)
> If you could verify that 5.6 works for you, you could bisect to see what
> commit fixed it.

OK, I'm about to reveal my ignorance.  I just got a chance to compile 5.6-rc7
to confirm that resume from suspend worked (it did), but I have no idea how to
bisect.  Googled for it and it looks like I need to be using git, but I'm just
downloading the tarball from kernel.org to compile my kernel.  Is this even
worth messing with given that it looks like we may have a stable 5.6 in the
near future?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (18 preceding siblings ...)
  2020-03-24 20:11 ` bugzilla-daemon
@ 2020-04-10  8:35 ` bugzilla-daemon
  2020-04-11 13:56 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-04-10  8:35 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #19 from Duncan (dickvandrake@gmail.com) ---
I can confirm that this issue was solved on 5.6 kernel, but sadly I will
continue using lts kernel because I still have problems with my webcam's fps
and microphone's bitrate on others kernels.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (19 preceding siblings ...)
  2020-04-10  8:35 ` bugzilla-daemon
@ 2020-04-11 13:56 ` bugzilla-daemon
  2020-04-11 13:59 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-04-11 13:56 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #20 from Noel Maersk (veox+kernel@veox.pw) ---
I'll do a bisect to identify the fix. Roughly 15 steps.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (20 preceding siblings ...)
  2020-04-11 13:56 ` bugzilla-daemon
@ 2020-04-11 13:59 ` bugzilla-daemon
  2020-04-14  9:09 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-04-11 13:59 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #21 from Noel Maersk (veox+kernel@veox.pw) ---
Created attachment 288351
  --> https://bugzilla.kernel.org/attachment.cgi?id=288351&action=edit
git bisect log to find the culprit

Attaching original git bisect log (was posted to github previously).

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (21 preceding siblings ...)
  2020-04-11 13:59 ` bugzilla-daemon
@ 2020-04-14  9:09 ` bugzilla-daemon
  2020-04-14 13:28 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-04-14  9:09 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #22 from Duncan (dickvandrake@gmail.com) ---
(In reply to Duncan from comment #19)
> I can confirm that this issue was solved on 5.6 kernel, but sadly I will
> continue using lts kernel because I still have problems with my webcam's fps
> and microphone's bitrate on others kernels.

My webcam and microphone issues seem to be resolved in this new kernel, but I
will keep an lts kernel in case I ever have to use it again.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (22 preceding siblings ...)
  2020-04-14  9:09 ` bugzilla-daemon
@ 2020-04-14 13:28 ` bugzilla-daemon
  2020-04-14 13:31 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-04-14 13:28 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #23 from Noel Maersk (veox+kernel@veox.pw) ---
Created attachment 288445
  --> https://bugzilla.kernel.org/attachment.cgi?id=288445&action=edit
git bisect log to find the fix (failed)

After >45 steps, I gave up the bisect. There's a different bug that prevents
the initramfs from loading at all, making it impossible to check if the
issue-at-hand is still present.

After having `skip`ped the first time this happened, I made the bad call of
"maybe I'll tag this condition `old`, too"; I did this just once, but it
might've had a negative effect on the outcome.

I'm attaching the bisect log anyway.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (23 preceding siblings ...)
  2020-04-14 13:28 ` bugzilla-daemon
@ 2020-04-14 13:31 ` bugzilla-daemon
  2020-04-14 14:10 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-04-14 13:31 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #24 from Noel Maersk (veox+kernel@veox.pw) ---
(In reply to Alex Deucher from comment #17)
> If you could verify that 5.6 works for you, you could bisect to see what
> commit fixed it.

I'm not 100% on bug closing process for the kernel; is this strictly required
to mark the bug as resolved?

The issue is no longer there, and the fix seems difficult to pin down. :(

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (24 preceding siblings ...)
  2020-04-14 13:31 ` bugzilla-daemon
@ 2020-04-14 14:10 ` bugzilla-daemon
  2020-04-15 11:43 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-04-14 14:10 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #25 from Alex Deucher (alexdeucher@gmail.com) ---
Go ahead and close it.  You can always open a new one if you see further
issues.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (25 preceding siblings ...)
  2020-04-14 14:10 ` bugzilla-daemon
@ 2020-04-15 11:43 ` bugzilla-daemon
  2020-04-15 11:44 ` bugzilla-daemon
  2020-04-15 11:45 ` bugzilla-daemon
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-04-15 11:43 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #26 from Noel Maersk (veox+kernel@veox.pw) ---
Will close as resolved shortly.

I did run a second bisect successfully, showing:


f2988e67144a263e33aa3b916457bf3095288c94 is the first new commit
commit f2988e67144a263e33aa3b916457bf3095288c94
Author: Yongqiang Sun <yongqiang.sun@amd.com>
Date:   Fri Oct 18 18:24:59 2019 -0400

    drm/amd/display: optimize bandwidth after commit streams.

    [Why]
    System is unable to enter S0i3 due to DISPLAY_OFF_MASK not asserted
    in SMU.

    [How]
    Optimized bandwidth should be called paired and to resolve unplug
    display underflow issue, optimize bandwidth after commit streams is
    moved to next page flip, in case of S0i3, there is a change for no
    flip coming causing display count is 1 in SMU side.
    Add optimize bandwidth after commit stream.

    Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
    Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
    Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

 drivers/gpu/drm/amd/display/dc/core/dc.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (26 preceding siblings ...)
  2020-04-15 11:43 ` bugzilla-daemon
@ 2020-04-15 11:44 ` bugzilla-daemon
  2020-04-15 11:45 ` bugzilla-daemon
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-04-15 11:44 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

--- Comment #27 from Noel Maersk (veox+kernel@veox.pw) ---
Created attachment 288483
  --> https://bugzilla.kernel.org/attachment.cgi?id=288483&action=edit
git bisect log to find the fix (successful)

Attaching successful git bisect log.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 206575] [amdgpu] [drm] No video signal on resume from suspend, R9 380
  2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
                   ` (27 preceding siblings ...)
  2020-04-15 11:44 ` bugzilla-daemon
@ 2020-04-15 11:45 ` bugzilla-daemon
  28 siblings, 0 replies; 30+ messages in thread
From: bugzilla-daemon @ 2020-04-15 11:45 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=206575

Noel Maersk (veox+kernel@veox.pw) changed:

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

--- Comment #28 from Noel Maersk (veox+kernel@veox.pw) ---
Closing as resolved - fix already in tree and released versions.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2020-04-15 11:45 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-17 16:28 [Bug 206575] New: [amdgpu] [drm] No video signal on resume from suspend, R9 380 bugzilla-daemon
2020-02-17 16:29 ` [Bug 206575] " bugzilla-daemon
2020-02-17 16:29 ` bugzilla-daemon
2020-02-17 16:30 ` bugzilla-daemon
2020-02-17 16:30 ` bugzilla-daemon
2020-02-17 16:33 ` bugzilla-daemon
2020-02-17 16:38 ` bugzilla-daemon
2020-02-18 17:47 ` bugzilla-daemon
2020-02-18 21:33 ` bugzilla-daemon
2020-02-18 21:44 ` bugzilla-daemon
2020-02-18 22:06 ` bugzilla-daemon
2020-02-19 19:51 ` bugzilla-daemon
2020-02-21  0:42 ` bugzilla-daemon
2020-02-24  2:12 ` bugzilla-daemon
2020-03-16  9:39 ` bugzilla-daemon
2020-03-20 19:54 ` bugzilla-daemon
2020-03-20 20:15 ` bugzilla-daemon
2020-03-20 22:03 ` bugzilla-daemon
2020-03-23  5:06 ` bugzilla-daemon
2020-03-24 20:11 ` bugzilla-daemon
2020-04-10  8:35 ` bugzilla-daemon
2020-04-11 13:56 ` bugzilla-daemon
2020-04-11 13:59 ` bugzilla-daemon
2020-04-14  9:09 ` bugzilla-daemon
2020-04-14 13:28 ` bugzilla-daemon
2020-04-14 13:31 ` bugzilla-daemon
2020-04-14 14:10 ` bugzilla-daemon
2020-04-15 11:43 ` bugzilla-daemon
2020-04-15 11:44 ` bugzilla-daemon
2020-04-15 11:45 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).