Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
proprietary nvidia driver and pm-hibernate/pm-suspend
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
altima
n00b
n00b


Joined: 03 Mar 2012
Posts: 8

PostPosted: Thu Jan 16, 2014 4:56 pm    Post subject: proprietary nvidia driver and pm-hibernate/pm-suspend Reply with quote

my computer suspended and hibernated flawlessly until I upgraded the CPU (amd athlon 64 3200+ -> AMD athlon 64 x2 4200+) and rebuilt the kernel with SMP support and reinstalled the nvidia driver with the help of "emerge @module-rebuild". from this moment on I've been facing a problem with suspending and hibernating.
when I suspend the computer, it starts showing a totally black screen forever without actually entering the suspended state.
when I hibernate it, it does basically the same, but beforehand it in fact copies the contents of RAM onto the disk (at least the HDD indicator does blink exactly like it usually does when hibernating).
There appeared one change in the pm-suspend.log that has left me curious and almost sure it indicates the reason why the computer does not hibernate.
when everything worked fine, there was a statement in the log that "nVidia binary video drive detected, not using quirks". these words appear on the logs no more and the process of hibernating heads some different way (see the logs "Before" and "After").

UPD. I installed the driver from the website of nVidia, the statement "nVidia binary video drive detected, not using quirks" now appears on the log, but pm-suspend and pm-hibernate still fail. hibernation log now ends in the following:
Code:
/usr/lib/pm-utils/sleep.d/95led hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:
nVidia binary video drive detected, not using quirks.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/99video hibernate hibernate:
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate: success.
Thu Jan 16 13:18:30 MSK 2014: performing hibernate


UPD. 2.
Added such a line: SUSPEND_MODULES="nvidia" to /etc/pm/config.d/gentoo
This resulted only in an error:
/usr/lib/pm-utils/sleep.d/55wicd hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:
Unloading kernel module nvidia...modprobe: FATAL: Module nvidia is in use.
/usr/lib/pm-utils/functions: line 89: log: команда не найдена
Failed.

so the question is: how do I make pm-utils work?

