Natty Screensaver freezes system after some period of inactivity

Bug #762918 reported by Carlos Lerzundy
922
This bug affects 232 people
Affects Status Importance Assigned to Milestone
acpi
New
Undecided
Unassigned
xf86-video-intel
Confirmed
Undecided
Unassigned
gnome-screensaver (Ubuntu)
Incomplete
High
Unassigned
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: gnome-screensaver

When selecting "Floating Ubuntu" screensaver, after a period of inactivity greater than 40min, the systems locks itself and becomes unresponsive.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: gnome-screensaver 2.30.2-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Sat Apr 16 13:04:12 2011
EcryptfsInUse: Yes
GconfGnomeSession:
 idle_delay = 5
  /desktop/gnome/session/required_components:
   windowmanager = gnome-wm
GnomeSessionIdleInhibited: No
GnomeSessionInhibitors: None
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-screensaver
UpgradeStatus: Upgraded to natty on 2011-04-15 (1 days ago)
WindowManager: gnome-wm

Revision history for this message
Carlos Lerzundy (arepaking) wrote :
Revision history for this message
dFlyer (ggaribaldi) wrote :

Also happens on my wifes computer a gateway and on my dell studio 1735. This has been happening for the past week.

Revision history for this message
Manjul Apratim (manzdagratiano) wrote :

I have a similar issue on my Dell Vostro V13; in fact, certain screensavers have been sluggish ever since the upgrade to natty, notably "Helios" - there was no such issue on Maverick. Also notable is the point that I have observed no such issue on my Sony Vaio VGNAR520E, which has also been upgraded to natty. The Vaio has an nvidia GeForce 8400, while the V13 has the onboard intel video, which might be related to the issue. When the screen freezes, I can log onto a virtual console using Alt + Ctrl + F1 and issue "sudo pkill X" from there to restart the X server, at which time gdm loads and allows me to log-in.

The freezing occurs with any screensaver as far as I have noticed - sluggish or not; Helios was visibly bad; Hufo's Tunnel is normal but it freezes similarly.

Revision history for this message
Carlos Lerzundy (arepaking) wrote :

Just a quick update.
I discovered that the computer will not freeze if "blank" is chosen for the screensaver.

Revision history for this message
Manjul Apratim (manzdagratiano) wrote :

There were no freezes after I disabled the screensaver on the Vostro V13. Also, while the screensaver was enabled and X froze, after killing X through a virtual console and restarting it, it could be seen in the gnome system monitor that Hufo's Tunnel was using ~ 100% CPU; moreover, Helios was also present on the task list, even though I had selected Hufo's Tunnel as the screensaver (then again, it might have to do with the fact that I have not rebooted that machine since).

Revision history for this message
Dimis (dimis) wrote :

I have the same problem with GLslideShow screensaver on my laptop Sony VAIO VPCB1.
I have updated from 10.10 to 11.04 yesterday and today got this problem.

Revision history for this message
tony addyman (tony-addyman) wrote :

This work around works for me when the bug hits: Use Ctrl-Alt-F1 to get a text login prompt and login as the same user that you were using with Unity/Gnome. Use top to find the process number of the screensaver process. It will likely be at the top of the list as it will be running 98-100% CPU utilisation. Issue kill -9 on the process. Logout and switch back to your GUI session using Ctrl-Alt-F7.

Revision history for this message
Botond Szász (boteeka) wrote :

It could be that I am hit by some other problem, but most of the symptoms seem to be the same.

My experience is that Unity freezes even when "Blank screen" is selected as screensaver.
Whenever the freeze hits I switch to a terminal with Ctrl-Alt-F1, log in and then issue the following commands:

sudo killall -w -s KILL compiz

DISPLAY=:0.0 compiz --replace

and switch back to X with Ctrl-Alt-F7 and see Compiz restarting.

Sometimes I need to repeat this two or three times in a row to succeed.

Revision history for this message
W. Scott Howard (wscotthoward) wrote :

I get a similar issue, the screen saver works fine until I enter my password to unlock. at which time the screen freezes on the last screen saver image until I kill the gnome-screensav process

Revision history for this message
Russell Wing (wingfamily) wrote :

Similar issue where screensaver hangs machine when running for a while. 11.04 with INTEL GMA4500 chipset. Some screensavers also seem sluggish as mentioned by others. CTRL+ALT+BACKSPACE to restart X solves the problem, but a bit drastic as a sustainable fix :-)

Revision history for this message
Ken_Kaniff (kkaniff) wrote :

Hi, same problem here on my ThinkPad running Natty. The laptop freezes on any screensaver with radio or movie playing underneath.

Revision history for this message
Andy (andy-andypc) wrote :

Running Natty on Intel DH55TC. After enabling screensaver, screen freezes, and I have to power down to restart. Also system fans have started to run faster at the same time. Will disable screensaver and report back.

Revision history for this message
Rakitha S Beminiwattha (rakithab) wrote :

I have also experienced the same problem on my Sony VAIO (VGN22E), It happened both in Ubuntu and Ubuntu classic desktop. It was the floating ubuntu logo and matrix screensavers that I have tried so far.

