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

Thread: openSUSE 12.2/GNOME - sporadically it won't suspend on lid close

  1. #1
    Join Date
    Sep 2012
    Posts
    4,977

    Default openSUSE 12.2/GNOME - sporadically it won't suspend on lid close

    I wonder if anyone have seen it. Sporadically GNOME session starts to ignore lid close. I cannot so far find any pattern here. It will suspend just find with pm-suspend, so it is only GNOME part that gets stuck.

    Any pointers how I can debug it? I am not that deep in GNOME internals.

    This is pretty much standard 64 bit system with all current (applicable) updates but without any third-party software except flash or non-standard GNOME shell extensions.

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,195
    Blog Entries
    1

    Default Re: openSUSE 12.2/GNOME - sporadically it won't suspend on lid close

    Quote Originally Posted by arvidjaar View Post
    I wonder if anyone have seen it. Sporadically GNOME session starts to ignore lid close. I cannot so far find any pattern here. It will suspend just find with pm-suspend, so it is only GNOME part that gets stuck.

    Any pointers how I can debug it? I am not that deep in GNOME internals.

    This is pretty much standard 64 bit system with all current (applicable) updates but without any third-party software except flash or non-standard GNOME shell extensions.
    I'm not a Gnome user, but anything unusual reported /var/log/pm-suspend.log when suspend fails?

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,195
    Blog Entries
    1

    Default Re: openSUSE 12.2/GNOME - sporadically it won't suspend on lid close

    This is likely to be hardware specific and/or maybe kernel-related, so maybe your CPU and graphics hardware may come in to play. It might pay to share this info here.

    I wanted to share this Ubuntu thread, not because it is directly applicable, but because it might give you some ideas for likely causes and investigating further...

    Examine the kernel 'dmesg' output upon unsuccessful suspends too.

  4. #4
    Join Date
    Sep 2012
    Posts
    4,977

    Default Re: openSUSE 12.2/GNOME - sporadically it won't suspend on lid close

    Quote Originally Posted by deano_ferrari View Post
    I'm not a Gnome user, but anything unusual reported /var/log/pm-suspend.log when suspend fails?
    E-h-h ... suspend does not fail. Suspend does not even start. As I said, pm-suspend at this point suspends just fine.

    This is likely to be hardware specific and/or maybe kernel-related
    That's possible. But I forgot the major third-party part - nVidia driver. IIRC current X11 driver fiddles with input events. It may be possible that it "eats" them away.

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,195
    Blog Entries
    1

    Default Re: openSUSE 12.2/GNOME - sporadically it won't suspend on lid close

    I guess you could try configuring Gnome not to suspend on lid closure. Then run
    Code:
    upower --monitor-detail
    and then close/open lid repetitively to see if the event is captured consistently like this
    Code:
    # upower --monitor-detail
    Monitoring activity from the power daemon. Press Ctrl+C to cancel.
    [21:55:57.155]  daemon changed:
      daemon-version:  0.9.16
      can-suspend:     yes
      can-hibernate    yes
      on-battery:      yes
      on-low-battery:  no
      lid-is-closed:   yes
      lid-is-present:  yes
      is-docked:       no
    
    [21:55:57.281]  daemon changed:
      daemon-version:  0.9.16
      can-suspend:     yes
      can-hibernate    yes
      on-battery:      yes
      on-low-battery:  no
      lid-is-closed:   no
      lid-is-present:  yes
      is-docked:       no
    
    [21:55:58.999]  daemon changed:
      daemon-version:  0.9.16
      can-suspend:     yes
      can-hibernate    yes
      on-battery:      yes
      on-low-battery:  no
      lid-is-closed:   yes
      lid-is-present:  yes
      is-docked:       no
    
    [21:55:59.125]  daemon changed:
      daemon-version:  0.9.16
      can-suspend:     yes
      can-hibernate    yes
      on-battery:      yes
      on-low-battery:  no
      lid-is-closed:   no
      lid-is-present:  yes
      is-docked:       no

    But I forgot the major third-party part - nVidia driver. IIRC current X11 driver fiddles with input events. It may be possible that it "eats" them away.
    I doubt it.

    What model laptop?

  6. #6
    Join Date
    Sep 2012
    Posts
    4,977

    Default Re: openSUSE 12.2/GNOME - sporadically it won't suspend on lid close

    Code:
    Monitoring activity from the power daemon. Press Ctrl+C to cancel.
    [14:11:41.180]    daemon changed:
      daemon-version:  0.9.16
      can-suspend:     yes
      can-hibernate    yes
      on-battery:      no
      on-low-battery:  no
      lid-is-closed:   yes
      lid-is-present:  yes
      is-docked:       no
    
    [14:11:47.649]    daemon changed:
      daemon-version:  0.9.16
      can-suspend:     yes
      can-hibernate    yes
      on-battery:      no
      on-low-battery:  no
      lid-is-closed:   no
      lid-is-present:  yes
      is-docked:       no
    Quote Originally Posted by deano_ferrari
    What model laptop?
    Dell XPS M1330

  7. #7
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,953
    Blog Entries
    2

    Default Re: openSUSE 12.2/GNOME - sporadically it won't suspend on lid close

    FYI -
    I've been seeing the same thing running 12.2/KDE.

    I don't automatically suspend by closing the lid, but manually select the suspend option from a menu (available a number of different ways).

    I've observed after suspending a number of times usually over 2-3 days of heavy use, the suspend button just disappears. Like you say, pm-suspend works just fine if I choose to do so, but that doesn't shutdown the desktop gracefully, you're essentially crashing the Desktop, maybe your open apps might survive, maybe not . Seems it also happens most often if I have FF open, other apps seem to be less likely related to this issue.

    So,
    I've been speculating that FF does not suspend well, and so I close it whenever I can (but of course may be a prime reason why I'm suspending and not shutting down). Unfortunately for me, using a different browser is not practical, FF is my workhorse browser.

    I also recommend you look to see whether the suspend button is also disappearing in your case and if your problems might also circumstantially be related to FF(which might ultimately prove not to be related).

    If this is actually a common occurrence, then I suppose a bug should be submitted.

    HTH,
    TSU

  8. #8
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,195
    Blog Entries
    1

    Default Re: openSUSE 12.2/GNOME - sporadically it won't suspend on lid close

    Quote Originally Posted by tsu2 View Post
    FYI -
    I've been seeing the same thing running 12.2/KDE.

    I don't automatically suspend by closing the lid, but manually select the suspend option from a menu (available a number of different ways).

    I've observed after suspending a number of times usually over 2-3 days of heavy use, the suspend button just disappears. Like you say, pm-suspend works just fine if I choose to do so, but that doesn't shutdown the desktop gracefully, you're essentially crashing the Desktop, maybe your open apps might survive, maybe not . Seems it also happens most often if I have FF open, other apps seem to be less likely related to this issue.
    I can't say I've noticed this behaviour - I frequently suspend by the menu option, and have all kinds of applications including FF open as it is a work computer. I do shut down from time to time, with maybe 5-10 suspend/resume cycles in between typically. I'll thrash my system over the next few days, to see whether I can replicate what you're experiencing. It probably comes down to the hardware one is using I suspect.

  9. #9

    Default Re: openSUSE 12.2/GNOME - sporadically it won't suspend on lid close

    My computer recently stopped suspending. Then I realized that I need to unplug my external hard drive (since it's powered by the computer).

    Probably your issue is different, but thought I'd mention this just in case.

  10. #10
    Join Date
    Aug 2008
    Location
    Brazil
    Posts
    2,844

    Default Re: openSUSE 12.2/GNOME - sporadically it won't suspend on lid close

    I also noticed this erratic behavior after upgrading a notebook RAM from 2GB to 8GB but keeping the swap at the original 2GB.

    After reformatting the swap partition to 8GB this hasn't happened yet, but I only suspended a few of times - this is just a backup lappy.

    Running oS 12.1 64 bit, fusion chipset (AMD) running the proprietary video driver fglrx.

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
  •