Closing the laptop lid suspends the system, opening it resumes it, but the screen is black. I’m guessing it’s related to powerup because suspending through the logout menu and systemctl suspend both work as expected. When it’s black, switching to a different tty works, as well as C-M-Backspace to logout.

Same results with both lightdm and sddm, when replacing suspend with hibernate, and I’ve tried a few solutions like disabling lock on sleep.

Seems like this issue has been around for years, but had a whole bunch of different causes since every other thread has a different solution.

XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon > /tmp/xf.log 2>&1

ps -ef | grep -E ‘screen|lock’

xfconf-query -c xfce4-power-manager -lv

.xsession-errors after suspend, logout, login

  • Shareni@programming.devOP
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Tried systemctl suspend and then resume:

    dmesg after a successful resume

    sudo dmesg | grep -E "S3|suspend"

    [ 9760.639020] PM: suspend entry (deep)
    [ 9761.235526] printk: Suspending console(s) (use no_console_suspend to debug)
    [ 9764.716421] ACPI: PM: Preparing to enter system sleep state S3
    [ 9764.764150] ACPI: PM: Waking up from system sleep state S3
    [ 9767.889922] PM: suspend exit
    
    • just_another_person@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      The only thing that looks odd in there is the default in libgl, but otherwise looks okay. So it’s probably not a compatibility problem.

      How is your swap sized compared to your system memory?