Bug 17546

Summary: Crashes 12" pbook on hibernate
Product: xorg Reporter: Guido Guenther <agx>
Component: Driver/nVidia (open)Assignee: Aaron Plattner <aplattner>
Status: RESOLVED NOTABUG QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.3 (2007.09)   
Hardware: PowerPC   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Guido Guenther 2008-09-12 00:23:14 UTC
When switching to a textconsole "echo -n disk > /sys/power/state" works fine (as does hibernating via pm-utils) on Powerbook6,1 but the system crashes when doing the same under X.
I'm using rivafb as the framebuffer driver. 

The bug is there since at least two or three years and I'm working around it with a small helper script that switches to the text console before hibernate but I just wanted to mention it.
Comment 1 Aaron Plattner 2008-09-16 15:00:52 UTC
That's what I'd expect to happen.  If you hibernate while the X server owns the VT, then when it comes back, it looks to the driver like the GPU just suddenly lost all of its settings.  The X driver needs to be told to let go of the hardware before the hibernate operation, and to reinitialize it afterwards.  Additionally, the X driver needs to have a chance to save the contents of video memory so it can restore it after the resume.  This is exactly what VT-switching is for.

Closing.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.