FS#10924 - Suspend is logging me out of gnome

Attached to Project: Arch Linux
Opened by Carlos Eduardo (cemsbr) - Tuesday, 15 July 2008, 20:56 GMT
Last edited by Greg (dolby) - Wednesday, 16 July 2008, 20:30 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When it wakes up from "System - Shut Down - Suspend" I'm already logged out and I need to log in again in gdm and I all my opened applications are not there anymore.

When I suspend through the menu I have to open the lid and press the power button to wake it up, but when I suspend by closing the lid I only have to open the lid in order to wake it up (sometimes it wakes up inside its bag!), and I'm not logged out.

Why am I being logged out when I suspend through the menu? Besides, I would like to know how to configure it to behave like suspending through the menu when I close the lid.

Additional info:
* package version(s)
acpid 1.0.6-1
pm-utils 1.1.2.2-1
gnome-power-manager 2.22.1-1
laptop-mode-tools 1.42-1

* config and/or log files etc.


Steps to reproduce:
System - Shut Down - Suspend
This task depends upon

Closed by  Greg (dolby)
Wednesday, 16 July 2008, 20:30 GMT
Reason for closing:  Upstream
Comment by Jan de Groot (JGC) - Tuesday, 15 July 2008, 21:44 GMT
What hardware are we talking about? The lid close action looks like a hardware feature to me, if it was software controled, it shouldn't be different than suspending from the gnome menu. As for "logged out" when suspending: I suspect X is crashing on your laptop, when you resume from a suspend, X will restart with the gdm login window. You can find information about this in /var/log/Xorg.0.log.old.
Comment by Carlos Eduardo (cemsbr) - Tuesday, 15 July 2008, 22:30 GMT
I have a semp toshiba info as1560g. It's said to be a Fujitsu-Siemens Amilo 1528.

Some good news! It seems I'm not being logged out anymore! But the difference between suspending by the menu and closing the lid remains. What scripts does each one run?
Comment by Carlos Eduardo (cemsbr) - Tuesday, 15 July 2008, 22:33 GMT
The correct model of Amilo is Amilo pa 1538.
Comment by Jan de Groot (JGC) - Wednesday, 16 July 2008, 06:22 GMT
Does your laptop also suspend while you're on the grub bootscreen and you're closing the lid?
Comment by Carlos Eduardo (cemsbr) - Wednesday, 16 July 2008, 13:48 GMT
No, it does not.
Comment by Carlos Eduardo (cemsbr) - Wednesday, 16 July 2008, 16:33 GMT
I also noticed the fan is constantly at full speed after waking up from menu suspend. To fix that I have to suspend and wake up using the lid.

I've just been logged out from gnome, but this time it was by closing the lid (so it seems it doesn't matter how I suspend).

/var/log/Xorg.0.log.old has more than 800 lines of
"mieqEnequeue: out-of-order valuator event; dropping.
tossed event which came in late"

Finally, it shows:
mieqEnequeue: out-of-order valuator event; dropping.
(II) NVIDIA(0): Initialized GPU GART.
SetGrabKeysState - disabled
(II) Open ACPI successful (/var/run/acpid.socket)
(II) NVIDIA(0): Setting mode "1280x800"
(II) USB Mouse: ps2EnableDataReporting: succeeded
SetGrabKeysState - enabled
(II) 3rd Button detected: disabling emulate3Button
SetGrabKeysState - disabled
(II) Open ACPI successful (/var/run/acpid.socket)
(II) NVIDIA(0): Setting mode "1280x800"
(II) USB Mouse: ps2EnableDataReporting: succeeded
SetGrabKeysState - enabled
(II) 3rd Button detected: disabling emulate3Button
SetGrabKeysState - disabled

Backtrace:
0: /usr/bin/Xorg(xf86SigHandler+0x6a) [0x4a03ca]
1: /lib/libc.so.6 [0x7f33df0bc150]
2: /lib/libc.so.6(memcpy+0xa3) [0x7f33df108283]
3: /usr/lib/xorg/modules//libfb.so(fbBlt+0xbbc) [0x7f33dc1b91cc]
4: /usr/lib/xorg/modules//libfb.so(fbOddTile+0x156) [0x7f33dc1c5726]
5: /usr/lib/xorg/modules//libfb.so(fbFillRegionTiled+0x1da) [0x7f33dc1c5eea]
6: /usr/lib/xorg/modules/drivers//nvidia_drv.so [0x7f33dca0fd70]

Fatal server error:
Caught signal 11. Server aborting

P.S.: Any other idea why suspending by closing the lid is different from the menu way? I tried setting the gnome-power-manager not to suspend when the lid is closed, and it worked, so I guess both ways are handled by software.
Comment by Jan de Groot (JGC) - Wednesday, 16 July 2008, 17:41 GMT
The crashes you see are due to the nvidia driver. You should look for documentation about quirks with nvidia and suspend to ram. We can't help you out with this. Maybe someone on the forum can give you hints about how to workaround the problem, but as nvidia is a closed binary blob, we can't debug or fix anything.

Loading...