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

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-12-06, 12:51 AM   #1
Druker
Registered User
 
Join Date: Jun 2004
Posts: 36
Default ACPI S3 -> resume fails (81.78, Go6800/PCI-E, latest kernel)

I use latest nVIDIA driver available patched with U011106. My system is OpenSuSE 10.1 alpha 4 with latest kernel available. My hardware is Go6800/256MB/PCI-E 16x (Amilo M3438g laptop). I can successfully suspend-to-disk, but resume brings me totally corrupted screen slowly switching from black to white and so on... When we can expect proper power management support?
Druker is offline   Reply With Quote
Old 01-12-06, 05:20 AM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: ACPI S3 -> resume fails (81.78, Go6800/PCI-E, latest kernel)

Please note that suspend-to-disk is ACPI S4 and not currently supported by the NVIDIA Linux graphics driver, though support is planned for a future release. Please generate and post an nvidia-bug-report.log file if your problem persists with ACPI S3. Does switching two another VT and back to X after resuming make any difference in that case?
zander is offline   Reply With Quote
Old 01-16-06, 01:48 PM   #3
towolf
Registered User
 
Join Date: Jan 2006
Posts: 11
Default Re: ACPI S3 -> resume fails (81.78, Go6800/PCI-E, latest kernel)

I'm sure Druker will generate his own bug report. Meanwhile I'll feel free to attach mine here. I sent a support request to linux-bugs nvidia.com, but that seemed to be feeding a black hole.

S3 resume is really the only thing on this laptop that doesn't work. And I use more or less everything.

The card is a GeForce FX Go5200 32M/64M driven by 8178 in a Samsung X30 notebook. My system is Ubuntu Dapper with a 2.6.15 kernel and the known patch pre-applied by the distro-maintainers.
My symptoms are black screen, no backlight and no appearing weird colors. Vt switching doesn't help.

Ubuntu offers several hardware means for going to suspend and back. They are configurable in /etc/defaults/acpi-support. I tried several combinations to no avail. But it might be good to know which ones make most sense:

Code:
ACPI_SLEEP=true
ACPI_HIBERNATE=true
ACPI_SLEEP_MODE=mem
MODULES=""
MODULES_WHITELIST=""
SAVE_VBE_STATE=false
VBESTATE=/var/lib/acpi-support/vbestate
POST_VIDEO=false
SAVE_VIDEO_PCI_STATE=false
USE_DPMS=false
# RADEON_LIGHT=true
DOUBLE_CONSOLE_SWITCH=true
HIBERNATE_MODE=platform
LOCK_SCREEN=false
ENABLE_LAPTOP_MODE=true
Attached Files
File Type: zip nvidia-bug-report.log.zip (22.7 KB, 127 views)

Last edited by towolf; 01-17-06 at 04:22 PM.
towolf is offline   Reply With Quote
Old 01-17-06, 04:07 PM   #4
towolf
Registered User
 
Join Date: Jan 2006
Posts: 11
Default Re: ACPI S3 -> resume fails (81.78, Go6800/PCI-E, latest kernel)

You may wonder: “S3 sleep? Why bother? We deal with high performance gaming, mega-polygons, shaders and so on”.
To be honest, I would trade all these 3d features for working suspend any day. I called Samsung, my PC vendor, they replied -“Linux? I don't think we support that; your PC came with XP Professional, so use that!”
So I turn to my distros prominent laptop devs, and they say you could use the opensource nv-driver. If you need nvidia, that's closed so ask the hardware vendor supplying the binary driver for support.
So I turn to Nvidia docs, waste half a dozen hours reading, trying, rebooting a locked up black screen laptop, downloading obscure video-resurrection tools to -sadly- no avail.
When I could still use XP I used to never switch off the PC. I even put it into my backpack in sleep state when moving between workplaces: Close the lid -7 seconds- and go. Now I'm contantly shutting down and booting ad infinitum.

The more annoying part of the story is that this (big expenditure) notebook came with a secondary 7200 mAh battery that can be swapped for on the fly -- only when sleeping. There's a 3 minute internal battery that sustains the wattage needed for replacing the LiIon batteries. So, how do I replace them when working on a 5 hour train ride? I power down, replace, reboot. 5 minutes.

Last edited by towolf; 01-17-06 at 04:23 PM.
towolf is offline   Reply With Quote
Old 02-02-06, 08:08 AM   #5
Calim
Registered User
 
Join Date: Jan 2006
Posts: 8
Default Re: ACPI S3 -> resume fails (81.78, Go6800/PCI-E, latest kernel)

I'd like to express my wish that this problem be fixed, too. I got the same issue with my GeForce FX Go5700.

I don't need to reboot the machine, though - restarting X brings everything back as well.
Calim is offline   Reply With Quote
Old 02-02-06, 11:13 AM   #6
Druker
Registered User
 
Join Date: Jun 2004
Posts: 36
Default Re: ACPI S3 -> resume fails (81.78, Go6800/PCI-E, latest kernel)

