Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614436 - x11-drivers/nvidia-drivers-378.13 doesn't shutdown when hibernate
Summary: x11-drivers/nvidia-drivers-378.13 doesn't shutdown when hibernate
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Jeroen Roovers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-01 16:54 UTC by Christophe PEREZ
Modified: 2019-01-16 10:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,5.75 KB, application/x-info)
2017-04-01 16:59 UTC, Christophe PEREZ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe PEREZ 2017-04-01 16:54:19 UTC
After upgrading nvidia-drivers to stable version 378.13, hibernate doesn't power off. I have to use power button to end the hibernate process. And when I power on, resume works fine.

I find only one error in /var/log/pm-suspend.log :
sam. avril  1 12:40:19 AST 2017: performing hibernate
/usr/lib64/pm-utils/pm-functions: ligne 323 : echo: erreur d'écriture : Argument invalide
sam. avril  1 12:41:11 AST 2017: Awake.
sam. avril  1 12:41:11 AST 2017: Running hooks for thaw

Downgrading to x11-drivers/nvidia-drivers-375.26 solves the problem and all works fine.

So I just masked =x11-drivers/nvidia-drivers-375.39
Comment 1 Christophe PEREZ 2017-04-01 16:59:29 UTC
Created attachment 468878 [details]
emerge --info
Comment 2 Christophe PEREZ 2017-04-30 23:50:25 UTC
I had exactly the same problem with another PC when I updated nvidia-drivers to 378.13

The line 323 of /usr/lib64/pm-utils/pm-functions is :
echo "$HIBERNATE_MODE_SAVE" > /sys/power/disk

with HIBERNATE_MODE_SAVE set to "platform"

I decided to try with lastest x11-drivers/nvidia-drivers-381.09, but not better.

After searching and reading https://askubuntu.com/questions/895593/cant-set-hibernate-mode-shutdown-in-etc-pm-config-d
and
https://askubuntu.com/questions/767679/ubuntu-16-04-doesnt-shut-down-after-suspend-or-hibernate/837334#837334

I created :
# cat /etc/pm/config.d/hibernate_mode 
HIBERNATE_MODE="shutdown"

And now, even with x11-drivers/nvidia-drivers-381.09, hibernate can now shutdown correctly.
I don't understand why it works like that now, and I didn't need it with <x11-drivers/nvidia-drivers-378.13, on 2 differents PCs.

PS : sorry for my bad english.