nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   X fails to restart after suspend (RmInitAdapter failed!) (http://www.nvnews.net/vbulletin/showthread.php?t=94247)

Dragoran 07-03-07 03:26 AM

X fails to restart after suspend (RmInitAdapter failed!)
 
1 Attachment(s)
Suspend to ram works fine for me, after resume everything including X work fine.
The only problem is that when I restart X after resume (Ctrl-Alt-Backspace) it fails to start again.

Bugreport is attached.

I get some /dev/nvidia0 (Input/Output Error) and RmInitAdapter failed! messages.

Dragoran 07-04-07 11:03 AM

Re: X fails to restart after suspend (RmInitAdapter failed!)
 
any ideas how to debug this?

zander 07-04-07 02:02 PM

Re: X fails to restart after suspend (RmInitAdapter failed!)
 
Does the problem persist if you load the NVIDIA kernel module with the NVreg_SaveVBios=1 command line parameter (when it's first loaded after a clean reboot)?

Dragoran 07-05-07 03:04 AM

Re: X fails to restart after suspend (RmInitAdapter failed!)
 
no, it works fine thx.
but when I switch to a vt after the second suspen/resume cycle I can only see white lines. moving from the bottom to the top. (I use vesafb).

Dragoran 07-05-07 03:12 AM

Re: X fails to restart after suspend (RmInitAdapter failed!)
 
and if I don't use vesafb the vt stays black even after the first suspend/resume.

f1f0 07-05-07 04:45 AM

Re: X fails to restart after suspend (RmInitAdapter failed!)
 
I experienced the same problem: after a S2R or S2D from X and logging out to the console, X failed to start again. With "NVreg_SaveVBios=1", X started okay but the console was messed up (it seemed the driver had failed to restore the right resolution/refresh rate). It could still receive input and I could start X many times afterward, but I haven't found a way to restore the terminal (I may look for ways to changing the resolution to see if it works though).

I have a GeForce Go 7300, the driver is already loaded with NVreg_RegistryDwords="PerfLevelSrc=0x2222". My laptop (Acer Aspire 5583WXMi) suspends to disk and RAM well in X and console (with a few workarounds).

zander 07-05-07 01:17 PM

Re: X fails to restart after suspend (RmInitAdapter failed!)
 
I'll have to take a closer look at this locally. Dragoran, what kind of notebook are you using?

Dragoran 07-06-07 09:02 AM

Re: X fails to restart after suspend (RmInitAdapter failed!)
 
A Zepto 6615WD with a 7600 Go 512MB , Core2Duo T7400.
Maybe this helps debugging this:
When I don't use vesafb and don't use NVreg_SaveVBios=1 the screen stays black after resume and with the nv driver it always stays black after resume.

jmsjr 07-08-07 06:57 AM

Re: X fails to restart after suspend (RmInitAdapter failed!)
 
I have the same problem with suspend to disk ... plus the mouse does not work after a resume from disk. I posted this on another thread within this forum, but I'll repost them again here:

Fedora 7
Compaq Presario V6107AU
AMD Turion64 x2 ( dual-core )
nVidia GForce 6150 Go with the NVIDIA-Linux-x86_64-100.14.11 driver
nVidia MCP51 controller

$ uname -rmiv
2.6.21-1.3228.fc7 #1 SMP Tue Jun 12 14:56:37 EDT 2007 x86_64 x86_64


I just tried suspend to disk using kde's kpowersave from the system tray and the selecting "Suspend to Disk". It suspends successfully, although my notebook still has the power / LED lights on.

So I then press the power button for a few seconds to completely turn off the notebook, and then press again to turn on, it successfully loads from the image in swap, and restores my session but in screensaver mode ( I am using an opengl screensaver ). I then typein my password to unlock the screensaver, and everything is restored... except that my mouse does not work.

If I then hit Ctrl+Alt+Backspace ( because I could not end my current x.org session ) using my mouse, x.org then fails to restart. dmesg shows the following:

NVRM: RmInitAdapter failed! (0x31:0xffffffff:949)
NVRM: rm_init_adapter(0) failed
NVRM: RmInitAdapter failed! (0x31:0xffffffff:949)
NVRM: rm_init_adapter(0) failed
NVRM: RmInitAdapter failed! (0x31:0xffffffff:949)
NVRM: rm_init_adapter(0) failed

Dragoran 07-13-07 03:09 AM

Re: X fails to restart after suspend (RmInitAdapter failed!)
 
Quote:

Originally Posted by zander
I'll have to take a closer look at this locally. Dragoran, what kind of notebook are you using?

any results or new suggestions to test?

zander 07-13-07 01:11 PM

Re: X fails to restart after suspend (RmInitAdapter failed!)
 
I filed a bug on this internally that's being investigated. I can't promise that a fix will make it into the next driver release, though.

Dragoran 07-14-07 03:44 AM

Re: X fails to restart after suspend (RmInitAdapter failed!)
 
Quote:

Originally Posted by zander
I filed a bug on this internally that's being investigated. I can't promise that a fix will make it into the next driver release, though.

ok, thx for working on it.


All times are GMT -5. The time now is 08:07 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.