Here's my report attached. Switching to/from console doesn't help, after resume screen slowly fades in to white.
Attached Files
File Type: zip nvidia-bug-report.log.ZIP (34.6 KB, 141 views)
Druker is offline   Reply With Quote
Old 02-02-06, 05:13 PM   #7
energyman76b
Registered User
 
Join Date: Dec 2002
Location: Clausthal/Germany
Posts: 1,104
Default Re: ACPI S3 -> resume fails (81.78, Go6800/PCI-E, latest kernel)

Hi,

does S3 work without the nvidia driver?

With my desktop, S3 never resumes. And it does not matter, if the nvidia modules got ever loaded. So it is a kernel problem, not nvidia's fault.
energyman76b is offline   Reply With Quote
Old 02-02-06, 06:04 PM   #8
towolf
Registered User
 
Join Date: Jan 2006
Posts: 11
Default Re: ACPI S3 -> resume fails (81.78, Go6800/PCI-E, latest kernel)

The laptop resumes and is live, you can ssh in and reboot, for example.
The X.org driver "nv" is unsable here, every other pixel is shifted to the side rendering the desktop completely unusable.

In the meantime however I discovered that often the whole machine locks up after resume but when inspecting the kernel log after the reboot the very last entries are always tagged by NV (stuff like "Xid such and such").

I really would appreciate some feedback by Nvidia employees here. Should we supply more bug reports, is this worked on at the moment? Should we expect more? The last releases mentioned some things about improvements relating to power management. We see that apparently more work is needed. Can we help with that and what can we do?
towolf is offline   Reply With Quote

Old 02-03-06, 01:42 AM   #9
Calim
Registered User
 
Join Date: Jan 2006
Posts: 8
Default Re: ACPI S3 -> resume fails (81.78, Go6800/PCI-E, latest kernel)

For me the open source Xorg nv driver works fine, although I still need 'vbetool post' & 'vbetool vbestate restore' to bring the display back up - but I that's not the fault of nVidia then ... but maybe connected to the problem somehow ?

Xorg nv driver isn't satisfying though, I need acceleration ...

Please try to fix this and tell us whether you are making any progress, please?
Thanks.

EDIT: What the ... I just discovered that Suspend to Disk (S4) with Software Suspend 2 works flawlessly - and that's supposedly NOT supported while Suspend to RAM is ... and the console is corrupted neither, on the contrary, switches console <-> X work faster than before suspending, and GLX is working, too. Well, maybe the system will crash if I use it for a while or suspend and resume a second time, I've not tried yet ...

Last edited by Calim; 02-03-06 at 02:04 AM.
Calim is offline   Reply With Quote
Old 02-04-06, 05:10 PM   #10
towolf
Registered User
 
Join Date: Jan 2006
Posts: 11
Default Re: ACPI S3 -> resume fails (81.78, Go6800/PCI-E, latest kernel)

Meanwhile I have discovered that the display/driver/x even crashes when I switch the consoles too often.
In an unrelated task, I had to switch to a real console to set some keycodes. After three times of switching back and forth between X and a virtual console the screen dropped dead. I sshed in a found these lines in dmesg:

Code:
[4332367.071000] NVRM: Xid: 16, Head 00000001 Count 00000013
[4332375.071000] NVRM: Xid: 16, Head 00000001 Count 00000014
[4332383.071000] NVRM: Xid: 16, Head 00000001 Count 00000015
[4332441.627000] NVRM: Xid: 16, Head 00000001 Count 00000024
[4332449.627000] NVRM: Xid: 16, Head 00000001 Count 00000025
[4332454.972000] divide error: 0000 [#1]
[4332454.972000] PREEMPT
[4332454.972000] Modules linked in: nls_cp437 vfat fat isofs nls_utf8 udf aes dm_crypt videodev dm_mod ipt_TCPMSS ipt_tcpmss iptable_filter ip_tables ppp_deflate zlib_deflate bsd_comp ppp_async crc_ccitt ppp_generic slhc nfs lockd sunrpc vmnet vmmon binfmt_misc speedstep_centrino cpufreq_powersave cpufreq_stats cpufreq_userspace cpufreq_ondemand cpufreq_conservative freq_table snd_atiixp_modem snd_via82xx_modem snd_intel8x0m ipv6 tc1100_wmi video battery container button pcc_acpi sony_acpi ac dev_acpi hotkey ext3 jbd sr_mod sbp2 parport_pc lp parport af_packet ipw2100 pcmcia ieee80211 b44 snd_intel8x0 ieee80211_crypt snd_ac97_codec snd_ac97_bus mii ohci1394 ieee1394 rtc snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd yenta_socket rsrc_nonstatic soundcore snd_page_alloc pcmcia_core nvidia agpgart psmouse serio_raw shpchp pci_hotplug sg sd_mod evdev reiserfs ide_generic ide_cd cdrom ide_disk usbhid usb_storage scsi_mod piix generic ehci_hcd uhci_hcd usbcore thermal processor fan capability commoncap vga16fb cfbcopyarea vgastate cfbimgblt cfbfillrect fbcon tileblit font bitblit softcursor
[4332454.972000] CPU:    0
[4332454.972000] EIP:    0060:[<f8fe078e>]    Tainted: P      VLI
[4332454.972000] EFLAGS: 00213246   (2.6.15-14-386)
[4332454.972000] EIP is at _nv004082rm+0x27a/0x3a8 [nvidia]
[4332454.972000] eax: 003e4180   ebx: 00000000   ecx: 00000320   edx: 00000000
[4332454.972000] esi: 000001c1   edi: 00000000   ebp: f778dd90   esp: f778dd58
[4332454.972000] ds: 007b   es: 007b   ss: 0068
[4332454.972000] Process Xorg (pid: 4080, threadinfo=f778c000 task=dfdd2030)
[4332454.972000] Stack: f7ebc800 f7b51800 00000101 f8fd8357 f7b51000 00000000 00000190 f8f05385
[4332454.972000]        f7ebc800 00000100 0000000a f7ed0000 f7b6ac00 f7b64e00 f778ddc0 f8f0544e
[4332454.972000]        f7b51800 f7ebc800 f8a6a210 00000101 f7ebc800 00000000 00000000 f8f05746
[4332454.972000] Call Trace:
[4332454.972000]  [<f8fd8357>] _nv006404rm+0x3f/0x180 [nvidia]
[4332454.972000]  [<f8f05385>] _nv001633rm+0x115/0x120 [nvidia]
[4332454.972000]  [<f8f0544e>] _nv001637rm+0xbe/0xd4 [nvidia]
[4332454.972000]  [<f8f05746>] _nv001635rm+0x186/0x248 [nvidia]
[4332454.972000]  [<f8f05756>] _nv001635rm+0x196/0x248 [nvidia]
[4332454.972000]  [<f8ef07d6>] _nv002423rm+0x26/0x2c [nvidia]
[4332454.972000]  [<f8f05d9f>] _nv001758rm+0x43f/0x6a4 [nvidia]
[4332454.972000]  [<f8edac32>] _nv008263rm+0x9a/0xd4 [nvidia]
[4332454.972000]  [<f8edac43>] _nv008263rm+0xab/0xd4 [nvidia]
[4332454.972000]  [<f8f076b6>] rm_change_res_mode+0x32/0xcc [nvidia]
[4332454.972000]  [<f8f07728>] rm_change_res_mode+0xa4/0xcc [nvidia]
[4332454.972000]  [<f8f088a4>] _nv001649rm+0x2a4/0x5d0 [nvidia]
[4332454.972000]  [<f9126cf7>] verify_pci_bars+0x37/0x12b [nvidia]
[4332454.972000]  [<f8f0766f>] rm_ioctl+0x23/0x38 [nvidia]
[4332454.972000]  [<f9128bf8>] nv_kern_ioctl+0x2aa/0x339 [nvidia]
[4332454.972000]  [<c0104648>] show_registers+0xb8/0x1d0
[4332454.972000]  [<c0171f27>] do_ioctl+0x67/0x80
[4332454.972000]  [<c0104648>] show_registers+0xb8/0x1d0
[4332454.972000]  [<c01720c1>] vfs_ioctl+0x51/0x1f0
[4332454.972000]  [<c0104648>] show_registers+0xb8/0x1d0
[4332454.972000]  [<c01722bd>] sys_ioctl+0x5d/0x90
[4332454.972000]  [<c0104648>] show_registers+0xb8/0x1d0
[4332454.972000]  [<c010302b>] sysenter_past_esp+0x54/0x79
[4332454.972000]  [<c0104648>] show_registers+0xb8/0x1d0
[4332454.972000] Code: 29 f8 83 c0 02 eb 18 8d b6 00 00 00 00 85 ff 75 0c 89 f0 2b 45 e0 83 c0 02 eb 04 89 f6 31 c0 85 c0 74 1a 0f af c1 6b c0 64 31 d2 <f7> 75 dc 69 c0 e8 03 00 00 e9 16 01 00 00 8d 74 26 00 8b 4d f0
towolf is offline   Reply With Quote
Old 04-10-06, 12:01 PM   #11
towolf
Registered User
 
Join Date: Jan 2006
Posts: 11
Default Re: ACPI S3 -> resume fails (81.78, Go6800/PCI-E, latest kernel)

Just in case someone subscribed to this thread...

For me the case is closed with revision 8756 of the driver.
I can put the pc to sleep and and wake it up happily; swapping out the battery works while sleeping; everything.
towolf 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Random crashes, NVRM Xid messages Iesos NVIDIA Linux 90 10-04-12 03:27 AM
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 10:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 08:22 PM

All times are GMT -5. The time now is 03:31 AM.


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