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

Thread: Hibernate doesn't work.

  1. #1

    Default Hibernate doesn't work.

    I have installed openSUSE Leap 15.1 (KDE), and I have noticed a problem. Hibernate doesn't work.
    First of all, there is no option in shutdown menu for hibernation, only suspend, reboot, shut down and log out options are available.
    When I try to hibernate via "Application menu -> Power/Session -> Hibernate", laptop will not shut down. It I force shut down it, it will not resume, and sometimes will not boot (so couple reboots might be required).

    I have 8 GB of RAM, and 16 GB swap partition. My laptop is Acer A315-41 with AMD Ryzen 5.

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,628
    Blog Entries
    3

    Default Re: Hibernate doesn't work.

    What's the output from:
    Code:
    cat /proc/cmdline
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  3. #3

    Default Re: Hibernate doesn't work.

    Code:
    BOOT_IMAGE=/boot/vmlinuz-4.12.14-lp151.28.13-default root=UUID=2a87c183-fd18-4aa8-92d1-0
    8a42d8ec4cc splash=silent resume=/dev/disk/by-id/ata-WDC_WDS480G2G0B-00EPW0_19154F464706
    -part3 quiet mitigations=off

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,628
    Blog Entries
    3

    Default Re: Hibernate doesn't work.

    Okay. I was particularly looking for that "resume=" string. That should be your swap partition. Maybe you can check that.

    Maybe also look at the output from
    [code]cat /proc/swaps[/cat]
    (which might be a different name for the same partition).
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  5. #5

    Default Re: Hibernate doesn't work.

    I was particularly looking for that "resume=" string. That should be your swap partition
    Well, it looks like it is my swap partition. Third partition on that disk.
    This is /proc/swaps
    Code:
    Filename                                Type            Size    Used    Priority
    /dev/sdb3                               partition       16777212        0       -1
    
    Which is also correct.

    Here are my disks.

  6. #6
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,265

    Default Re: Hibernate doesn't work.

    FWIW

    I've never succeeded in getting suspend/resume to disk (hibernate) working reliably on AMD hardware (suspend/resume to RAM works OK). I don't know if I'm just unlucky, or "that's the way it is"...

    Hibernate appears to work, and the machine(s) shuts down cleanly; however they fail to resume, typically booting to a blank screen with the "Caps Lock" LED flashing, the only way out is to power off and boot with the "noresume" option on the kernel command line.

    I've seen this on:

    3 older Gigabyte GA-MA770-DS3e (AMD Athlon(tm) 64 X2 Dual-Core Processor 5600+) all running various TW snapshots, including the latest.

    A newer Gigabyte GA-970A-DS3Pe (AMD FX(tm)-6300 Six-Core Processor) running, originally Leap incarnations 42.3, 15.0, and now 15.1

    And more recently on an HP 255 G7 Ryzen 3 (AMD Ryzen 3 2200U Dual-Core Processor) running Leap 15.1


    A suggestion made to me was: If you're using the "feature" and not already done so, try turning off Windows "Fast Start-up" - However I don't have Windows installed
    Regards, Paul

    2x Tumbleweed (Snapshot: 20191016) KDE Plasma 5
    2x Leap 15.1 KDE Plasma 5

  7. #7

    Default Re: Hibernate doesn't work.

    Hibernate appears to work, and the machine(s) shuts down cleanly; however they fail to resume, typically booting to a blank screen with the "Caps Lock" LED flashing, the only way out is to power off and boot with the "noresume" option on the kernel command line.
    In my case laptop won't even shut down.

    On TW hibernation worked, but I started getting really weird issues with touchpad, and system not booting at all sometimes (ACPI errors probably causes lock ups, I don't know to be honest), so I decided to install Leap, because it has older kernel. Which works great, boots every time, touchpad rarely requires "sudo modprobe i2c_hid"... But hibernation doesn't work...
    A suggestion made to me was: If you're using the "feature" and not already done so, try turning off Windows "Fast Start-up" - However I don't have Windows installed
    I already tried this. I'm not sure, but this shouldn't matter at all, since Windows has its own HDD with EFI partition, and openSUSE has its own SSD with EFI partition.

  8. #8
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,265

    Default Re: Hibernate doesn't work.

    I didn't pursue the issue myself, deciding to forego hibernate, but these may be of help.

    https://wiki.archlinux.org/index.php..._and_hibernate

    https://www.infradead.org/~mchehab/r...debugging.html

    I note you're using BTFRS, perhaps this section "Hibernation into swap file on Btrfs" in the arch wiki is relevant.
    Regards, Paul

    2x Tumbleweed (Snapshot: 20191016) KDE Plasma 5
    2x Leap 15.1 KDE Plasma 5

  9. #9

    Default Re: Hibernate doesn't work.

    Not work for me too (suspend to RAM).
    Opensuse Leap 15.1 x86_64
    Dell Vostro 5581
    No NVIDIA/AMD graphic cards

    In cmdline I've try some tips from other forums, but it not works
    Code:
    BOOT_IMAGE=/boot/vmlinuz-4.12.14-lp151.28.13-default root=UUID=1a3c36bc-19a9-4258-a930-bc831619914a splash=silent resume=/dev/disk/by-id/nvme-ADATA_SX8200PNP_2J1220058091-part3 quiet xhci_hcd.quirks=270336 nouveau.blacklist=1 acpi_osi=! "acpi_osi=Windows 2009" acpi_backlight=vendor mem_sleep_default=deep nouveau.modeset=0 mitigations=auto
    Code:
    00:00.0 Host bridge: Intel Corporation Device 3e34 (rev 0b)
    00:02.0 VGA compatible controller: Intel Corporation Device 3ea0
    00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0b)
    00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
    00:12.0 Signal processing controller: Intel Corporation Device 9df9 (rev 30)
    00:13.0 Serial controller: Intel Corporation Device 9dfc (rev 30)
    00:14.0 USB controller: Intel Corporation Device 9ded (rev 30)
    00:14.2 RAM memory: Intel Corporation Device 9def (rev 30)
    00:14.3 Network controller: Intel Corporation Device 9df0 (rev 30)
    00:15.0 Serial bus controller [0c80]: Intel Corporation Device 9de8 (rev 30)
    00:15.1 Serial bus controller [0c80]: Intel Corporation Device 9de9 (rev 30)
    00:16.0 Communication controller: Intel Corporation Device 9de0 (rev 30)
    00:17.0 SATA controller: Intel Corporation Device 9dd3 (rev 30)
    00:1d.0 PCI bridge: Intel Corporation Device 9db0 (rev f0)
    00:1d.4 PCI bridge: Intel Corporation Device 9db4 (rev f0)
    00:1f.0 ISA bridge: Intel Corporation Device 9d84 (rev 30)
    00:1f.3 Audio device: Intel Corporation Device 9dc8 (rev 30)
    00:1f.4 SMBus: Intel Corporation Device 9da3 (rev 30)
    00:1f.5 Serial bus controller [0c80]: Intel Corporation Device 9da4 (rev 30)
    01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
    02:00.0 Non-Volatile memory controller: Device 1cc1:8201 (rev 03)
    Code:
    ~ # cat /proc/mounts | grep '^/dev/'
    /dev/nvme0n1p2 / xfs rw,relatime,attr2,inode64,noquota 0 0
    /dev/nvme0n1p1 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
    /dev/mapper/cr_ata-TOSHIBA_MQ04ABF100_Z8KQPSAXT-part1 /home xfs rw,relatime,attr2,inode64,noquota 0 0
    /dev/fuse /run/user/1000/doc fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0
    Code:
    ~ # LANG=POSIX fdisk -l
    Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
    Disk model: ADATA SX8200PNP                         
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: CF875BE2-0CCD-4B22-A874-AFB4FFD7FAC2
    
    Device             Start       End   Sectors  Size Type
    /dev/nvme0n1p1      2048   2099199   2097152    1G EFI System
    /dev/nvme0n1p2   2099200 465569791 463470592  221G Linux filesystem
    /dev/nvme0n1p3 465569792 500118158  34548367 16.5G Linux swap
    
    
    Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
    Disk model: TOSHIBA MQ04ABF1
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: gpt
    Disk identifier: 7A9776EA-DD75-4257-990D-C10819E78508
    
    Device     Start        End    Sectors   Size Type
    /dev/sda1   2048 1953525134 1953523087 931.5G Linux filesystem
    
    
    Disk /dev/mapper/cr_ata-TOSHIBA_MQ04ABF100_Z8KQPSAXT-part1: 931.5 GiB, 1000201723392 bytes, 1953518991 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes

  10. #10

    Default Re: Hibernate doesn't work.

    Quote Originally Posted by rom-ale View Post
    Not work for me too (suspend to RAM).
    Opensuse Leap 15.1 x86_64
    Dell Vostro 5581
    No NVIDIA/AMD graphic cards
    Do you have the same problems as described here..
    https://bugzilla.opensuse.org/show_bug.cgi?id=1137748
    ...and here?
    https://forums.opensuse.org/showthre...mplete-standby

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
  •