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
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: David Seifert
Depends on:
Reported: 2017-04-01 16:54 UTC by Christophe PEREZ
Modified: 2021-03-02 20:50 UTC (History)
1 user (show)

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

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

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

I created :
# cat /etc/pm/config.d/hibernate_mode 

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.
Comment 3 Ionen Wolkens 2021-03-02 20:50:21 UTC
Considering this happened with the last-rited pm-utils and nvidia-drivers made many changes regarding power management since, I'll assume this is obsolete.

Glad managed to find a workaround back then still.