Changed in gnome-screensaver (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
MikeCz (mikec-busworks) wrote :

Put me on the list as well:

Running a Compaq Presariu CQ60 (I thinks its the 211DX but I don't have it handy to verify):

2.16Ghz Intel Celeron 585
2gig RAM
Intel Graphics Media Accelerator 4500M

Running the fiberlight screensaver graphic.

I have it set to 'do nothing' if the lid is closed.

I typically let it sit running the Transmission bit torrent client, and often if it sits for long periods with the lid closed, when I open it back up the screen is on the desktop with no screen saver running. I can move the mouse but it doesn't respond to the keyboard or any mouse clicks. I have to drop to a virtual terminal (typically ctrl-alt-F2) and do a straignt ctrl-alt-del to reboot (I tried killing the screensaver process but that didn't work; didn't try restarting X yet seperate from a reboot). This same set up ran 9.10 fine, BTW; the current set up was a fresh install of 11.04 (An upgrade install failed so I had to wipe and start from scratch).

Just adding my little bit to the info; I will try the 'blank screen' workaround though in the meantime before just deciding to go with Mint XFCE.... ;-)

Revision history for this message
mdmcginn (mcweb) wrote :

Using Blank Screen at the office, I can't always get a terminal prompt with Ctl-Alt-F2 and Ctl-Alt-Delete doesn't work either. Pressing the power button does....

Using Pictures Folder at home, I was greeted with one of my pictures, and the cursor moved, even changed to a hand sometimes. Music was still playing. But I couldn't get the picture to go away by using my mouse or keyboard. I could use Ctl-Alt-F2 then Ctl-Alt-Delete. Because of monitor settings/problems, I can't see the terminal prompt, and I haven't tried any other commands to work around the issue at home.

Revision history for this message
MikeCz (mikec-busworks) wrote :

Additional note: Switching to the Blank screensaver did not make a difference, though it seems to be correlated to having the lid of my laptop closed for approx 20 minutes, and it is more noticable if I have things running onscreen when it happens.

Manually killing gnome-screensaver and compiz doesn't seem to make a difference; nothing short of a full reboot seems to bring it back to normal. Haven't tried it with just the blank Unity desktop.

For now I've just disabled the screensaver until I get word that this is fixed.

Revision history for this message
MikeCz (mikec-busworks) wrote :

More info: after several tries, with only the Unity desktop running and letting the machine sit for approx 20 minutes with the lid closed, the screen kept flickering between the unlock screen and the blank desktop. I ran a ps -eaf from a virtual termial and saw a line related to the lock screen, but did not write down the command for the process (will try to duplicate it again and capture that.

It too my unlock password, and it stopped flickering and went to the blank desktop, and after killing gnome-screensaver and Compiz I had to reboot the machine (via init 6).

Revision history for this message
MikeCz (mikec-busworks) wrote :

OK, it is locked up as before, and I see some relevant lines:

username ProcessID Parent ID command

<me> 1535 1 /usr/bin/gnome-screensaver --no-daemon
<me> 1726 1535 /usr/lib/gnome-screensaver/gnome-screensaver-dialog --status-message= --enable-switch
<me> 1906 1535 /usr/lib/xscreensaver/fiberlamp -root

And when I do a ctrl-alt-F7, it won't redraw the screen, even after killing these processes.

And now I'll go back to disabling the screensaver until this gets fixed; I'm not that good with X.

Revision history for this message
Rafael Rubio (rafa-rubio-s) wrote :

I don't think it's a screensaver problem. Even disabling screensaver, when the screen goes down because of inactivity the screen freezes. In a tty, if I kill Xorg, the screen restores and I can log in again, but with a new session and all my work is lost

Revision history for this message
Sean Fenton (bobodod) wrote :

ThinkPad T500, Natty 64bit: I turned off the screensaver entirely & set the screen to sleep after 5min. Now it doesn't lock up every time, but still locks up. Often, the screen will wake up & the GUI will all be frozen.

I just tried the "Alt + SysRq + r + s + e + i + u + b" trick & it wouldn't reboot. All the steps appeared to work until the "b" for reboot. Bug 303601 might be relevant here.

I don't have time right now to learn why it didn't reboot for me just now, but I'll do that next. Also, there's another key combination with "Alt + PrintScreen + r + e + i + s + u + b", which is the way I always remember it.

Revision history for this message
micred (tict) wrote :

I think the cause of this bug was misunderstood by someone.
I also get hanging after screen goes blank in 11.04 (natty) but switching to VT1 and killing gnome-screensaver doesn't help (and I don't even think it's the cause).

Every time I notice this problem the last line of Xorg.0.log was like:
"[ 1914.240] (II) AIGLX: Suspending AIGLX clients for VT switch".

Problem can be easily reproduced in my system: set 1 minute display timeout on Power Management and wait.
It doesn't hang every time screen goes black, but every time it hang, Xorg.0.log contains that message.
Maybe is more frequent if the browser is playing Flash content.

Chipset: Intel(R) GM45
Video card: Intel 4500MHD

Revision history for this message
micred (tict) wrote :

The problem I describe (and probably also of Sean Fenton and others upgrading to natty) seam the same of Bug 780653.
What do you think about it?

Sorry for my bad english.

Revision history for this message
MikeCz (mikec-busworks) wrote :

One other oddity: I just had my machine lock up despite having deactivated the screensaver.

The lid on my laptop was closed for approx 2 hours, and I was running the Transmission bittorrent client minimized. The power setting to blank the screen may be to blame, since the gnome-screensaver process is still running and may be what is blanking the screen. It may in fact be related to having the Transmission client running, though I've had the machine running overnight in the same configuration and had no issue.

Just one other small bit of info.

Revision history for this message
Jmadero (jmadero) wrote :

MikeCz, I noticed the same thing, I've probably had to hard reboot at least 50 times since installing 11.04. I disabled the screensaver but am still seeing the issue, just had a freeze right now. This is a serious problem and can easily result in some broken hard drives. I'm tempted to downgrade but hoping a fix is released in the next couple days

Revision history for this message
MikeCz (mikec-busworks) wrote :

I'm personally waiting until June before I consider going to another distro.

Revision history for this message
Peter Newcomb (peter-petesbox) wrote :

I was experiencing this problem (screen freezes except mouse pointer, but can still Ctrl-Alt-F1 to a terminal) regularly until a few days ago when I went into power manager and set "Put display to sleep when inactive for:" to Never (for both AC and battery). Since then, I have not had the problem at all, though of course my display also never goes to sleep. :-)

Revision history for this message
MikeCz (mikec-busworks) wrote :

Peter: I never run on batteries and the AC power profile is also set to 'never' but I will try that nevertheless.

Revision history for this message
Jmadero (jmadero) wrote :

I have noticed the same so far, turning turn display off to never so far has solved the problem but of course it's a waste of electricity and having a monitor on when I'm just listening to music doesn't make sense. Thanks all for the hard work

Revision history for this message
Walter Méndez (waltmenz) wrote :

A couple of minutes ago, my computer with the screen-saver disable was with the screen turn off, but it received an update notification during the time when the screen was turn off and it freeze, also a few days ago the screen was turn off and I was listening music, and I press a key to go to the next song and it also freeze.
In both cases, I can move the mouse but when I tried to click an application using Unity of Ubuntu Classic it does not work, also, I can press Ctrl + Alt F1 and write top to see what it's happening but everything seen normal.
I upgraded from Ubuntu (64)10.10 to 11.04.
Thanks for helping us with this issue.

Revision history for this message
John Speight (jgdspeight) wrote :

Count me in!
Acer aspire 5732z, 4GB RAM intel pentium T4300 intel GMA4500 graphics. Upgraded from Maverick(64) to Natty(64), and get the same freeze after inactivity. Seems to happen regardless of screensaver. Curiously, while cursor appears, to move, Key combinations only seem to work part of the time.
In my case, it might have something to do with the fairly rough and ready workarounds to get the backlight working properly...
Am playing with power settings now, to try and get to the bottom of this...

Revision history for this message
David Gillies (daveg) wrote :

I've been having the same problem as well. My machine is using the onboard graphics of an Intel H67 sandybridge motherboard. Based off micred's comment of it possibly being the same issue as in Bug 780653, I tried enabling the option "Lock screen when screensaver is active" in the screensaver settings. After that I haven't had the screen exhibit the same behaviour as everyone else has mentioned.

Revision history for this message
Peter Newcomb (peter-petesbox) wrote :

Well, looks like the power manager tweak didn't eliminate it after all. However, I'm now starting to suspect full-screen video as a contributing factor, as my most recent "freeze" happened only after I watched a full-screen video for the first time since the power-manager tweak, and I had had inklings that full-screen video might be involved even before that tweak.

I'll try to run some more tests over the next few days...

BTW, I'm running on a Lenovo X201.

Revision history for this message
Mark Wilkinson (mhw) wrote :

A quick run through the comments suggests that the Intel graphics adaptor might be a common factor here. Is anyone having this problem on a system that isn't using Intel graphics? If not, that may implicate xserver-xorg-video-intel.

Revision history for this message
micred (tict) wrote :

Peter, you were viewing video using Flash?
I notice much more hangs playing Flash content and every time last line of Xorg.0.log was "AIGLX: Suspending AIGLX clients for VT switch" .
Someone expert of AIGLX, Xorg, intel video cards can suppose where the bug can be?

Revision history for this message
luca (l-savio) wrote :

Hi, seems that the issue is just on Intel graphics adapters with natty 64: my Acer Extensa 5635z has this issue ramdomly, the eeepc 900 with natty 32 works fine.

Revision history for this message
Jmadero (jmadero) wrote :

This definitely isn't video related as it happens to me all the time and I have no video running. It seems like it happens more when I have banshee going BUT this could just be because I have banshee going a lot of the day. I haven't had a freeze in 24 hours with screen saver and "turn off monitor" both disabled. This is despite me listening to banshee for at least 5 hours in the last 24. Also full screen VLC, Banshee and Flash have no caused any freezes for me

Revision history for this message
Alf (antonio-floresta) wrote :

I am having this problem too and I am running Natty 32bit on a desktop (Lenovo ThinkCentre 8810-AA5) with an Intel onboard graphics card (00:02.0 VGA compatible controller: Intel Corporation 82Q963/Q965 Integrated Graphics Controller (rev 02)).
The workaround that I am using is:
- switch to a console using Ctrl-Alt-F1.
- ps aux|grep gnome-screensaver to get the process ID
- kill -9 <pid>
- switch back to the X

Revision history for this message
Peter Newcomb (peter-petesbox) wrote :

Yes, I'm pretty sure I was using Flash, but I haven't experienced any problems while watching videos, it's just that it seems like the hang only happens sometime after I had viewed a video in full-screen mode.

FWIW, I'm running 2.6.38-8-generic-pae i386, though my processor is an i5 (and therefore 64-bit).

Revision history for this message
MikeCz (mikec-busworks) wrote :

I think it may also have something to do with the screen locking: I had my laptop sitting, screensaver disabled via the screen saver control panel and in both the AC and battery profiles (the machine was running on AC power at the time), and I was running the Transmission bittorrent client. I opened the screen after about 5 minutes of it being closed (and it has been running continuously all day with me periodically opening the lid to check email and whatnot), and though it seemed to be responding, the mouse pointer and the whole screen seemed to flicker. That is, until I entered my password as if to unlock the screen, and then things went back to normal.

In a previous posting I made above I did notice a behavior similar to this before when the screen flickered between the screen saver and the lock screen.

Revision history for this message
MikeCz (mikec-busworks) wrote :

Oh, and after all of my comments and troubleshooting, I never mentioned specifically what version of Natty I was running!

32bit Natty Narwhal 11.04, fresh install from a burned ISO downloaded on 4/28/11 (IE, the actual release verison ,not an RC
or beta).

Revision history for this message
John Speight (jgdspeight) wrote :

OK, In power settings, I ended up using "never" on " put computer to sleep when inactive" "put display to sleep when inactive" (On AC power) and " put computer to sleep when inactive"(On Battery power). So far that seems to have improved the situation (although far from a satisfactory solution, as has already been mentioned). We'll see just how much that helps.

Revision history for this message
Manjul Apratim (manzdagratiano) wrote :

I can confirm this on an Intel chipset. I have two laptops - a Sony Vaio with an Nvidia card, and a Dell Vostro V13 with an Intel card. Screensaver works perfectly fine on the nvidia system, and not once has a freeze happened. The freezes were happening every time with the Intel one, until I disabled the screensaver.

I can also confirm this with both 32-bit and 64-bit Natty Narwhal. I had 32-bit Natty on both systems, and I replaced them with 64-bit Natty on both. The nvidia works fine without freezes, while on the other one I haven't yet tried enabling the screensaver.

I do not think it has anything to do with a video application or banshee or whatever, since it has happened with me plenty of times when I have not been using anything other than emacs and evince. It definitely seems to be related to the xorg-xserver-video-intel driver.

Revision history for this message
mellofello (soumo-m) wrote :

Same basic problem, but found a potential shoddy workaround:
-Natty, Helios screensaver, 945GM/GMS/GME + 943/940GML Express IG Controller, EeePC 900HA Netbook...

When the screen locks up, I have used the VGA port to sometimes get the display back.
1. Plug-in a VGA cable (I have one hooked up to a TV anyhow)
2. Use the built-in (or pre-configure) hotkeys (for me Fn+F5) to cycle through the multiple monitor modes -wait a few secs each time

Hopefully something will reappear. In my case I have had:
-parts of the screen reappear (enough to right click a launcher in, terminal etc.)
-parts of the screen come back with other parts reappearing when spawned (eg. click gnome menu, parts unfold clearing screen)

-the whole screen comes back

-both screens come back

If this doesn't work, try taking the VGA cord out and recycling through the modes again. S-video/HDMI might work as well.

It might be worthwhile to write a refresh script you can get to with a keyboard shortcut or alias you can put in a terminal. That way you won't even need visual output to get you started.

Still no solution.

Revision history for this message
Sean Fenton (bobodod) wrote :

mellofello, that's really interesting. I'll try that out.

I'm still looking for a way to logout cleanly, closing all programs, until this is fixed. I've now tried the commands "gnome-session-save --logout" & "gnome-session-save --force-logout".

(The deprecated command "gnome-session-save --kill --silent" is indicated in these places:
http://ubuntuforums.org/showthread.php?t=222173
https://www.linux.com/archive/feature/153953 )

No matter what, I get the error "** (gnome-session-save:PID): WARNING **: Unable to start: Cannot open display:". I don't know enough to troubleshoot this & my searches haven't yielded anything.

Ctrl+s is now muscle memory, that's for sure.

Revision history for this message
tom brock (tbstage68) wrote :
Download full text (18.3 KiB)

This problem has been plaguing me since the official release of 11.04
I'm starting to get fed up with it!!
I have tried:
Update install of 11.04
Clean install of 11.04
CCSM: disable sync to vblank
Updating fglxr to manufacturer update
Compiz fusion: set metacity as window manager
Purging fglxr entirely
disabling screensaver ( results in system freeze after 15-20 min)

Here is a detailed list of my system. Sorry if it's too verbose, but maybe it will be helpful.
description: Computer
    width: 32 bits
    capabilities: smbios-2.3 dmi-2.3 smp-1.4 smp
    configuration: boot=normal cpus=1 uuid=E5947731-AA18-11DA-B2D4-0013D47AA8E1
  *-core
       description: Motherboard
       product: D945GNT
       vendor: Intel Corporation
       physical id: 0
       version: AAC96315-404
       serial: AZNT61007123
       slot: Base Board Chassis Location
     *-cpu
          description: CPU
          product: Intel(R) Pentium(R) 4 CPU 3.00GHz
          vendor: Intel Corp.
          physical id: 0
          bus info: cpu@0
          version: 15.4.3
          serial: 0000-0F43-0000-0000-0000-0000
          slot: J3E1
          size: 2800MHz
          capacity: 4GHz
          width: 64 bits
          clock: 200MHz
          capabilities: boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx x86-64 constant_tsc pebs bts pni dtes64 monitor ds_cpl est cid cx16 xtpr cpufreq
          configuration: id=0
        *-cache:0
             description: L1 cache
             physical id: 1
             slot: Unknown
             size: 16KiB
             capacity: 16KiB
             capabilities: asynchronous internal write-back data
        *-cache:1
             description: L2 cache
             physical id: 2
             slot: Unknown
             size: 2MiB
             capacity: 2MiB
             capabilities: asynchronous internal write-back unified
        *-logicalcpu:0
             description: Logical CPU
             physical id: 0.1
             width: 64 bits
             capabilities: logical
        *-logicalcpu:1
             description: Logical CPU
             physical id: 0.2
             width: 64 bits
             capabilities: logical
     *-firmware
          description: BIOS
          vendor: Intel Corp.
          physical id: 3
          version: NT94510J.86A.3239.2005.1205.1900
          date: 12/05/2005
          size: 64KiB
          capacity: 448KiB
          capabilities: pci upgrade shadowing cdboot bootselect edd int9keyboard int14serial int17printer int10video acpi usb zipboot biosbootspecification netboot
     *-memory
          description: System Memory
          physical id: 16
          slot: System board or motherboard
          size: 4GiB
        *-bank:0
             description: DIMM DDR2 Synchronous 400 MHz (2.5 ns)
             vendor: Kingston
             physical id: 0
             serial: 0x3D22D7F9
             slot: J6H1
             size: 1GiB
             width: 64 bits
             clock: 400MHz (2.5ns)
        *-bank:1
             description: DIMM DDR2 Synchronous 400 MHz (2.5 ns)
             vendor: Kingston
           ...

Revision history for this message
Xavier (xpucel) wrote :

Additional info (I am using an Intel GPU, floaters screensaver with custom image) : when the screen hangs, the mouse cursor still reacts. I manage to find the password field, type it, and unlock the screen (the same result can be obtained with gnome-screensaver-command on another tty).

Once I have unlocked the screen, the display doesn't change (still the frozen floaters), but the mouse cursor clearly shows it is now hovering over my desktop (particularly my maximized web browser window). This is why I would also blame the X server.

Dimis (dimis)
tags: added: intel
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Disabling Sync to VBlank compiz option *seems* to workaround this to me... However it's totally a driver bug to be fixed.

Revision history for this message
Jmadero (jmadero) wrote :

I'll go ahead and try this as well. I just found out that it still happens without screensaver. I use a small script to use my computer as an alarm it uses the following:

rtcwake
pm-suspend
xset dpms force off

Not sure which one is causing it to still happen but I'll try disabling VBlank. Thanks for the advice Trevino

Revision history for this message
John Speight (jgdspeight) wrote :

To Treviño,
I have tested your workaround. It does seem to work fine!
Thanks for that one. As you say, it is a bug that needs fixing, but I'm glad to have things working well here!

Revision history for this message
luca (l-savio) wrote :

@3v1n0: After 3 hours of floating ubuntu with banshee playing I confirm that your workaround works on my natty 64 bit Intel i915.

Grazie! ;)

Revision history for this message
Sean Fenton (bobodod) wrote :

For anyone else wondering where "Sync To VBlank" is: install CompizConfig Settings Manager: http://packages.ubuntu.com/natty/compizconfig-settings-manager & navigate to General | OpenGL.

Revision history for this message
tom brock (tbstage68) wrote : Re: [Bug 762918] Re: Natty Screensaver freezes system after some period of inactivity

Thank you for the instructions.
I have found that the Sync to vblank option works *very *briefly.
While it seems to be effective at first, in my case, the problem reoccurs
after about 24 hours.
Please report back if your mileage varies.

On Wed, May 25, 2011 at 8:51 PM, Sean Fenton <email address hidden>wrote:

> For anyone else wondering where "Sync To VBlank" is: install
> CompizConfig Settings Manager: http://packages.ubuntu.com/natty
> /compizconfig-settings-manager & navigate to General | OpenGL.
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/762918
>
> Title:
> Natty Screensaver freezes system after some period of inactivity
>
> Status in “gnome-screensaver” package in Ubuntu:
> Confirmed
>
> Bug description:
> Binary package hint: gnome-screensaver
>
> When selecting "Floating Ubuntu" screensaver, after a period of
> inactivity greater than 40min, the systems locks itself and becomes
> unresponsive.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 11.04
> Package: gnome-screensaver 2.30.2-0ubuntu2
> ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
> Uname: Linux 2.6.38-8-generic x86_64
> Architecture: amd64
> Date: Sat Apr 16 13:04:12 2011
> EcryptfsInUse: Yes
> GconfGnomeSession:
> idle_delay = 5
> /desktop/gnome/session/required_components:
> windowmanager = gnome-wm
> GnomeSessionIdleInhibited: No
> GnomeSessionInhibitors: None
> InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64
> (20101007)
> ProcEnviron:
> LANGUAGE=en_US:en
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: gnome-screensaver
> UpgradeStatus: Upgraded to natty on 2011-04-15 (1 days ago)
> WindowManager: gnome-wm
>
> To unsubscribe from this bug, go to:
>
> https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/762918/+subscribe
>

--
Tom Brock, MCSA, MCTS, MCP
1480 Lake Christopher Drive
Virginia Beach, VA 23464
757.831.7499

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

I've assigned the bug to the linux package too, since this seems more related to the kernel than to X or the gnome-screensaver itself (since the bug is shown also using xset dpms force off).

I'm quite sure it depends on the kernel side, since few months ago I upgraded my maverick kernel with the natty one (just the kernel) and this bug began to manifest. It has still persisted when upgrading also Xorg, libdrm, Mesa and Compiz (yeah... I love hybrid systems :D). So I guess that it's mostly related to it.
Could it be related to this: https://bugzilla.kernel.org/show_bug.cgi?id=27312 ?

Plus, in my PC I've an hybrid-graphics (Intel + ATi). I actually noticed the bug only when using the Intel i965 card, while with I never got it while using my ATi evergreen card, but to be fair I've to say that I rarely enable this discrete card.

Revision history for this message
WernerKerzendorf (werner-kerzendorf) wrote :

After upgrading to 11.04 some weeks ago the first bug was:

      The system did not boot
       This obstacle was removed by booting with a distro-CD, ... , chroot, grub-config, grub-install

second bug is:
      after the computer is idle for some time (no inputs keyboard, mouse)
      I cannot do any input with keyboard or mouse.
      The first, but useless, attempt of a workaround was (Screensaver Preferences)
                 disable "Activate screensaver when computer is idle" and
                 disable "Lock screen when screensaver is active"
      Also CTRL-ALT-F1 did not work.
      I found no other method than to apply an annoying reboot.

Unfortunately I do not know how to get a good description of my system, so I leave this Comment without it.
By the way: Any suggestions to ask the computer to display the configuration?

Revision history for this message
mattstat (mattstat) wrote :

I have the same bug. Brand new Vostro, brand new Natty 64-bit installation.

It appears most often when the screensaver activates *with* flash playing in Firefox, but it has happened at other times.

When it locks up, Flash will continue to play (if I'm on, say, Pandora or some other streaming service).

Revision history for this message
dawez (dawez1) wrote :

Same bug happening also on H67 + 2500k Sandybridge. Kill compiz from command line fixed it.

Claude Gagné (miltiad)
Changed in gnome-screensaver (Ubuntu):
status: Confirmed → In Progress
status: In Progress → Confirmed
Revision history for this message
MikeCz (mikec-busworks) wrote :

FWIW: Sean Fenton's advice about disabling sync_to_vblank in gconf-editor seems to have done the trick: I just left my laptop on overnight with Transmission running (which was a recipe to activate the bug) and it came back no problem.

The key location is:

/apps/compiz-1/plugins/opengl/screen0/options/sync_to_vblank

(since there are a couple of keys with the same name).

I still fervently hope that this bug gets fixed soon, however.

Revision history for this message
Joschi Poschi (joschiposchi) wrote :

I installed the new 2.6.39-0 kernel and it seems that it has solved the problem for me.
Forgot to shut down my laptop yesterday evening and this morning my session came back as desired.

Revision history for this message
Peter Newcomb (peter-petesbox) wrote :

Yup, sync_to_vblank seems to work for me, too! Thanks, Treviño and Sean!

-peter

Revision history for this message
mattstat (mattstat) wrote :

Happened again, this time while typing a Gmail. I tried the sync_to_vblank trick and that seems to reduce the number of freezes, but it does not eliminate them.

Before it crashed, computer had been on for 24 hours, at various times Suspended and under a blank screensaver.

Only thing that worked was the power switch. But when I rebooted my old theme was gone and a new one in its place. I had not changed themes previously and did no updates. This may be a totally unrelated bug.

Revision history for this message
mattstat (mattstat) wrote :

This page has comments on how to install the latest kernel, with words about others having the same problems:

http://ubuntuguide.net/ubuntu-11-04-upgrade-linux-kernel-to-2-6-39-0

Revision history for this message
MikeCz (mikec-busworks) wrote :

Happened to me again, also; I had the lid closed on the laptop and Transmission running full screen, and it was closed for perhaps
10-15 minutes. I was able to restart X with ctrl-alt-bkspace. This seems consistant with comments up thread that disabling sync_to_vblank only minimizes the occurance of the bug and is not a true work around.

I am thinking that this could be triggered by Transmission running full-screen and the screen blanking that happens when you shut the lid. Of course, this didn't happen in 9.10.

Revision history for this message
O Gopal (jswami) wrote :

Similar pattern with 11.04 on a ThinkPad x61s. Screensaver sometimes freezes (using pictures folder). I'm not playing video underneath, so that doesn't seem related for me.

Revision history for this message
ЯR (yar-webdev) wrote :

have same bug (screen freezes), can reproduce on every libreoffice start.
sync_to_vblank or 2.6.39-0 kernel not works for me.
Downgrade of compiz (http://www.webupd8.org/2011/05/how-to-downgrade-to-compiz-086-in.html) works perfect (but it remove Unity).

Revision history for this message
joel teay (joderal) wrote :

I have multiple users myself, my wife and kids, when it happens to me and i ctrl-alt-f1 I can get in, I switch to graphic mode and then
the login screen pops up, if I login as anyone else in the family I can get in but if i try to login as myself it either pops up the
login screen again or blank screen with mouse movment

Revision history for this message
vilmos (vilmos) wrote :

This might be interesting for anyone suffering from this issue:

https://bugzilla.kernel.org/show_bug.cgi?id=27892

The thread also contains a patch for the intel X driver which is supposed to fix this bug.

Revision history for this message
Jimmy Merrild Krag (beruic) wrote :

Sounds nice. I hate this bug, cause it's one of the few that breaks my Natty experience.

Revision history for this message
Jimmy Merrild Krag (beruic) wrote :

I have tried installing driconf and turned synchronization with vertical refresh off completely. I havn't seen this issue since.
Does anyone have similar experiences?

Revision history for this message
Juan Iguana (cisneros-jc) wrote :

I have this bug on an Intel Mobile 4 card.

Extender (msveshnikov)
Changed in xserver-xorg-video-intel:
status: New → Confirmed
Revision history for this message
josechu (josechu2004) wrote :

Same problem here, I have a Intel X3100 Graphics Card.

In this page:

http://ubuntuguide.net/ubuntu-11-04-upgrade-linux-kernel-to-2-6-39-0

They say that the linux kernel should be upgraded from 2.6.38-8 to 2.6.39.0 to solve the problem.

Is it advisable to make the upgrade?

Or is it better to wait for the automatic upgrade?

Thanks

Revision history for this message
Mark Wilkinson (mhw) wrote :

From the article in the previous comment it looks like this might be a duplicate of bug #740126. Plenty of discussion and investigation going on there.

Revision history for this message
josechu (josechu2004) wrote :

Much people may think that this is a memory or HD problem.

And some of them could buy another computer for this. Mainly people with an older model.

If it is really a kernel problem as I said two messages above, they might well wait for the (Canonical) update.

I hope this come soon.

Revision history for this message
MikeCz (mikec-busworks) wrote :

I am removing myself from following this bug, as I am no longer using the computer that I originally experienced it on, and have decided to change distros on that machine's replacement.

Revision history for this message
Adam Hallgat (hallgat) wrote :

This exactly looks like the problem I experienced with fullscreen dosbox. In dosbox the solution was to change the config file from direct to opengl. I'm not sure if this is useful, but maybe.

Revision history for this message
Stephen Phillips (stephen-kent-phillips) wrote :

Jimmy,

I tried your solution, and I have had mixed results. It seems like it doesn't lock up as much, but I have had it lock up after making the change. It is hard to tell if the lock ups were caused by something else or if this only partially solved the problem.

Here is the detailed death-by-screenshot style description of what I did:
http://linuxsagas.digitaleagle.net/2011/06/15/driconf-can-you-fix-me/

My symptoms are more like this bug that has been marked as a duplicate:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/728101

I also have an intel Chipset for my video card.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, could somebody please get a gnome-screensaver log ? Please execute these commands:

gnome-screensaver-command --exit
gnome-screensaver --no-daemon --debug &> gs-debug.txt

Reproduce the issue and attach that resulting log file to the report, please only attach the log if you're able to reproduce the issue if you're not don't do anything. Thanks.

Changed in gnome-screensaver (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
josechu (josechu2004) wrote :

Hola Pedro. My computer freezes around 1 to 4 times a day. Hope the following helps.

This is the content of gs-debug.txt:

cat gs-debug.txt
[gs_debug_init] gs-debug.c:106 (13:37:12): Debugging enabled
[main] gnome-screensaver.c:87 (13:37:12): initializing gnome-screensaver 2.30.2
[init_session_id] gs-listener-dbus.c:2056 (13:37:12): Got session-id: /org/freedesktop/ConsoleKit/Session1
[gs_fade_init] gs-fade.c:923 (13:37:13): Fade type: 3
[set_status] gs-watcher-x11.c:345 (13:37:13): GSWatcher: not active, ignoring status changes
[gs_watcher_set_active] gs-watcher-x11.c:275 (13:37:13): turning watcher: ON

** (gnome-screensaver:5069): WARNING **: screensaver already running in this session

Revision history for this message
francesco bat (nerobat2004) wrote :

The question is that i don't think the pc freezes really.
The screen saver is slow and crashes but the computer continues to work in background.
The other day i saw my screensaver stopped and under the screen appeared popups of Opera that warned me for news emails.
Then if i stop the screensaver just in time when it still is slow but not crashed, the screensaver disappears but the computer continues to work slowly.
One time i found gnome-screensaver in gnome-system-monitor; i killed it and the system began to work again.
Bye
Francesco bat

Changed in gnome-screensaver (Ubuntu):
assignee: nobody → Chris Coulson (chrisccoulson)
Revision history for this message
josechu (josechu2004) wrote :

Francesco bat,

That is true, the PC does not completely freeze. The arrow of the mouse moves well, but the mouse clicks are not registered.

The keyboard doesn't work either (apart from the key combinations to open consoles like CTRL + Alt + F1).

Also chat programs like XChat keep registering conversations in the background.

The problem is that you cannot access all those things... Unless you open a console and write:

"sudo pkill X"

Which kills all opened programs and unsaved documents.

Revision history for this message
francesco bat (nerobat2004) wrote :

Hello !
Now i saved a log after my screensaver has slowed down my pc (it doesn't crashed but just slow down) with method of Pedro Villavicencio.
I hope it is useful.
Bye
Francesco bat

Revision history for this message
salism2 (salism3) wrote :

I also get the screen freeze often at the screensaver
This has worked for me more than once:
  I go into Ctrl+Alt+F6 and login,
  View processes as tree with e.g. sudo htop,
  Find compiz processes under which are the unity window decorator and such
  Kill it and go back to Ctrl+Alt+F7

Windows will reappear as they were left, and a surprising improvement in the windows animations!

I hope this works for you guys too.

Revision history for this message
Aitor Guevara (aitorciki) wrote :

My two cents:

I have the same black screen after resuming with an Intel Arrandale (i5) chipset using Compiz. System is not frozen, it's just the screen not coming back to live.

I've tried many things proposed in this and other threads, notably:

- upgrading the kernel to 2.6.39.0
- applying a patch to the intel xorg driver found in the xorg's bugtracker
- disable sync to vblank in Compiz OpenGL settings

The only one that has consistently worked is disabled sync to vblank. Not a single black screens in weeks. None of the others has been a final solution.

Hope that helps.

Revision history for this message
Michael Alexander (ftmichael) wrote :

I updated my kernel to 2.6.38-10, which I had hoped would eliminate the problem, but I just had the same freeze while the "fuzzy flakes" screensaver was on. Going to Ctrl-Alt-F1 and using the command:

$killall gnome-screensaver

did not do anything at all. I haven't tried any other fixes yet. I use Ctrl+Alt+Backspace to restart X, which is really not ideal and doesn't always work - sometimes I can see the login screen, and other times it loads the login screen but the screen stays black. I can manoeuvre the mouse cursor to the bottom right corner, click, and use the down button on my keyboard to select Restart, which I have to do from memory as I can't see anything. The computer reboots fine when I do that.

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in dianosing the problem. From a terminal window please run:

apport-collect 762918

and then change the status of the bug back to 'New'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Botond Szász (boteeka) wrote : apport information

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC272X Analog [ALC272X Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: boteeka 2823 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xb4400000 irq 43'
   Mixer name : 'Intel IbexPeak HDMI'
   Components : 'HDA:10ec0272,10250487,00100001 HDA:80862804,80860101,00100000'
   Controls : 23
   Simple ctrls : 12
DistroRelease: Ubuntu 11.04
GconfGnomeSession:
 idle_delay = 5
  /desktop/gnome/session/required_components:
   windowmanager = gnome-wm
GnomeSessionIdleInhibited: No
GnomeSessionInhibitors: None
HibernationDevice: RESUME=UUID=b7f6c08b-9d17-4c36-bcee-a9b1b8ffd5aa
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
InstallationMedia_: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
MachineType: Acer Aspire 5742
Package: linux (not installed)
PackageArchitecture: amd64
ProcEnviron:
 LANGUAGE=en_IE:en
 LANG=en_IE.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-10-generic root=UUID=7d60e64e-c44d-4137-8d8c-76d8b44d712f ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
ProcVersionSignature_: Ubuntu 2.6.38-10.46-generic 2.6.38.7
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-10-generic N/A
 linux-backports-modules-2.6.38-10-generic N/A
 linux-firmware 1.52.1
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: yes
Tags: natty running-unity natty running-unity
Uname: Linux 2.6.38-10-generic x86_64
UpgradeStatus: Upgraded to natty on 2011-07-08 (11 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
WindowManager: gnome-wm
dmi.bios.date: 09/27/2010
dmi.bios.vendor: Acer
dmi.bios.version: V1.07
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Aspire 5742
dmi.board.vendor: Acer
dmi.board.version: V1.07
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: V1.07
dmi.modalias: dmi:bvnAcer:bvrV1.07:bd09/27/2010:svnAcer:pnAspire5742:pvrV1.07:rvnAcer:rnAspire5742:rvrV1.07:cvnAcer:ct10:cvrV1.07:
dmi.product.name: Aspire 5742
dmi.product.version: V1.07
dmi.sys.vendor: Acer

tags: added: apport-collected
Revision history for this message
Botond Szász (boteeka) wrote : AcpiTables.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : AlsaDevices.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : AplayDevices.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : BootDmesg.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : Card0.Codecs.codec.3.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : Dependencies.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : GconfGnomeLockdown.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : GconfGnomePowerManager.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : GconfGnomeScreensaver.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : IwConfig.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : Lspci.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : Lsusb.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : PciMultimedia.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : ProcCpuinfo_.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : ProcModules.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : UdevDb.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : UdevLog.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : WifiSyslog.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : XorgLog.txt

apport information

Revision history for this message
Botond Szász (boteeka) wrote : XorgLogOld.txt

apport information

Revision history for this message
Simon Frettlöh (ubuntu-sf) wrote :

Running Ubuntu 11.04 (64 Bit, up to date for today's date) on a Sandy Bridge System (using CPU-integrated graphics) I also discover bevhaviour like reported here, but in variations. After recommend here to provoke bug, I set screen saver (blank) timeout to 1 minute, the same with energy saving of monitor. After several power-offs of the monitor due to energy saving and coming back of desktop without problems I encountered following:

Monitor was off due to power-saving. I moved mouse to get back againg (I am using no screen locking). But only mouse cursor/arrow appeared, nothing else. Thus, I switched to console (Ctrl + Alt + F1), trying to kick off apport-collect, which did not help, because I was not able to get this link into a browser. Tried "apport-cli --save bug.762918" but did not work because it told me it did not find a crash report. I saved current Xorg.log, which I will attach here. Afterwards killing compiz with signal "-9" brought back desktop, but mouse did not work, I was also not able to use e.g. Alt+Tab to switch applications. But, fortunately "Ctrl+Alt+T" worked and I started a terminal. I tried then to use "xwininfo --all" as suggest here, but ending up with an error message "xwininfo: error: Can't grab the mouse.", see screenshot attaced to next post which I was at least able to manage.

Any suggestions how to further investigate this or how I can help developers? This is a rather annoying bug rendering Ubuntu nearly to useless for users which are not able to issue kill commands on the console.

Revision history for this message
Simon Frettlöh (ubuntu-sf) wrote :
Revision history for this message
josechu (josechu2004) wrote :

Eureka!

I think that comment #82 by Aitor Guevara has solved my freezes too.

Aitor Guevara (aitorciki) wrote on 2011-07-17: #82

https://bugs.launchpad.net/acpi/+bug/762918/comments/82

At least I've been without freezes for more than 50+ hours, after applying his very simple guidelines.

Let's hope that not much people has bought another computer thinking this was a hardware problem.

The solution is also here:

http://ubuntu4beginners.blogspot.com/2011/04/unity-choppy-with-ati-graphics-card-and.html

It works for me, although I have an Intel 3100 graphics card instead of an AMD one.

Josechu

Revision history for this message
wwiser (wwiser) wrote :

I am also experiencing this bug on 11.04 (2.6.38-10-generic) with a i3-2100. I'm using the onboard video (vga).

Looking in /var/log/Xorg.0.log.old I see alot of these messages:

[100341.245] (WW) intel(0): intel_uxa_prepare_access: bo map failed: Input/output error

with one:

[100341.184] (II) AIGLX: Suspending AIGLX clients for VT switch

in the middle. These messages appear right before I restarted my pc.

Revision history for this message
Broco (broco2002) wrote :

https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/762918/comments/4
That's wrong for me, even with blank selected it crashed.

https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/762918/comments/82
Worked for me so far, thanks.
This even boosts some effects and Fullscreen-OpenGL-Applications (e.g. Braid) now work fine (they were crashing before).

Maybe this option should be disabled by default.

Revision history for this message
Michael Alexander (ftmichael) wrote :

Disabling 'sync to vblank' hasn't worked for me at all. Certain screensavers (Fuzzy Flakes, GLText, and occasionally AntSpotlight, GLBlur, and possibly one or two others) keep crashing while others seem to be fine. I'm at a loss at this point.

Revision history for this message
Wayne Rodrigues (waynerod10) wrote :

Recently, this problem occurs on and off (randomly). Can't really say what causes it.
"Ctrl+Alt+Bkspace" fixes it.

I'm running "GLMatrix" as my screensaver.

Revision history for this message
Ian Will (icwill) wrote :

I've got the problem too. Looks like a segfault in gnome-screensaver or libcairo.

1) lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10

2) apt-cache policy gnome-screensaver
Installed: 3.2.0-0ubuntu1
Candidate: 3.2.0-0ubuntu1
Version table:
*** 3.2.0-0ubuntu1 0
  500 http://us.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
  100 /var/lib/dpkg/status

3) When the screen is locked, typically it should resume after mouse movement or keyboard input and provide a log-in prompt.
4) When mouse or keyboard event happen after screen lock, the cursor will move around but the screen is blank. I am able to access a non-X terminal via ctrl-alt-F1, but the X server is hung and must be killed.

The output of dmesg | tail is

[16621.910506] [<ffffffff8117939a>] do_vfs_ioctl+0x8a/0x340
[16621.910508] [<ffffffff811796e1>] sys_ioctl+0x91/0xa0
[16621.910512] [<ffffffff815f22c2>] system_call_fastpath+0x16/0x1b
[16621.910514] ---[ end trace ce3b9456974e9ef8 ]---
[16625.532183] usb 2-5.3.4: USB disconnect, device number 9
[16627.125468] usb 2-5.3.5: reset high speed USB device number 10 using ehci_hcd
[16627.309145] usb 2-5.3.7: reset full speed USB device number 11 using ehci_hcd
[16627.512684] usb 3-1: reset full speed USB device number 2 using uhci_hcd
[16638.426057] gnome-screensav[2108]: segfault at 5 ip 00007f5e47fda859 sp 00007fff7fe06690 error 4 in libcairo.so.2.11000.2[7f5e47fa1000+b9000]
[20241.656554] gnome-screensav[8820]: segfault at 5 ip 00007fad73a01859 sp 00007fffd2f02b10 error 4 in libcairo.so.2.11000.2[7fad739c8000+b9000]

Revision history for this message
Sambit Bikas Pal (sambitbikaspal) wrote :

Running Ubuntu 11.10 (upgraded from 11.04) 64-bit on Intel Core i7 2600 (SandyBridge). I am not using the integrated graphics but using ATI Radeon HD 5450. Random freezes occurring while trying to unlock from locked screen. Initially could use Ctrl+Alt+F1 to get a console. Tried to kill my previous session using skill -KILL . Got back the login screen after this. But when I tried to login, entire system just froze. Couldn't even open the console with Ctrl+Alt+F1.

Revision history for this message
Sambit Bikas Pal (sambitbikaspal) wrote :
Revision history for this message
Mark Appier (appier) wrote :

Like the other person above, I have installed Ubuntu 11.10 on the Intel Core i72600 (SandyBridge), but I am using the integrated graphics. Running into exactly the same problem in both the Unity and Xubuntu Desktops.

Revision history for this message
Curt (kc8ste) wrote :

Notice most comments are about Natty however I experience the same problem in Lynx especially if I select F-Spot pictures or just Pictures as the screen saver. I've run Hypertorus for hours without a lock up. When it locks I have to shut down to clear. Tried backing up two or three kernels to no effect.

Revision history for this message
Phil Ayres (ayres-phil) wrote :

Just like appier, I have experienced this with Xubuntu 11.10 too. I'm therefore not in a hurry to blame Compiz. I moved to Xubuntu because my performance with the regular Ubuntu / Unity mix on one PC led to slowdowns (fewer complete lockups).

I'm trying the power management tricks, as I think that is the most likely, and ties with my experience so far.

Add to this some other triggers based on the discussion:

1) in the past I've had some nasty experiences with ecryptfs home directory encryption causing OpenOffice / Libre Office failures and other nastiness.
2) things only seem to get bad once I start hitting the page file (too much Gimp work)
3) if I get to Ctrl Alt F1, then after a few minutes I get a message that Chrome is being killed (or at least certain windows within the browser) since it appears to have run away
4) similarly, Thunderbird gives me messages about long running scripts
5) CPU may not always run away, but if I do sudo iotop then I'll see kswapd0 hogging the system (or possibly just indicating that something else is desperately trying to switch / fork and failing?)
6) I also run Banshee a lot
7) Flash performance is dire on this PC (surprised? not really)

