public inbox for amd-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* RE: [REGRESSION][bisected] amdgpu/tonga: HDMI no signal after suspend/resume
@ 2026-03-28  0:14 Danilo Machado
  2026-03-29 12:47 ` Danilo Machado
  0 siblings, 1 reply; 8+ messages in thread
From: Danilo Machado @ 2026-03-28  0:14 UTC (permalink / raw)
  To: amd-gfx; +Cc: dri-devel, alexdeucher

[-- Attachment #1: Type: text/plain, Size: 5431 bytes --]

Additional data (resume failure analysis)

Hardware:
- GPU: AMD Radeon R9 380 (Tonga, GCN 3)
- CPU: AMD Ryzen 5 5500
- RAM: 16 GB
- Display: HDMI

Software:
- Kernel: 6.8.0-106-generic
- Driver: amdgpu
- Display server: X11 (issue reproducible), Wayland (no hard failure)

---

Summary:

After suspend/resume, HDMI output is not restored and the system may freeze
under X11.

The issue is reproducible and was not present in Linux 6.3.

---

Key observation:

During resume, the driver fails to read EDID:

    amdgpu 0000:01:00.0: [drm] *ERROR* No EDID read.

This appears to explain why HDMI output is not restored.

---

Relevant DRM / AMDGPU log excerpt:

[drm] Display Core v3.2.266 initialized on DCE 10.0
amdgpu 0000:01:00.0: [drm] *ERROR* No EDID read.
[drm] Initialized amdgpu 3.57.0 20150101 for 0000:01:00.0

---

Analysis:

- The failure occurs during display reinitialization after resume
- EDID read failure prevents proper HDMI modeset
- This aligns with the observed "no signal" condition

Behavior differences:

- deep sleep:
  - full GPU/display reinitialization
  - leads to EDID failure and system instability

- s2idle:
  - partial resume
  - avoids full lockup but display may still be inconsistent

This suggests the issue is in the display resume path, possibly involving:

- DC state restore
- HDMI link training
- DDC/EDID communication
- atomic modeset reconstruction

---

Conclusion:

This is likely a regression in the AMDGPU display resume path, where EDID
read fails after resume, preventing HDMI output from being restored.

---

Additional notes:

This issue was bisected between Linux 6.3 (good) and 6.4 (bad), with the
transition point identified as a KVM merge commit. While not directly
related to AMDGPU, it may have indirectly exposed this issue via
timing/order changes.

---

If needed, I can provide:

- full journalctl logs
- full bisect log
- additional testing (kernel params, debug options)
------------------------------
*De:* Danilo Machado <danilomachado2002@hotmail.com>
*Enviado:* quinta-feira, 26 de março de 2026 20:38
*Para:* amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org>
*Cc:* Alex Deucher <alexdeucher@gmail.com>; dri-devel@lists.freedesktop.org
<dri-devel@lists.freedesktop.org>
*Assunto:* [REGRESSION][bisected] amdgpu/tonga: HDMI no signal after
suspend/resume


Hi all,

Thanks again for your feedback.

I took a closer look at the bisect results and system behavior, and I’d
like to provide a more complete and consolidated report.
------------------------------

Hardware:

   -

   GPU: AMD Radeon R9 380 (Tonga, GCN 3)
   -

   CPU: AMD Ryzen 5 5500
   -

   RAM: 16 GB
   -

   Display: HDMI

Software:

   -

   Driver: amdgpu
   -

   Kernel range tested: 6.3 (good) → 6.4 (bad)

------------------------------

Summary:

This is a reproducible suspend/resume regression affecting HDMI output.

   -

   Linux 6.3 → working correctly
   -

   Linux 6.4+ → regression present

------------------------------

Behavior:

After suspend/resume:

   -

   HDMI output does not recover ("no signal")
   -

   System may freeze under X11
   -

   Wayland does not show the same hard failure

Additionally:

   -

   Using "deep" sleep:
   -

      full system lockup after resume
      -

   Using "s2idle":
   -

      system resumes without hard lock
      -

      however, graphical session may return in a partially broken state

------------------------------

Bisect result:

A full git bisect was performed between Linux 6.3 and 6.4.

First bad commit:
b3c98052d46948a8d65d2778c7f306ff38366aac
("Merge tag 'kvm-x86-vmx-6.4'")

All intermediate commits in that range were consistently tested as GOOD.
------------------------------

Analysis:

Although the bisected commit is in KVM and unlikely to directly affect
AMDGPU, the transition point is consistent and reproducible.

This suggests the regression may be indirectly triggered (e.g. timing or
ordering changes during resume), rather than caused directly by that merge.

Based on observed behavior, this appears related to the display resume
path, possibly involving:

   -

   DC state restore after resume
   -

   HDMI link training
   -

   EDID re-read
   -

   atomic modeset state reconstruction

The difference between "deep" and "s2idle" also suggests a failure during
full GPU/display reinitialization.
------------------------------

Conclusion:

This appears to be a latent issue exposed by changes introduced during the
6.4 merge window, rather than a direct regression in the bisected commit
itself.
------------------------------

If helpful, I can assist further by:

   -

   providing full bisect logs
   -

   capturing detailed dmesg/journalctl before and after resume
   -

   testing patches or debug options
   -

   narrowing the range further if needed

I really appreciate the work on AMDGPU and would be glad to help within my
limits to investigate this further.

Thanks again for your time.

Best regards,
Danilo
Note: I had some email client configuration issues earlier, which may have
caused duplicate messages or formatting problems. These have now been
resolved — apologies for any inconvenience.

[-- Attachment #2: Type: text/html, Size: 29755 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [REGRESSION][bisected] amdgpu/tonga: HDMI no signal after suspend/resume
@ 2026-03-26 23:38 Danilo Machado
  2026-03-27 23:36 ` Danilo Machado
  0 siblings, 1 reply; 8+ messages in thread