BEFORE (Normal hibernation and resumption) - took the log of an earlier kernel, since the log for it looks exactly like it looked for the present kernel on the old CPU compiled without SMP.
Quote:
Tue Nov 19 23:02:32 MSK 2013: Running hooks for hibernate.
Running hook /usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:
Linux altima-desktop 3.10.7-gentoo-altima #2 PREEMPT Thu Sep 12 00:10:49 MSK 2013 i686 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux
Module Size Used by
udf 58566 0
isofs 24184 0
snd_seq 32085 0
snd_seq_device 3452 1 snd_seq
ppp_deflate 2654 0
zlib_deflate 15435 1 ppp_deflate
bsd_comp 3787 0
ppp_async 4847 0
crc_ccitt 983 1 ppp_async
cdc_acm 12525 0
vfat 6981 0
fat 37082 1 vfat
af_packet 19111 0
vboxnetadp 17570 0
vboxnetflt 12378 0
vboxdrv 156225 2 vboxnetadp,vboxnetflt
speedstep_lib 2111 0
mperf 775 0
cpufreq_userspace 1096 0
cpufreq_powersave 562 0
cpufreq_conservative 4245 0
rt73usb 18692 0
rt2x00usb 6058 1 rt73usb
rt2x00lib 26200 2 rt73usb,rt2x00usb
mac80211 218275 2 rt2x00lib,rt2x00usb
cfg80211 137712 2 mac80211,rt2x00lib
rfkill 6920 1 cfg80211
led_class 1807 1 rt2x00lib
joydev 6520 0
nvidia 8388019 29
powernow_k8 7832 0
drm 151540 2 nvidia
thermal 6584 0
fan 1757 0
button 3297 0
processor 19478 1 powernow_k8
asus_atk0110 6029 0
ablk_helper 1088 0
cryptd 5201 1 ablk_helper
lrw 2593 0
xts 2083 0
gf128mul 4866 2 lrw,xts
aes_i586 6803 0
cbc 1818 0
sha256_generic 8872 0
iscsi_tcp 6336 0
libiscsi_tcp 8750 1 iscsi_tcp
libiscsi 24651 2 libiscsi_tcp,iscsi_tcp
scsi_transport_iscsi 36713 2 iscsi_tcp,libiscsi
linear 2915 0
raid0 6339 0
dm_raid 12759 0
raid10 32502 1 dm_raid
raid1 20666 1 dm_raid
raid456 43344 1 dm_raid
md_mod 80634 6 raid456,dm_raid,raid0,raid1,linear,raid10
async_pq 2619 1 raid456
async_xor 1969 2 async_pq,raid456
xor 17792 1 async_xor
async_memcpy 818 1 raid456
async_raid6_recov 789 1 raid456
raid6_pq 88551 2 async_pq,async_raid6_recov
async_tx 1150 5 async_pq,raid456,async_xor,async_memcpy,async_raid6_recov
dm_snapshot 21620 0
dm_crypt 10106 0
dm_mirror 9655 0
dm_region_hash 5123 1 dm_mirror
dm_log 6241 2 dm_region_hash,dm_mirror
dm_mod 48446 5 dm_raid,dm_log,dm_mirror,dm_crypt,dm_snapshot
hid_microsoft 1918 0
xhci_hcd 63447 0
uhci_hcd 16038 0
sx8 9459 0
cciss 36521 0
mptsas 29605 0
scsi_transport_sas 16106 1 mptsas
mptfc 8737 0
scsi_transport_fc 31054 1 mptfc
mptspi 9482 0
scsi_transport_spi 13352 1 mptspi
mptscsih 14019 3 mptfc,mptsas,mptspi
mptbase 48237 4 mptfc,mptsas,mptspi,mptscsih
atp870u 20757 0
sg 17927 0
total used free shared buffers cached
Mem: 2072664 1580040 492624 0 104936 674392
-/+ buffers/cache: 800712 1271952
Swap: 14180348 1373600 12806748

/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:
Blacklisting 01grub.

/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub hibernate hibernate:

/usr/lib/pm-utils/sleep.d/01grub hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:

/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/55wicd hibernate hibernate:

/usr/lib/pm-utils/sleep.d/55wicd hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:

/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:

/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:

/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/95led hibernate hibernate:

/usr/lib/pm-utils/sleep.d/95led hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:
nVidia binary video drive detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/99video hibernate hibernate:

/usr/lib/pm-utils/sleep.d/99video hibernate hibernate: success.
Tue Nov 19 23:02:37 MSK 2013: performing hibernate
Wed Nov 20 20:48:04 MSK 2013: Awake.
Wed Nov 20 20:48:04 MSK 2013: Running hooks for thaw
Running hook /usr/lib/pm-utils/sleep.d/99video thaw hibernate:

/usr/lib/pm-utils/sleep.d/99video thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler thaw hibernate:

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/95led thaw hibernate:

/usr/lib/pm-utils/sleep.d/95led thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate:

/usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock thaw hibernate:

/usr/lib/pm-utils/sleep.d/90clock thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules thaw hibernate:
Reloaded unloaded modules.

/usr/lib/pm-utils/sleep.d/75modules thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/55wicd thaw hibernate:

/usr/lib/pm-utils/sleep.d/55wicd thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth thaw hibernate:

/usr/lib/pm-utils/sleep.d/49bluetooth thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub thaw hibernate:

/usr/lib/pm-utils/sleep.d/01grub thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave thaw hibernate:
Blacklisting 01grub.

/usr/lib/pm-utils/sleep.d/00powersave thaw hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/00logging thaw hibernate:

/usr/lib/pm-utils/sleep.d/00logging thaw hibernate: success.
Wed Nov 20 20:48:14 MSK 2013: Finished.