I was trying to blame Chrome or Thunderbird, but I think this is either ecryptsfs (again), power management on this Intel barebones system, or some scary background process that doesn't report failures in dmesg.

Details:

Intel Atom 4 core w/ 2GB RAM
Intel 945GC onboard graphics
Intel ICH7 South Bridge
Kernel: 3.0.0-16-generic

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

If you're using the radeon driver, please look at bug 914773.

Revision history for this message
CatchesAStar (catchesastar) wrote :

12.04.
Its still here, and annoying as always.

Using Intel 3000HD on a Core i5.

Changed in gnome-screensaver (Ubuntu):
assignee: Chris Coulson (chrisccoulson) → nobody
Revision history for this message
kenn (whatnext) wrote :

The same bug affects me, no fix yet?

Revision history for this message
Ste (ilpillo) wrote : Re: [Bug 762918] Re: Natty Screensaver freezes system after some period of inactivity

kenn,
you can try this, it fixed my problem but I'm not sure whether it's related to this bug or
not...

edit /etc/X11/xorg.conf and insert:

Section "ServerFlags"

     Option "BlankTime" "0"

     Option "StandbyTime" "0"

     Option "SuspendTime" "0"

     Option "OffTime" "0"

EndSection

logoff / login to load the new settings.

in my case it was the resume from suspension / standby causing the X freeze, not the
screen saver...
hope this helps

