Sleep issues after memory & video upgrades

Asked by Iain MacLeod

I'm running 64 bit 12.10 Kubuntu and it used to suspend and wake OK. I upgraded the memory from 2Gb to 4Gb, increased the swap to 4.5Gb, and installed a Nvidea gt218 card and now the box will not wake when suspended, I have to reboot.

I can't see anything wrong in the syslog (doesn't mean it's not there!), not sure how to troubleshoot other than downgrading and seeing if that helps...

The tail of the suspend log looks like this:
Mem: 4048312 1987996 2060316 0 83140 892816
-/+ buffers/cache: 1012040 3036272
Swap: 4305384 0 4305384

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

/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /etc/pm/sleep.d/10_grub-common suspend suspend:

/etc/pm/sleep.d/10_grub-common suspend suspend: success.
Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend:

/etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:
Having NetworkManager put all interaces to sleep...Failed.

/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend:
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory

/usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95anacron suspend suspend:
stop: Unknown instance:

/usr/lib/pm-utils/sleep.d/95anacron suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend:

/usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video driver detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
kernel.acpi_video_flags = 0

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Running hook /etc/pm/sleep.d/novatel_3g_suspend suspend suspend:

/etc/pm/sleep.d/novatel_3g_suspend suspend suspend: success.
Thu Mar 7 22:38:46 GMT 2013: performing suspend

Are any of these issues/errors relevant?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu pm-utils Edit question
Assignee:
No assignee Edit question
Solved by:
Iain MacLeod
Solved:
Last query:
Last reply:
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#1

Hi Iain MacLeod,

I cannot see any serious error in log. All are "success" , "success" .. etc.

Have you installed any of the restricted Nvidia drivers ?

I have an Nvidia GT210 , and works without problems.

Try to install the updated drivers from terminal . Issue the following commands , one by one . (Copy -paste from here)

     sudo apt-get purge nvidia-*
     sudo rm /etc/X11/xorg.conf
     sudo apt-get install --reinstall linux-headers-$(uname -r)
     sudo apt-get install nvidia-current-updates nvidia-settings-updates ubuntu-desktop
     sudo nvidia-xconfig

Reboot your system and retest suspend - resume.

Thanks

Revision history for this message
Iain MacLeod (6wtbpvtv) said :
#2

Thanks Nick,
I wasn't using any special drivers, I just installed the card and it worked, so I tried that this morning before I left for work.

It didn't look good, the display's dropped to something like 800x600, the windows are missing the min/max/close boxes, desktop doesn't cycle through the open windows. I'll have a proper look at things when I get home tonight...

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#3

Hi Iain MacLeod,

usually in Linux-based systems , you don't need to install a driver. Open source drivers (for nvidia is nouveau) are pre-installed and when you install a new hardware then the appropriate pre-installed driver will be loaded.

For better results and better performance some Operating Systems (like Ubuntu) recommend the closed source drivers.

In Ubuntu 12.04 and later , multiple closed source drivers are exist for Nvidia.

If the current-updates driver not works for you , you can try to install another available driver.

You can see a list of available Nvidia drivers with a command such as

     apt-cache search nvidia | grep NVIDIA

some of them are for older cards . nvidia-96 , nvidia-173 .. and some are for newer cards (like yours)
nvidia-current , nvidia-current-updates , nvidia-experimantal-304 and 310.

So if the nvidia-current-updates not work for you, try with the same commands (same order , one by one) as are in answer #1 to install nvidia-experimental-304.

You have only to replace the nvidia-current-updates with nvidia-experimental-304 and nvidia-settings-updates with nvidia-settings-experimental-304

Also, probably this is not needed , but sometimes helps , try to install your linux-source package (kernel's source) before you begin the nvidia driver installation process.

    sudo apt-get install linux-source
    sudo apt-get install linux-headers-generic

Thank you.

Revision history for this message
Iain MacLeod (6wtbpvtv) said :
#4

Nick,
I tried some of the alternates but didn't manage to resolve the issue.

I've been meaning to update the XP that was dual booted on the box for while, so, I started from scratch and got rid of it and Kubuntu and went back to the dark side; the PC's got Win7 on it for now.

Thanks, I appreciate you taking the time to help.

Revision history for this message
Iain MacLeod (6wtbpvtv) said :
#5

PS.
The system still had an issue even under Win7; it will only wake up when the BIOS is changed to POS - Power On Standby - rather than STR -Suspend To RAM - (this also reveled the Hibernate option in Win7; only had Sleep under STR).

Not sure why it should have an issue with that, the old and very basic x1300 card I was using previously was OK and the system came back from sleep/suspend quickly. POS doesn't seem much faster than a normal boot, but at least it works.

I might dual boot the box again and see if Kubuntu suspends OK with the different BIOS setting.

The MB is a MS-7235 P965 Neo.