Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Cannot come out of suspend or screen saver

  1. #1
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Cannot come out of suspend or screen saver

    Not sure if this is the correct place to post this as I'm not sure if it's KDE, system or what that is causing this.

    This morning I did a clean install of 11.1 with KDE and updated to 4.2.4. I also have the latest kernel version that was just released. It was installed automatically by tp_smapi which is required for Thinkpads to control battery charge thresholds and the disk park accelerometer.

    Anyway, now when my screen saver (just blank screen) activates or when I do a suspend to ram/disk I cannot come back out of it. I get a error saying screen was locked by {username} and cannot be unlocked. The button are all greyed out. The only way out is to ctrl / alt / backspace and then login in again.

    Any ideas why this is happening. Havien't a clue as to where to start looking. I have the screen saver set to NOT require a password.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  2. #2
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,453

    Default Re: Cannot come out of suspend or screen saver

    Don't know how to solve the problem but have you tried allowing a password to see if that solves the problem temporarily?

  3. #3
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: Cannot come out of suspend or screen saver

    Yep, tried with and without passwords enabled. I basically have everything else running fine now apart from this which is a major problem as it's a laptop and frequently gets suspended.

    Are there any commands I can issue to list the logs that would be generated at the time of coming out of suspend or screen saver?
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  4. #4
    Join Date
    Oct 2008
    Location
    Montreal
    Posts
    7

    Default Re: Cannot come out of suspend or screen saver

    Hello,

    I probably have the same, a lot of web articles are aimed to solve simple "uncle computer problems" related to screen saver, but what I have is wayyyy deeper than this,
    I hope that by posting this, I'll get either a fix or a tip on how to get more info on the problem...

    Description:
    My screesaver activates and sometimes, can be unlocked, but sometimes (I think when running for a long time) cannot be unlocked, in which case I dont even get the "password" popup and the screen saver is not moving anymore
    I cannot CTRL-AFT-F1 either (to get a tty)


    What I did...

    I did play with
    .kde/share/config/kdesktoprc
    to force one screen saver or to disable it completely
    ...no luck

    As I'm writing this, the laptop is hung !
    but I can still ssh to it...
    This is what "top" gives me:
    <pre>
    top - 21:54:32 up 8:06, 13 users, load average: 1.00, 1.05, 1.08
    Tasks: 160 total, 3 running, 157 sleeping, 0 stopped, 0 zombie
    Cpu0 : 0.3%us, 0.0%sy, 0.0%ni, 98.3%id, 1.3%wa, 0.0%hi, 0.0%si, 0.0%st
    Cpu1 : 0.0%us,100.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
    Mem: 4042696k total, 4018380k used, 24316k free, 91592k buffers
    Swap: 0k total, 0k used, 0k free, 3403516k cached

    PID USER NI PR VIRT RES SHR S %CPU %MEM TIME+ P SWAP CODE DATA nFLT nDRT WCHAN COMMAND
    10416 pmichel 19 39 261m 22m 3936 R 100 0.6 398:16.07 1 238m 80 33m 235 0 - gleidescope
    1 root 0 20 1064 388 324 S 0 0.0 0:01.04 1 676 812 240 10 0 - init
    2 root -5 15 0 0 0 S 0 0.0 0:00.00 0 0 0 0 0 0 kthreadd kthreadd
    3 root -5 RT 0 0 0 S 0 0.0 0:00.00 0 0 0 0 0 0 migration migration/0
    4 root -5 15 0 0 0 S 0 0.0 0:04.86 0 0 0 0 0 0 ksoftirqd ksoftirqd/0
    </pre>

    dam I cannot get it to show properly !
    it shows that
    gleidescope (THE screen saver)
    uses 101% cpu time
    unfortunately, it doesn't show WCHAN (wait channel) it shows "-"

    I tried to gdb the dam thing:
    # gdb /usr/lib64/xscreensaver/gleidescope 10416
    GNU gdb (GDB; openSUSE 11.1) 6.8.50.20081120-cvs
    Copyright (C) 2008 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-suse-linux".
    For bug reporting instructions, please see:
    <http://bugs.opensuse.org/>...
    (no debugging symbols found)
    Attaching to program: /usr/lib64/xscreensaver/gleidescope, process 10416


    But it does not stop the process
    which tells me that the process is jammed in an OS call...
    I will try to lower it's priority...but I doubt it will work

    Note...
    This happens with different screen savers (KEuphoria, flurry...probably others)
    I thought that KEuphoria was ok, so I forced as default screensaver, but eventually it hung on me


    Any ideas ?
    is there a way to ask Kde to start the screen savers via Strace to see which is the last OS call?

    tx

  5. #5
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: Cannot come out of suspend or screen saver

    If I'm correct, you had 11.1 installed previous to this? Did suspend work OK then?

    I don't use any sceensaver - nothing!

    Also. If your suspend worked with your previous install, I would experiment by rolling the recent kernel back one. (reboot needed of course). See how it is then.
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  6. #6
    Join Date
    Oct 2008
    Location
    Montreal
    Posts
    7

    Default Re: Cannot come out of suspend or screen saver

    Not quite !
    I had suse 10.3 previously,
    running incredibly fine...
    and I recently switched to 11.1 x86_64 on my 2 PCs

    I'm sure I'm not the only one with the problem, so I'd rater find the cause or fix it !

    Additional notes:
    I run suse 11.1 on 2 machines, and only the laptop hangs
    I did not see the problem manifest itself from a suspend...only screen savers do that

    Laptop info:
    I use dual screen,
    It's a Dell D630
    with a crappy Intel 965 GM video card, 3D support activated
    4 Gig ram
    Core 2 duo
    Running Kde 3 (I tried Kde4, it looks nice, but crashes a lot with dual screen and vmware...kinda unproductive)

    For now, I made a cron job that will kill the screen saver if it mis-behaves

  7. #7
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: Cannot come out of suspend or screen saver

    Quote Originally Posted by caf4926 View Post
    If I'm correct, you had 11.1 installed previous to this? Did suspend work OK then?

    I don't use any sceensaver - nothing!

    Also. If your suspend worked with your previous install, I would experiment by rolling the recent kernel back one. (reboot needed of course). See how it is then.
    The above quote was aimed at @suse_tpx60s

    Sorry @pmichelmp3
    But re; your issue. I would just recommend not using screensaver at all. Disable it all completely.
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  8. #8
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: Cannot come out of suspend or screen saver

    Quote Originally Posted by caf4926 View Post
    If I'm correct, you had 11.1 installed previous to this? Did suspend work OK then?

    I don't use any sceensaver - nothing!

    Also. If your suspend worked with your previous install, I would experiment by rolling the recent kernel back one. (reboot needed of course). See how it is then.
    Yes when I have first installed 11.1, I used Gnome and suspend to disk and ram both worked well, as did the screen saver (blank screen). It's only under KDE that my suspend to disk and ram don't work properly and I get an error when trying to come out of screen saver or suspend. I'll have to photograph the screen and post it as I can't do a screen capture.

    I discovered a few things though. While in the KDE desktop I cannot initiate a suspend by using my FN+F4 or F12 buttons, nor does it suspend when I close the lid. But when I ctrl, alt. backspace (I have to do it twice) to clear the locked screen and return me the text screen then suddenly my suspend to disk and ram buttons work. There is definitely something starnge with the way KDE handles this because in Gnome there were no problems.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  9. #9
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: Cannot come out of suspend or screen saver

    But have the settings in power management to suspend on lid close? Obviously, what a silly question.
    You don't still have any powersave packages installed do you? They need to go!
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  10. #10
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: Cannot come out of suspend or screen saver - FIXED

    YESSSS!!! I fixed it. thanks to mscham's solution posted here.

    It turns out that it's a problem with having the fingerprint reader enabled for login authentication. Once I disabled it it solved my problem with not being able login after coming out of screensaver or suspend.

    Also, for some reason my suspend to ram and disk function keys seem to be working now. I have no idea what I did or why they are working now but they started working this morning. I know it's the worst scenario not knowing what fixed it or why it started working - sorry. All I was doing was getting Thunderbird installed and set up with my mail accounts etc, OpenOffice configured and a few other apps to that I will require for my daily needs. I was messing with trying to get my HDAPS working but don't think anything I did was related to the suspend stuff. Anyway it's working so I'm happy.

    caf4926, what do you mean that I don't require any of the powersave packages? I have Kpowersave installed with I use to set the various power profiles, screen brightnesses, auto suspend etc. It seems to work quite well and I prefer it to the battery monitor widget which isn't as configurable.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •