Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-26-05, 07:56 PM   #1
linuxa
Registered User
 
Join Date: Aug 2005
Posts: 9
Question Ubuntu laptop, Geforce4 420GO. 15 min idle => black screen

Hi all

I recently managed to install the latest nvidia drivers (7667) for my Toshiba laptop with (K)ubuntu linux (hoary hedgehog, Linux kernal 2.6.10) and a graphics card of Geforce4 420GO.

Thanks largely in part to the HOWTO at:
http://www.ubuntuforums.org/showthre...8&page=1&pp=10

Although everything post-install seems to works great (go tuxracer ). I've noticed in the last couple of days that after leaving the laptop idle for 15 min (approximately) and more, the screen goes completely black. Though I can still hear processing & normal CPU sounds, any attempt to "wake up" the screen is ignored.

I'm often forced to do a CTRL-ALT-Backspace to foce a restart of X, unfortunately that also means that I lose whatever process that was running before.

Has anyone ever come across this error before? Is a know bug perhaps?

Also, does the nvidia drivers keep a log of its activities anywhere, I couldn't find one at /var/log/?

Thanks in advance for the help.
linuxa is offline   Reply With Quote
Old 08-26-05, 10:32 PM   #2
evilghost
Registered User
 
Join Date: Jul 2005
Posts: 3,606
Default Re: Ubuntu laptop, Geforce4 420GO. 15 min idle => black screen

It's the power management that's getting you, it's going into Suspend.

System -> Preferences -> ScreenSaver ->Advanced

Disable "Power Management Enabled"
evilghost is offline   Reply With Quote
Old 08-27-05, 05:58 PM   #3
linuxa
Registered User
 
Join Date: Aug 2005
Posts: 9
Default Re: Ubuntu laptop, Geforce4 420GO. 15 min idle => black screen

Thanks for the reply evilghost. Unfortunately I can't seem to find that option that you've specified.

For one thing there doesn't appear to be a "Preference" option under my Systems link when clicking on the K button off the Kicker.

The only place that I know of where one could set the Screensavers is in the "control centre". And the only option involving power management is "make aware of power management", which I haven't got turned on (see screenshot attached). I'm thinking that in order for the screen saver to be aware of power management it must have been defined somewhere else. Unforunately I just don't know what that somewhere else is

Any chance you could elaborate upon what you said earlier please?

Thanks.
Attached Thumbnails
Click image for larger version

Name:	snapshot2.jpg
Views:	191
Size:	83.5 KB
ID:	13116  
linuxa is offline   Reply With Quote
Old 08-27-05, 06:03 PM   #4
evilghost
Registered User
 
Join Date: Jul 2005
Posts: 3,606
Default Re: Ubuntu laptop, Geforce4 420GO. 15 min idle => black screen

Ah-ha! You're Kubuntu, running KDE, where-as I'm just Ubuntu running Gnome I think you just need to find the power management settings, I'm not sure where it is in KDE, sorry Somehow I missed you saying (K)Ubuntu in your first post...

It's been eons since I used KDE, I prefer Gnome.

Hope I at least helped you somehow. Maybe look under Power Control?
evilghost is offline   Reply With Quote
Old 08-27-05, 07:04 PM   #5
chunkey
#!/?*
 
Join Date: Oct 2004
Posts: 662
Default Re: Ubuntu laptop, Geforce4 420GO. 15 min idle => black screen

Disable (Display) Power Management:

* start kcontrol (aka Control Center)
* go to Peripherals -> Display -> Power Control ->
* _uncheck_ Enable display power management

or, you can play with NVreg_Mobile & NVreg_SoftEDIDs ( Readme-1.0-7676, READ Appendix I. Configuring a Laptop)
chunkey is offline   Reply With Quote
Old 08-29-05, 04:56 AM   #6
linuxa
Registered User
 
Join Date: Aug 2005
Posts: 9
Post Re: Ubuntu laptop, Geforce4 420GO. 15 min idle => black screen

I had a look under the display setting under peripherals (thanks chunkey!). Unfortunately the Enable display power management was already unchecked...

And you did help evilghost. You have helped me to eliminate one of the may possibilities that faced me. Which was superb. Thanks

I did however had a look in the readme file for the NVreg_Mobile & NVreg_SoftEDIDs. But I had a little trouble finding the source file needed. Quoting readme:


editing os-registry.c in the usr/src/nv/ directory of the .run file.

setting the value on the modprobe command line (e.g.: `modprobe nvidia
NVreg_SoftEDIDs=0 NVreg_Mobile=3`)

adding an "options" line to your module configuration file, usually
/etc/modules.conf (e.g.: "options nvidia NVreg_Mobile=5")



My /usr/src doesn't appear to have an nv directory. And the .run file I downed from nvidia was a standalone file without any directories to speak of.

Although I'd like to set the values to see if that helps, I am somewhat stuck.

Help. Someone??
linuxa is offline   Reply With Quote
Old 08-29-05, 10:39 AM   #7
evilghost
Registered User
 
Join Date: Jul 2005
Posts: 3,606
Default Re: Ubuntu laptop, Geforce4 420GO. 15 min idle => black screen

I think I may be able to actually help some more. I had to disable this on my wife's M700 laptop because the drive would spin down every 10 seconds and there was all kinds of other annoying PM settings.

Edit /etc/defaults/laptop-mode and set it to "No" from "Yes".

Then, reboot. I bet it'll fix the issue, but you will end up with greater battery power-draw.

Disable laptop mode:
http://www.ubuntuforums.org/showpost...01&postcount=5

Enable HDD powerdown at a rate other than 10 seconds:
http://www.ubuntuforums.org/showpost...69&postcount=2

Hope this helps...it really fixed my wifes HDD PM issues as well as the some of the other PM actions, such as "suspend" on LCD-lid close.
evilghost is offline   Reply With Quote
Old 09-01-05, 04:48 AM   #8
linuxa
Registered User
 
Join Date: Aug 2005
Posts: 9
Default Re: Ubuntu laptop, Geforce4 420GO. 15 min idle => black screen

evilghost... What can I say...

Only that your hunch was absolutely, 100% on the mark. After turning off laptop-mode, the screen remained on after nearly 2 hours of idleness.

I am very much grateful for you input.

Thanks goes out to chunkey for his idea, though I would still like to find out where the file os-registry.c is.

A thousand thanks evilghost.

And guys, any suggestions for location of the os-registry.c would be highly appreciated.
linuxa is offline   Reply With Quote

Old 09-01-05, 05:55 AM   #9
chunkey
#!/?*
 
Join Date: Oct 2004
Posts: 662
Default Re: Ubuntu laptop, Geforce4 420GO. 15 min idle => black screen

you don't have to edit os-registry.c... setting NVreg_SoftEDIDs & NVreg_Mobile can be done by
- adding an "options" line to your module configuration file, usually /etc/modules.conf (e.g.: "options nvidia NVreg_Mobile=5")

you can check if you did the right thing, with cat /proc/driver/nvidia/registry.


(os-registry.c is a part of the packed driver NVIDIA-Linux-x86-1.0-*-pkg1.run. You can extract the whole thing with an -x switch
NVIDIA-Linux-x86-1.0-*-pkg1.run -x)
chunkey is offline   Reply With Quote
Old 09-01-05, 09:22 AM   #10
evilghost
Registered User
 
Join Date: Jul 2005
Posts: 3,606
Default Re: Ubuntu laptop, Geforce4 420GO. 15 min idle => black screen

No problem, glad I could help
evilghost is offline   Reply With Quote
Old 09-03-05, 11:37 PM   #11
linuxa
Registered User
 
Join Date: Aug 2005
Posts: 9
Default Re: Ubuntu laptop, Geforce4 420GO. 15 min idle => black screen

Hey chunkey

I managed to track down the file that I was suppose to set the options in. Apparently, /etc/modules.conf is now obsolete ?!

There is however a nvidia-kernel-nkc file inside of the /etc/modprobe.d/ directory, adding the line:

options nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=2

to the file seemed to have turned off SoftEDID for my Toshiba.

Just for contrast, I turned back on laptop-mode (I turned this off at evilghost's suggestion to fix the problem). Your solution seem to eliminate the black screen thing also.

So it looks to be both of your solutions work; evilghost & chunkey. To reconfirm this fact, I'd have to test another day, turning back on SoftEDID to see if the unrecoverable black screen could be reproduced.

Will keep this thread updated.

In the meantime, thanks again to you both
linuxa is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:55 AM.


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