Ste

kenn ha scritto:
> The same bug affects me, no fix yet?
>

Revision history for this message
kenn (whatnext) wrote :

Thank you Ste! I did what you wrote, I hope it works. I ll post the result.

Revision history for this message
kenn (whatnext) wrote :

Unfortunately it won't work. While I was watching a movie on the browser, I stopped it and left, when I came back screen froze, I had to restart my laptop manually. It might be a flash issue

Revision history for this message
Hasenkopf, Andreas (andi-hasenkopf) wrote :

Hi there,

two days ago I started a new job and was allowed to install a Linux distribution of my liking on a Fujitsu machine with Core i3. I chose the 64bit Xubuntu 12.04 LTS version and tweaked it by running "compiz" and "avant-window-navigator".

The software setup is basically identical to the setup on my desktop machine at home and my notebook, which are working perfectly.

I experienced my work machine to occasionally (once a day) freeze the "X server", i.e. no response to keyboard input or mouse clicks, but the mouse cursor is still movable. In my case this has always happened while I was working on the local desktop of the machine.

As mentioned in the duplicate bug #760769 remote access is working fine; I can even restart "lightdm" without getting rid of the problem. The log file /var/log/Xorg.0.log shows no hard evidence.

Revision history for this message
BS-Harou (harou2) wrote :

Hi,
this happens to me also in Ubuntu 13.04. Sometimes it happens when the screensaver is active, but sometimes it happens even when I'm working with the computer. In the second case I can go to console and restart the lightdm service, but in the first case I have to REISUB to make things work again.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.