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

Newegg Daily Deals

Reply
 
Thread Tools
Old 07-29-03, 09:39 AM   #1
CRH
Dell i8100 GeForce2 Go
 
Join Date: Jun 2003
Posts: 9
Thumbs down 1.0-4496: Does suspend work for you?

Power management suspend is not working here.

Dell i8100, GeForce 2 Go 32MB, Debian sid, kernel-image-2.4.21-3-686.

Here's what I get...........

apm -s appears to try to suspend the machine but the suspend stops
partway through - the machine does not turn off and the LCD backlight stays on.

At this point it appears frozen but I can bring X back by Ctrl+Alt+F1 (Ctrl+Alt+F7 does
nothing.) I can then Ctrl+Alt+F7 and get X.

At this point tty1 and tty2 are flashing grey screens with rows of
white 's. TTy's 3-6 are normal login prompts and tty 7 is X as expected.


If I try 'apm -s' again I get:
'craig@mobile:~$ apm -s apm: Device or resource busy

The corresponding kernel log message is:

Jul 29 09:09:08 mobile apmd[773]: Suspending now
Jul 29 09:09:08 mobile apmd[773]: Suspension was rejected by the
kernel, so resuming
Jul 29 09:09:08 mobile kernel: apm: suspend was vetoed.
__________________
Ciao,
CRH
CRH is offline   Reply With Quote
Old 07-29-03, 04:17 PM   #2
gmoney
HP ZD7000 Linux (5700 Go)
 
Join Date: Jan 2003
Location: Santa Barbara
Posts: 14
Default

Mandrake 9.1, APM (no ACPI), Inspiron 8200 (A09) with AGP enabled on Geforce Go 440:
Laptop appears to suspend ok with apm -s (shuts down all the way)! Hasn't done this in a long time. Resume never makes it though (screen is garbage, hd light stays on for ~20 seconds but nothing ever happens, have to power cycle it).
With AGP and DPMS disabled, machine never fully suspends. The display turns off but the system never does and keyboard lights flash. I really want to have working suspend WITH agp support because graphics are very slow without agp but not being able to suspend is a killer. It seems like things are getting closer though...
gmoney is offline   Reply With Quote
Old 07-29-03, 05:11 PM   #3
gmoney
HP ZD7000 Linux (5700 Go)
 
Join Date: Jan 2003
Location: Santa Barbara
Posts: 14
Default IT WORKS!!!!!!!!!!!!!!!!!!!

After tweaking with a few of my settings and reconfiguring my kernel with:

CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
CONFIG_APM_DO_ENABLE=y
CONFIG_APM_CPU_IDLE=y
# CONFIG_APM_DISPLAY_BLANK is not set
CONFIG_APM_RTC_IS_GMT=y
CONFIG_APM_ALLOW_INTS=y
# CONFIG_APM_REAL_MODE_POWER_OFF is not set

I can now suspend and resume with AGP enabled!!!!!! This is fantastic!!! The one reason I had to warn people about buying laptops powered by Nvidia for Linux is gone!!! If you have problems, post to this thread and I'll try and help. It also might help to switch to a virtual terminal (ctrl-alt-F1) before you suspend (but not actually exit X). The kernel parameters were what cinched it for me buy YMMV depending on hardware/BIOS/lunar cycle.
gmoney is offline   Reply With Quote
Old 07-29-03, 05:37 PM   #4
CRH
Dell i8100 GeForce2 Go
 
Join Date: Jun 2003
Posts: 9
Default

This stock kernel only has CONFIG_APM=y in the APM section. All other APM parameters are "n".

I'll check out your advice, gmoney, and see if it works.
__________________
Ciao,
CRH
CRH is offline   Reply With Quote
Old 07-29-03, 05:39 PM   #5
CRH
Dell i8100 GeForce2 Go
 
Join Date: Jun 2003
Posts: 9
Default Re: IT WORKS!!!!!!!!!!!!!!!!!!!

Quote:
Originally posted by gmoney
After tweaking with a few of my settings and reconfiguring my kernel with:
I'm curious as to what you tweaked besides the kernel parameters.
__________________
Ciao,
CRH
CRH is offline   Reply With Quote
Old 07-29-03, 05:54 PM   #6
gmoney
HP ZD7000 Linux (5700 Go)
 
Join Date: Jan 2003
Location: Santa Barbara
Posts: 14
Default

Sorry, I should ahve clarified that. In the past suspend has never worked with AGP enabled. In addition to the modifications to my kernel made above (namely enabling interrupts during apm calls and disabling console blanking) I enabled DPMS in my X config and set NVAGP to 1 (internal nvidia agp support). Suspension isn't perfect (it's worked 4 out of 5 times so far) but it's a lot better than nothing. If I figure out what's killing it the 5th time I'll put the word out.
gmoney is offline   Reply With Quote
Old 07-29-03, 06:14 PM   #7
CRH
Dell i8100 GeForce2 Go
 
Join Date: Jun 2003
Posts: 9
Thumbs up

Quote:
Originally posted by gmoney
and set NVAGP to 1 (internal nvidia agp support).
You are lucky. According to the nVidia documentation suspend does not work with AGP enabled.
__________________
Ciao,
CRH
CRH is offline   Reply With Quote
Old 07-29-03, 06:21 PM   #8
gmoney
HP ZD7000 Linux (5700 Go)
 
Join Date: Jan 2003
Location: Santa Barbara
Posts: 14
Default

Lies, all lies From the new README:

Some laptops have experienced agp bus corruption when resuming from
suspend that leads to a system hang. Disabling AGP will work around
this problem (please see APPENDIX F: CONFIGURING AGP for more details
on disabling agp).

I wouldn't believe it either if it hadn't worked for me (AGP and suspend together is like a swan and a buffalo mating). Suspend still isn't perfect but nvidia has won my gratitude and my next laptop will definitely be powered by nvidia. With the new drivers I actually had more problems getting my laptop to suspend without AGP than with.
gmoney is offline   Reply With Quote

Old 07-29-03, 06:38 PM   #9
CRH
Dell i8100 GeForce2 Go
 
Join Date: Jun 2003
Posts: 9
Default

I stand corrected!
__________________
Ciao,
CRH
CRH is offline   Reply With Quote
Old 07-29-03, 10:29 PM   #10
gmoney
HP ZD7000 Linux (5700 Go)
 
Join Date: Jan 2003
Location: Santa Barbara
Posts: 14
Default

Looks like now I stand corrected. No matter what I do now I can't cleanly resume. I get the screen of corrupted garbage but I can make out the background a little and see that it is trying to show the display, it's just got vertical and horizontal bars everywhere. Enabling/disabling AGP and DPM doesn't seem to have any effect. Woe is me.
gmoney 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 08:57 AM.


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