Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#76198 - Kernel 6.0.1 hangs resuming from suspend to ram
Attached to Project:
Arch Linux
Opened by Jamp (jamp) - Friday, 14 October 2022, 06:44 GMT
Last edited by Jan Alexander Steffens (heftig) - Friday, 11 November 2022, 09:06 GMT
Opened by Jamp (jamp) - Friday, 14 October 2022, 06:44 GMT
Last edited by Jan Alexander Steffens (heftig) - Friday, 11 November 2022, 09:06 GMT
|
DetailsDescription:
Linux 6.0.1 installed yesterday. Machine is desktop Ryzen 3900X + AMD RX 5800 XT . After resume from suspend to ram the screen is black, the machine seems to be running since the disk led flashes from time to time. I have to cycle power to restore normal operation, since the keyboard seems unresponsive. With earlier kernels suspend to RAM worked well. Additional info: * package version(s) * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Friday, 11 November 2022, 09:06 GMT
Reason for closing: Fixed
Additional comments about closing: linux 6.0.8.arch1-1
Friday, 11 November 2022, 09:06 GMT
Reason for closing: Fixed
Additional comments about closing: linux 6.0.8.arch1-1
I found this discussion
https://gitlab.freedesktop.org/drm/amd/-/issues/2164
seems related to AMD Gpu.
reverting to 5.9.13 fixes the problem
This patch appears to fix it.
reverting to 5.19.13
https://gitlab.freedesktop.org/drm/amd/-/issues/2164#note_1611205
I just updated to 6.0.5 and can confirm a successful suspend and resume on multiple attempts for me.
Thanks, devs!
I disabled the screensaver as suggested by @Eric but it does not work.
Switching consoles as someone suggested as a temporary workaround don't work either.
I went back to 5.19.13.
After logging in I simple restarted the display manager (sddm) and then the display has come back.
In the dmesg log I found what follows, as you can see there is an *ERROR* Failed to pin framebuffer with error -19
So maybe the applied patch does not work for me.
[ 29.386260] [drm] reserve 0x900000 from 0x817d000000 for PSP TMR
[ 29.428564] amdgpu 0000:2f:00.0: amdgpu: RAS: optional ras ta ucode is not available
[ 29.434614] amdgpu 0000:2f:00.0: amdgpu: RAP: optional rap ta ucode is not available
[ 29.434615] amdgpu 0000:2f:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[ 29.434617] amdgpu 0000:2f:00.0: amdgpu: SMU is resuming...
[ 29.434667] amdgpu 0000:2f:00.0: amdgpu: use vbios provided pptable
[ 29.434669] amdgpu 0000:2f:00.0: amdgpu: smc_dpm_info table revision(format.content): 4.5
[ 29.470400] amdgpu 0000:2f:00.0: amdgpu: SMU is resumed successfully!
[ 29.662760] amdgpu: Move buffer fallback to memcpy unavailable
[ 29.662762] amdgpu 0000:2f:00.0: amdgpu: 00000000af06643b pin failed
[ 29.662763] [drm:dm_plane_helper_prepare_fb [amdgpu] *ERROR* Failed to pin framebuffer with erro
r -19
[ 29.664339] [drm] kiq ring m]ec 2 pipe 1 q 0
[ 29.666326] [drm] VCN decode and encode initialized successfully(under DPG Mode).
[ 29.666466] [drm] JPEG decode initialized successfully.
[ 29.666479] amdgpu 0000:2f:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[ 29.666480] amdgpu 0000:2f:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[ 29.666481] amdgpu 0000:2f:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[ 29.666481] amdgpu 0000:2f:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[ 29.666482] amdgpu 0000:2f:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[ 29.666482] amdgpu 0000:2f:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[ 29.666483] amdgpu 0000:2f:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[ 29.666484] amdgpu 0000:2f:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[ 29.666484] amdgpu 0000:2f:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[ 29.666485] amdgpu 0000:2f:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
However it still does not work for me.
to v 6.0.6 arch1 and rebuilt from sources and now it works.
I noticed that the 6.0.8 arch1 kernel has the above patch while the official 6.0.8 kernel has not been updated yet.