← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 522646] Re: return from suspend doesn't restore screen

 

Hi,

same problem here with same HW (tecra M9). The only difference is that I have 64bit version of Karmic:
 2.6.31-20-generic #57-Ubuntu SMP Mon Feb 8 09:02:26 UTC 2010 x86_64 GNU/Linux
Symptoms are exactly the same - suspends fine, but restored only to black screen. Xorg takes most of processor power and restarts again and again.  In Xorg.log file  it complains:
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device PCI:1:0:0. 
(EE) NVIDIA(0):     Please check your system's kernel log for additional error
(EE) NVIDIA(0):     messages and refer to Chapter 8: Common Problems in the
(EE) NVIDIA(0):     README for additional information.
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!


The kernel messages are also very similar, first segfault in nvidia driver (which I think is the primary source of the problem), then more and more rm_init_adapter failed messages:
[ 1486.028328] __ratelimit: 18 callbacks suppressed
[ 1486.028339] Xorg[1509]: segfault at 8 ip 00007fe7823bb56f sp 00007fff23ee67a0 error 4 in nvidia_drv.so[7fe782371000+3ac000]
[ 1549.004741] wlan0: disassociating by local choice (reason=3)
[ 1553.301663] NVRM: RmInitAdapter failed! (0x26:0x38:1096)
[ 1553.301679] NVRM: rm_init_adapter(0) failed
[ 1557.521310] NVRM: RmInitAdapter failed! (0x26:0x38:1096)
[ 1557.521320] NVRM: rm_init_adapter(0) failed
[ 1561.735212] NVRM: RmInitAdapter failed! (0x26:0x38:1096)
[ 1561.735226] NVRM: rm_init_adapter(0) failed
....

Looks like the problem is in the nvidia driver. I have now 185.18.36 -
but have tried different versions with same result.  In my previous
version of Ubuntu (which was Hardy) suspend resume worked  fine on the
same HW.   However there I had quite old legacy driver - 169  (actually
it the only one that nvidia lists as supported for the chipset Quatro
NVS 130M, which is in the notebook). I've tried to compile this old
version on Karmic, but did not succeed.

Now to most strange thing - if the external monitor is connected when
notebook boots (or later and X server is restarted) then suspend and
resume works lite charm.  Later you can remove external monitor and
again suspend resume without any issues. Once the external monitor is
initialized, all problems are gone.

Hibernation works without problems.

-- 
return from suspend doesn't restore screen
https://bugs.launchpad.net/bugs/522646
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in ubuntu.



References