You are not logged in.

#1 2017-10-22 13:15:42

yanpas
Member
Registered: 2017-02-02
Posts: 13

System does not suspend with Nvidia proprietary driver

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

#2 2017-10-22 15:15:12

seth
Member
Registered: 2012-09-03
Posts: 51,046

Re: System does not suspend with Nvidia proprietary driver

ACPI - is this a dualboot (linix/windows) system?
Did you try nouveau to isolate nvidia as the cause?

Offline

#3 2017-10-22 15:26:20

yanpas
Member
Registered: 2017-02-02
Posts: 13

Re: System does not suspend with Nvidia proprietary driver

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

#4 2017-10-22 15:29:31

seth
Member
Registered: 2012-09-03
Posts: 51,046

Re: System does not suspend with Nvidia proprietary driver

Do you have fastboot enabled in windows?

Offline

#5 2017-10-22 16:14:01

yanpas
Member
Registered: 2017-02-02
Posts: 13

Re: System does not suspend with Nvidia proprietary driver

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 smile

Offline

#6 2017-10-22 17:06:07

yanpas
Member
Registered: 2017-02-02
Posts: 13

Re: System does not suspend with Nvidia proprietary driver

No, it didn't help. After some time of idle I'm unable to suspend

Offline

#7 2017-10-28 19:01:31

yanpas
Member
Registered: 2017-02-02
Posts: 13

Re: System does not suspend with Nvidia proprietary driver

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

#8 2017-10-29 11:10:38

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 617

Re: System does not suspend with Nvidia proprietary driver

yanpas wrote:

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

#9 2017-10-29 13:11:20

yanpas
Member
Registered: 2017-02-02
Posts: 13

Re: System does not suspend with Nvidia proprietary driver

@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

Board footer

Powered by FluxBB