linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bank screen after resume on Dell XPS M1330
@ 2009-05-03  7:11 Andrey Borzenkov
  2009-05-03 10:59 ` Matthew Garrett
  0 siblings, 1 reply; 14+ messages in thread
From: Andrey Borzenkov @ 2009-05-03  7:11 UTC (permalink / raw)
  To: linux-acpi; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 3281 bytes --]

I am struggling with new pet. One of the issues is that resume seems to 
work but display is blank. I can blindly enter commands (e.g. to cleanly 
reboot) so system is perfectly alive - just no output on LCD.

This happens on both 2.6.29 and 2.6.30-rc4 in both 32 and 64 bit 
kernels. Also it happens using init=/bin/sh which at least rules out any 
video driver issue.

lspci follows just in case. I am open for any patches and suggestions :)

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory 
Controller Hub (rev 0c)                                                                  
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI 
Express Root Port (rev 0c)                                                                   
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI 
Controller #4 (rev 02)                                                                  
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI 
Controller #5 (rev 02)                                                                  
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI 
Controller #2 (rev 02)                                                                 
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio 
Controller (rev 02)                                                                       
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express 
Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express 
Port 2 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express 
Port 4 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express 
Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI 
Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI 
Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI 
Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI 
Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface 
Controller(rev 02)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) 
IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) 
SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller 
(rev 02)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS 
(rev a1)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller 
(rev 05)
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro 
Host Adapter (rev 22)
03:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host 
Adapter (rev 12)
03:01.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 
12)
09:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast 
Ethernet PCI Express (rev 02)
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG 
[Golan] Network Connection (rev 02)


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Bank screen after resume on Dell XPS M1330
  2009-05-03  7:11 Bank screen after resume on Dell XPS M1330 Andrey Borzenkov
@ 2009-05-03 10:59 ` Matthew Garrett
  2009-05-03 11:43   ` Andrey Borzenkov
  2009-05-03 21:57   ` Pavel Machek
  0 siblings, 2 replies; 14+ messages in thread
From: Matthew Garrett @ 2009-05-03 10:59 UTC (permalink / raw)
  To: Andrey Borzenkov; +Cc: linux-acpi, linux-kernel

On Sun, May 03, 2009 at 11:11:47AM +0400, Andrey Borzenkov wrote:
> 01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS 
> (rev a1)

We don't know how to reinitialise nvidia graphics hardware.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Bank screen after resume on Dell XPS M1330
  2009-05-03 10:59 ` Matthew Garrett
@ 2009-05-03 11:43   ` Andrey Borzenkov
  2009-05-03 11:56     ` Matthew Garrett
  2009-05-03 21:57   ` Pavel Machek
  1 sibling, 1 reply; 14+ messages in thread
From: Andrey Borzenkov @ 2009-05-03 11:43 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: linux-acpi, linux-kernel

[-- Attachment #1: Type: Text/Plain, Size: 557 bytes --]

On Sunday 03 of May 2009 14:59:32 Matthew Garrett wrote:
> On Sun, May 03, 2009 at 11:11:47AM +0400, Andrey Borzenkov wrote:
> > 01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M
> > GS (rev a1)
>
> We don't know how to reinitialise nvidia graphics hardware.

Just in case - same issue also after resume from hibernation. I was 
under impression, that hibernation does not have these issues as card 
goes via normal POST routine.

Hmm ... this implies users of nVidia are locked to proprietary driver if 
suspend is required?

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Bank screen after resume on Dell XPS M1330
  2009-05-03 11:43   ` Andrey Borzenkov
@ 2009-05-03 11:56     ` Matthew Garrett
  2009-05-04  2:27       ` Andrey Borzenkov
  0 siblings, 1 reply; 14+ messages in thread
From: Matthew Garrett @ 2009-05-03 11:56 UTC (permalink / raw)
  To: Andrey Borzenkov; +Cc: linux-acpi, linux-kernel

On Sun, May 03, 2009 at 03:43:28PM +0400, Andrey Borzenkov wrote:
> On Sunday 03 of May 2009 14:59:32 Matthew Garrett wrote:
> > On Sun, May 03, 2009 at 11:11:47AM +0400, Andrey Borzenkov wrote:
> > > 01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M
> > > GS (rev a1)
> >
> > We don't know how to reinitialise nvidia graphics hardware.
> 
> Just in case - same issue also after resume from hibernation. I was 
> under impression, that hibernation does not have these issues as card 
> goes via normal POST routine.

Hm. That sounds a bit weirder.

> Hmm ... this implies users of nVidia are locked to proprietary driver if 
> suspend is required?

Right now, yeah.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Bank screen after resume on Dell XPS M1330
  2009-05-03 10:59 ` Matthew Garrett
  2009-05-03 11:43   ` Andrey Borzenkov
@ 2009-05-03 21:57   ` Pavel Machek
  2009-05-03 21:59     ` Matthew Garrett
  1 sibling, 1 reply; 14+ messages in thread
From: Pavel Machek @ 2009-05-03 21:57 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: Andrey Borzenkov, linux-acpi, linux-kernel

On Sun 2009-05-03 11:59:32, Matthew Garrett wrote:
> On Sun, May 03, 2009 at 11:11:47AM +0400, Andrey Borzenkov wrote:
> > 01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS 
> > (rev a1)
> 
> We don't know how to reinitialise nvidia graphics hardware.

s2ram tool and/or Xserver may be able to reinit the video....

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Bank screen after resume on Dell XPS M1330
  2009-05-03 21:57   ` Pavel Machek
@ 2009-05-03 21:59     ` Matthew Garrett
  2009-05-03 22:05       ` Pavel Machek
  0 siblings, 1 reply; 14+ messages in thread
From: Matthew Garrett @ 2009-05-03 21:59 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Andrey Borzenkov, linux-acpi, linux-kernel

On Sun, May 03, 2009 at 11:57:41PM +0200, Pavel Machek wrote:
> On Sun 2009-05-03 11:59:32, Matthew Garrett wrote:
> > On Sun, May 03, 2009 at 11:11:47AM +0400, Andrey Borzenkov wrote:
> > > 01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS 
> > > (rev a1)
> > 
> > We don't know how to reinitialise nvidia graphics hardware.
> 
> s2ram tool and/or Xserver may be able to reinit the video....

Not for current nivida, except for some Thinkpads.
-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Bank screen after resume on Dell XPS M1330
  2009-05-03 21:59     ` Matthew Garrett
@ 2009-05-03 22:05       ` Pavel Machek
  2009-05-03 22:09         ` Matthew Garrett
  0 siblings, 1 reply; 14+ messages in thread
From: Pavel Machek @ 2009-05-03 22:05 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: Andrey Borzenkov, linux-acpi, linux-kernel

On Sun 2009-05-03 22:59:35, Matthew Garrett wrote:
> On Sun, May 03, 2009 at 11:57:41PM +0200, Pavel Machek wrote:
> > On Sun 2009-05-03 11:59:32, Matthew Garrett wrote:
> > > On Sun, May 03, 2009 at 11:11:47AM +0400, Andrey Borzenkov wrote:
> > > > 01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS 
> > > > (rev a1)
> > > 
> > > We don't know how to reinitialise nvidia graphics hardware.
> > 
> > s2ram tool and/or Xserver may be able to reinit the video....
> 
> Not for current nivida, except for some Thinkpads.

Ok, that's bad. There still should be chance to reverse-engineer the
BIOS or tweak the emulation in libx86 until it works with the nvidias,
but... that's a lot of work.
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Bank screen after resume on Dell XPS M1330
  2009-05-03 22:05       ` Pavel Machek
@ 2009-05-03 22:09         ` Matthew Garrett
  0 siblings, 0 replies; 14+ messages in thread
From: Matthew Garrett @ 2009-05-03 22:09 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Andrey Borzenkov, linux-acpi, linux-kernel

On Mon, May 04, 2009 at 12:05:52AM +0200, Pavel Machek wrote:
> On Sun 2009-05-03 22:59:35, Matthew Garrett wrote:
> > Not for current nivida, except for some Thinkpads.
> 
> Ok, that's bad. There still should be chance to reverse-engineer the
> BIOS or tweak the emulation in libx86 until it works with the nvidias,
> but... that's a lot of work.

nvidia BIOSes call into chunks of system BIOS code that aren't available 
after boot. They rewrite themselves so the c000:0003 entry point just 
returns in order to prevent you from executing random code. It's not an 
emulation issue. The only way to fix this is to finish nouveau's 
implementation of the nvidia bios table bytecode and execute the init 
tables on resume.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Bank screen after resume on Dell XPS M1330
  2009-05-03 11:56     ` Matthew Garrett
@ 2009-05-04  2:27       ` Andrey Borzenkov
  2009-05-05 19:49         ` Pavel Machek
  0 siblings, 1 reply; 14+ messages in thread
From: Andrey Borzenkov @ 2009-05-04  2:27 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: linux-acpi, linux-kernel

[-- Attachment #1: Type: Text/Plain, Size: 828 bytes --]

On Sunday 03 of May 2009 15:56:03 Matthew Garrett wrote:
> On Sun, May 03, 2009 at 03:43:28PM +0400, Andrey Borzenkov wrote:
> > On Sunday 03 of May 2009 14:59:32 Matthew Garrett wrote:
> > > On Sun, May 03, 2009 at 11:11:47AM +0400, Andrey Borzenkov wrote:
> > > > 01:00.0 VGA compatible controller: nVidia Corporation GeForce
> > > > 8400M GS (rev a1)
> > >
> > > We don't know how to reinitialise nvidia graphics hardware.
> >
> > Just in case - same issue also after resume from hibernation. I was
> > under impression, that hibernation does not have these issues as
> > card goes via normal POST routine.
>
> Hm. That sounds a bit weirder.
>

Is it worth further debugging? Anything I can provide?

> > Hmm ... this implies users of nVidia are locked to proprietary
> > driver if suspend is required?
>
> Right now, yeah.


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Bank screen after resume on Dell XPS M1330
  2009-05-04  2:27       ` Andrey Borzenkov
@ 2009-05-05 19:49         ` Pavel Machek
  2009-05-06 15:55           ` Andrey Borzenkov
  0 siblings, 1 reply; 14+ messages in thread
From: Pavel Machek @ 2009-05-05 19:49 UTC (permalink / raw)
  To: Andrey Borzenkov; +Cc: Matthew Garrett, linux-acpi, linux-kernel

On Mon 2009-05-04 06:27:35, Andrey Borzenkov wrote:
> On Sunday 03 of May 2009 15:56:03 Matthew Garrett wrote:
> > On Sun, May 03, 2009 at 03:43:28PM +0400, Andrey Borzenkov wrote:
> > > On Sunday 03 of May 2009 14:59:32 Matthew Garrett wrote:
> > > > On Sun, May 03, 2009 at 11:11:47AM +0400, Andrey Borzenkov wrote:
> > > > > 01:00.0 VGA compatible controller: nVidia Corporation GeForce
> > > > > 8400M GS (rev a1)
> > > >
> > > > We don't know how to reinitialise nvidia graphics hardware.
> > >
> > > Just in case - same issue also after resume from hibernation. I was
> > > under impression, that hibernation does not have these issues as
> > > card goes via normal POST routine.
> >
> > Hm. That sounds a bit weirder.
> >
> 
> Is it worth further debugging? Anything I can provide?


Try it with minimum config, init=/bin/bash? Switch to plain vga
console?
								Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Bank screen after resume on Dell XPS M1330
  2009-05-05 19:49         ` Pavel Machek
@ 2009-05-06 15:55           ` Andrey Borzenkov
  2009-05-06 16:52             ` Pavel Machek
  0 siblings, 1 reply; 14+ messages in thread
From: Andrey Borzenkov @ 2009-05-06 15:55 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Matthew Garrett, linux-acpi, linux-kernel

[-- Attachment #1: Type: Text/Plain, Size: 1045 bytes --]

On Tuesday 05 of May 2009 23:49:02 Pavel Machek wrote:
> On Mon 2009-05-04 06:27:35, Andrey Borzenkov wrote:
> > On Sunday 03 of May 2009 15:56:03 Matthew Garrett wrote:
> > > On Sun, May 03, 2009 at 03:43:28PM +0400, Andrey Borzenkov wrote:
> > > > On Sunday 03 of May 2009 14:59:32 Matthew Garrett wrote:
> > > > > On Sun, May 03, 2009 at 11:11:47AM +0400, Andrey Borzenkov 
wrote:
> > > > > > 01:00.0 VGA compatible controller: nVidia Corporation
> > > > > > GeForce 8400M GS (rev a1)
> > > > >
> > > > > We don't know how to reinitialise nvidia graphics hardware.
> > > >
> > > > Just in case - same issue also after resume from hibernation. I
> > > > was under impression, that hibernation does not have these
> > > > issues as card goes via normal POST routine.
> > >
> > > Hm. That sounds a bit weirder.
> >
> > Is it worth further debugging? Anything I can provide?
>
> Try it with minimum config, init=/bin/bash? Switch to plain vga
> console?

As stated in my first mail, that is exactly what I started with :)

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Bank screen after resume on Dell XPS M1330
  2009-05-06 15:55           ` Andrey Borzenkov
@ 2009-05-06 16:52             ` Pavel Machek
  2009-05-06 17:30               ` Andrey Borzenkov
  0 siblings, 1 reply; 14+ messages in thread
From: Pavel Machek @ 2009-05-06 16:52 UTC (permalink / raw)
  To: Andrey Borzenkov; +Cc: Matthew Garrett, linux-acpi, linux-kernel

On Wed 2009-05-06 19:55:10, Andrey Borzenkov wrote:
> On Tuesday 05 of May 2009 23:49:02 Pavel Machek wrote:
> > On Mon 2009-05-04 06:27:35, Andrey Borzenkov wrote:
> > > On Sunday 03 of May 2009 15:56:03 Matthew Garrett wrote:
> > > > On Sun, May 03, 2009 at 03:43:28PM +0400, Andrey Borzenkov wrote:
> > > > > On Sunday 03 of May 2009 14:59:32 Matthew Garrett wrote:
> > > > > > On Sun, May 03, 2009 at 11:11:47AM +0400, Andrey Borzenkov 
> wrote:
> > > > > > > 01:00.0 VGA compatible controller: nVidia Corporation
> > > > > > > GeForce 8400M GS (rev a1)
> > > > > >
> > > > > > We don't know how to reinitialise nvidia graphics hardware.
> > > > >
> > > > > Just in case - same issue also after resume from hibernation. I
> > > > > was under impression, that hibernation does not have these
> > > > > issues as card goes via normal POST routine.
> > > >
> > > > Hm. That sounds a bit weirder.
> > >
> > > Is it worth further debugging? Anything I can provide?
> >
> > Try it with minimum config, init=/bin/bash? Switch to plain vga
> > console?
> 
> As stated in my first mail, that is exactly what I started with :)

Ok, ok, and even that failed with hibernation?
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Bank screen after resume on Dell XPS M1330
  2009-05-06 16:52             ` Pavel Machek
@ 2009-05-06 17:30               ` Andrey Borzenkov
  2009-05-06 20:30                 ` Pavel Machek
  0 siblings, 1 reply; 14+ messages in thread
From: Andrey Borzenkov @ 2009-05-06 17:30 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Matthew Garrett, linux-acpi, linux-kernel

[-- Attachment #1: Type: Text/Plain, Size: 1850 bytes --]

On Wednesday 06 of May 2009 20:52:26 Pavel Machek wrote:
> On Wed 2009-05-06 19:55:10, Andrey Borzenkov wrote:
> > On Tuesday 05 of May 2009 23:49:02 Pavel Machek wrote:
> > > On Mon 2009-05-04 06:27:35, Andrey Borzenkov wrote:
> > > > On Sunday 03 of May 2009 15:56:03 Matthew Garrett wrote:
> > > > > On Sun, May 03, 2009 at 03:43:28PM +0400, Andrey Borzenkov 
wrote:
> > > > > > On Sunday 03 of May 2009 14:59:32 Matthew Garrett wrote:
> > > > > > > On Sun, May 03, 2009 at 11:11:47AM +0400, Andrey
> > > > > > > Borzenkov
> >
> > wrote:
> > > > > > > > 01:00.0 VGA compatible controller: nVidia Corporation
> > > > > > > > GeForce 8400M GS (rev a1)
> > > > > > >
> > > > > > > We don't know how to reinitialise nvidia graphics
> > > > > > > hardware.
> > > > > >
> > > > > > Just in case - same issue also after resume from
> > > > > > hibernation. I was under impression, that hibernation does
> > > > > > not have these issues as card goes via normal POST routine.
> > > > >
> > > > > Hm. That sounds a bit weirder.
> > > >
> > > > Is it worth further debugging? Anything I can provide?
> > >
> > > Try it with minimum config, init=/bin/bash? Switch to plain vga
> > > console?
> >
> > As stated in my first mail, that is exactly what I started with :)
>
> Ok, ok, and even that failed with hibernation?

You are right, I was not careful when testing. I tested once more with 
two different kernels; hibernation works (also in normal init 3) as long 
as video settings are the same between suspend and resume. If they 
differ (e.g. plain VGA before suspend and frame buffer after) display is 
most likely completely garbled (but still is not blank).

Of course, any attempt to switch to X (using nv driver) after resume is 
doomed. OTOH *starting* X after resume seems to work. 

Sorry for the noise.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Bank screen after resume on Dell XPS M1330
  2009-05-06 17:30               ` Andrey Borzenkov
@ 2009-05-06 20:30                 ` Pavel Machek
  0 siblings, 0 replies; 14+ messages in thread
From: Pavel Machek @ 2009-05-06 20:30 UTC (permalink / raw)
  To: Andrey Borzenkov; +Cc: Matthew Garrett, linux-acpi, linux-kernel

On Wed 2009-05-06 21:30:23, Andrey Borzenkov wrote:
> On Wednesday 06 of May 2009 20:52:26 Pavel Machek wrote:
> > On Wed 2009-05-06 19:55:10, Andrey Borzenkov wrote:
> > > On Tuesday 05 of May 2009 23:49:02 Pavel Machek wrote:
> > > > On Mon 2009-05-04 06:27:35, Andrey Borzenkov wrote:
> > > > > On Sunday 03 of May 2009 15:56:03 Matthew Garrett wrote:
> > > > > > On Sun, May 03, 2009 at 03:43:28PM +0400, Andrey Borzenkov 
> wrote:
> > > > > > > On Sunday 03 of May 2009 14:59:32 Matthew Garrett wrote:
> > > > > > > > On Sun, May 03, 2009 at 11:11:47AM +0400, Andrey
> > > > > > > > Borzenkov
> > >
> > > wrote:
> > > > > > > > > 01:00.0 VGA compatible controller: nVidia Corporation
> > > > > > > > > GeForce 8400M GS (rev a1)
> > > > > > > >
> > > > > > > > We don't know how to reinitialise nvidia graphics
> > > > > > > > hardware.
> > > > > > >
> > > > > > > Just in case - same issue also after resume from
> > > > > > > hibernation. I was under impression, that hibernation does
> > > > > > > not have these issues as card goes via normal POST routine.
> > > > > >
> > > > > > Hm. That sounds a bit weirder.
> > > > >
> > > > > Is it worth further debugging? Anything I can provide?
> > > >
> > > > Try it with minimum config, init=/bin/bash? Switch to plain vga
> > > > console?
> > >
> > > As stated in my first mail, that is exactly what I started with :)
> >
> > Ok, ok, and even that failed with hibernation?
> 
> You are right, I was not careful when testing. I tested once more with 
> two different kernels; hibernation works (also in normal init 3) as long 
> as video settings are the same between suspend and resume. If they 
> differ (e.g. plain VGA before suspend and frame buffer after) display is 
> most likely completely garbled (but still is not blank).
> 
> Of course, any attempt to switch to X (using nv driver) after resume is 
> doomed. OTOH *starting* X after resume seems to work. 

Ok, that's what I'd expect. Hibernation _should_ work on any hardware.

Now, nv driver probably has a problem that needs to be fixed... You
should be able to use framebuffer X driver and have hibernation
totally working for you...

And no, different video modes between hibernation and resume are bad
idea.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-05-06 20:30 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-03  7:11 Bank screen after resume on Dell XPS M1330 Andrey Borzenkov
2009-05-03 10:59 ` Matthew Garrett
2009-05-03 11:43   ` Andrey Borzenkov
2009-05-03 11:56     ` Matthew Garrett
2009-05-04  2:27       ` Andrey Borzenkov
2009-05-05 19:49         ` Pavel Machek
2009-05-06 15:55           ` Andrey Borzenkov
2009-05-06 16:52             ` Pavel Machek
2009-05-06 17:30               ` Andrey Borzenkov
2009-05-06 20:30                 ` Pavel Machek
2009-05-03 21:57   ` Pavel Machek
2009-05-03 21:59     ` Matthew Garrett
2009-05-03 22:05       ` Pavel Machek
2009-05-03 22:09         ` Matthew Garrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).