AFTER (failing hibernation and resumption)
Quote:
Thu Jan 16 14:46:30 MSK 2014: Running hooks for hibernate.
Running hook /usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:
Linux altima-desktop 3.10.25-gentoo-altima #3 SMP PREEMPT Wed Jan 15 21:40:50 MSK 2014 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/Linux
Module Size Used by
isofs 23970 1
af_packet 18947 0
vboxnetadp 17610 0
vboxnetflt 13130 0
vboxdrv 179927 2 vboxnetadp,vboxnetflt
mperf 759 0
cpufreq_userspace 1276 0
cpufreq_powersave 570 0
cpufreq_conservative 4272 0
rt73usb 18712 0
rt2x00usb 6142 1 rt73usb
rt2x00lib 26268 2 rt73usb,rt2x00usb
mac80211 218149 2 rt2x00lib,rt2x00usb
cfg80211 138807 2 mac80211,rt2x00lib
rfkill 6652 1 cfg80211
led_class 1827 1 rt2x00lib
joydev 6467 0
nvidia 9581591 29
powernow_k8 8348 1
drm 151064 2 nvidia
fan 1777 0
shpchp 17738 0
asus_atk0110 5934 0
thermal 6580 0
pci_hotplug 7434 1 shpchp
ablk_helper 1096 0
cryptd 5353 1 ablk_helper
lrw 2601 0
xts 2119 0
gf128mul 4818 2 lrw,xts
aes_i586 6811 0
cbc 1744 0
sha256_generic 9036 0
iscsi_tcp 6296 0
libiscsi_tcp 8802 1 iscsi_tcp
libiscsi 24272 2 libiscsi_tcp,iscsi_tcp
scsi_transport_iscsi 36241 2 iscsi_tcp,libiscsi
linear 2919 0
raid0 6259 0
dm_raid 12852 0
raid10 32484 1 dm_raid
raid1 20566 1 dm_raid
raid456 44728 1 dm_raid
md_mod 80526 6 raid456,dm_raid,raid0,raid1,linear,raid10
async_pq 2556 1 raid456
async_xor 2041 2 async_pq,raid456
xor 17848 1 async_xor
async_memcpy 842 1 raid456
async_raid6_recov 789 1 raid456
raid6_pq 88551 2 async_pq,async_raid6_recov
async_tx 1158 5 async_pq,raid456,async_xor,async_memcpy,async_raid6_recov
dm_snapshot 21480 0
dm_crypt 10354 0
dm_mirror 9360 0
dm_region_hash 4795 1 dm_mirror
dm_log 6174 2 dm_region_hash,dm_mirror
dm_mod 48584 5 dm_raid,dm_log,dm_mirror,dm_crypt,dm_snapshot
hid_microsoft 2002 0
xhci_hcd 61594 0
uhci_hcd 15749 0
sx8 9439 0
cciss 35391 0
mptsas 29109 0
scsi_transport_sas 16131 1 mptsas
mptfc 8645 0
scsi_transport_fc 30101 1 mptfc
mptspi 9490 0
scsi_transport_spi 13477 1 mptspi
mptscsih 13727 3 mptfc,mptsas,mptspi
mptbase 47932 4 mptfc,mptsas,mptspi,mptscsih
atp870u 21061 0
sg 17198 0
total used free shared buffers cached
Mem: 2072508 1889900 182608 0 12892 1207548
-/+ buffers/cache: 669460 1403048
Swap: 14180348 4 14180344

/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:
Blacklisting 01grub.

/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub hibernate hibernate:

/usr/lib/pm-utils/sleep.d/01grub hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:

/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/55wicd hibernate hibernate:

/usr/lib/pm-utils/sleep.d/55wicd hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:

/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:

/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:

/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/95led hibernate hibernate:

/usr/lib/pm-utils/sleep.d/95led hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:
nVidia binary video drive detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/99video hibernate hibernate:

/usr/lib/pm-utils/sleep.d/99video hibernate hibernate: success.
Thu Jan 16 14:46:35 MSK 2014: performing hibernate
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum