[nvidia-new] doesn't wakeup the screen after suspend

Bug #198184 reported by Bernard Drapeau
28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-restricted-modules-2.6.24 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.24-11-generic

The package Linux-image 2.6.24-11-generic doesn't work on resume after suspend.

The system goes on standby with suspend.
The machine displays a blank screen after resume.
There is disk activity but the screen stays out of signal.

I need to reboot the system.

My box is an Asus P5B (chipset 965) with a Core2 Duo E6400 and 2 GB of RAM.
The graphics card is an Asus GS7600 with 256 MB and a passive radiator. It has 2 display connectors.

Linux silex 2.6.24-11-generic #1 SMP Fri Feb 29 22:08:31 UTC 2008 i686 GNU/Linux

Hibernate doesn't work in the kernel.

I called Suspend and Hibernarte from Gnome Display Manager.

ProblemType: Bug
Architecture: i386
Date: Tue Mar 4 00:19:14 2008
DistroRelease: Ubuntu 8.04
Package: linux-image-2.6.24-11-generic 2.6.24-11.17 [modified: lib/modules/2.6.24-11-generic/modules.pcimap lib/modules/2.6.24-11-generic/modules.dep lib/modules/2.6.24-11-generic/modules.ieee1394map lib/modules/2.6.24-11-generic/modules.usbmap lib/modules/2.6.24-11-generic/modules.isapnpmap lib/modules/2.6.24-11-generic/modules.inputmap lib/modules/2.6.24-11-generic/modules.seriomap lib/modules/2.6.24-11-generic/modules.alias lib/modules/2.6.24-11-generic/modules.symbols]
PackageArchitecture: i386
SourcePackage: linux
Uname: Linux 2.6.24-11-generic i686

Revision history for this message
Bernard Drapeau (bernard-drapeau) wrote :
Revision history for this message
James Westby (james-w) wrote :

Hi,

Could you please confirm that you use the "nvidia"
driver for your video card?

Thanks,

James

Revision history for this message
Bernard Drapeau (bernard-drapeau) wrote :

I run
nvidia-glx-new 169.12-2.6.24.10-11.29 (hardy)

Revision history for this message
Matthew Tighe (tighem) wrote :

I have the same issue with nvidia-glx-new. Screen doesn't wake up from suspend. Pretty sure it's an nvidia problem as lots of users complain about it in their forums.

Changed in linux-restricted-modules-2.6.24:
status: New → Confirmed
Revision history for this message
exactt (giesbert) wrote :

i had some success doing step 2 of: https://help.ubuntu.com/community/NvidiaLaptopBinaryDriverSuspend

then i followed this guys instructions: https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/34043/comments/33

this included getting the weird results he got:
"If it doesn't work, here is the weird part: keep the settings above and run glxgears on a xterm for about 15 seconds, before trying to hibernate[suspend]. I guess this may initialize some junk in the nvidia module. After doing this, my system powers off after I click on hibernate[suspend]."

I am on Hardy x86 Alpha 5 + latest updates

p.s. you might want to sign this: http://www.opentheblob.com/nvidia/index.php?signatures=normal

Revision history for this message
aldebx (aldebx) wrote :

I can confirm this misbehavior using nvidia driver on a nVidia 8400M card.
Latest kernel for Ubuntu Hardy 8.04.

Unfortunately mentioned workarounds did not work for me.

Revision history for this message
aldebx (aldebx) wrote :

updated pm-utils 0.99.2-3ubuntu2 set a workaround for this problem.

Now I can suspend and resume correctly again.

Revision history for this message
Bernard Drapeau (bernard-drapeau) wrote :

I applied the solution proposed here: https://help.ubuntu.com/community/NvidiaLaptopBinaryDriverSuspend.

It doesn't work on my box.

I upgraded to Ubuntu 8.04 alpha 5.
Linux-image 2.6.24-14
pm-utils 0.99.2-3ubuntu8

Revision history for this message
Bernard Drapeau (bernard-drapeau) wrote :

I tried
  nvidia-glx-new
and
  xserver-xorg-video-nv

I'm currently running
  xserver-xorg-video-nv 1:2.1.8-1ubuntu1
and it doesn't work.

Revision history for this message
exactt (giesbert) wrote :

