Resuming from hibernation fails (video garbage with nouveau, no progress/hibernation with nvidia-current)

Bug #569122 reported by Daniel Hahler
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Resuming from hibernation fails.

Before the computer turns off when hibernating, the screen gets garbled (screenshot 1).

When resuming, it takes very long (more than 7 minutes at least), and then fails with another form of garbled screen (screenshot 2).

I do not remember if I could reboot using Alt-SysRq-B, or if it hang completely - at least I could not switch to a VT or something like that.
Part of the screen (on the left side) was constantly moving.

I'm not sure if this is related to "nouveau", but will test that after reporting this.
I'll also report a bug against the linux package to get any useful information that might help.

I've tried it with nvidia-current (using a 6600GT), but it resulted in a blinking cursor without any progress after several minutes when trying to hibernate.
I could reboot the system using Alt-SysRq-R/E/I/S/U/B though.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-21-generic 2.6.32-21.32
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: daniel 5197 F.... pulseaudio
                      daniel 5223 F.... kmix
 /dev/snd/controlC1: daniel 5197 F.... pulseaudio
                      daniel 5223 F.... kmix
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Live'/'SB Live! 5.1 (rev.7, serial:0x80641102) at 0x8000, irq 16'
   Mixer name : 'SigmaTel STAC9708,11'
   Components : 'AC97a:83847608'
   Controls : 224
   Simple ctrls : 45
Card1.Amixer.info:
 Card hw:1 'Bt878'/'Brooktree Bt878 at 0xf4001000, irq 19'
   Mixer name : 'Bt87x'
   Components : ''
   Controls : 3
   Simple ctrls : 5
Date: Fri Apr 23 19:21:52 2010
Lsusb:
 Bus 002 Device 003: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0
 Bus 002 Device 002: ID 1a7c:0068
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 004: ID 04cb:019b Fuji Photo Film Co., Ltd FinePix F30 (PTP)
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-21-generic root=/dev/mapper/fastrcvg-rootlv ro resume=/dev/fastrcvg/swaplv acpi_use_timer_override usbcore.autosuspend=1 plymouth:debug=file:/dev/plymouth-debug.log --verbose quiet splash
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34
RfKill:

SourcePackage: linux
dmi.bios.date: 03/08/2007
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F9c
dmi.board.name: NF-CK804
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF9c:bd03/08/2007:svn:pn:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnNF-CK804:rvrx.x:cvn:ct3:cvr:

Revision history for this message
Daniel Hahler (blueyed) wrote :
Daniel Hahler (blueyed)
description: updated
summary: - Resuming from hibernation fails (followup bug, just for additional
- information)
+ Resuming from hibernation fails (video garbage with nouveau, no
+ progress/hibernation with nvidia-current)
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Daniel,

If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel Hahler (blueyed) wrote :

I've just tried it using linux 2.6.34-999_2.6.34-999.201004301209, which worked somewhat better:
 - video distortion during hibernation (white stripes, flickering in the left region)
 - resuming took a very long time still, but it came up somewhat less distorted (like before it turned off)

I could see the desktop between the white stripes, and use programs etc.

Is there a way to reset the nouveau driver, so that the distortion goes away?
Previously, this might have been possible by switch to a VT and back, but now that a frame buffer is used, the graphic driver does not get reset.

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Incomplete → New
Revision history for this message
Daniel Hahler (blueyed) wrote :

I've now tried linux-headers-2.6.34-996-generic_2.6.34-996.201004231022 from http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-next/current/

This resulted in hibernation failure: the screen went black, I could here some regular hdd activity, but after ~10 minutes I did a hard reset (which caused fsck on reboot).

Revision history for this message
Gursimran singh (simar) wrote :

Status changed to confirmed.
This bug can be reproduced in sonyvaio vgncw16fg laptop with nvidia G230M graphics card. Resume form hibernation is not possible. How can we log the details during the hibernation. I think the logs can really help upstream developers for fixing the bug..

Changed in linux (Ubuntu):
status: New → Confirmed
Daniel Hahler (blueyed)
tags: added: maverick
removed: needs-upstream-testing
Revision history for this message
Daniel Hahler (blueyed) wrote :

It comes up for me on Ubuntu Maverick (using Linux 2.6.35-999-generic #201008060910 SMP Fri Aug 6 10:22:05 UTC 2010 i686 GNU/Linux), but after 10 minutes:
Mo 9. Aug 19:11:22 CEST 2010: performing hibernate
Mo 9. Aug 19:21:07 CEST 2010: Awake.
Mo 9. Aug 19:21:07 CEST 2010: Running hooks for thaw
[...]
/usr/lib/pm-utils/sleep.d/000kernel-change thaw hibernate: success.
Mo 9. Aug 19:21:28 CEST 2010: Finished.

@Gursimran: I am closing this/my bug as Fixed (after all it does not fail anymore), but will verify that the stock Ubuntu kernel works for me, too.
I have reported the slowness in bug 405470 already.

You should create a new bug for your case; take a look at /var/log/pm-suspend.log; maybe that helps.
Also, see https://wiki.ubuntu.com/DebuggingKernelSuspendHibernateResume for further help with debugging this.

Revision history for this message
Daniel Hahler (blueyed) wrote :

What a mess: it does not hibernate using the Maverick kernel (linux-image-2.6.35-14-generic (2.6.35-14.20)) at all: hangs with a blinking cursor in the upper left of a black window for 10+ minutes, reacting to Alt-SysReq key combinations (and displaying certain output like with Alt-Sysreq-H)).

Revision history for this message
Daniel Hahler (blueyed) wrote :

So, this is buggy with the Maverick kernel while it works with the upstream one.

Changed in linux (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Daniel Hahler (blueyed) wrote :

Marking as invalid: this was related to Lucid, which I've skipped.
I cannot reproduce it with Maverick currently (already the hibernation fails here).

Changed in linux (Ubuntu):
status: Triaged → Invalid
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.