You are not logged in.
High!
Recently I've started facing problem with suspend. After doing some gpu actions (playing game or watching gpu accelerated video) system doesn't go to sleep (I haven't found the exact steps to reproduce). Systemctl suspend outputs the following: Failed to suspend system via logind: There's already a shutdown or sleep operation in progress. If I run systemctl shutdown -f the system goes suspend first, than I wake it up and it shuts down. I face it with proprietary drivers(tried 384 and 387) and (seems) since systemd 235. My graphics card is 1060. dmesg and syslog doesn't output any errors. Does anyone has the same problem? What else can cause this: linux kernel, lightdm display manager?
Offline
ACPI - is this a dualboot (linix/windows) system?
Did you try nouveau to isolate nvidia as the cause?
Offline
Yes, it's a dualboot configuration (arch + win10). I've tried removing nvidia package and didn't face this problem after 6 suspends (so I'm almost sure that it's Nvidia's fault or nvidia+linux fault). Also I didn't have this problem while using ubuntu 16.04 with latest nvidia drivers (375 and 381 as far as i remember).
Offline
Do you have fastboot enabled in windows?
Offline
I haven't found anything about FastBoot in windows (it's odd, there are screenshots with fastboot tick in windows control panel), but I have disabled it in uefi. After few quick tests it seems to solve the problem, suspend works. I'll try to suspend my computer for longer periods of time an retest. Thanks for an advice, seems to be a solution for a problem
Offline
No, it didn't help. After some time of idle I'm unable to suspend
Offline
This issue was closely related to lightdm and light-locker. light-locker switches VT to lightdm's one and suspend action is going on in parallel. Seems nvidia cannot handle this correctly. Now I'm using sddm and happy.
Offline
This issue was closely related to lightdm and light-locker. light-locker switches VT to lightdm's one and suspend action is going on in parallel. Seems nvidia cannot handle this correctly. Now I'm using sddm and happy.
Could you write what nvidia graphic card do you own and what processor? I have problem with suspend (to disk) all the time when switched from Slackware (few years back) and Ubuntu (again, few years back) to Arch. It only worked well when i owned AMD processor (9X4-55BE with GF660) and while i own different Intel processors and different nvidia GeForce cards, it does not. Only on netbook (Atom n2600) and my laptop (Pentium B960), and both of them have their own integrated graphic cards, it works. I just cant solve it with, for an example, 6600K+970GTX oraz 7500+GT740...Tried many graphic drivers - always the same (either cant suspend at all, or after resume hangs and only power off via switch could be made), co im curious.
Last edited by firekage (2017-10-29 11:11:05)
Offline
@firekage
My processor is Intel 7700 (aka core i7 Kabylake) and graphics card is Nvidia GTX 1060 6GB.
I had a problem with resume on nouveau driver: i had to switch to vty1 and then back to vty7.
Try testing suspend from virtual console with no X server running.
Offline