From: Danilo Machado @ 2026-03-26 23:38 UTC (permalink / raw)
  To: amd-gfx@lists.freedesktop.org
  Cc: Alex Deucher, dri-devel@lists.freedesktop.org

[-- Attachment #1: Type: text/plain, Size: 2910 bytes --]

Hi all,

Thanks again for your feedback.

I took a closer look at the bisect results and system behavior, and I’d like to provide a more complete and consolidated report.

________________________________

Hardware:

  *   GPU: AMD Radeon R9 380 (Tonga, GCN 3)

  *   CPU: AMD Ryzen 5 5500

  *   RAM: 16 GB

  *   Display: HDMI

Software:

  *   Driver: amdgpu

  *   Kernel range tested: 6.3 (good) → 6.4 (bad)

________________________________

Summary:

This is a reproducible suspend/resume regression affecting HDMI output.

  *   Linux 6.3 → working correctly

  *   Linux 6.4+ → regression present

________________________________

Behavior:

After suspend/resume:

  *   HDMI output does not recover ("no signal")

  *   System may freeze under X11

  *   Wayland does not show the same hard failure

Additionally:

  *   Using "deep" sleep:

     *   full system lockup after resume

  *   Using "s2idle":

     *   system resumes without hard lock

     *   however, graphical session may return in a partially broken state

________________________________

Bisect result:

A full git bisect was performed between Linux 6.3 and 6.4.

First bad commit:
b3c98052d46948a8d65d2778c7f306ff38366aac
("Merge tag 'kvm-x86-vmx-6.4'")

All intermediate commits in that range were consistently tested as GOOD.

________________________________

Analysis:

Although the bisected commit is in KVM and unlikely to directly affect AMDGPU, the transition point is consistent and reproducible.

This suggests the regression may be indirectly triggered (e.g. timing or ordering changes during resume), rather than caused directly by that merge.

Based on observed behavior, this appears related to the display resume path, possibly involving:

  *   DC state restore after resume

  *   HDMI link training

  *   EDID re-read

  *   atomic modeset state reconstruction

The difference between "deep" and "s2idle" also suggests a failure during full GPU/display reinitialization.

________________________________

Conclusion:

This appears to be a latent issue exposed by changes introduced during the 6.4 merge window, rather than a direct regression in the bisected commit itself.

________________________________

If helpful, I can assist further by:

  *   providing full bisect logs

  *   capturing detailed dmesg/journalctl before and after resume

  *   testing patches or debug options

  *   narrowing the range further if needed

I really appreciate the work on AMDGPU and would be glad to help within my limits to investigate this further.

Thanks again for your time.

Best regards,
Danilo

Note: I had some email client configuration issues earlier, which may have caused duplicate messages or formatting problems. These have now been resolved — apologies for any inconvenience.

[-- Attachment #2: Type: text/html, Size: 13449 bytes --]

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

end of thread, other threads:[~2026-03-30 14:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-28  0:14 [REGRESSION][bisected] amdgpu/tonga: HDMI no signal after suspend/resume Danilo Machado
2026-03-29 12:47 ` Danilo Machado
2026-03-29 13:35   ` Danilo Machado
2026-03-29 16:34     ` Danilo Machado
2026-03-29 21:36       ` Danilo Machado
2026-03-30 14:34         ` Timur Kristóf
  -- strict thread matches above, loose matches on Subject: below --
2026-03-26 23:38 Danilo Machado
2026-03-27 23:36 ` Danilo Machado

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox