You are not logged in.
Can anyone tell me, how to get suspend to ram / suspend to disk running? I looked at the wiki but there's nowhere anything about suspend to ram...
I'm using the proprietary drivers for my nvidia card, which work fine. But I read that this could make some problems with hibernating etc. Any idea about blacklisting some modules or something like that? I had to do this for Ubuntu, but I don't know Arch yet...
Thanks for help
Cheers
Jan
Offline
Latest nvidia drivers seem to be suspend friendly - at least I'm using suspend2 without unloading the module.
I'd suggest you to install kernel26beyond or kernel26suspend2 (which feature suspend2) and hibernate-script. Then it's only a matter of setting some things in /etc/hibernate.
Offline
ok, I'll try that. So I don't need the nvidia-suspend2 drivers? And which commands to use to suspend to disk and suspend to ram?
Offline
If you install suspend2 kernel, you have to install nvidia-suspend2, similarly with beyond kernel you have to install nvidia-beyond.
I don't think suspend2 supports suspend-to-ram. You can either set it to save the image to a swap partition or to a file. Anyway, it's quite fast, due to compression.
After you set up things in /etc/hibernate/suspend2.conf and common.conf, you have to add "resume2=" line to your kernel line in grub/lilo, then reboot. Afterwards executing "hibernate" should hibernate.
I found a wiki page describing it in detail (wiki says to add NvAgp "1" option to xorg.conf, it wasn't necessary in my case).
Have fun.
Offline
ok, got everything to work. But I had some problems with networking and beryl... I had to write a little script to get them working with Hibernate.
Even Suspend to Ram works! (Now I combined these two... ;-)
If anyone needs help with suspend to ram, beryl, networking, nvidia or something like that, just ask... maybe I can help now it works here
Cheers
Jan
Offline
Great.
Offline
ok, got everything to work. But I had some problems with networking and beryl... I had to write a little script to get them working with Hibernate.
Even Suspend to Ram works! (Now I combined these two... ;-)
If anyone needs help with suspend to ram, beryl, networking, nvidia or something like that, just ask... maybe I can help now it works here
Cheers
Jan
Hey! I need help here. Have tried before, but it's quite a while ago. Could you post your solution or something
I have a laptop with Nvidia Geforce Go 6600 MX
Thanks
- Edson
Offline
Oh, hi Edson
After I got it working without Beryl (and I think, you did that, right?) I created the following Script:
#!/bin/sh
killall beryl-manager
killall beryl
killall emerald
hibernate
sudo -u jan beryl-manager
/etc/rc.d/network restart
After that, I created a gnome starter with "gksudo /path/to/this/script"... Now I can start hibernate with just a single click on this button in my gnome-panel
Cheers
Jan
Offline
Oh, hi Edson
After I got it working without Beryl (and I think, you did that, right?) I created the following Script:
#!/bin/sh
killall beryl-manager
killall beryl
killall emerald
hibernate
sudo -u jan beryl-manager
/etc/rc.d/network restartAfter that, I created a gnome starter with "gksudo /path/to/this/script"... Now I can start hibernate with just a single click on this button in my gnome-panel
Cheers
Jan
Cool! I actually got it to work using the "suspend" button on my laptop. Never worked before, now it suddenly did, but of course it fails to resume if I don't kill compiz/beryl
So your script doesn't implement this with the hibernate script, or gnome-power-manager? For my part seems gnome-power-manager uses something else, cause it fails to suspend. No big issue though..
- Edson
Offline
Hm? I don't understand what you mean. You say you're using the gnome-power-manager and not the hibernate-scripts? And is it working now or do you have still problems?
Offline
Hm? I don't understand what you mean. You say you're using the gnome-power-manager and not the hibernate-scripts? And is it working now or do you have still problems?
To be more specific.
I'm using neither.
I'm using the "suspend" button on my laptop. Which in my case is Fn+F3. Both hibernate scripts and gnome-power-manager fails. But I guess hibernate script would work with your script. I will have to figure out how to link gnome-power-manager with the suspend button thingy
So, Suspend to RAM is working. But I didn't do anything to fix it, must be because of the nvidia update or something (Because this didn't work before)
Thanks for your input
- Edson
Offline
Ah, OK, thats great... So then, have fun with suspend to ram
Cheers
Jan
Offline