[Bug 1179925] New: Suspend to disk is broken on Thinkpad T495 vega 10 gpu
http://bugzilla.opensuse.org/show_bug.cgi?id=1179925 Bug ID: 1179925 Summary: Suspend to disk is broken on Thinkpad T495 vega 10 gpu Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: ali.abdallah@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 844380 --> http://bugzilla.opensuse.org/attachment.cgi?id=844380&action=edit dmesg failed failed resume from hibernate Upon resume from hibernate on a Thinkpad T495 AMD Ryzen 7 PRO 3700U, the X server is totally frozen, the laptop is not totally frozen as I can connect to it normally with ssh. The issue I belive is on the amdgpu drm driver. Kernel version 5.3.18-lp152.57-default I've tested kernel 5.10.rc7-2.1.g9688120 from head and kernel 5.9.13-1.1.g3dfd18b from stable, suspend to disk works fine with both kernels. Moreover, I've compiled the closest upstream lts kernel (v5.4.82) to the leap kernel and it works perfectly fine. By that I was hoping to diff the changes to identify the fix, but with no success so far. I'm attaching dmesg after the machine resumed from hibernate, it shows the following amdgpu related errors. [ 28.548521] amdgpu 0000:06:00.0: GPU mode1 reset failed [ 28.548709] [drm:amdgpu_device_suspend [amdgpu]] *ERROR* amdgpu asic reset failed [ 29.216975] amdgpu 0000:06:00.0: [gfxhub] no-retry page fault (src_id:0 ring:222 vmid:1 pasid:0, for process pid 0 thread pid 0) [ 29.216979] amdgpu 0000:06:00.0: in page starting at address 0x0000800000028000 from 27 [ 29.216981] amdgpu 0000:06:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x001009BC [ 29.227613] amdgpu: [powerplay] dpm has been enabled -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179925 Ali Abdallah <ali.abdallah@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |kernel-bugs@opensuse.org -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179925 http://bugzilla.opensuse.org/show_bug.cgi?id=1179925#c1 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@suse.com --- Comment #1 from Takashi Iwai <tiwai@suse.com> --- It's not that trivial, unfortunately. Between 5.3 and 5.4, amdgpu alone received over 900 patches, and those are massive: 443 files changed, 220503 insertions(+), 8490 deletions(-) We may check further, but in general, the support for the recent AMD chipset on Leap 15.2 is pretty limited. It should be greatly improved in Leap 15.3, though. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179925 http://bugzilla.opensuse.org/show_bug.cgi?id=1179925#c2 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ali.abdallah@suse.com Flags| |needinfo?(ali.abdallah@suse | |.com) --- Comment #2 from Takashi Iwai <tiwai@suse.com> --- BTW, could you try 5.4.0 kernel, and see whether the hibernate resume works? If it's fixed between 5.4.0 and 5.4.82, we may easily bisect. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179925 http://bugzilla.opensuse.org/show_bug.cgi?id=1179925#c3 Ali Abdallah <ali.abdallah@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(ali.abdallah@suse | |.com) | --- Comment #3 from Ali Abdallah <ali.abdallah@suse.com> --- (In reply to Takashi Iwai from comment #2)
BTW, could you try 5.4.0 kernel, and see whether the hibernate resume works? If it's fixed between 5.4.0 and 5.4.82, we may easily bisect.
Just checked, hibernate/resume "works" on 5.4.1, but not in a reliable way, in the sense that it doesn't work 2/3 times in a row. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179925 http://bugzilla.opensuse.org/show_bug.cgi?id=1179925#c4 --- Comment #4 from Takashi Iwai <tiwai@suse.com> --- (In reply to Ali Abdallah from comment #3)
(In reply to Takashi Iwai from comment #2)
BTW, could you try 5.4.0 kernel, and see whether the hibernate resume works? If it's fixed between 5.4.0 and 5.4.82, we may easily bisect.
Just checked, hibernate/resume "works" on 5.4.1, but not in a reliable way, in the sense that it doesn't work 2/3 times in a row.
Do you mean 5.4.0 didn't work at all but 5.4.1 works in some level? Or all 5.4 works more or less from the beginning? And 5.4.82 works more reliably, or it also shows the same problem? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179925 http://bugzilla.opensuse.org/show_bug.cgi?id=1179925#c5 --- Comment #5 from Ali Abdallah <ali.abdallah@suse.com> --- (In reply to Takashi Iwai from comment #4)
Do you mean 5.4.0 didn't work at all but 5.4.1 works in some level? Or all 5.4 works more or less from the beginning?
And 5.4.82 works more reliably, or it also shows the same problem?
Hibernate with both 5.4.0 5.4.1 works, but unreliably. On 5.3.18-lp152.57-default suspend works but hibernate doesn't work at all. I'm running 5.4.82, as I didn't have any problem so far, hibernate and suspend to ram always work perfectly fine with this kernel version. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179925 http://bugzilla.opensuse.org/show_bug.cgi?id=1179925#c6 --- Comment #6 from Takashi Iwai <tiwai@suse.com> --- OK, thanks for clarification. Could you give the dmesg outputs with drm.debug=0x0e boot options in both 5.3 and 5.4 kernels while hibernate/resume? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179925 http://bugzilla.opensuse.org/show_bug.cgi?id=1179925#c7 --- Comment #7 from Ali Abdallah <ali.abdallah@suse.com> --- Created attachment 844419 --> http://bugzilla.opensuse.org/attachment.cgi?id=844419&action=edit dmesg failed resume from hibernate kernel 5.3.18-lp152.57 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179925 http://bugzilla.opensuse.org/show_bug.cgi?id=1179925#c8 --- Comment #8 from Ali Abdallah <ali.abdallah@suse.com> --- Created attachment 844420 --> http://bugzilla.opensuse.org/attachment.cgi?id=844420&action=edit dmesg successful resume from hibernate kernel 5.4.0 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179925 http://bugzilla.opensuse.org/show_bug.cgi?id=1179925#c22 Ali Abdallah <ali.abdallah@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #22 from Ali Abdallah <ali.abdallah@suse.com> --- Closing as WONTFIX, I'm using OpenSUSE 15.3 and hibernate works fine now on my T495. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com