just to give you another option: check out the nouveau driver from: https://launchpad.net/~raof/+archive

Revision history for this message
Bernard Drapeau (bernard-drapeau) wrote :

I tried the nouveau driver... and it doesn't work.

Revision history for this message
malte (dmz17) wrote :

I can confirm this. Only happens when the restricted NVIDIA driver is enabled/in use.
Thinkpad T61p.

Revision history for this message
Matthew Tighe (tighem) wrote :

Suspend started working for me right before Hardy's release. Hibernate still does not, but suspend does (sometimes with a white screen on resume, but it functions after entering the password).

Revision history for this message
vmagnin (vincent-magnin) wrote :

I have a similar problem using :
- Asus A7N8X Deluxe motherboard (nForce 2 chipset)
- Nvidia GeForce FX 5200 (AGP)
- proprietary nvidia-glx-new 169.12 (or nvidia-glx) driver
- Ubuntu 8.04 (Linux version 2.6.24.16.18-generic)

When I try to resume from hibernation or suspend, I obtain a black screen. Impossible to obtain a console.
I had the same problem with Ubuntu 7.10 (see Bug #71839 in linux-restricted-modules-2.6.17 (Ubuntu)):
https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-2.6.17/+bug/71839
and probably with previous versions of Ubuntu...

No problem with the free driver, but I do not know how to rotate my screen in portrait mode.

Vincent

Revision history for this message
Mo (mail-smike) wrote :

I can confirm Matthew Tighe's ( https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-2.6.24/+bug/198184/comments/13 ) experience with Hardy on my Macbook pro (intel) using the "nvidia" module: After wakeup from suspend the screen is white but the cursor is there. "blindly" entering the password gets me back to the Desktop.

Revision history for this message
vmagnin (vincent-magnin) wrote :

I still have the same problem with Ubuntu 8.10, with the nvidia-glx-173 driver.

Bryce Harrington (bryce)
tags: added: hardy
Revision history for this message
bugbot (bugbot) wrote :

This bug report was filed against an old version of Ubuntu.
Can you confirm whether this is still an issue in natty?

If you don't mind, it would be very helpful if you could update the bug
report in launchpad to 'Fix Released' if it is no longer an issue for
you, or if it is still occurring under natty, please tag the bug 'natty'
so it's easier for us to track.

Changed in linux-restricted-modules-2.6.24 (Ubuntu):
status: Confirmed → New
status: New → Incomplete
Revision history for this message
vmagnin (vincent-magnin) wrote :

After upgrading to ubuntu 11.04 and nvidia-current driver it now works for me with a Nvidia GeForce 9500 GT (and a rotated screen), for both suspend to ram and suspend to disk. Thank you.

Changed in linux-restricted-modules-2.6.24 (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Alexey (grunichev) wrote :

I have the same problem after upgrade to 11.04 with my laptop.
I'm not sure is it related with video card or not, sysinfo shows me: Intel GM965/GL960 Integrated Graphics Controller

Revision history for this message
xor (xor) wrote :

I'm on Kubuntu12.10 amd64 using a Thinkpad T61p with the proprietary NVIDIA drivers.
I am willing to help debugging this, I am a developer myself so I can follow complex instructions.

Suspend works very well, but hibernation does not.

What does work is writing the hibernation file to disk and turning the device off.
What does NOT work is resuming from the hibernation file.

The kernel will print the screen which shows the progress of loading the hibernation data.
After it has finished, a blank screen will appear.

I tried using pm-hibernate from a text-mode terminal, i.e. I switched from the X server to the terminal with CTRL+ALT+F1.
After resuming from hibernation, I tried to switch back to the terminal with CTRL+ALT+F1 which did not work at first.
 I randomly pressed all keys on the keyboard and then tried to switch back to the terminal again with CTRL+ALT+F1 which DID work.
What showed was that the pm-hibernate program had NOT exited yet, i.e. there was no terminal prompt after it.

Then I was able to switch to the other terminals, however they did hang after I typed the username and tried to enter the password.

Revision history for this message
xor (xor) wrote :
Download full text (51.6 KiB)

Further Google investigation showed that after 2 minutes of waiting for the system to resume from hibernation, a part of the kernel will crash due to a timeout and the system WILL be useable.

What follows is the related tail of /var/log/kern.log

Feb 8 01:33:25 1337h4x0r kernel: [ 713.620576] e1000e 0000:00:19.0: irq 47 for MSI/MSI-X
Feb 8 01:33:28 1337h4x0r kernel: [ 716.936141] PM: Marking nosave pages: [mem 0x0009d000-0x000fffff]
Feb 8 01:33:28 1337h4x0r kernel: [ 716.936148] PM: Basic memory bitmaps created
Feb 8 01:35:45 1337h4x0r kernel: [ 716.936149] PM: Syncing filesystems ... done.
Feb 8 01:35:45 1337h4x0r kernel: [ 716.946311] Freezing user space processes ... (elapsed 0.01 seconds) done.
Feb 8 01:35:45 1337h4x0r kernel: [ 716.960263] PM: Preallocating image memory... done (allocated 457942 pages)
Feb 8 01:35:45 1337h4x0r kernel: [ 717.601176] PM: Allocated 1831768 kbytes in 0.64 seconds (2862.13 MB/s)
Feb 8 01:35:45 1337h4x0r kernel: [ 717.601178] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Feb 8 01:35:45 1337h4x0r kernel: [ 717.616646] Suspending console(s) (use no_console_suspend to debug)
Feb 8 01:35:45 1337h4x0r kernel: [ 717.634280] sd 0:0:0:0: [sda] Synchronizing SCSI cache
Feb 8 01:35:45 1337h4x0r kernel: [ 717.634612] ata5: port disabled--ignoring
Feb 8 01:35:45 1337h4x0r kernel: [ 717.680879] pciehp 0000:00:1c.3:pcie04: pciehp_suspend ENTRY
Feb 8 01:35:45 1337h4x0r kernel: [ 717.688097] ACPI handle has no context!
Feb 8 01:35:45 1337h4x0r kernel: [ 717.921645] e1000e 0000:00:19.0: wake-up capability enabled by ACPI
Feb 8 01:35:45 1337h4x0r kernel: [ 717.936027] PM: freeze of drv:e1000e dev:0000:00:19.0 complete after 254.944 msecs
Feb 8 01:35:45 1337h4x0r kernel: [ 717.936052] PM: freeze of drv: dev:pci0000:00 complete after 254.910 msecs
Feb 8 01:35:45 1337h4x0r kernel: [ 717.936064] PM: freeze of devices complete after 319.412 msecs
Feb 8 01:35:45 1337h4x0r kernel: [ 717.936307] PM: late freeze of devices complete after 0.239 msecs
Feb 8 01:35:45 1337h4x0r kernel: [ 717.938554] PM: noirq freeze of devices complete after 2.248 msecs
Feb 8 01:35:45 1337h4x0r kernel: [ 717.938922] ACPI: Preparing to enter system sleep state S4
Feb 8 01:35:45 1337h4x0r kernel: [ 718.080051] PM: Saving platform NVS memory
Feb 8 01:35:45 1337h4x0r kernel: [ 718.080347] Disabling non-boot CPUs ...
Feb 8 01:35:45 1337h4x0r kernel: [ 718.080685] Broke affinity for irq 48
Feb 8 01:35:45 1337h4x0r kernel: [ 718.184016] CPU 1 is now offline
Feb 8 01:35:45 1337h4x0r kernel: [ 718.184494] Extended CMOS year: 2000
Feb 8 01:35:45 1337h4x0r kernel: [ 718.184582] PM: Creating hibernation image:
Feb 8 01:35:45 1337h4x0r kernel: [ 718.188004] PM: Need to copy 255803 pages
Feb 8 01:35:45 1337h4x0r kernel: [ 718.188004] PM: Normal pages needed: 255803 + 1024, available pages: 526031
Feb 8 01:35:45 1337h4x0r kernel: [ 718.188004] PM: Restoring platform NVS memory
Feb 8 01:35:45 1337h4x0r kernel: [ 718.188004] Extended CMOS year: 2000
Feb 8 01:35:45 1337h4x0r kernel: [ 718.188004] Enabling non-boot CPUs ...
Feb 8 01:35:45 1337h4x0r kernel: [ 718.188004] Booting Node 0 Proce...

Revision history for this message
xor (xor) wrote :

For readability, here is the same kern.log stuff as attachment.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.