You are not logged in.
Hi,
When the system tries to wake up it completely freezes, and I see nothing available in logs related to the wake up process. As far I can see though, suspension and hibernation process works fine.
I did write amdgpu in the title, because if I switch to another tty without graphical interface before suspending, then it wakes up correctly... so might be related.
EDIT: About hibernation, no clue, since there's not a graphical login (xinit instead).
A few kernel versions ago, waking up was woring fine without any workaround, from either suspension or hibernation (even hybrid sleep). I would like to avoid testing many version to find when the regression happened and bisect (if possible).
GPU:
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev d2)
Hibernate journalctl logs:
Apr 19 10:04:35 orion NetworkManager[490]: <info> [1587283475.8856] manager: sleep: sleep requested (sleeping: no enabled: yes)
Apr 19 10:04:35 orion NetworkManager[490]: <info> [1587283475.8858] device (enp3s0f0): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Apr 19 10:04:35 orion NetworkManager[490]: <info> [1587283475.9227] device (enp4s0): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Apr 19 10:04:35 orion NetworkManager[490]: <info> [1587283475.9623] device (p2p-dev-wlp1s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Apr 19 10:04:35 orion NetworkManager[490]: <info> [1587283475.9630] manager: NetworkManager state is now ASLEEP
Apr 19 10:04:36 orion systemd[1]: Reached target Sleep.
Apr 19 10:04:36 orion systemd[1]: Starting Hibernate...
Apr 19 10:04:36 orion systemd-sleep[1389]: Suspending system...
Apr 19 10:04:36 orion kernel: PM: hibernation: hibernation entry
Suspend journalctl logs:
Apr 19 09:59:07 orion systemd-logind[493]: Lid closed.
Apr 19 09:59:07 orion NetworkManager[492]: <info> [1587283147.5234] manager: sleep: sleep requested (sleeping: no enabled: yes)
Apr 19 09:59:07 orion NetworkManager[492]: <info> [1587283147.5235] device (enp3s0f0): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Apr 19 09:59:07 orion NetworkManager[492]: <info> [1587283147.5647] device (enp4s0): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Apr 19 09:59:07 orion NetworkManager[492]: <info> [1587283147.6045] device (p2p-dev-wlp1s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Apr 19 09:59:07 orion NetworkManager[492]: <info> [1587283147.6050] manager: NetworkManager state is now ASLEEP
Apr 19 09:59:08 orion systemd[1]: Reached target Sleep.
Apr 19 09:59:08 orion systemd[1]: Starting Suspend...
Apr 19 09:59:08 orion systemd-sleep[1337]: Suspending system...
Apr 19 09:59:08 orion kernel: PM: suspend entry (deep)
Before posting I tried to check if it has already been fixed on kernel 5.6.5.arch2-1, but nope.
Last edited by DeletedUser210826 (2020-05-17 10:31:12)
Offline
I have the same problem with a vega 8.
I found a temporary solution with some graphical degradation, use DRI 2:
cat /etc/X11/xorg.conf.d/20-amdgpu.conf
"Device" section
Identify "AMDGPU"
"Amdgpu" driver
"DRI" option "2"
EndSection
Last edited by lolop (2020-04-19 20:15:05)
Offline
Confirmed too with AMDGPU, Vega, Kernel 5.6.4-arch1-1
Wake up from suspend freezed to black.
Offline
Just login to say: me too.
It seems that linux-lts is working fine.
Last edited by Preycon (2020-04-19 17:48:57)
Offline
I can confirm those issues aswell. Suspend sporadically works for me but hibernation always goes to a black screen without allowing me to switch to another tty.
Offline
To the last 3 posters, don't do that...
Offline
Sorry Slithery but my post did bring some pieces of information that could be relevant regarding the issue (my kernel version and GPU type).
Preycon's informed us that LTS kernel did solve the issue.
By doing this, people can cross-compare their config and could narrow their search to a particular field.
I think that even if it's not much, it's still valuable info that can be time saving for any user looking for a fix.
Thank you.
Offline
It seems solved in the 5.6.6-arch1-1 kernel updated.
Offline
Issue not solved for me. Tested on both 5.6.6 and 5.4.34-lts. Additionally, but probably not related, after a forced shutdown my KDE desktop configuration (background included) gets resetted.
Offline
Thinkpad t495s with amd ryzen 3700u pro here. Hibernate not working on 5.6.6.
These are the logs before hibernating:
apr 22 12:23:46 t495s systemd-sleep[4006]: Suspending system...
apr 22 12:23:46 t495s kernel: PM: hibernation: hibernation entry
-- Reboot --
The reboot is forcibly done by me because the computer just goes into a black screen and won't respond.
Edit:
I might add that i'm using kde as DE and in the power options i have enabled hibernate after suspend. All of this worked on kernel 5.5.x
Last edited by dimischiavone (2020-04-22 10:49:33)
Offline
Is the issue present under linux-mainline 5.7rc2? If it is it also present under linux-amd-staging-drm-next-git?
Offline
Tried mainline 5.7-rc2. Swap doesn't work, couldn't check hibernation. System can't reach sleep status succesfully.
Apr 22 18:30:02 orion NetworkManager[474]: <info> [1587573002.3316] manager: sleep: sleep requested (sleeping: no enabled: yes)
Apr 22 18:30:02 orion NetworkManager[474]: <info> [1587573002.3319] device (enp3s0f0): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Apr 22 18:30:02 orion NetworkManager[474]: <info> [1587573002.3535] device (enp4s0): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Apr 22 18:30:02 orion NetworkManager[474]: <info> [1587573002.3988] device (p2p-dev-wlp1s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Apr 22 18:30:02 orion NetworkManager[474]: <info> [1587573002.3991] manager: NetworkManager state is now ASLEEP
Apr 22 18:30:02 orion systemd[1]: Reached target Sleep.
Apr 22 18:30:02 orion systemd[1]: Starting Suspend...
Apr 22 18:30:02 orion systemd-sleep[1151]: Suspending system...
Apr 22 18:30:02 orion kernel: PM: suspend entry (deep)
Didn't try amd-staging-drm-next, is there any pre-built package available ?
Offline
Not that I know of. I would suggest enabling Makepkg#Improving_compile_times to reduce build time as much as possible. Then leave it building overnight if it still takes an unacceptably long length of time.
Offline
Tested amd-staging-drm-next, doesn't work either
Offline
You can try reporting the issue without the bisection to https://gitlab.freedesktop.org/drm/amd/-/issues
Offline
I am happy to say that both suspend and hibernate works fine without any workaround (kernel 5.6.13-arch1-1, but might have been fixed earlier).
Offline