Skip to contentSkip to conversation

New: amdgpu fails to resume from suspend

Bug 208835 [email protected] 2 participants 8 messages Aug 6, 2020 – Jul 8, 2022

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 208835
           Summary: amdgpu fails to resume from suspend
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.8.0-050800-generic
          Hardware: Intel
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 290797
--> https://bugzilla.kernel.org/attachment.cgi?id=290797&action=edit
dmesg

Computer fails to resume from suspend.
From the logs it looks like AMDGPU fails to resume.

It is a thinkpad T14 AMD APU R7 4750U, connected to an external display via USB-C port thru an adapter.

I can still ssh to the machine after resume action, but the both internal display and external display stuck at black screen.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 208835] amdgpu fails to resume from suspend

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

Alex Deucher ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Alex Deucher ([email protected]) --- Does it work without the external display connected?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 208835] amdgpu fails to resume from suspend

In reply to [email protected]

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

--- Comment #2 from sevenever ([email protected]) --- (In reply to Alex Deucher from comment #1)

Quoted 1 line

Does it work without the external display connected?

Tried several times, Looks like no problem without the external display connected.

btw, I have kernel option amd_iommu=off and vt.handoff=7

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 208835] amdgpu fails to resume from suspend

In reply to [email protected]

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

Tom ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #3 from Tom ([email protected]) ---
I am also affected by this. There are a few recent amdgpu suspend bugs open but this one is most similar.

My card is a Radeon R7 260X (Bonaire XTX [Radeon R7 260X/360]), so I'm using the experimental amdgpu driver support.

5.4.58 works,
5.4.72 does not,
5.9.1 does not.

My computer seems to be completely unresponsive after resuming. I haven't tried SSHing but it does not respond to pressing the power button to put it back into sleep. However there are systemd service logs in the journal after resume.

Kernel messages of note, which are not part of working logs:

18:14:26 amdgpu: [powerplay]
failed to send message 5e ret is 0
18:14:26 amdgpu: [powerplay]
failed to send message 145 ret is 0
------------------
18:14:26 [drm:uvd_v4_2_start [amdgpu]] *ERROR* UVD not responding, trying to reset the VCPU!!!
18:14:26 [drm:uvd_v4_2_start [amdgpu]] *ERROR* UVD not responding, giving up!!! 18:14:26 [drm:amdgpu_device_ip_set_powergating_state [amdgpu]] *ERROR* set_powergating_state of IP block <uvd_v4_2> failed -1
------------------
18:14:26 amdgpu 0000:01:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring uvd test failed (-110)
18:14:26 [drm:amdgpu_device_ip_resume_phase2 [amdgpu]] *ERROR* resume of IP block <uvd_v4_2> failed -110
18:14:26 [drm:amdgpu_device_resume [amdgpu]] *ERROR* amdgpu_device_ip_resume failed (-110).
18:14:26 PM: dpm_run_callback(): pci_pm_resume+0x0/0xe0 returns -110 18:14:26 PM: Device 0000:01:00.0 failed to resume async: error -110
------------------
18:14:27 [drm] Fence fallback timer expired on ring sdma0

Full journalctl from after resume attached.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 208835] amdgpu fails to resume from suspend

In reply to [email protected]

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

--- Comment #4 from Tom ([email protected]) ---
Created attachment 293321
--> https://bugzilla.kernel.org/attachment.cgi?id=293321&action=edit
systemd journal

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 208835] amdgpu fails to resume from suspend

In reply to [email protected]

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

Mario Limonciello (AMD) ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |NEEDINFO
                 CC|                            |[email protected]

--- Comment #5 from Mario Limonciello (AMD) ([email protected]) --- Can you please re-check this on a recent 5.18.y kernel and latest linux-firmware? I don't believe it should still be an issue. If it is, I would like to see a new log.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#7 lore raw

[Bug 208835] amdgpu fails to resume from suspend

In reply to [email protected]

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

Mario Limonciello (AMD) ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |PATCH_ALREADY_AVAILABLE
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.